google-analytics-admin-v1alpha 0.2.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,3 +33,6 @@ module Google
33
33
  end
34
34
  end
35
35
  end
36
+
37
+ helper_path = ::File.join __dir__, "v1alpha", "_helpers.rb"
38
+ require "google/analytics/admin/v1alpha/_helpers" if ::File.file? helper_path
@@ -10,6 +10,7 @@ require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
11
  require 'google/protobuf/empty_pb'
12
12
  require 'google/protobuf/field_mask_pb'
13
+ require 'google/protobuf/timestamp_pb'
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/analytics/admin/v1alpha/analytics_admin.proto", :syntax => :proto3) do
15
16
  add_message "google.analytics.admin.v1alpha.GetAccountRequest" do
@@ -208,9 +209,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
208
209
  end
209
210
  add_message "google.analytics.admin.v1alpha.ListFirebaseLinksRequest" do
210
211
  optional :parent, :string, 1
212
+ optional :page_size, :int32, 2
213
+ optional :page_token, :string, 3
211
214
  end
212
215
  add_message "google.analytics.admin.v1alpha.ListFirebaseLinksResponse" do
213
216
  repeated :firebase_links, :message, 1, "google.analytics.admin.v1alpha.FirebaseLink"
217
+ optional :next_page_token, :string, 2
214
218
  end
215
219
  add_message "google.analytics.admin.v1alpha.GetGlobalSiteTagRequest" do
216
220
  optional :name, :string, 1
@@ -60,7 +60,7 @@ module Google
60
60
  parent_config = while namespace.any?
61
61
  parent_name = namespace.join "::"
62
62
  parent_const = const_get parent_name
63
- break parent_const.configure if parent_const&.respond_to? :configure
63
+ break parent_const.configure if parent_const.respond_to? :configure
64
64
  namespace.pop
65
65
  end
66
66
  default_config = Client::Configuration.new parent_config
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 1.0,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14, 2]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14, 2]
74
74
  }
75
75
 
76
76
  default_config.rpcs.get_account.timeout = 60.0
@@ -224,7 +224,13 @@ module Google
224
224
 
225
225
  # Create credentials
226
226
  credentials = @config.credentials
227
- credentials ||= Credentials.default scope: @config.scope
227
+ # Use self-signed JWT if the scope and endpoint are unchanged from default,
228
+ # but only if the default endpoint does not have a region prefix.
229
+ enable_self_signed_jwt = @config.scope == Client.configure.scope &&
230
+ @config.endpoint == Client.configure.endpoint &&
231
+ !@config.endpoint.split(".").first.include?("-")
232
+ credentials ||= Credentials.default scope: @config.scope,
233
+ enable_self_signed_jwt: enable_self_signed_jwt
228
234
  if credentials.is_a?(String) || credentials.is_a?(Hash)
229
235
  credentials = Credentials.new credentials, scope: @config.scope
230
236
  end
@@ -244,8 +250,6 @@ module Google
244
250
 
245
251
  ##
246
252
  # Lookup for a single Account.
247
- # Throws "Target not found" if no such account found, or if caller does not
248
- # have permissions to access it.
249
253
  #
250
254
  # @overload get_account(request, options = nil)
251
255
  # Pass arguments to `get_account` via a request object, either of type
@@ -489,7 +493,9 @@ module Google
489
493
  # Required. The account to update.
490
494
  # The account's `name` field is used to identify the account.
491
495
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
492
- # The list of fields to be updated. Omitted fields will not be updated.
496
+ # Required. The list of fields to be updated. Field names must be in snake case
497
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
498
+ # the entire entity, use one path with the string "*" to match all fields.
493
499
  #
494
500
  # @yield [response, operation] Access the result along with the RPC operation
495
501
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::Account]
@@ -671,9 +677,6 @@ module Google
671
677
  ##
672
678
  # Lookup for a single "GA4" Property.
673
679
  #
674
- # Throws "Target not found" if no such property found, if property is not
675
- # of the type "GA4", or if caller does not have permissions to access it.
676
- #
677
680
  # @overload get_property(request, options = nil)
