google-analytics-admin-v1alpha 0.2.2 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -152,10 +153,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
152
153
  optional :ios_app_data_stream, :message, 1, "google.analytics.admin.v1alpha.IosAppDataStream"
153
154
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
154
155
  end
155
- add_message "google.analytics.admin.v1alpha.CreateIosAppDataStreamRequest" do
156
- optional :ios_app_data_stream, :message, 1, "google.analytics.admin.v1alpha.IosAppDataStream"
157
- optional :parent, :string, 2
158
- end
159
156
  add_message "google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest" do
160
157
  optional :parent, :string, 1
161
158
  optional :page_size, :int32, 2
@@ -175,10 +172,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
175
172
  optional :android_app_data_stream, :message, 1, "google.analytics.admin.v1alpha.AndroidAppDataStream"
176
173
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
177
174
  end
178
- add_message "google.analytics.admin.v1alpha.CreateAndroidAppDataStreamRequest" do
179
- optional :android_app_data_stream, :message, 1, "google.analytics.admin.v1alpha.AndroidAppDataStream"
180
- optional :parent, :string, 2
181
- end
182
175
  add_message "google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest" do
183
176
  optional :parent, :string, 1
184
177
  optional :page_size, :int32, 2
@@ -208,9 +201,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
208
201
  end
209
202
  add_message "google.analytics.admin.v1alpha.ListFirebaseLinksRequest" do
210
203
  optional :parent, :string, 1
204
+ optional :page_size, :int32, 2
205
+ optional :page_token, :string, 3
211
206
  end
212
207
  add_message "google.analytics.admin.v1alpha.ListFirebaseLinksResponse" do
213
208
  repeated :firebase_links, :message, 1, "google.analytics.admin.v1alpha.FirebaseLink"
209
+ optional :next_page_token, :string, 2
214
210
  end
215
211
  add_message "google.analytics.admin.v1alpha.GetGlobalSiteTagRequest" do
216
212
  optional :name, :string, 1
@@ -246,6 +242,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
246
242
  repeated :account_summaries, :message, 1, "google.analytics.admin.v1alpha.AccountSummary"
247
243
  optional :next_page_token, :string, 2
248
244
  end
245
+ add_message "google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest" do
246
+ optional :account, :string, 1
247
+ optional :property, :string, 2
248
+ repeated :resource_type, :enum, 3, "google.analytics.admin.v1alpha.ChangeHistoryResourceType"
249
+ repeated :action, :enum, 4, "google.analytics.admin.v1alpha.ActionType"
250
+ repeated :actor_email, :string, 5
251
+ optional :earliest_change_time, :message, 6, "google.protobuf.Timestamp"
252
+ optional :latest_change_time, :message, 7, "google.protobuf.Timestamp"
253
+ optional :page_size, :int32, 8
254
+ optional :page_token, :string, 9
255
+ end
256
+ add_message "google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse" do
257
+ repeated :change_history_events, :message, 1, "google.analytics.admin.v1alpha.ChangeHistoryEvent"
258
+ optional :next_page_token, :string, 2
259
+ end
249
260
  end
250
261
  end
251
262
 
@@ -290,13 +301,11 @@ module Google
290
301
  GetIosAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetIosAppDataStreamRequest").msgclass
291
302
  DeleteIosAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteIosAppDataStreamRequest").msgclass
292
303
  UpdateIosAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateIosAppDataStreamRequest").msgclass
293
- CreateIosAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateIosAppDataStreamRequest").msgclass
294
304
  ListIosAppDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListIosAppDataStreamsRequest").msgclass
295
305
  ListIosAppDataStreamsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListIosAppDataStreamsResponse").msgclass
296
306
  GetAndroidAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetAndroidAppDataStreamRequest").msgclass
297
307
  DeleteAndroidAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DeleteAndroidAppDataStreamRequest").msgclass
298
308
  UpdateAndroidAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UpdateAndroidAppDataStreamRequest").msgclass
299
- CreateAndroidAppDataStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CreateAndroidAppDataStreamRequest").msgclass
300
309
  ListAndroidAppDataStreamsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAndroidAppDataStreamsRequest").msgclass
301
310
  ListAndroidAppDataStreamsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAndroidAppDataStreamsResponse").msgclass
302
311
  GetEnhancedMeasurementSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest").msgclass
@@ -315,6 +324,8 @@ module Google
315
324
  GetDataSharingSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GetDataSharingSettingsRequest").msgclass
316
325
  ListAccountSummariesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesRequest").msgclass
317
326
  ListAccountSummariesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ListAccountSummariesResponse").msgclass
327
+ SearchChangeHistoryEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest").msgclass
328
+ SearchChangeHistoryEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse").msgclass
318
329
  end
319
330
  end
320
331
  end
@@ -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
@@ -127,8 +127,6 @@ module Google
127
127
 
128
128
  default_config.rpcs.update_ios_app_data_stream.timeout = 60.0
129
129
 
130
- default_config.rpcs.create_ios_app_data_stream.timeout = 60.0
131
-
132
130
  default_config.rpcs.list_ios_app_data_streams.timeout = 60.0
133
131
 
134
132
  default_config.rpcs.get_android_app_data_stream.timeout = 60.0
@@ -137,8 +135,6 @@ module Google
137
135
 
138
136
  default_config.rpcs.update_android_app_data_stream.timeout = 60.0
139
137
 
140
- default_config.rpcs.create_android_app_data_stream.timeout = 60.0
141
-
142
138
  default_config.rpcs.list_android_app_data_streams.timeout = 60.0
143
139
 
144
140
  default_config.rpcs.get_enhanced_measurement_settings.timeout = 60.0
@@ -224,7 +220,13 @@ module Google
224
220
 
