Method: properties.dataStreams.measurementProtocolSecrets.list
指定された親プロパティの下の子 MeasurementProtocolSecret を返します。
HTTP リクエスト
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。親ストリームのリソース名。Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
|
クエリ パラメータ
パラメータ |
pageSize |
integer
返されるリソースの最大数。指定しない場合、最大 10 個のリソースが返されます。最大値は 10 です。値が最大値を超える場合は、最大値に強制変換されます。
|
pageToken |
string
前回の measurementProtocolSecrets.list 呼び出しから受け取ったページトークン。後続のページを取得するにはこれを指定します。ページネーションを行う場合、measurementProtocolSecrets.list に指定する他のすべてのパラメータは、ページトークンを受け取った呼び出しと一致している必要があります。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
ListMeasurementProtocolSecret RPC に対するレスポンス メッセージ
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
フィールド |
measurementProtocolSecrets[] |
object (MeasurementProtocolSecret )
リクエストで指定された親ストリームのシークレットのリスト。
|
nextPageToken |
string
次のページを取得するために pageToken として送信できるトークン。このフィールドを省略すると、後続のページはなくなります。
|
認可スコープ
以下のいずれかの OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["Lists Measurement Protocol Secrets associated with a specific Google Analytics 4 property and data stream."],["Allows specification of pagination parameters like `pageSize` and `pageToken` to control the results returned."],["The response includes a list of Measurement Protocol Secrets and a token for retrieving subsequent pages, if available."],["Requires authorization with either `analytics.readonly` or `analytics.edit` scope."],["Provides details on the HTTP request structure, including path and query parameters, as well as the expected response format."]]],["This outlines the process of listing child MeasurementProtocolSecrets under a parent Property via an HTTP GET request. The request URL structure is defined using gRPC Transcoding syntax, including a required `parent` path parameter. Optional query parameters, `pageSize` and `pageToken`, allow for pagination. The request body must be empty. The response includes a list of MeasurementProtocolSecrets and a `nextPageToken` for subsequent pages, all represented in JSON. Authorization requires either read-only or edit access.\n"]]