google-analytics-admin-v1alpha 0.16.0 → 0.17.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.
@@ -255,6 +255,23 @@ module Google
255
255
  "properties/#{property}/displayVideo360AdvertiserLinkProposals/#{display_video_360_advertiser_link_proposal}"
256
256
  end
257
257
 
258
+ ##
259
+ # Create a fully-qualified EnhancedMeasurementSettings resource string.
260
+ #
261
+ # The resource will be in the following format:
262
+ #
263
+ # `properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings`
264
+ #
265
+ # @param property [String]
266
+ # @param data_stream [String]
267
+ #
268
+ # @return [::String]
269
+ def enhanced_measurement_settings_path property:, data_stream:
270
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
271
+
272
+ "properties/#{property}/dataStreams/#{data_stream}/enhancedMeasurementSettings"
273
+ end
274
+
258
275
  ##
259
276
  # Create a fully-qualified ExpandedDataSet resource string.
260
277
  #
@@ -127,6 +127,10 @@ module Google
127
127
 
128
128
  default_config.rpcs.list_google_ads_links.timeout = 60.0
129
129
 
130
+ default_config.rpcs.get_enhanced_measurement_settings.timeout = 60.0
131
+
132
+ default_config.rpcs.update_enhanced_measurement_settings.timeout = 60.0
133
+
130
134
  default_config
131
135
  end
132
136
  yield @configure if block_given?
@@ -503,7 +507,7 @@ module Google
503
507
  # The account to create.
504
508
  # @param redirect_uri [::String]
505
509
  # Redirect URI where the user will be sent after accepting Terms of Service.
506
- # Must be configured in Developers Console as a Redirect URI.
510
+ # Must be configured in Cloud Console as a Redirect URI.
507
511
  # @yield [result, operation] Access the result along with the TransportOperation object
508
512
  # @yieldparam result [::Google::Analytics::Admin::V1alpha::ProvisionAccountTicketResponse]
509
513
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -5853,9 +5857,14 @@ module Google
5853
5857
  # the default parameter values, pass an empty Hash as a request object (see above).
5854
5858
  #
5855
5859
  # @param entity [::String]
5856
- # The Data Access Report is requested for this property.
5857
- # For example if "123" is your GA4 property ID, then entity should be
5858
- # "properties/123".
5860
+ # The Data Access Report supports requesting at the property level or account
5861
+ # level. If requested at the account level, Data Access Reports include all
5862
+ # access for all properties under that account.
5863
+ #
5864
+ # To request at the property level, entity should be for example
5865
+ # 'properties/123' if "123" is your GA4 property ID. To request at the
5866
+ # account level, entity should be for example 'accounts/1234' if "1234" is
5867
+ # your GA4 Account ID.
5859
5868
  # @param dimensions [::Array<::Google::Analytics::Admin::V1alpha::AccessDimension, ::Hash>]
5860
5869
  # The dimensions requested and displayed in the response. Requests are
5861
5870
  # allowed up to 9 dimensions.
@@ -5911,7 +5920,8 @@ module Google
5911
5920
  # Specifies how rows are ordered in the response.
5912
5921
  # @param return_entity_quota [::Boolean]
5913
5922
  # Toggles whether to return the current state of this Analytics Property's
5914
- # quota. Quota is returned in [AccessQuota](#AccessQuota).
5923
+ # quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level
5924
+ # requests, this field must be false.
5915
5925
  # @yield [result, operation] Access the result along with the TransportOperation object
5916
5926
  # @yieldparam result [::Google::Analytics::Admin::V1alpha::RunAccessReportResponse]
5917
5927
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -6452,8 +6462,9 @@ module Google
6452
6462
  #
6453
6463
  # @param parent [::String]
6454
6464
  # Required. The account or property that owns the access bindings. The parent
6455
- # field in the UpdateAccessBindingRequest messages must either be empty or
6456
- # match this field. Formats:
6465
+ # of all provided AccessBinding in UpdateAccessBindingRequest messages must
6466
+ # match this field.
6467
+ # Formats:
6457
6468
  # - accounts/\\{account}