225
221
  # Create credentials
226
222
  credentials = @config.credentials
227
- credentials ||= Credentials.default scope: @config.scope
223
+ # Use self-signed JWT if the scope and endpoint are unchanged from default,
224
+ # but only if the default endpoint does not have a region prefix.
225
+ enable_self_signed_jwt = @config.scope == Client.configure.scope &&
226
+ @config.endpoint == Client.configure.endpoint &&
227
+ !@config.endpoint.split(".").first.include?("-")
228
+ credentials ||= Credentials.default scope: @config.scope,
229
+ enable_self_signed_jwt: enable_self_signed_jwt
228
230
  if credentials.is_a?(String) || credentials.is_a?(Hash)
229
231
  credentials = Credentials.new credentials, scope: @config.scope
230
232
  end
@@ -244,8 +246,6 @@ module Google
244
246
 
245
247
  ##
246
248
  # 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
249
  #
250
250
  # @overload get_account(request, options = nil)
251
251
  # Pass arguments to `get_account` via a request object, either of type
@@ -489,7 +489,9 @@ module Google
489
489
  # Required. The account to update.
490
490
  # The account's `name` field is used to identify the account.
491
491
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
492
- # The list of fields to be updated. Omitted fields will not be updated.
492
+ # Required. The list of fields to be updated. Field names must be in snake case
493
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
494
+ # the entire entity, use one path with the string "*" to match all fields.
493
495
  #
494
496
  # @yield [response, operation] Access the result along with the RPC operation
495
497
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::Account]
@@ -671,9 +673,6 @@ module Google
671
673
  ##
672
674
  # Lookup for a single "GA4" Property.
673
675
  #
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
676
  # @overload get_property(request, options = nil)
678
677
  # Pass arguments to `get_property` via a request object, either of type
679
678
  # {::Google::Analytics::Admin::V1alpha::GetPropertyRequest} or an equivalent Hash.
@@ -769,11 +768,13 @@ module Google
769
768
  # `firebase_project:`(The id or number of the linked firebase project).
770
769
  # Some examples of filters:
771
770
  #
771
+ # ```
772
772
  # | Filter | Description |
773
773
  # |-----------------------------|-------------------------------------------|
774
774
  # | parent:accounts/123 | The account with account id: 123. |
775
775
  # | firebase_project:project-id | The firebase project with id: project-id. |
776
776
  # | firebase_project:123 | The firebase project with number: 123. |
777
+ # ```
777
778
  # @param page_size [::Integer]
778
779
  # The maximum number of resources to return. The service may return
779
780
  # fewer than this value, even if there are additional pages.
@@ -924,10 +925,10 @@ module Google
924
925
  # Example: "properties/1000"
925
926
  #
926
927
  # @yield [response, operation] Access the result along with the RPC operation
927
- # @yieldparam response [::Google::Protobuf::Empty]
928
+ # @yieldparam response [::Google::Analytics::Admin::V1alpha::Property]
928
929
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
929
930
  #
930
- # @return [::Google::Protobuf::Empty]
931
+ # @return [::Google::Analytics::Admin::V1alpha::Property]
931
932
  #
932
933
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
933
934
  #
@@ -991,7 +992,9 @@ module Google
991
992
  # The property's `name` field is used to identify the property to be
992
993
  # updated.
993
994
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
994
- # The list of fields to be updated. Omitted fields will not be updated.
995
+ # Required. The list of fields to be updated. Field names must be in snake case
996
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
997
+ # the entire entity, use one path with the string "*" to match all fields.
995
998
  #
996
999
  # @yield [response, operation] Access the result along with the RPC operation
997
1000
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::Property]
@@ -1772,9 +1775,6 @@ module Google
1772
1775
  ##
1773
1776
  # Lookup for a single WebDataStream
1774
1777
  #
1775
- # Throws "Target not found" if no such web data stream found, or if the
1776
- # caller does not have permissions to access it.
1777
- #
1778
1778
  # @overload get_web_data_stream(request, options = nil)
1779
1779
  # Pass arguments to `get_web_data_stream` via a request object, either of type
1780
1780
  # {::Google::Analytics::Admin::V1alpha::GetWebDataStreamRequest} or an equivalent Hash.
@@ -1930,7 +1930,9 @@ module Google
1930
1930
  # Required. The web stream to update.
1931
1931
  # The `name` field is used to identify the web stream to be updated.
1932
1932
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1933
- # The list of fields to be updated. Omitted fields will not be updated.
1933
+ # Required. The list of fields to be updated. Field names must be in snake case
1934
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
1935
+ # the entire entity, use one path with the string "*" to match all fields.
1934
1936
  #
1935
1937
  # @yield [response, operation] Access the result along with the RPC operation
1936
1938
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::WebDataStream]
@@ -2130,9 +2132,6 @@ module Google
2130
2132
  ##
2131
2133
  # Lookup for a single IosAppDataStream
2132
2134
  #
2133
- # Throws "Target not found" if no such iOS app data stream found, or if the
2134
- # caller does not have permissions to access it.
2135
- #
2136
2135
  # @overload get_ios_app_data_stream(request, options = nil)
2137
2136
  # Pass arguments to `get_ios_app_data_stream` via a request object, either of type
2138
2137
  # {::Google::Analytics::Admin::V1alpha::GetIosAppDataStreamRequest} or an equivalent Hash.
@@ -2288,7 +2287,9 @@ module Google
2288
2287
  # Required. The iOS app stream to update.
2289
2288
  # The `name` field is used to identify the iOS app stream to be updated.
2290
2289
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2291
- # The list of fields to be updated. Omitted fields will not be updated.
2290
+ # Required. The list of fields to be updated. Field names must be in snake case
2291
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
2292
+ # the entire entity, use one path with the string "*" to match all fields.
2292
2293
  #
