@@ -1637,6 +1637,35 @@ service AnalyticsAdminService {
16371637 };
16381638 option (google.api.method_signature ) = "name" ;
16391639 }
1640+
1641+ // List all Subproperty Sync Configs on a property.
1642+ rpc ListSubpropertySyncConfigs (ListSubpropertySyncConfigsRequest )
1643+ returns (ListSubpropertySyncConfigsResponse ) {
1644+ option (google.api.http ) = {
1645+ get : "/v1alpha/{parent=properties/*}/subpropertySyncConfigs"
1646+ };
1647+ option (google.api.method_signature ) = "parent" ;
1648+ }
1649+
1650+ // Updates a Subproperty Sync Config.
1651+ rpc UpdateSubpropertySyncConfig (UpdateSubpropertySyncConfigRequest )
1652+ returns (SubpropertySyncConfig ) {
1653+ option (google.api.http ) = {
1654+ patch : "/v1alpha/{subproperty_sync_config.name=properties/*/subpropertySyncConfigs/*}"
1655+ body : "subproperty_sync_config"
1656+ };
1657+ option (google.api.method_signature ) =
1658+ "subproperty_sync_config,update_mask" ;
1659+ }
1660+
1661+ // Lookup for a single Subproperty Sync Config.
1662+ rpc GetSubpropertySyncConfig (GetSubpropertySyncConfigRequest )
1663+ returns (SubpropertySyncConfig ) {
1664+ option (google.api.http ) = {
1665+ get : "/v1alpha/{name=properties/*/subpropertySyncConfigs/*}"
1666+ };
1667+ option (google.api.method_signature ) = "name" ;
1668+ }
16401669}
16411670
16421671// The request for a Data Access Record Report.
@@ -4376,6 +4405,12 @@ message ProvisionSubpropertyRequest {
43764405 // Optional. The subproperty event filter to create on an ordinary property.
43774406 SubpropertyEventFilter subproperty_event_filter = 3
43784407 [(google.api.field_behavior ) = OPTIONAL ];
4408+
4409+ // Optional. The subproperty feature synchronization mode for Custom
4410+ // Dimensions and Metrics
4411+ SubpropertySyncConfig.SynchronizationMode
4412+ custom_dimension_and_metric_synchronization_mode = 4
4413+ [(google.api.field_behavior) = OPTIONAL];
43794414}
43804415
43814416// Response message for ProvisionSubproperty RPC.
@@ -4659,3 +4694,67 @@ message SubmitUserDeletionResponse {
46594694 // received.
46604695 google.protobuf.Timestamp deletion_request_time = 1 ;
46614696}
4697+
4698+ // Request message for GetSubpropertySyncConfig RPC.
4699+ message GetSubpropertySyncConfigRequest {
4700+ // Required. Resource name of the SubpropertySyncConfig to lookup.
4701+ // Format:
4702+ // properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id}
4703+ // Example: properties/1234/subpropertySyncConfigs/5678
4704+ string name = 1 [
4705+ (google.api.field_behavior ) = REQUIRED ,
4706+ (google.api.resource_reference ) = {
4707+ type : "analyticsadmin.googleapis.com/SubpropertySyncConfig"
4708+ }
4709+ ];
4710+ }
4711+
4712+ // Request message for ListSubpropertySyncConfigs RPC.
4713+ message ListSubpropertySyncConfigsRequest {
4714+ // Required. Resource name of the property.
4715+ // Format: properties/property_id
4716+ // Example: properties/123
4717+ string parent = 1 [
4718+ (google.api.field_behavior ) = REQUIRED ,
4719+ (google.api.resource_reference ) = {
4720+ child_type : "analyticsadmin.googleapis.com/SubpropertySyncConfig"
4721+ }
4722+ ];
4723+
4724+ // Optional. The maximum number of resources to return. The service may return
4725+ // fewer than this value, even if there are additional pages. If unspecified,
4726+ // at most 50 resources will be returned. The maximum value is 200; (higher
4727+ // values will be coerced to the maximum)
4728+ int32 page_size = 2 [(google.api.field_behavior ) = OPTIONAL ];
4729+
4730+ // Optional. A page token, received from a previous
4731+ // `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent
4732+ // page. When paginating, all other parameters provided to
4733+ // `ListSubpropertySyncConfig` must match the call that provided the page
4734+ // token.
4735+ string page_token = 3 [(google.api.field_behavior ) = OPTIONAL ];
4736+ }
4737+
4738+ // Response message for ListSubpropertySyncConfigs RPC.
4739+ message ListSubpropertySyncConfigsResponse {
4740+ // List of Subproperty Sync Configs.
4741+ repeated SubpropertySyncConfig subproperty_sync_configs = 1 ;
4742+
4743+ // A token, which can be sent as `page_token` to retrieve the next page. If
4744+ // this field is omitted, there are no subsequent pages.
4745+ string next_page_token = 2 ;
4746+ }
4747+
4748+ // Request message for UpdateSubpropertySyncConfig RPC.
4749+ message UpdateSubpropertySyncConfigRequest {
4750+ // Required. The SubpropertySyncConfig to update.
4751+ SubpropertySyncConfig subproperty_sync_config = 1
4752+ [(google.api.field_behavior ) = REQUIRED ];
4753+
4754+ // Optional. The list of fields to update. Field names must be in snake case
4755+ // (for example, "field_to_update"). Omitted fields will not be updated. To
4756+ // replace the entire entity, use one path with the string "*" to match all
4757+ // fields.
4758+ google.protobuf.FieldMask update_mask = 2
4759+ [(google.api.field_behavior ) = OPTIONAL ];
4760+ }
0 commit comments