678
681
  # Pass arguments to `get_property` via a request object, either of type
679
682
  # {::Google::Analytics::Admin::V1alpha::GetPropertyRequest} or an equivalent Hash.
@@ -769,11 +772,13 @@ module Google
769
772
  # `firebase_project:`(The id or number of the linked firebase project).
770
773
  # Some examples of filters:
771
774
  #
775
+ # ```
772
776
  # | Filter | Description |
773
777
  # |-----------------------------|-------------------------------------------|
774
778
  # | parent:accounts/123 | The account with account id: 123. |
775
779
  # | firebase_project:project-id | The firebase project with id: project-id. |
776
780
  # | firebase_project:123 | The firebase project with number: 123. |
781
+ # ```
777
782
  # @param page_size [::Integer]
778
783
  # The maximum number of resources to return. The service may return
779
784
  # fewer than this value, even if there are additional pages.
@@ -991,7 +996,9 @@ module Google
991
996
  # The property's `name` field is used to identify the property to be
992
997
  # updated.
993
998
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
994
- # The list of fields to be updated. Omitted fields will not be updated.
999
+ # Required. The list of fields to be updated. Field names must be in snake case
1000
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
1001
+ # the entire entity, use one path with the string "*" to match all fields.
995
1002
  #
996
1003
  # @yield [response, operation] Access the result along with the RPC operation
997
1004
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::Property]
@@ -1364,8 +1371,8 @@ module Google
1364
1371
  # @param parent [::String]
1365
1372
  # Required. Example format: accounts/1234
1366
1373
  # @param notify_new_user [::Boolean]
1367
- # Optional. If notify_new_user is set, then email new user that they've been given
1368
- # permissions on the resource.
1374
+ # Optional. If set, then email the new user notifying them that they've been granted
1375
+ # permissions to the resource.
1369
1376
  # @param user_link [::Google::Analytics::Admin::V1alpha::UserLink, ::Hash]
1370
1377
  # Required. The user link to create.
1371
1378
  #
@@ -1441,10 +1448,11 @@ module Google
1441
1448
  # messages must either be empty or match this field.
1442
1449
  # Example format: accounts/1234
1443
1450
  # @param notify_new_users [::Boolean]
1444
- # Optional. If notify_new_users is set, then email new users that they've been given
1445
- # permissions on the resource.
1451
+ # Optional. If set, then email the new users notifying them that they've been granted
1452
+ # permissions to the resource. Regardless of whether this is set or not,
1453
+ # notify_new_user field inside each individual request is ignored.
1446
1454
  # @param requests [::Array<::Google::Analytics::Admin::V1alpha::CreateUserLinkRequest, ::Hash>]
1447
- # The requests specifying the user links to create.
1455
+ # Required. The requests specifying the user links to create.
1448
1456
  # A maximum of 1000 user links can be created in a batch.
1449
1457
  #
1450
1458
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1582,7 +1590,7 @@ module Google
1582
1590
  # empty or match this field.
1583
1591
  # Example format: accounts/1234
1584
1592
  # @param requests [::Array<::Google::Analytics::Admin::V1alpha::UpdateUserLinkRequest, ::Hash>]
1585
- # The requests specifying the user links to update.
1593
+ # Required. The requests specifying the user links to update.
1586
1594
  # A maximum of 1000 user links can be updated in a batch.
1587
1595
  #
1588
1596
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1720,7 +1728,7 @@ module Google
1720
1728
  # field.
1721
1729
  # Example format: accounts/1234
1722
1730
  # @param requests [::Array<::Google::Analytics::Admin::V1alpha::DeleteUserLinkRequest, ::Hash>]
1723
- # The requests specifying the user links to update.
1731
+ # Required. The requests specifying the user links to update.
1724
1732
  # A maximum of 1000 user links can be updated in a batch.
1725
1733
  #
1726
1734
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1771,9 +1779,6 @@ module Google
1771
1779
  ##
1772
1780
  # Lookup for a single WebDataStream
1773
1781
  #