2293
2294
  # @yield [response, operation] Access the result along with the RPC operation
2294
2295
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
@@ -2335,75 +2336,6 @@ module Google
2335
2336
  raise ::Google::Cloud::Error.from_error(e)
2336
2337
  end
2337
2338
 
2338
- ##
2339
- # Creates an iOS app data stream with the specified location and attributes.
2340
- #
2341
- # @overload create_ios_app_data_stream(request, options = nil)
2342
- # Pass arguments to `create_ios_app_data_stream` via a request object, either of type
2343
- # {::Google::Analytics::Admin::V1alpha::CreateIosAppDataStreamRequest} or an equivalent Hash.
2344
- #
2345
- # @param request [::Google::Analytics::Admin::V1alpha::CreateIosAppDataStreamRequest, ::Hash]
2346
- # A request object representing the call parameters. Required. To specify no
2347
- # parameters, or to keep all the default parameter values, pass an empty Hash.
2348
- # @param options [::Gapic::CallOptions, ::Hash]
2349
- # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2350
- #
2351
- # @overload create_ios_app_data_stream(ios_app_data_stream: nil, parent: nil)
2352
- # Pass arguments to `create_ios_app_data_stream` via keyword arguments. Note that at
2353
- # least one keyword argument is required. To specify no parameters, or to keep all
2354
- # the default parameter values, pass an empty Hash as a request object (see above).
2355
- #
2356
- # @param ios_app_data_stream [::Google::Analytics::Admin::V1alpha::IosAppDataStream, ::Hash]
2357
- # Required. The iOS app data stream to create.
2358
- # @param parent [::String]
2359
- # Required. The parent resource where this ios app data stream will be created.
2360
- # Format: properties/123
2361
- #
2362
- # @yield [response, operation] Access the result along with the RPC operation
2363
- # @yieldparam response [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
2364
- # @yieldparam operation [::GRPC::ActiveCall::Operation]
2365
- #
2366
- # @return [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
2367
- #
2368
- # @raise [::Google::Cloud::Error] if the RPC is aborted.
2369
- #
2370
- def create_ios_app_data_stream request, options = nil
2371
- raise ::ArgumentError, "request must be provided" if request.nil?
2372
-
2373
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::CreateIosAppDataStreamRequest
2374
-
2375
- # Converts hash and nil to an options object
2376
- options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2377
-
2378
- # Customize the options with defaults
2379
- metadata = @config.rpcs.create_ios_app_data_stream.metadata.to_h
2380
-
2381
- # Set x-goog-api-client and x-goog-user-project headers
2382
- metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2383
- lib_name: @config.lib_name, lib_version: @config.lib_version,
2384
- gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
2385
- metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2386
-
2387
- header_params = {
2388
- "parent" => request.parent
2389
- }
2390
- request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2391
- metadata[:"x-goog-request-params"] ||= request_params_header
2392
-
2393
- options.apply_defaults timeout: @config.rpcs.create_ios_app_data_stream.timeout,
2394
- metadata: metadata,
2395
- retry_policy: @config.rpcs.create_ios_app_data_stream.retry_policy
2396
- options.apply_defaults metadata: @config.metadata,
2397
- retry_policy: @config.retry_policy
2398
-
2399
- @analytics_admin_service_stub.call_rpc :create_ios_app_data_stream, request, options: options do |response, operation|
2400
- yield response, operation if block_given?
2401
- return response
2402
- end
2403
- rescue ::GRPC::BadStatus => e
2404
- raise ::Google::Cloud::Error.from_error(e)
2405
- end
2406
-
2407
2339
  ##
2408
2340
  # Returns child iOS app data streams under the specified parent property.
2409
2341
  #
@@ -2488,9 +2420,6 @@ module Google
2488
2420
  ##
2489
2421
  # Lookup for a single AndroidAppDataStream
2490
2422
  #
2491
- # Throws "Target not found" if no such android app data stream found, or if
2492
- # the caller does not have permissions to access it.
2493
- #
2494
2423
  # @overload get_android_app_data_stream(request, options = nil)
2495
2424
  # Pass arguments to `get_android_app_data_stream` via a request object, either of type
2496
2425
  # {::Google::Analytics::Admin::V1alpha::GetAndroidAppDataStreamRequest} or an equivalent Hash.
@@ -2646,7 +2575,9 @@ module Google
2646
2575
  # Required. The android app stream to update.
2647
2576
  # The `name` field is used to identify the android app stream to be updated.
2648
2577
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2649
- # The list of fields to be updated. Omitted fields will not be updated.
2578
+ # Required. The list of fields to be updated. Field names must be in snake case
2579
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
2580
+ # the entire entity, use one path with the string "*" to match all fields.
2650
2581
  #
2651
2582
  # @yield [response, operation] Access the result along with the RPC operation
2652
2583
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
@@ -2693,75 +2624,6 @@ module Google
2693
2624
  raise ::Google::Cloud::Error.from_error(e)
2694
2625
  end
2695
2626
 
