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.
    • :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)


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

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)


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

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)


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

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)


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

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)


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

def update_ad_break
  @update_ad_break
end