6458
6469
  # - properties/\\{property}
6459
6470
  # @param requests [::Array<::Google::Analytics::Admin::V1alpha::UpdateAccessBindingRequest, ::Hash>]
@@ -6521,8 +6532,8 @@ module Google
6521
6532
  #
6522
6533
  # @param parent [::String]
6523
6534
  # Required. The account or property that owns the access bindings. The parent
6524
- # field in the DeleteAccessBindingRequest messages must either be empty or
6525
- # match this field. Formats:
6535
+ # of all provided values for the 'names' field in DeleteAccessBindingRequest
6536
+ # messages must match this field. Formats:
6526
6537
  # - accounts/\\{account}
6527
6538
  # - properties/\\{property}
6528
6539
  # @param requests [::Array<::Google::Analytics::Admin::V1alpha::DeleteAccessBindingRequest, ::Hash>]
@@ -7176,6 +7187,348 @@ module Google
7176
7187
  raise ::Google::Cloud::Error.from_error(e)
7177
7188
  end
7178
7189
 
7190
+ ##
7191
+ # Returns the enhanced measurement settings for this data stream.
7192
+ # Note that the stream must enable enhanced measurement for these settings to
7193
+ # take effect.
7194
+ #
7195
+ # @overload get_enhanced_measurement_settings(request, options = nil)
7196
+ # Pass arguments to `get_enhanced_measurement_settings` via a request object, either of type
7197
+ # {::Google::Analytics::Admin::V1alpha::GetEnhancedMeasurementSettingsRequest} or an equivalent Hash.
7198
+ #
7199
+ # @param request [::Google::Analytics::Admin::V1alpha::GetEnhancedMeasurementSettingsRequest, ::Hash]
7200
+ # A request object representing the call parameters. Required. To specify no
7201
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
7202
+ # @param options [::Gapic::CallOptions, ::Hash]
7203
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
7204
+ #
7205
+ # @overload get_enhanced_measurement_settings(name: nil)
7206
+ # Pass arguments to `get_enhanced_measurement_settings` via keyword arguments. Note that at
7207
+ # least one keyword argument is required. To specify no parameters, or to keep all
7208
+ # the default parameter values, pass an empty Hash as a request object (see above).
7209
+ #
7210
+ # @param name [::String]
7211
+ # Required. The name of the settings to lookup.
7212
+ # Format:
7213
+ # properties/\\{property}/dataStreams/\\{data_stream}/enhancedMeasurementSettings
7214
+ # Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
7215
+ # @yield [result, operation] Access the result along with the TransportOperation object
7216
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
7217
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
7218
+ #
7219
+ # @return [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
7220
+ #
7221
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
7222
+ def get_enhanced_measurement_settings request, options = nil
7223
+ raise ::ArgumentError, "request must be provided" if request.nil?
7224
+
7225
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::GetEnhancedMeasurementSettingsRequest
7226
+
7227
+ # Converts hash and nil to an options object
7228
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
7229
+
7230
+ # Customize the options with defaults
7231
+ call_metadata = @config.rpcs.get_enhanced_measurement_settings.metadata.to_h
7232
+
7233
+ # Set x-goog-api-client and x-goog-user-project headers
7234
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7235
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
7236
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
7237
+ transports_version_send: [:rest]
7238
+
7239
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7240
+
7241
+ options.apply_defaults timeout: @config.rpcs.get_enhanced_measurement_settings.timeout,
7242
+ metadata: call_metadata,
7243
+ retry_policy: @config.rpcs.get_enhanced_measurement_settings.retry_policy
7244
+
7245
+ options.apply_defaults timeout: @config.timeout,
7246
+ metadata: @config.metadata,
7247
+ retry_policy: @config.retry_policy
7248
+
7249
+ @analytics_admin_service_stub.get_enhanced_measurement_settings request, options do |result, operation|
7250
+ yield result, operation if block_given?
7251
+ return result
7252
+ end
7253
+ rescue ::Gapic::Rest::Error => e
7254
+ raise ::Google::Cloud::Error.from_error(e)
7255
+ end
7256
+
7257
+ ##
7258
+ # Updates the enhanced measurement settings for this data stream.
7259
+ # Note that the stream must enable enhanced measurement for these settings to
7260
+ # take effect.
7261
+ #
7262
+ # @overload update_enhanced_measurement_settings(request, options = nil)
7263
+ # Pass arguments to `update_enhanced_measurement_settings` via a request object, either of type
7264
+ # {::Google::Analytics::Admin::V1alpha::UpdateEnhancedMeasurementSettingsRequest} or an equivalent Hash.
7265
+ #
7266
+ # @param request [::Google::Analytics::Admin::V1alpha::UpdateEnhancedMeasurementSettingsRequest, ::Hash]
7267
+ # A request object representing the call parameters. Required. To specify no
7268
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
7269
+ # @param options [::Gapic::CallOptions, ::Hash]
7270
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
7271
+ #
7272
+ # @overload update_enhanced_measurement_settings(enhanced_measurement_settings: nil, update_mask: nil)
7273
+ # Pass arguments to `update_enhanced_measurement_settings` via keyword arguments. Note that at
7274
+ # least one keyword argument is required. To specify no parameters, or to keep all
7275
+ # the default parameter values, pass an empty Hash as a request object (see above).
7276
+ #
7277
+ # @param enhanced_measurement_settings [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings, ::Hash]
7278
+ # Required. The settings to update.
7279
+ # The `name` field is used to identify the settings to be updated.
7280
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
7281
+ # Required. The list of fields to be updated. Field names must be in snake
7282
+ # case (e.g., "field_to_update"). Omitted fields will not be updated. To
7283
+ # replace the entire entity, use one path with the string "*" to match all
7284
+ # fields.
7285
+ # @yield [result, operation] Access the result along with the TransportOperation object
7286
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
7287
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
7288
+ #
7289
+ # @return [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
7290
+ #
7291
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
7292
+ def update_enhanced_measurement_settings request, options = nil
7293
+ raise ::ArgumentError, "request must be provided" if request.nil?
7294
+
7295
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::UpdateEnhancedMeasurementSettingsRequest
7296
+
7297
+ # Converts hash and nil to an options object
7298
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
7299
+
7300
+ # Customize the options with defaults
7301
+ call_metadata = @config.rpcs.update_enhanced_measurement_settings.metadata.to_h
7302
+
7303
+ # Set x-goog-api-client and x-goog-user-project headers
7304
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7305
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
7306
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
7307
+ transports_version_send: [:rest]
7308
+
7309
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7310
+
7311
+ options.apply_defaults timeout: @config.rpcs.update_enhanced_measurement_settings.timeout,
7312
+ metadata: call_metadata,
7313
+ retry_policy: @config.rpcs.update_enhanced_measurement_settings.retry_policy
7314
+
7315
+ options.apply_defaults timeout: @config.timeout,
7316
+ metadata: @config.metadata,
7317
+ retry_policy: @config.retry_policy
7318
+
7319
+ @analytics_admin_service_stub.update_enhanced_measurement_settings request, options do |result, operation|
7320
+ yield result, operation if block_given?
7321
+ return result
7322
+ end
7323
+ rescue ::Gapic::Rest::Error => e
7324
+ raise ::Google::Cloud::Error.from_error(e)
7325
+ end
7326
+
7327
+ ##
7328
+ # Creates a connected site tag for a Universal Analytics property. You can
7329
+ # create a maximum of 20 connected site tags per property.
7330
+ # Note: This API cannot be used on GA4 properties.
7331
+ #
7332
+ # @overload create_connected_site_tag(request, options = nil)
7333
+ # Pass arguments to `create_connected_site_tag` via a request object, either of type
7334
+ # {::Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagRequest} or an equivalent Hash.
7335
+ #
7336
+ # @param request [::Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagRequest, ::Hash]
7337
+ # A request object representing the call parameters. Required. To specify no
7338
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
7339
+ # @param options [::Gapic::CallOptions, ::Hash]
7340
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
7341
+ #
7342
+ # @overload create_connected_site_tag(property: nil, connected_site_tag: nil)
7343
+ # Pass arguments to `create_connected_site_tag` via keyword arguments. Note that at
7344
+ # least one keyword argument is required. To specify no parameters, or to keep all
7345
+ # the default parameter values, pass an empty Hash as a request object (see above).
7346
+ #
7347
+ # @param property [::String]
7348
+ # The Universal Analytics property to create connected site tags for.
7349
+ # This API does not support GA4 properties.
7350
+ # Format: properties/\\{universalAnalyticsPropertyId}
7351
+ # Example: properties/1234
7352
+ # @param connected_site_tag [::Google::Analytics::Admin::V1alpha::ConnectedSiteTag, ::Hash]
7353
+ # Required. The tag to add to the Universal Analytics property
7354
+ # @yield [result, operation] Access the result along with the TransportOperation object
7355
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagResponse]
7356
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
7357
+ #
7358
+ # @return [::Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagResponse]
7359
+ #
7360
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
7361
+ def create_connected_site_tag request, options = nil
7362
+ raise ::ArgumentError, "request must be provided" if request.nil?
7363
+
7364
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagRequest
7365
+
7366
+ # Converts hash and nil to an options object
7367
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
7368
+
7369
+ # Customize the options with defaults
7370
+ call_metadata = @config.rpcs.create_connected_site_tag.metadata.to_h
7371
+
7372
+ # Set x-goog-api-client and x-goog-user-project headers
7373
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7374
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
7375
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
7376
+ transports_version_send: [:rest]
7377
+
7378
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7379
+
7380
+ options.apply_defaults timeout: @config.rpcs.create_connected_site_tag.timeout,
7381
+ metadata: call_metadata,
7382
+ retry_policy: @config.rpcs.create_connected_site_tag.retry_policy
7383
+
7384
+ options.apply_defaults timeout: @config.timeout,
7385
+ metadata: @config.metadata,
7386
+ retry_policy: @config.retry_policy
7387
+
7388
+ @analytics_admin_service_stub.create_connected_site_tag request, options do |result, operation|
7389
+ yield result, operation if block_given?
7390
+ return result
7391
+ end
7392
+ rescue ::Gapic::Rest::Error => e
7393
+ raise ::Google::Cloud::Error.from_error(e)
7394
+ end
7395
+
7396
+ ##
7397
+ # Deletes a connected site tag for a Universal Analytics property.
7398
+ # Note: this has no effect on GA4 properties.
7399
+ #
7400
+ # @overload delete_connected_site_tag(request, options = nil)
7401
+ # Pass arguments to `delete_connected_site_tag` via a request object, either of type
7402
+ # {::Google::Analytics::Admin::V1alpha::DeleteConnectedSiteTagRequest} or an equivalent Hash.
7403
+ #
7404
+ # @param request [::Google::Analytics::Admin::V1alpha::DeleteConnectedSiteTagRequest, ::Hash]
7405
+ # A request object representing the call parameters. Required. To specify no
7406
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
7407
+ # @param options [::Gapic::CallOptions, ::Hash]
7408
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
7409
+ #
7410
+ # @overload delete_connected_site_tag(property: nil, tag_id: nil)
7411
+ # Pass arguments to `delete_connected_site_tag` via keyword arguments. Note that at
7412
+ # least one keyword argument is required. To specify no parameters, or to keep all
7413
+ # the default parameter values, pass an empty Hash as a request object (see above).
7414
+ #
7415
+ # @param property [::String]
7416
+ # The Universal Analytics property to delete connected site tags for.
7417
+ # This API does not support GA4 properties.
7418
+ # Format: properties/\\{universalAnalyticsPropertyId}
7419
+ # Example: properties/1234
7420
+ # @param tag_id [::String]
7421
+ # Tag ID to forward events to. Also known as the Measurement ID, or the
7422
+ # "G-ID" (For example: G-12345).
7423
+ # @yield [result, operation] Access the result along with the TransportOperation object
7424
+ # @yieldparam result [::Google::Protobuf::Empty]
7425
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
7426
+ #
7427
+ # @return [::Google::Protobuf::Empty]
7428
+ #
7429
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
7430
+ def delete_connected_site_tag request, options = nil
7431
+ raise ::ArgumentError, "request must be provided" if request.nil?
7432
+
7433
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::DeleteConnectedSiteTagRequest
7434
+
7435
+ # Converts hash and nil to an options object
7436
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
7437
+
7438
+ # Customize the options with defaults
7439
+ call_metadata = @config.rpcs.delete_connected_site_tag.metadata.to_h
7440
+
7441
+ # Set x-goog-api-client and x-goog-user-project headers
7442
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7443
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
7444
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
7445
+ transports_version_send: [:rest]
7446
+
7447
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7448
+
7449
+ options.apply_defaults timeout: @config.rpcs.delete_connected_site_tag.timeout,
7450
+ metadata: call_metadata,
7451
+ retry_policy: @config.rpcs.delete_connected_site_tag.retry_policy
7452
+
7453
+ options.apply_defaults timeout: @config.timeout,
7454
+ metadata: @config.metadata,
7455
+ retry_policy: @config.retry_policy
7456
+
7457
+ @analytics_admin_service_stub.delete_connected_site_tag request, options do |result, operation|
7458
+ yield result, operation if block_given?
7459
+ return result
7460
+ end
7461
+ rescue ::Gapic::Rest::Error => e
7462
+ raise ::Google::Cloud::Error.from_error(e)
7463
+ end
7464
+
7465
+ ##
7466
+ # Lists the connected site tags for a Universal Analytics property. A maximum
7467
+ # of 20 connected site tags will be returned. Note: this has no effect on GA4
7468
+ # property.
7469
+ #
7470
+ # @overload list_connected_site_tags(request, options = nil)
7471
+ # Pass arguments to `list_connected_site_tags` via a request object, either of type
7472
+ # {::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsRequest} or an equivalent Hash.
7473
+ #
7474
+ # @param request [::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsRequest, ::Hash]
7475
+ # A request object representing the call parameters. Required. To specify no
7476
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
7477
+ # @param options [::Gapic::CallOptions, ::Hash]
7478
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
7479
+ #
7480
+ # @overload list_connected_site_tags(property: nil)
7481
+ # Pass arguments to `list_connected_site_tags` via keyword arguments. Note that at
7482
+ # least one keyword argument is required. To specify no parameters, or to keep all
7483
+ # the default parameter values, pass an empty Hash as a request object (see above).
7484
+ #
7485
+ # @param property [::String]
7486
+ # The Universal Analytics property to fetch connected site tags for.
7487
+ # This does not work on GA4 properties. A maximum of 20 connected site tags
7488
+ # will be returned.
7489
+ # Example Format: `properties/1234`
7490
+ # @yield [result, operation] Access the result along with the TransportOperation object
7491
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsResponse]
7492
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
7493
+ #
7494
+ # @return [::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsResponse]
7495
+ #
7496
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
7497
+ def list_connected_site_tags request, options = nil
7498
+ raise ::ArgumentError, "request must be provided" if request.nil?
7499
+
7500
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsRequest
7501
+
7502
+ # Converts hash and nil to an options object
7503
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
7504
+
7505
+ # Customize the options with defaults
7506
+ call_metadata = @config.rpcs.list_connected_site_tags.metadata.to_h
7507
+
7508
+ # Set x-goog-api-client and x-goog-user-project headers
7509
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7510
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
7511
+ gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION,
7512
+ transports_version_send: [:rest]
7513
+
7514
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7515
+
7516
+ options.apply_defaults timeout: @config.rpcs.list_connected_site_tags.timeout,
7517
+ metadata: call_metadata,
7518
+ retry_policy: @config.rpcs.list_connected_site_tags.retry_policy
7519
+
7520
+ options.apply_defaults timeout: @config.timeout,
7521
+ metadata: @config.metadata,
7522
+ retry_policy: @config.retry_policy
7523
+
7524
+ @analytics_admin_service_stub.list_connected_site_tags request, options do |result, operation|
7525
+ yield result, operation if block_given?
7526
+ return result
7527
+ end
7528
+ rescue ::Gapic::Rest::Error => e
7529
+ raise ::Google::Cloud::Error.from_error(e)
7530
+ end
7531
+
7179
7532
  ##