2696
- ##
2697
- # Creates an android app stream with the specified location and attributes.
2698
- #
2699
- # @overload create_android_app_data_stream(request, options = nil)
2700
- # Pass arguments to `create_android_app_data_stream` via a request object, either of type
2701
- # {::Google::Analytics::Admin::V1alpha::CreateAndroidAppDataStreamRequest} or an equivalent Hash.
2702
- #
2703
- # @param request [::Google::Analytics::Admin::V1alpha::CreateAndroidAppDataStreamRequest, ::Hash]
2704
- # A request object representing the call parameters. Required. To specify no
2705
- # parameters, or to keep all the default parameter values, pass an empty Hash.
2706
- # @param options [::Gapic::CallOptions, ::Hash]
2707
- # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2708
- #
2709
- # @overload create_android_app_data_stream(android_app_data_stream: nil, parent: nil)
2710
- # Pass arguments to `create_android_app_data_stream` via keyword arguments. Note that at
2711
- # least one keyword argument is required. To specify no parameters, or to keep all
2712
- # the default parameter values, pass an empty Hash as a request object (see above).
2713
- #
2714
- # @param android_app_data_stream [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream, ::Hash]
2715
- # Required. The android app stream to create.
2716
- # @param parent [::String]
2717
- # Required. The parent resource where this android app data stream will be created.
2718
- # Format: properties/123
2719
- #
2720
- # @yield [response, operation] Access the result along with the RPC operation
2721
- # @yieldparam response [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
2722
- # @yieldparam operation [::GRPC::ActiveCall::Operation]
2723
- #
2724
- # @return [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
2725
- #
2726
- # @raise [::Google::Cloud::Error] if the RPC is aborted.
2727
- #
2728
- def create_android_app_data_stream request, options = nil
2729
- raise ::ArgumentError, "request must be provided" if request.nil?
2730
-
2731
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::CreateAndroidAppDataStreamRequest
2732
-
2733
- # Converts hash and nil to an options object
2734
- options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2735
-
2736
- # Customize the options with defaults
2737
- metadata = @config.rpcs.create_android_app_data_stream.metadata.to_h
2738
-
2739
- # Set x-goog-api-client and x-goog-user-project headers
2740
- metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2741
- lib_name: @config.lib_name, lib_version: @config.lib_version,
2742
- gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
2743
- metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2744
-
2745
- header_params = {
2746
- "parent" => request.parent
2747
- }
2748
- request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2749
- metadata[:"x-goog-request-params"] ||= request_params_header
2750
-
2751
- options.apply_defaults timeout: @config.rpcs.create_android_app_data_stream.timeout,
2752
- metadata: metadata,
2753
- retry_policy: @config.rpcs.create_android_app_data_stream.retry_policy
2754
- options.apply_defaults metadata: @config.metadata,
2755
- retry_policy: @config.retry_policy
2756
-
2757
- @analytics_admin_service_stub.call_rpc :create_android_app_data_stream, request, options: options do |response, operation|
2758
- yield response, operation if block_given?
2759
- return response
2760
- end
2761
- rescue ::GRPC::BadStatus => e
2762
- raise ::Google::Cloud::Error.from_error(e)
2763
- end
2764
-
2765
2627
  ##
2766
2628
  # Returns child android app streams under the specified parent property.
2767
2629
  #
@@ -2868,7 +2730,6 @@ module Google
2868
2730
  # @param name [::String]
2869
2731
  # Required. The name of the settings to lookup.
2870
2732
  # Format:
2871
- #
2872
2733
  # properties/\\{property_id}/webDataStreams/\\{stream_id}/enhancedMeasurementSettings
2873
2734
  # Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
2874
2735
  #
@@ -2941,7 +2802,9 @@ module Google
2941
2802
  # Required. The settings to update.
2942
2803
  # The `name` field is used to identify the settings to be updated.
2943
2804
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2944
- # The list of fields to be updated. Omitted fields will not be updated.
2805
+ # Required. The list of fields to be updated. Field names must be in snake case
2806
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
2807
+ # the entire entity, use one path with the string "*" to match all fields.
2945
2808
  #
2946
2809
  # @yield [response, operation] Access the result along with the RPC operation
2947
2810
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
@@ -3080,7 +2943,9 @@ module Google
3080
2943
  # @param firebase_link [::Google::Analytics::Admin::V1alpha::FirebaseLink, ::Hash]
3081
2944
  # Required. The Firebase link to update.
3082
2945
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
3083
- # The list of fields to be updated. Omitted fields will not be updated.
2946
+ # Required. The list of fields to be updated. Field names must be in snake case
2947
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
2948
+ # the entire entity, use one path with the string "*" to match all fields.
3084
2949
  #
3085
2950
  # @yield [response, operation] Access the result along with the RPC operation
3086
2951
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::FirebaseLink]
@@ -3208,7 +3073,7 @@ module Google
3208
3073
  # @param options [::Gapic::CallOptions, ::Hash]
3209
3074
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3210
3075
  #
3211
- # @overload list_firebase_links(parent: nil)
3076
+ # @overload list_firebase_links(parent: nil, page_size: nil, page_token: nil)
3212
3077
  # Pass arguments to `list_firebase_links` via keyword arguments. Note that at
3213
3078
  # least one keyword argument is required. To specify no parameters, or to keep all
3214
3079
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3216,12 +3081,22 @@ module Google
3216
3081
  # @param parent [::String]
3217
3082
  # Required. Format: properties/\\{property_id}
3218
3083
  # Example: properties/1234
3084
+ # @param page_size [::Integer]
3085
+ # The maximum number of resources to return. The service may return
3086
+ # fewer than this value, even if there are additional pages.
3087
+ # If unspecified, at most 50 resources will be returned.
3088
+ # The maximum value is 200; (higher values will be coerced to the maximum)
3089
+ # @param page_token [::String]
3090
+ # A page token, received from a previous `ListFirebaseLinks` call.
3091
+ # Provide this to retrieve the subsequent page.
3092
+ # When paginating, all other parameters provided to `ListProperties` must
3093
+ # match the call that provided the page token.
3219
3094
  #
3220
3095
  # @yield [response, operation] Access the result along with the RPC operation
