@@ -23,6 +23,7 @@ import "google/api/field_behavior.proto";
2323import "google/api/resource.proto" ;
2424import "google/protobuf/empty.proto" ;
2525import "google/protobuf/field_mask.proto" ;
26+ import "google/protobuf/timestamp.proto" ;
2627
2728option go_package = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin" ;
2829option java_multiple_files = true ;
@@ -39,8 +40,6 @@ service AnalyticsAdminService {
3940 "https://www.googleapis.com/auth/analytics.readonly" ;
4041
4142 // Lookup for a single Account.
42- // Throws "Target not found" if no such account found, or if caller does not
43- // have permissions to access it.
4443 rpc GetAccount (GetAccountRequest ) returns (Account ) {
4544 option (google.api.http ) = {
4645 get : "/v1alpha/{name=accounts/*}"
@@ -102,9 +101,6 @@ service AnalyticsAdminService {
102101 }
103102
104103 // Lookup for a single "GA4" Property.
105- //
106- // Throws "Target not found" if no such property found, if property is not
107- // of the type "GA4", or if caller does not have permissions to access it.
108104 rpc GetProperty (GetPropertyRequest ) returns (Property ) {
109105 option (google.api.http ) = {
110106 get : "/v1alpha/{name=properties/*}"
@@ -293,9 +289,6 @@ service AnalyticsAdminService {
293289 }
294290
295291 // Lookup for a single WebDataStream
296- //
297- // Throws "Target not found" if no such web data stream found, or if the
298- // caller does not have permissions to access it.
299292 rpc GetWebDataStream (GetWebDataStreamRequest ) returns (WebDataStream ) {
300293 option (google.api.http ) = {
301294 get : "/v1alpha/{name=properties/*/webDataStreams/*}"
@@ -341,9 +334,6 @@ service AnalyticsAdminService {
341334 }
342335
343336 // Lookup for a single IosAppDataStream
344- //
345- // Throws "Target not found" if no such iOS app data stream found, or if the
346- // caller does not have permissions to access it.
347337 rpc GetIosAppDataStream (GetIosAppDataStreamRequest ) returns (IosAppDataStream ) {
348338 option (google.api.http ) = {
349339 get : "/v1alpha/{name=properties/*/iosAppDataStreams/*}"
@@ -389,9 +379,6 @@ service AnalyticsAdminService {
389379 }
390380
391381 // Lookup for a single AndroidAppDataStream
392- //
393- // Throws "Target not found" if no such android app data stream found, or if
394- // the caller does not have permissions to access it.
395382 rpc GetAndroidAppDataStream (GetAndroidAppDataStreamRequest ) returns (AndroidAppDataStream ) {
396383 option (google.api.http ) = {
397384 get : "/v1alpha/{name=properties/*/androidAppDataStreams/*}"
@@ -609,8 +596,10 @@ message UpdateAccountRequest {
609596 // The account's `name` field is used to identify the account.
610597 Account account = 1 [(google.api.field_behavior ) = REQUIRED ];
611598
612- // The list of fields to be updated. Omitted fields will not be updated.
613- google.protobuf.FieldMask update_mask = 2 ;
599+ // Required. The list of fields to be updated. Omitted fields will not be updated.
600+ // To replace the entire entity, use one path with the string "*" to match
601+ // all fields.
602+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior ) = REQUIRED ];
614603}
615604
616605// Request message for ProvisionAccountTicket RPC.
@@ -694,8 +683,10 @@ message UpdatePropertyRequest {
694683 // updated.
695684 Property property = 1 [(google.api.field_behavior ) = REQUIRED ];
696685
697- // The list of fields to be updated. Omitted fields will not be updated.
698- google.protobuf.FieldMask update_mask = 2 ;
686+ // Required. The list of fields to be updated. Omitted fields will not be updated.
687+ // To replace the entire entity, use one path with the string "*" to match
688+ // all fields.
689+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior ) = REQUIRED ];
699690}
700691
701692// Request message for CreateProperty RPC.
@@ -971,8 +962,10 @@ message UpdateWebDataStreamRequest {
971962 // The `name` field is used to identify the web stream to be updated.
972963 WebDataStream web_data_stream = 1 [(google.api.field_behavior ) = REQUIRED ];
973964
974- // The list of fields to be updated. Omitted fields will not be updated.
975- google.protobuf.FieldMask update_mask = 2 ;
965+ // Required. The list of fields to be updated. Omitted fields will not be updated.
966+ // To replace the entire entity, use one path with the string "*" to match
967+ // all fields.
968+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior ) = REQUIRED ];
976969}
977970
978971// Request message for CreateWebDataStream RPC.
@@ -1056,8 +1049,10 @@ message UpdateIosAppDataStreamRequest {
10561049 // The `name` field is used to identify the iOS app stream to be updated.
10571050 IosAppDataStream ios_app_data_stream = 1 [(google.api.field_behavior ) = REQUIRED ];
10581051
1059- // The list of fields to be updated. Omitted fields will not be updated.
1060- google.protobuf.FieldMask update_mask = 2 ;
1052+ // Required. The list of fields to be updated. Omitted fields will not be updated.
1053+ // To replace the entire entity, use one path with the string "*" to match
1054+ // all fields.
1055+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior ) = REQUIRED ];
10611056}
10621057
10631058// Request message for CreateIosAppDataStream RPC.
@@ -1141,8 +1136,10 @@ message UpdateAndroidAppDataStreamRequest {
11411136 // The `name` field is used to identify the android app stream to be updated.
11421137 AndroidAppDataStream android_app_data_stream = 1 [(google.api.field_behavior ) = REQUIRED ];
11431138
1144- // The list of fields to be updated. Omitted fields will not be updated.
1145- google.protobuf.FieldMask update_mask = 2 ;
1139+ // Required. The list of fields to be updated. Omitted fields will not be updated.
1140+ // To replace the entire entity, use one path with the string "*" to match
1141+ // all fields.
1142+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior ) = REQUIRED ];
11461143}
11471144
11481145// Request message for CreateAndroidAppDataStream RPC.
@@ -1200,7 +1197,6 @@ message ListAndroidAppDataStreamsResponse {
12001197message GetEnhancedMeasurementSettingsRequest {
12011198 // Required. The name of the settings to lookup.
12021199 // Format:
1203- //
12041200 // properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings
12051201 // Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
12061202 string name = 1 [
@@ -1217,8 +1213,10 @@ message UpdateEnhancedMeasurementSettingsRequest {
12171213 // The `name` field is used to identify the settings to be updated.
12181214 EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(google.api.field_behavior ) = REQUIRED ];
12191215
1220- // The list of fields to be updated. Omitted fields will not be updated.
1221- google.protobuf.FieldMask update_mask = 2 ;
1216+ // Required. The list of fields to be updated. Omitted fields will not be updated.
1217+ // To replace the entire entity, use one path with the string "*" to match
1218+ // all fields.
1219+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior ) = REQUIRED ];
12221220}
12231221
12241222// Request message for CreateFirebaseLink RPC
@@ -1241,8 +1239,10 @@ message UpdateFirebaseLinkRequest {
12411239 // Required. The Firebase link to update.
12421240 FirebaseLink firebase_link = 1 [(google.api.field_behavior ) = REQUIRED ];
12431241
1244- // The list of fields to be updated. Omitted fields will not be updated.
1245- google.protobuf.FieldMask update_mask = 2 ;
1242+ // Required. The list of fields to be updated. Omitted fields will not be updated.
1243+ // To replace the entire entity, use one path with the string "*" to match
1244+ // all fields.
1245+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior ) = REQUIRED ];
12461246}
12471247
12481248// Request message for DeleteFirebaseLink RPC
@@ -1267,12 +1267,30 @@ message ListFirebaseLinksRequest {
12671267 child_type : "analyticsadmin.googleapis.com/FirebaseLink"
12681268 }
12691269 ];
1270+
1271+ // The maximum number of resources to return. The service may return
1272+ // fewer than this value, even if there are additional pages.
1273+ // If unspecified, at most 50 resources will be returned.
1274+ // The maximum value is 200; (higher values will be coerced to the maximum)
1275+ int32 page_size = 2 ;
1276+
1277+ // A page token, received from a previous `ListFirebaseLinks` call.
1278+ // Provide this to retrieve the subsequent page.
1279+ // When paginating, all other parameters provided to `ListProperties` must
1280+ // match the call that provided the page token.
1281+ string page_token = 3 ;
12701282}
12711283
12721284// Response message for ListFirebaseLinks RPC
12731285message ListFirebaseLinksResponse {
12741286 // List of FirebaseLinks. This will have at most one value.
12751287 repeated FirebaseLink firebase_links = 1 ;
1288+
1289+ // A token, which can be sent as `page_token` to retrieve the next page.
1290+ // If this field is omitted, there are no subsequent pages.
1291+ // Currently, Google Analytics supports only one FirebaseLink per property,
1292+ // so this will never be populated.
1293+ string next_page_token = 2 ;
12761294}
12771295
12781296// Request message for GetGlobalSiteTag RPC.
@@ -1308,8 +1326,10 @@ message UpdateGoogleAdsLinkRequest {
13081326 // The GoogleAdsLink to update
13091327 GoogleAdsLink google_ads_link = 1 ;
13101328
1311- // The list of fields to be updated. Omitted fields will not be updated.
1312- google.protobuf.FieldMask update_mask = 2 ;
1329+ // Required. The list of fields to be updated. Omitted fields will not be updated.
1330+ // To replace the entire entity, use one path with the string "*" to match
1331+ // all fields.
1332+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior ) = REQUIRED ];
13131333}
13141334
13151335// Request message for DeleteGoogleAdsLink RPC.
0 commit comments