Method: properties.dataStreams.measurementProtocolSecrets.list
지정된 상위 속성 아래의 하위 MeasurementProtocolSecrets를 반환합니다.
HTTP 요청
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
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
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]