3221
- # @yieldparam response [::Google::Analytics::Admin::V1alpha::ListFirebaseLinksResponse]
3096
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::FirebaseLink>]
3222
3097
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
3223
3098
  #
3224
- # @return [::Google::Analytics::Admin::V1alpha::ListFirebaseLinksResponse]
3099
+ # @return [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::FirebaseLink>]
3225
3100
  #
3226
3101
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
3227
3102
  #
@@ -3255,6 +3130,7 @@ module Google
3255
3130
  retry_policy: @config.retry_policy
3256
3131
 
3257
3132
  @analytics_admin_service_stub.call_rpc :list_firebase_links, request, options: options do |response, operation|
3133
+ response = ::Gapic::PagedEnumerable.new @analytics_admin_service_stub, :list_firebase_links, request, response, operation, options
3258
3134
  yield response, operation if block_given?
3259
3135
  return response
3260
3136
  end
@@ -3421,7 +3297,9 @@ module Google
3421
3297
  # @param google_ads_link [::Google::Analytics::Admin::V1alpha::GoogleAdsLink, ::Hash]
3422
3298
  # The GoogleAdsLink to update
3423
3299
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
3424
- # The list of fields to be updated. Omitted fields will not be updated.
3300
+ # Required. The list of fields to be updated. Field names must be in snake case
3301
+ # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
3302
+ # the entire entity, use one path with the string "*" to match all fields.
3425
3303
  #
3426
3304
  # @yield [response, operation] Access the result along with the RPC operation
3427
3305
  # @yieldparam response [::Google::Analytics::Admin::V1alpha::GoogleAdsLink]
@@ -3680,6 +3558,99 @@ module Google
3680
3558
  raise ::Google::Cloud::Error.from_error(e)
3681
3559
  end
3682
3560
 
3561
+ ##
3562
+ # Searches through all changes to an account or its children given the
3563
+ # specified set of filters.
3564
+ #
3565
+ # @overload search_change_history_events(request, options = nil)
3566
+ # Pass arguments to `search_change_history_events` via a request object, either of type
3567
+ # {::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest} or an equivalent Hash.
3568
+ #
3569
+ # @param request [::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest, ::Hash]
3570
+ # A request object representing the call parameters. Required. To specify no
3571
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3572
+ # @param options [::Gapic::CallOptions, ::Hash]
3573
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3574
+ #
3575
+ # @overload search_change_history_events(account: nil, property: nil, resource_type: nil, action: nil, actor_email: nil, earliest_change_time: nil, latest_change_time: nil, page_size: nil, page_token: nil)
3576
+ # Pass arguments to `search_change_history_events` via keyword arguments. Note that at
3577
+ # least one keyword argument is required. To specify no parameters, or to keep all
3578
+ # the default parameter values, pass an empty Hash as a request object (see above).
3579
+ #
3580
+ # @param account [::String]
3581
+ # Required. The account resource for which to return change history resources.
3582
+ # @param property [::String]
3583
+ # Optional. Resource name for a child property. If set, only return changes
3584
+ # made to this property or its child resources.
3585
+ # @param resource_type [::Array<::Google::Analytics::Admin::V1alpha::ChangeHistoryResourceType>]
3586
+ # Optional. If set, only return changes if they are for a resource that matches at
3587
+ # least one of these types.
3588
+ # @param action [::Array<::Google::Analytics::Admin::V1alpha::ActionType>]
3589
+ # Optional. If set, only return changes that match one or more of these types of
3590
+ # actions.
3591
+ # @param actor_email [::Array<::String>]
3592
+ # Optional. If set, only return changes if they are made by a user in this list.
3593
+ # @param earliest_change_time [::Google::Protobuf::Timestamp, ::Hash]
3594
+ # Optional. If set, only return changes made after this time (inclusive).
3595
+ # @param latest_change_time [::Google::Protobuf::Timestamp, ::Hash]
3596
+ # Optional. If set, only return changes made before this time (inclusive).
3597
+ # @param page_size [::Integer]
3598
+ # Optional. The maximum number of ChangeHistoryEvent items to return.
3599
+ # The service may return fewer than this value, even if there are additional
3600
+ # pages. If unspecified, at most 50 items will be returned.
3601
+ # The maximum value is 200 (higher values will be coerced to the maximum).
3602
+ # @param page_token [::String]
3603
+ # Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
3604
+ # Provide this to retrieve the subsequent page. When paginating, all other
3605
+ # parameters provided to `SearchChangeHistoryEvents` must match the call that
3606
+ # provided the page token.
3607
+ #
3608
+ # @yield [response, operation] Access the result along with the RPC operation
3609
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::ChangeHistoryEvent>]
3610
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3611
+ #
3612
+ # @return [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::ChangeHistoryEvent>]
3613
+ #
3614
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3615
+ #
3616
+ def search_change_history_events request, options = nil
3617
+ raise ::ArgumentError, "request must be provided" if request.nil?
3618
+
3619
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest
3620
+
3621
+ # Converts hash and nil to an options object
3622
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3623
+
3624
+ # Customize the options with defaults
3625
+ metadata = @config.rpcs.search_change_history_events.metadata.to_h
3626
+
3627
+ # Set x-goog-api-client and x-goog-user-project headers
3628
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3629
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3630
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
3631
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3632
+
3633
+ header_params = {
3634
+ "account" => request.account
3635
+ }
3636
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3637
+ metadata[:"x-goog-request-params"] ||= request_params_header
3638
+
3639
+ options.apply_defaults timeout: @config.rpcs.search_change_history_events.timeout,
3640
+ metadata: metadata,
3641
+ retry_policy: @config.rpcs.search_change_history_events.retry_policy
3642
+ options.apply_defaults metadata: @config.metadata,
3643
+ retry_policy: @config.retry_policy
3644
+
3645
+ @analytics_admin_service_stub.call_rpc :search_change_history_events, request, options: options do |response, operation|
3646
+ response = ::Gapic::PagedEnumerable.new @analytics_admin_service_stub, :search_change_history_events, request, response, operation, options
3647
+ yield response, operation if block_given?
3648
+ return response
3649
+ end
3650
+ rescue ::GRPC::BadStatus => e
3651
+ raise ::Google::Cloud::Error.from_error(e)
3652
+ end
3653
+
3683
3654
  ##