1774
- # Throws "Target not found" if no such web data stream found, or if the
1775
- # caller does not have permissions to access it.
1776
- #
1777
1782
  # @overload get_web_data_stream(request, options = nil)
1778
1783
  # Pass arguments to `get_web_data_stream` via a request object, either of type
1779
1784
  # {::Google::Analytics::Admin::V1alpha::GetWebDataStreamRequest} or an equivalent Hash.
@@ -1929,7 +1934,9 @@ module Google
1929
1934
  # Required. The web stream to update.
1930
1935
  # The `name` field is used to identify the web stream to be updated.
1931
1936
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1932
- # The list of fields to be updated. Omitted fields will not be updated.
1937
+ # Required. The list of fields to be updated. Field names must be in snake case
1938
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
1939
+ # the entire entity, use one path with the string "*" to match all fields.
1933
1940
  #
1934
1941
  # @yield [response, operation] Access the result along with the RPC operation
1935
1942
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::WebDataStream]
@@ -2129,9 +2136,6 @@ module Google
2129
2136
  ##
2130
2137
  # Lookup for a single IosAppDataStream
2131
2138
  #
2132
- # Throws "Target not found" if no such iOS app data stream found, or if the
2133
- # caller does not have permissions to access it.
2134
- #
2135
2139
  # @overload get_ios_app_data_stream(request, options = nil)
2136
2140
  # Pass arguments to `get_ios_app_data_stream` via a request object, either of type
2137
2141
  # {::Google::Analytics::Admin::V1alpha::GetIosAppDataStreamRequest} or an equivalent Hash.
@@ -2287,7 +2291,9 @@ module Google
2287
2291
  # Required. The iOS app stream to update.
2288
2292
  # The `name` field is used to identify the iOS app stream to be updated.
2289
2293
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2290
- # The list of fields to be updated. Omitted fields will not be updated.
2294
+ # Required. The list of fields to be updated. Field names must be in snake case
2295
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
2296
+ # the entire entity, use one path with the string "*" to match all fields.
2291
2297
  #
2292
2298
  # @yield [response, operation] Access the result along with the RPC operation
2293
2299
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
@@ -2335,7 +2341,15 @@ module Google
2335
2341
  end
2336
2342
 
2337
2343
  ##
2338
- # Creates an iOS app data stream with the specified location and attributes.
2344
+ # Creates an iOS app stream with the specified location and attributes.
2345
+ #
2346
+ # Note that an iOS app stream must be linked to a Firebase app to receive
2347
+ # traffic.
2348
+ #
2349
+ # To create a working app stream, make sure your property is linked to a
2350
+ # Firebase project. Then, use the Firebase API to create a Firebase app,
2351
+ # which will also create an appropriate data stream in Analytics (may take up
2352
+ # to 24 hours).
2339
2353
  #
2340
2354
  # @overload create_ios_app_data_stream(request, options = nil)
2341
2355
  # Pass arguments to `create_ios_app_data_stream` via a request object, either of type
@@ -2487,9 +2501,6 @@ module Google
2487
2501
  ##
2488
2502
  # Lookup for a single AndroidAppDataStream
2489
2503
  #
2490
- # Throws "Target not found" if no such android app data stream found, or if
2491
- # the caller does not have permissions to access it.
2492
- #
2493
2504
  # @overload get_android_app_data_stream(request, options = nil)
2494
2505
  # Pass arguments to `get_android_app_data_stream` via a request object, either of type
2495
2506
  # {::Google::Analytics::Admin::V1alpha::GetAndroidAppDataStreamRequest} or an equivalent Hash.
@@ -2645,7 +2656,9 @@ module Google
2645
2656
  # Required. The android app stream to update.
2646
2657
  # The `name` field is used to identify the android app stream to be updated.
2647
2658
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2648
- # The list of fields to be updated. Omitted fields will not be updated.
2659
+ # Required. The list of fields to be updated. Field names must be in snake case
2660
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
2661
+ # the entire entity, use one path with the string "*" to match all fields.
2649
2662
  #
2650
2663
  # @yield [response, operation] Access the result along with the RPC operation