7180
7533
  # Configuration class for the AnalyticsAdminService REST API.
7181
7534
  #
@@ -7214,9 +7567,9 @@ module Google
7214
7567
  # * (`String`) The path to a service account key file in JSON format
7215
7568
  # * (`Hash`) A service account key as a Hash
7216
7569
  # * (`Google::Auth::Credentials`) A googleauth credentials object
7217
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
7570
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
7218
7571
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
7219
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
7572
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
7220
7573
  # * (`nil`) indicating no credentials
7221
7574
  # @return [::Object]
7222
7575
  # @!attribute [rw] scope
@@ -7809,6 +8162,31 @@ module Google
7809
8162
  # @return [::Gapic::Config::Method]
7810
8163
  #
7811
8164
  attr_reader :list_big_query_links
8165
+ ##
8166
+ # RPC-specific configuration for `get_enhanced_measurement_settings`
8167
+ # @return [::Gapic::Config::Method]
8168
+ #
8169
+ attr_reader :get_enhanced_measurement_settings
8170
+ ##
8171
+ # RPC-specific configuration for `update_enhanced_measurement_settings`
8172
+ # @return [::Gapic::Config::Method]
8173
+ #
8174
+ attr_reader :update_enhanced_measurement_settings
8175
+ ##
8176
+ # RPC-specific configuration for `create_connected_site_tag`
8177
+ # @return [::Gapic::Config::Method]
8178
+ #
8179
+ attr_reader :create_connected_site_tag
8180
+ ##
8181
+ # RPC-specific configuration for `delete_connected_site_tag`
8182
+ # @return [::Gapic::Config::Method]
8183
+ #
8184
+ attr_reader :delete_connected_site_tag
8185
+ ##
8186
+ # RPC-specific configuration for `list_connected_site_tags`
8187
+ # @return [::Gapic::Config::Method]
8188
+ #
8189
+ attr_reader :list_connected_site_tags
7812
8190
 