3684
3655
  # Configuration class for the AnalyticsAdminService API.
3685
3656
  #
@@ -3772,7 +3743,7 @@ module Google
3772
3743
  config_attr :scope, nil, ::String, ::Array, nil
3773
3744
  config_attr :lib_name, nil, ::String, nil
3774
3745
  config_attr :lib_version, nil, ::String, nil
3775
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
3746
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
3776
3747
  config_attr :interceptors, nil, ::Array, nil
3777
3748
  config_attr :timeout, nil, ::Numeric, nil
3778
3749
  config_attr :metadata, nil, ::Hash, nil
@@ -3793,7 +3764,7 @@ module Google
3793
3764
  def rpcs
3794
3765
  @rpcs ||= begin
3795
3766
  parent_rpcs = nil
3796
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
3767
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
3797
3768
  Rpcs.new parent_rpcs
3798
3769
  end
3799
3770
  end
@@ -3805,7 +3776,7 @@ module Google
3805
3776
  # Each configuration object is of type `Gapic::Config::Method` and includes
3806
3777
  # the following configuration fields:
3807
3778
  #
3808
- # * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
3779
+ # * `timeout` (*type:* `Numeric`) - The call timeout in seconds
3809
3780
  # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
3810
3781
  # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
3811
3782
  # include the following keys:
@@ -3962,11 +3933,6 @@ module Google
3962
3933
  #
3963
3934
  attr_reader :update_ios_app_data_stream
3964
3935
  ##
3965
- # RPC-specific configuration for `create_ios_app_data_stream`
3966
- # @return [::Gapic::Config::Method]
3967
- #
3968
- attr_reader :create_ios_app_data_stream
3969
- ##
3970
3936
  # RPC-specific configuration for `list_ios_app_data_streams`
3971
3937
  # @return [::Gapic::Config::Method]
3972
3938
  #
@@ -3987,11 +3953,6 @@ module Google
3987
3953
  #
3988
3954
  attr_reader :update_android_app_data_stream
3989
3955
  ##
3990
- # RPC-specific configuration for `create_android_app_data_stream`
3991
- # @return [::Gapic::Config::Method]
3992
- #
3993
- attr_reader :create_android_app_data_stream
3994
- ##
3995
3956
  # RPC-specific configuration for `list_android_app_data_streams`
3996
3957
  # @return [::Gapic::Config::Method]
3997
3958
  #
@@ -4056,105 +4017,108 @@ module Google
4056
4017
  # @return [::Gapic::Config::Method]
4057
4018
  #
4058
4019
  attr_reader :get_data_sharing_settings
4020
+ ##
4021
+ # RPC-specific configuration for `search_change_history_events`
4022
+ # @return [::Gapic::Config::Method]
4023
+ #
4024
+ attr_reader :search_change_history_events
4059
4025
 
4060
4026
  # @private
4061
4027
  def initialize parent_rpcs = nil
4062
- get_account_config = parent_rpcs&.get_account if parent_rpcs&.respond_to? :get_account
4028
+ get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account
4063
4029
  @get_account = ::Gapic::Config::Method.new get_account_config
4064
- list_accounts_config = parent_rpcs&.list_accounts if parent_rpcs&.respond_to? :list_accounts
4030
+ list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts
4065
4031
  @list_accounts = ::Gapic::Config::Method.new list_accounts_config
4066
- delete_account_config = parent_rpcs&.delete_account if parent_rpcs&.respond_to? :delete_account
4032
+ delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account
4067
4033
  @delete_account = ::Gapic::Config::Method.new delete_account_config
4068
- update_account_config = parent_rpcs&.update_account if parent_rpcs&.respond_to? :update_account
4034
+ update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account
4069
4035
  @update_account = ::Gapic::Config::Method.new update_account_config
4070
- provision_account_ticket_config = parent_rpcs&.provision_account_ticket if parent_rpcs&.respond_to? :provision_account_ticket
4036
+ provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket
4071
4037
  @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config
4072
- list_account_summaries_config = parent_rpcs&.list_account_summaries if parent_rpcs&.respond_to? :list_account_summaries
4038
+ list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries
4073
4039
  @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config
4074
- get_property_config = parent_rpcs&.get_property if parent_rpcs&.respond_to? :get_property
4040
+ get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property
4075
4041
  @get_property = ::Gapic::Config::Method.new get_property_config
4076
- list_properties_config = parent_rpcs&.list_properties if parent_rpcs&.respond_to? :list_properties
4042
+ list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties
4077
4043
  @list_properties = ::Gapic::Config::Method.new list_properties_config
4078
- create_property_config = parent_rpcs&.create_property if parent_rpcs&.respond_to? :create_property
4044
+ create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property
4079
4045
  @create_property = ::Gapic::Config::Method.new create_property_config
4080
- delete_property_config = parent_rpcs&.delete_property if parent_rpcs&.respond_to? :delete_property
4046
+ delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property
4081
4047
  @delete_property = ::Gapic::Config::Method.new delete_property_config
4082
- update_property_config = parent_rpcs&.update_property if parent_rpcs&.respond_to? :update_property
4048
+ update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property
4083
4049
  @update_property = ::Gapic::Config::Method.new update_property_config