2651
2664
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
@@ -2693,7 +2706,15 @@ module Google
2693
2706
  end
2694
2707
 
2695
2708
  ##
2696
- # Creates an android app stream with the specified location and attributes.
2709
+ # Creates an Android app stream with the specified location and attributes.
2710
+ #
2711
+ # Note that an Android app stream must be linked to a Firebase app to receive
2712
+ # traffic.
2713
+ #
2714
+ # To create a working app stream, make sure your property is linked to a
2715
+ # Firebase project. Then, use the Firebase API to create a Firebase app,
2716
+ # which will also create an appropriate data stream in Analytics (may take up
2717
+ # to 24 hours).
2697
2718
  #
2698
2719
  # @overload create_android_app_data_stream(request, options = nil)
2699
2720
  # Pass arguments to `create_android_app_data_stream` via a request object, either of type
@@ -2939,7 +2960,9 @@ module Google
2939
2960
  # Required. The settings to update.
2940
2961
  # The `name` field is used to identify the settings to be updated.
2941
2962
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2942
- # The list of fields to be updated. Omitted fields will not be updated.
2963
+ # Required. The list of fields to be updated. Field names must be in snake case
2964
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
2965
+ # the entire entity, use one path with the string "*" to match all fields.
2943
2966
  #
2944
2967
  # @yield [response, operation] Access the result along with the RPC operation
2945
2968
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
@@ -3078,7 +3101,9 @@ module Google
3078
3101
  # @param firebase_link [::Google::Analytics::Admin::V1alpha::FirebaseLink, ::Hash]
3079
3102
  # Required. The Firebase link to update.
3080
3103
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
3081
- # The list of fields to be updated. Omitted fields will not be updated.
3104
+ # Required. The list of fields to be updated. Field names must be in snake case
3105
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
3106
+ # the entire entity, use one path with the string "*" to match all fields.
3082
3107
  #
3083
3108
  # @yield [response, operation] Access the result along with the RPC operation
3084
3109
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::FirebaseLink]
@@ -3206,7 +3231,7 @@ module Google
3206
3231
  # @param options [::Gapic::CallOptions, ::Hash]
3207
3232
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3208
3233
  #
3209
- # @overload list_firebase_links(parent: nil)
3234
+ # @overload list_firebase_links(parent: nil, page_size: nil, page_token: nil)
3210
3235
  # Pass arguments to `list_firebase_links` via keyword arguments. Note that at
3211
3236
  # least one keyword argument is required. To specify no parameters, or to keep all
3212
3237
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3214,12 +3239,22 @@ module Google
3214
3239
  # @param parent [::String]
3215
3240
  # Required. Format: properties/\\{property_id}
3216
3241
  # Example: properties/1234
3242
+ # @param page_size [::Integer]
3243
+ # The maximum number of resources to return. The service may return
3244
+ # fewer than this value, even if there are additional pages.
3245
+ # If unspecified, at most 50 resources will be returned.
3246
+ # The maximum value is 200; (higher values will be coerced to the maximum)
3247
+ # @param page_token [::String]
3248
+ # A page token, received from a previous `ListFirebaseLinks` call.
3249
+ # Provide this to retrieve the subsequent page.
3250
+ # When paginating, all other parameters provided to `ListProperties` must
3251
+ # match the call that provided the page token.
3217
3252
  #
3218
3253
  # @yield [response, operation] Access the result along with the RPC operation
3219
- # @yieldparam response [::Google::Analytics::Admin::V1alpha::ListFirebaseLinksResponse]
3254
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::FirebaseLink>]
3220
3255
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
3221
3256
  #
3222
- # @return [::Google::Analytics::Admin::V1alpha::ListFirebaseLinksResponse]
3257
+ # @return [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::FirebaseLink>]
3223
3258
  #
3224
3259
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
3225
3260
  #
@@ -3253,6 +3288,7 @@ module Google
3253
3288
  retry_policy: @config.retry_policy
3254
3289
 
3255
3290
  @analytics_admin_service_stub.call_rpc :list_firebase_links, request, options: options do |response, operation|
