Class: Google::Ads::AdManager::V1::AdBreakService::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/ads/ad_manager/v1/ad_break_service/rest/client.rb

Overview

Configuration RPC class for the AdBreakService API.

Includes fields providing the configuration for each RPC in this service. Each configuration object is of type Gapic::Config::Method and includes the following configuration fields:

  • timeout (type: Numeric) - The call timeout in seconds
  • metadata (type: Hash{Symbol=>String}) - Additional headers
  • retry_policy (*type:*Hash`) - The retry policy. The policy fields include the following keys:
    • :initial_delay (type: Numeric) - The initial delay in seconds.
    • :max_delay (type: Numeric) - The max delay in seconds.
    • :multiplier (type: Numeric) - The incremental backoff multiplier.
    • :jitter (type: Numeric) - The jitter in seconds. Default: 1.0.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

#create_ad_break::Gapic::Config::Method (readonly)

RPC-specific configuration for create_ad_break

Returns:

  • (::Gapic::Config::Method)


821
822
823
# File 'lib/google/ads/ad_manager/v1/ad_break_service/rest/client.rb', line 821

def create_ad_break
  @create_ad_break
end

#delete_ad_break::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_ad_break

Returns:

  • (::Gapic::Config::Method)


831
832
833
# File 'lib/google/ads/ad_manager/v1/ad_break_service/rest/client.rb', line 831

def delete_ad_break
  @delete_ad_break
end

#get_ad_break::Gapic::Config::Method (readonly)

RPC-specific configuration for get_ad_break

Returns:

  • (::Gapic::Config::Method)


811
812
813
# File 'lib/google/ads/ad_manager/v1/ad_break_service/rest/client.rb', line 811

def get_ad_break
  @get_ad_break
end

#list_ad_breaks::Gapic::Config::Method (readonly)

RPC-specific configuration for list_ad_breaks

Returns:

  • (::Gapic::Config::Method)


816
817
818
# File 'lib/google/ads/ad_manager/v1/ad_break_service/rest/client.rb', line 816

def list_ad_breaks
  @list_ad_breaks
end

#update_ad_break::Gapic::Config::Method (readonly)

RPC-specific configuration for update_ad_break

Returns:

  • (::Gapic::Config::Method)


826
827
828
# File 'lib/google/ads/ad_manager/v1/ad_break_service/rest/client.rb', line 826

def update_ad_break
  @update_ad_break
end