7813
8191
  # @private
7814
8192
  def initialize parent_rpcs = nil
@@ -8016,6 +8394,16 @@ module Google
8016
8394
  @get_big_query_link = ::Gapic::Config::Method.new get_big_query_link_config
8017
8395
  list_big_query_links_config = parent_rpcs.list_big_query_links if parent_rpcs.respond_to? :list_big_query_links
8018
8396
  @list_big_query_links = ::Gapic::Config::Method.new list_big_query_links_config
8397
+ get_enhanced_measurement_settings_config = parent_rpcs.get_enhanced_measurement_settings if parent_rpcs.respond_to? :get_enhanced_measurement_settings
8398
+ @get_enhanced_measurement_settings = ::Gapic::Config::Method.new get_enhanced_measurement_settings_config
8399
+ update_enhanced_measurement_settings_config = parent_rpcs.update_enhanced_measurement_settings if parent_rpcs.respond_to? :update_enhanced_measurement_settings
8400
+ @update_enhanced_measurement_settings = ::Gapic::Config::Method.new update_enhanced_measurement_settings_config
8401
+ create_connected_site_tag_config = parent_rpcs.create_connected_site_tag if parent_rpcs.respond_to? :create_connected_site_tag
8402
+ @create_connected_site_tag = ::Gapic::Config::Method.new create_connected_site_tag_config
8403
+ delete_connected_site_tag_config = parent_rpcs.delete_connected_site_tag if parent_rpcs.respond_to? :delete_connected_site_tag
8404
+ @delete_connected_site_tag = ::Gapic::Config::Method.new delete_connected_site_tag_config
8405
+ list_connected_site_tags_config = parent_rpcs.list_connected_site_tags if parent_rpcs.respond_to? :list_connected_site_tags
8406
+ @list_connected_site_tags = ::Gapic::Config::Method.new list_connected_site_tags_config
8019
8407
 
8020
8408
  yield self if block_given?
8021
8409
  end