3291
+ response = ::Gapic::PagedEnumerable.new @analytics_admin_service_stub, :list_firebase_links, request, response, operation, options
3256
3292
  yield response, operation if block_given?
3257
3293
  return response
3258
3294
  end
@@ -3419,7 +3455,9 @@ module Google
3419
3455
  # @param google_ads_link [::Google::Analytics::Admin::V1alpha::GoogleAdsLink, ::Hash]
3420
3456
  # The GoogleAdsLink to update
3421
3457
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
3422
- # The list of fields to be updated. Omitted fields will not be updated.
3458
+ # Required. The list of fields to be updated. Field names must be in snake case
3459
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
3460
+ # the entire entity, use one path with the string "*" to match all fields.
3423
3461
  #
3424
3462
  # @yield [response, operation] Access the result along with the RPC operation
3425
3463
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::GoogleAdsLink]
@@ -3770,7 +3808,7 @@ module Google
3770
3808
  config_attr :scope, nil, ::String, ::Array, nil
3771
3809
  config_attr :lib_name, nil, ::String, nil
3772
3810
  config_attr :lib_version, nil, ::String, nil
3773
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
3811
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
3774
3812
  config_attr :interceptors, nil, ::Array, nil
3775
3813
  config_attr :timeout, nil, ::Numeric, nil
3776
3814
  config_attr :metadata, nil, ::Hash, nil
@@ -3791,7 +3829,7 @@ module Google
3791
3829
  def rpcs
3792
3830
  @rpcs ||= begin
3793
3831
  parent_rpcs = nil
3794
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
3832
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
3795
3833
  Rpcs.new parent_rpcs
3796
3834
  end
3797
3835
  end
@@ -3803,7 +3841,7 @@ module Google
3803
3841
  # Each configuration object is of type `Gapic::Config::Method` and includes
3804
3842
  # the following configuration fields:
3805
3843
  #
3806
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
3844
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
3807
3845
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
3808
3846
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
3809
3847
  # include the following keys:
@@ -4057,101 +4095,101 @@ module Google
4057
4095
 
4058
4096
  # @private
4059
4097
  def initialize parent_rpcs = nil
4060
- get_account_config = parent_rpcs&.get_account if parent_rpcs&.respond_to? :get_account
4098
+ get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account
4061
4099
  @get_account = ::Gapic::Config::Method.new get_account_config
4062
- list_accounts_config = parent_rpcs&.list_accounts if parent_rpcs&.respond_to? :list_accounts
4100
+ list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts
4063
4101
  @list_accounts = ::Gapic::Config::Method.new list_accounts_config
4064
- delete_account_config = parent_rpcs&.delete_account if parent_rpcs&.respond_to? :delete_account
4102
+ delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account
4065
4103
  @delete_account = ::Gapic::Config::Method.new delete_account_config
4066
- update_account_config = parent_rpcs&.update_account if parent_rpcs&.respond_to? :update_account
4104
+ update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account
4067
4105
  @update_account = ::Gapic::Config::Method.new update_account_config
4068
- provision_account_ticket_config = parent_rpcs&.provision_account_ticket if parent_rpcs&.respond_to? :provision_account_ticket
4106
+ provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket
4069
4107
  @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config
4070
- list_account_summaries_config = parent_rpcs&.list_account_summaries if parent_rpcs&.respond_to? :list_account_summaries
4108
+ list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries
4071
4109
  @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config
4072
- get_property_config = parent_rpcs&.get_property if parent_rpcs&.respond_to? :get_property
4110
+ get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property
4073
4111
  @get_property = ::Gapic::Config::Method.new get_property_config
4074
- list_properties_config = parent_rpcs&.list_properties if parent_rpcs&.respond_to? :list_properties
4112
+ list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties
4075
4113
  @list_properties = ::Gapic::Config::Method.new list_properties_config
4076
- create_property_config = parent_rpcs&.create_property if parent_rpcs&.respond_to? :create_property
4114
+ create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property
4077
4115
  @create_property = ::Gapic::Config::Method.new create_property_config
