Method: properties.provisionSubproperty
생성된 하위 속성에 적용되는 하위 속성과 하위 속성 이벤트 필터를 만듭니다.
HTTP 요청
POST https://analyticsadmin.googleapis.com/v1alpha/properties:provisionSubproperty
URL은 gRPC 트랜스코딩 구문을 사용합니다.
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
필드 |
subproperty |
object (Property )
필수 항목입니다. 만들 하위 속성입니다.
|
subpropertyEventFilter |
object (SubpropertyEventFilter )
선택사항입니다. 일반 속성에서 만들 하위 속성 이벤트 필터입니다.
|
응답 본문
properties.provisionSubproperty RPC의 응답 메시지입니다.
성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.
필드 |
subproperty |
object (Property )
생성된 하위 속성입니다.
|
subpropertyEventFilter |
object (SubpropertyEventFilter )
생성된 하위 속성 이벤트 필터
|
승인 범위
다음 OAuth 범위가 필요합니다.
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)"],[[["Provision a new subproperty and an optional subproperty event filter within a Google Analytics property using the `properties.provisionSubproperty` method."],["The request body requires a `subproperty` object and optionally includes a `subpropertyEventFilter` for defining event filtering criteria."],["A successful response returns the created `subproperty` and the `subpropertyEventFilter` if provided."],["This operation requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."]]],["This content outlines how to provision a subproperty and its event filter using an HTTP POST request. The request, sent to `https://analyticsadmin.googleapis.com/v1alpha/properties:provisionSubproperty`, requires a JSON body containing the `subproperty` object and an optional `subpropertyEventFilter` object. Upon success, the response body will include the created `subproperty` and the `subpropertyEventFilter`, as objects. Authorization using the `analytics.edit` scope is required.\n"]]