4084
- get_user_link_config = parent_rpcs&.get_user_link if parent_rpcs&.respond_to? :get_user_link
4050
+ get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link
4085
4051
  @get_user_link = ::Gapic::Config::Method.new get_user_link_config
4086
- batch_get_user_links_config = parent_rpcs&.batch_get_user_links if parent_rpcs&.respond_to? :batch_get_user_links
4052
+ batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links
4087
4053
  @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config
4088
- list_user_links_config = parent_rpcs&.list_user_links if parent_rpcs&.respond_to? :list_user_links
4054
+ list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links
4089
4055
  @list_user_links = ::Gapic::Config::Method.new list_user_links_config
4090
- audit_user_links_config = parent_rpcs&.audit_user_links if parent_rpcs&.respond_to? :audit_user_links
4056
+ audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links
4091
4057
  @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config
4092
- create_user_link_config = parent_rpcs&.create_user_link if parent_rpcs&.respond_to? :create_user_link
4058
+ create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link
4093
4059
  @create_user_link = ::Gapic::Config::Method.new create_user_link_config
4094
- batch_create_user_links_config = parent_rpcs&.batch_create_user_links if parent_rpcs&.respond_to? :batch_create_user_links
4060
+ batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links
4095
4061
  @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config
4096
- update_user_link_config = parent_rpcs&.update_user_link if parent_rpcs&.respond_to? :update_user_link
4062
+ update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link
4097
4063
  @update_user_link = ::Gapic::Config::Method.new update_user_link_config
4098
- batch_update_user_links_config = parent_rpcs&.batch_update_user_links if parent_rpcs&.respond_to? :batch_update_user_links
4064
+ batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links
4099
4065
  @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config
4100
- delete_user_link_config = parent_rpcs&.delete_user_link if parent_rpcs&.respond_to? :delete_user_link
4066
+ delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link
4101
4067
  @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config
4102
- batch_delete_user_links_config = parent_rpcs&.batch_delete_user_links if parent_rpcs&.respond_to? :batch_delete_user_links
4068
+ batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links
4103
4069
  @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config
4104
- get_web_data_stream_config = parent_rpcs&.get_web_data_stream if parent_rpcs&.respond_to? :get_web_data_stream
4070
+ get_web_data_stream_config = parent_rpcs.get_web_data_stream if parent_rpcs.respond_to? :get_web_data_stream
4105
4071
  @get_web_data_stream = ::Gapic::Config::Method.new get_web_data_stream_config
4106
- delete_web_data_stream_config = parent_rpcs&.delete_web_data_stream if parent_rpcs&.respond_to? :delete_web_data_stream
4072
+ delete_web_data_stream_config = parent_rpcs.delete_web_data_stream if parent_rpcs.respond_to? :delete_web_data_stream
4107
4073
  @delete_web_data_stream = ::Gapic::Config::Method.new delete_web_data_stream_config
4108
- update_web_data_stream_config = parent_rpcs&.update_web_data_stream if parent_rpcs&.respond_to? :update_web_data_stream
4074
+ update_web_data_stream_config = parent_rpcs.update_web_data_stream if parent_rpcs.respond_to? :update_web_data_stream
4109
4075
  @update_web_data_stream = ::Gapic::Config::Method.new update_web_data_stream_config
4110
- create_web_data_stream_config = parent_rpcs&.create_web_data_stream if parent_rpcs&.respond_to? :create_web_data_stream
4076
+ create_web_data_stream_config = parent_rpcs.create_web_data_stream if parent_rpcs.respond_to? :create_web_data_stream
4111
4077
  @create_web_data_stream = ::Gapic::Config::Method.new create_web_data_stream_config
4112
- list_web_data_streams_config = parent_rpcs&.list_web_data_streams if parent_rpcs&.respond_to? :list_web_data_streams
4078
+ list_web_data_streams_config = parent_rpcs.list_web_data_streams if parent_rpcs.respond_to? :list_web_data_streams
4113
4079
  @list_web_data_streams = ::Gapic::Config::Method.new list_web_data_streams_config
4114
- get_ios_app_data_stream_config = parent_rpcs&.get_ios_app_data_stream if parent_rpcs&.respond_to? :get_ios_app_data_stream
4080
+ get_ios_app_data_stream_config = parent_rpcs.get_ios_app_data_stream if parent_rpcs.respond_to? :get_ios_app_data_stream
4115
4081
  @get_ios_app_data_stream = ::Gapic::Config::Method.new get_ios_app_data_stream_config
4116
- delete_ios_app_data_stream_config = parent_rpcs&.delete_ios_app_data_stream if parent_rpcs&.respond_to? :delete_ios_app_data_stream
4082
+ delete_ios_app_data_stream_config = parent_rpcs.delete_ios_app_data_stream if parent_rpcs.respond_to? :delete_ios_app_data_stream
4117
4083
  @delete_ios_app_data_stream = ::Gapic::Config::Method.new delete_ios_app_data_stream_config
4118
- update_ios_app_data_stream_config = parent_rpcs&.update_ios_app_data_stream if parent_rpcs&.respond_to? :update_ios_app_data_stream
4084
+ update_ios_app_data_stream_config = parent_rpcs.update_ios_app_data_stream if parent_rpcs.respond_to? :update_ios_app_data_stream
4119
4085
  @update_ios_app_data_stream = ::Gapic::Config::Method.new update_ios_app_data_stream_config