4078
- delete_property_config = parent_rpcs&.delete_property if parent_rpcs&.respond_to? :delete_property
4116
+ delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property
4079
4117
  @delete_property = ::Gapic::Config::Method.new delete_property_config
4080
- update_property_config = parent_rpcs&.update_property if parent_rpcs&.respond_to? :update_property
4118
+ update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property
4081
4119
  @update_property = ::Gapic::Config::Method.new update_property_config
4082
- get_user_link_config = parent_rpcs&.get_user_link if parent_rpcs&.respond_to? :get_user_link
4120
+ get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link
4083
4121
  @get_user_link = ::Gapic::Config::Method.new get_user_link_config
4084
- batch_get_user_links_config = parent_rpcs&.batch_get_user_links if parent_rpcs&.respond_to? :batch_get_user_links
4122
+ batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links
4085
4123
  @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config
4086
- list_user_links_config = parent_rpcs&.list_user_links if parent_rpcs&.respond_to? :list_user_links
4124
+ list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links
4087
4125
  @list_user_links = ::Gapic::Config::Method.new list_user_links_config
4088
- audit_user_links_config = parent_rpcs&.audit_user_links if parent_rpcs&.respond_to? :audit_user_links
4126
+ audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links
4089
4127
  @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config
4090
- create_user_link_config = parent_rpcs&.create_user_link if parent_rpcs&.respond_to? :create_user_link
4128
+ create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link
4091
4129
  @create_user_link = ::Gapic::Config::Method.new create_user_link_config
4092
- batch_create_user_links_config = parent_rpcs&.batch_create_user_links if parent_rpcs&.respond_to? :batch_create_user_links
4130
+ batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links
4093
4131
  @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config
4094
- update_user_link_config = parent_rpcs&.update_user_link if parent_rpcs&.respond_to? :update_user_link
4132
+ update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link
4095
4133
  @update_user_link = ::Gapic::Config::Method.new update_user_link_config
4096
- batch_update_user_links_config = parent_rpcs&.batch_update_user_links if parent_rpcs&.respond_to? :batch_update_user_links
4134
+ batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links
4097
4135
  @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config
4098
- delete_user_link_config = parent_rpcs&.delete_user_link if parent_rpcs&.respond_to? :delete_user_link
4136
+ delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link
4099
4137
  @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config
4100
- batch_delete_user_links_config = parent_rpcs&.batch_delete_user_links if parent_rpcs&.respond_to? :batch_delete_user_links
4138
+ batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links
4101
4139
  @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config
4102
- get_web_data_stream_config = parent_rpcs&.get_web_data_stream if parent_rpcs&.respond_to? :get_web_data_stream
4140
+ get_web_data_stream_config = parent_rpcs.get_web_data_stream if parent_rpcs.respond_to? :get_web_data_stream
4103
4141
  @get_web_data_stream = ::Gapic::Config::Method.new get_web_data_stream_config
4104
- delete_web_data_stream_config = parent_rpcs&.delete_web_data_stream if parent_rpcs&.respond_to? :delete_web_data_stream
4142
+ delete_web_data_stream_config = parent_rpcs.delete_web_data_stream if parent_rpcs.respond_to? :delete_web_data_stream
4105
4143
  @delete_web_data_stream = ::Gapic::Config::Method.new delete_web_data_stream_config
4106
- update_web_data_stream_config = parent_rpcs&.update_web_data_stream if parent_rpcs&.respond_to? :update_web_data_stream
4144
+ update_web_data_stream_config = parent_rpcs.update_web_data_stream if parent_rpcs.respond_to? :update_web_data_stream
4107
4145
  @update_web_data_stream = ::Gapic::Config::Method.new update_web_data_stream_config
4108
- create_web_data_stream_config = parent_rpcs&.create_web_data_stream if parent_rpcs&.respond_to? :create_web_data_stream
4146
+ create_web_data_stream_config = parent_rpcs.create_web_data_stream if parent_rpcs.respond_to? :create_web_data_stream
4109
4147
  @create_web_data_stream = ::Gapic::Config::Method.new create_web_data_stream_config
4110
- list_web_data_streams_config = parent_rpcs&.list_web_data_streams if parent_rpcs&.respond_to? :list_web_data_streams
4148
+ list_web_data_streams_config = parent_rpcs.list_web_data_streams if parent_rpcs.respond_to? :list_web_data_streams
4111
4149
  @list_web_data_streams = ::Gapic::Config::Method.new list_web_data_streams_config
4112
- get_ios_app_data_stream_config = parent_rpcs&.get_ios_app_data_stream if parent_rpcs&.respond_to? :get_ios_app_data_stream
4150
+ get_ios_app_data_stream_config = parent_rpcs.get_ios_app_data_stream if parent_rpcs.respond_to? :get_ios_app_data_stream
4113
4151
  @get_ios_app_data_stream = ::Gapic::Config::Method.new get_ios_app_data_stream_config
4114
- delete_ios_app_data_stream_config = parent_rpcs&.delete_ios_app_data_stream if parent_rpcs&.respond_to? :delete_ios_app_data_stream
4152
+ delete_ios_app_data_stream_config = parent_rpcs.delete_ios_app_data_stream if parent_rpcs.respond_to? :delete_ios_app_data_stream
4115
4153
  @delete_ios_app_data_stream = ::Gapic::Config::Method.new delete_ios_app_data_stream_config
4116
- update_ios_app_data_stream_config = parent_rpcs&.update_ios_app_data_stream if parent_rpcs&.respond_to? :update_ios_app_data_stream
4154
+ update_ios_app_data_stream_config = parent_rpcs.update_ios_app_data_stream if parent_rpcs.respond_to? :update_ios_app_data_stream
4117
4155
  @update_ios_app_data_stream = ::Gapic::Config::Method.new update_ios_app_data_stream_config
4118
- create_ios_app_data_stream_config = parent_rpcs&.create_ios_app_data_stream if parent_rpcs&.respond_to? :create_ios_app_data_stream
4156
+ create_ios_app_data_stream_config = parent_rpcs.create_ios_app_data_stream if parent_rpcs.respond_to? :create_ios_app_data_stream
4119
4157
  @create_ios_app_data_stream = ::Gapic::Config::Method.new create_ios_app_data_stream_config
4120
- list_ios_app_data_streams_config = parent_rpcs&.list_ios_app_data_streams if parent_rpcs&.respond_to? :list_ios_app_data_streams
4158
+ list_ios_app_data_streams_config = parent_rpcs.list_ios_app_data_streams if parent_rpcs.respond_to? :list_ios_app_data_streams
4121
4159
  @list_ios_app_data_streams = ::Gapic::Config::Method.new list_ios_app_data_streams_config
4122
- get_android_app_data_stream_config = parent_rpcs&.get_android_app_data_stream if parent_rpcs&.respond_to? :get_android_app_data_stream
4160
+ get_android_app_data_stream_config = parent_rpcs.get_android_app_data_stream if parent_rpcs.respond_to? :get_android_app_data_stream
4123
4161
  @get_android_app_data_stream = ::Gapic::Config::Method.new get_android_app_data_stream_config
4124
- delete_android_app_data_stream_config = parent_rpcs&.delete_android_app_data_stream if parent_rpcs&.respond_to? :delete_android_app_data_stream
4162
+ delete_android_app_data_stream_config = parent_rpcs.delete_android_app_data_stream if parent_rpcs.respond_to? :delete_android_app_data_stream
4125
4163
  @delete_android_app_data_stream = ::Gapic::Config::Method.new delete_android_app_data_stream_config
4126
- update_android_app_data_stream_config = parent_rpcs&.update_android_app_data_stream if parent_rpcs&.respond_to? :update_android_app_data_stream
4164
+ update_android_app_data_stream_config = parent_rpcs.update_android_app_data_stream if parent_rpcs.respond_to? :update_android_app_data_stream
4127
4165
  @update_android_app_data_stream = ::Gapic::Config::Method.new update_android_app_data_stream_config