4120
- create_ios_app_data_stream_config = parent_rpcs&.create_ios_app_data_stream if parent_rpcs&.respond_to? :create_ios_app_data_stream
4121
- @create_ios_app_data_stream = ::Gapic::Config::Method.new create_ios_app_data_stream_config
4122
- list_ios_app_data_streams_config = parent_rpcs&.list_ios_app_data_streams if parent_rpcs&.respond_to? :list_ios_app_data_streams
4086
+ list_ios_app_data_streams_config = parent_rpcs.list_ios_app_data_streams if parent_rpcs.respond_to? :list_ios_app_data_streams
4123
4087
  @list_ios_app_data_streams = ::Gapic::Config::Method.new list_ios_app_data_streams_config
4124
- get_android_app_data_stream_config = parent_rpcs&.get_android_app_data_stream if parent_rpcs&.respond_to? :get_android_app_data_stream
4088
+ get_android_app_data_stream_config = parent_rpcs.get_android_app_data_stream if parent_rpcs.respond_to? :get_android_app_data_stream
4125
4089
  @get_android_app_data_stream = ::Gapic::Config::Method.new get_android_app_data_stream_config
4126
- delete_android_app_data_stream_config = parent_rpcs&.delete_android_app_data_stream if parent_rpcs&.respond_to? :delete_android_app_data_stream
4090
+ delete_android_app_data_stream_config = parent_rpcs.delete_android_app_data_stream if parent_rpcs.respond_to? :delete_android_app_data_stream
4127
4091
  @delete_android_app_data_stream = ::Gapic::Config::Method.new delete_android_app_data_stream_config
4128
- update_android_app_data_stream_config = parent_rpcs&.update_android_app_data_stream if parent_rpcs&.respond_to? :update_android_app_data_stream
4092
+ update_android_app_data_stream_config = parent_rpcs.update_android_app_data_stream if parent_rpcs.respond_to? :update_android_app_data_stream
4129
4093
  @update_android_app_data_stream = ::Gapic::Config::Method.new update_android_app_data_stream_config
4130
- create_android_app_data_stream_config = parent_rpcs&.create_android_app_data_stream if parent_rpcs&.respond_to? :create_android_app_data_stream
4131
- @create_android_app_data_stream = ::Gapic::Config::Method.new create_android_app_data_stream_config
4132
- list_android_app_data_streams_config = parent_rpcs&.list_android_app_data_streams if parent_rpcs&.respond_to? :list_android_app_data_streams
4094
+ list_android_app_data_streams_config = parent_rpcs.list_android_app_data_streams if parent_rpcs.respond_to? :list_android_app_data_streams
4133
4095
  @list_android_app_data_streams = ::Gapic::Config::Method.new list_android_app_data_streams_config
4134
- get_enhanced_measurement_settings_config = parent_rpcs&.get_enhanced_measurement_settings if parent_rpcs&.respond_to? :get_enhanced_measurement_settings
4096
+ get_enhanced_measurement_settings_config = parent_rpcs.get_enhanced_measurement_settings if parent_rpcs.respond_to? :get_enhanced_measurement_settings
4135
4097
  @get_enhanced_measurement_settings = ::Gapic::Config::Method.new get_enhanced_measurement_settings_config
4136
- update_enhanced_measurement_settings_config = parent_rpcs&.update_enhanced_measurement_settings if parent_rpcs&.respond_to? :update_enhanced_measurement_settings
4098
+ update_enhanced_measurement_settings_config = parent_rpcs.update_enhanced_measurement_settings if parent_rpcs.respond_to? :update_enhanced_measurement_settings
4137
4099
  @update_enhanced_measurement_settings = ::Gapic::Config::Method.new update_enhanced_measurement_settings_config
4138
- create_firebase_link_config = parent_rpcs&.create_firebase_link if parent_rpcs&.respond_to? :create_firebase_link
4100
+ create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link
4139
4101
  @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config
4140
- update_firebase_link_config = parent_rpcs&.update_firebase_link if parent_rpcs&.respond_to? :update_firebase_link
4102
+ update_firebase_link_config = parent_rpcs.update_firebase_link if parent_rpcs.respond_to? :update_firebase_link
4141
4103
  @update_firebase_link = ::Gapic::Config::Method.new update_firebase_link_config
4142
- delete_firebase_link_config = parent_rpcs&.delete_firebase_link if parent_rpcs&.respond_to? :delete_firebase_link
4104
+ delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link
4143
4105
  @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config
4144
- list_firebase_links_config = parent_rpcs&.list_firebase_links if parent_rpcs&.respond_to? :list_firebase_links
4106
+ list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links
4145
4107
  @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config
4146
- get_global_site_tag_config = parent_rpcs&.get_global_site_tag if parent_rpcs&.respond_to? :get_global_site_tag
4108
+ get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag
4147
4109
  @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config
4148
- create_google_ads_link_config = parent_rpcs&.create_google_ads_link if parent_rpcs&.respond_to? :create_google_ads_link
4110
+ create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link
4149
4111
  @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config
4150
- update_google_ads_link_config = parent_rpcs&.update_google_ads_link if parent_rpcs&.respond_to? :update_google_ads_link
4112
+ update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link
4151
4113
  @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config
4152
- delete_google_ads_link_config = parent_rpcs&.delete_google_ads_link if parent_rpcs&.respond_to? :delete_google_ads_link
4114
+ delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link
4153
4115
  @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config
4154
- list_google_ads_links_config = parent_rpcs&.list_google_ads_links if parent_rpcs&.respond_to? :list_google_ads_links
4116
+ list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links
4155
4117
  @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config
4156
- get_data_sharing_settings_config = parent_rpcs&.get_data_sharing_settings if parent_rpcs&.respond_to? :get_data_sharing_settings
4118
+ get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings
4157
4119
  @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config
4120
+ search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events
4121
+ @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config
4158
4122
 
4159
4123
  yield self if block_given?
4160
4124
  end