4128
- create_android_app_data_stream_config = parent_rpcs&.create_android_app_data_stream if parent_rpcs&.respond_to? :create_android_app_data_stream
4166
+ create_android_app_data_stream_config = parent_rpcs.create_android_app_data_stream if parent_rpcs.respond_to? :create_android_app_data_stream
4129
4167
  @create_android_app_data_stream = ::Gapic::Config::Method.new create_android_app_data_stream_config
4130
- list_android_app_data_streams_config = parent_rpcs&.list_android_app_data_streams if parent_rpcs&.respond_to? :list_android_app_data_streams
4168
+ list_android_app_data_streams_config = parent_rpcs.list_android_app_data_streams if parent_rpcs.respond_to? :list_android_app_data_streams
4131
4169
  @list_android_app_data_streams = ::Gapic::Config::Method.new list_android_app_data_streams_config
4132
- get_enhanced_measurement_settings_config = parent_rpcs&.get_enhanced_measurement_settings if parent_rpcs&.respond_to? :get_enhanced_measurement_settings
4170
+ get_enhanced_measurement_settings_config = parent_rpcs.get_enhanced_measurement_settings if parent_rpcs.respond_to? :get_enhanced_measurement_settings
4133
4171
  @get_enhanced_measurement_settings = ::Gapic::Config::Method.new get_enhanced_measurement_settings_config
4134
- update_enhanced_measurement_settings_config = parent_rpcs&.update_enhanced_measurement_settings if parent_rpcs&.respond_to? :update_enhanced_measurement_settings
4172
+ update_enhanced_measurement_settings_config = parent_rpcs.update_enhanced_measurement_settings if parent_rpcs.respond_to? :update_enhanced_measurement_settings
4135
4173
  @update_enhanced_measurement_settings = ::Gapic::Config::Method.new update_enhanced_measurement_settings_config
4136
- create_firebase_link_config = parent_rpcs&.create_firebase_link if parent_rpcs&.respond_to? :create_firebase_link
4174
+ create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link
4137
4175
  @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config
4138
- update_firebase_link_config = parent_rpcs&.update_firebase_link if parent_rpcs&.respond_to? :update_firebase_link
4176
+ update_firebase_link_config = parent_rpcs.update_firebase_link if parent_rpcs.respond_to? :update_firebase_link
4139
4177
  @update_firebase_link = ::Gapic::Config::Method.new update_firebase_link_config
4140
- delete_firebase_link_config = parent_rpcs&.delete_firebase_link if parent_rpcs&.respond_to? :delete_firebase_link
4178
+ delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link
4141
4179
  @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config
4142
- list_firebase_links_config = parent_rpcs&.list_firebase_links if parent_rpcs&.respond_to? :list_firebase_links
4180
+ list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links
4143
4181
  @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config
4144
- get_global_site_tag_config = parent_rpcs&.get_global_site_tag if parent_rpcs&.respond_to? :get_global_site_tag
4182
+ get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag
4145
4183
  @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config
4146
- create_google_ads_link_config = parent_rpcs&.create_google_ads_link if parent_rpcs&.respond_to? :create_google_ads_link
4184
+ create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link
4147
4185
  @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config
4148
- update_google_ads_link_config = parent_rpcs&.update_google_ads_link if parent_rpcs&.respond_to? :update_google_ads_link
4186
+ update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link
4149
4187
  @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config
4150
- delete_google_ads_link_config = parent_rpcs&.delete_google_ads_link if parent_rpcs&.respond_to? :delete_google_ads_link
4188
+ delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link
4151
4189
  @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config
4152
- list_google_ads_links_config = parent_rpcs&.list_google_ads_links if parent_rpcs&.respond_to? :list_google_ads_links
4190
+ list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links
4153
4191
  @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config
4154
- get_data_sharing_settings_config = parent_rpcs&.get_data_sharing_settings if parent_rpcs&.respond_to? :get_data_sharing_settings
4192
+ get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings
4155
4193
  @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config
4156
4194
 
4157
4195
  yield self if block_given?