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

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

Overview

Configuration RPC class for the AdSpotService 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

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

RPC-specific configuration for batch_create_ad_spots

Returns:

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


871
872
873
# File 'lib/google/ads/ad_manager/v1/ad_spot_service/rest/client.rb', line 871

def batch_create_ad_spots
  @batch_create_ad_spots
end

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

RPC-specific configuration for batch_update_ad_spots

Returns:

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


881
882
883
# File 'lib/google/ads/ad_manager/v1/ad_spot_service/rest/client.rb', line 881

def batch_update_ad_spots
  @batch_update_ad_spots
end

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

RPC-specific configuration for create_ad_spot

Returns:

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


866
867
868
# File 'lib/google/ads/ad_manager/v1/ad_spot_service/rest/client.rb', line 866

def create_ad_spot
  @create_ad_spot
end

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

RPC-specific configuration for get_ad_spot

Returns:

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


856
857
858
# File 'lib/google/ads/ad_manager/v1/ad_spot_service/rest/client.rb', line 856

def get_ad_spot
  @get_ad_spot
end

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

RPC-specific configuration for list_ad_spots

Returns:

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


861
862
863
# File 'lib/google/ads/ad_manager/v1/ad_spot_service/rest/client.rb', line 861

def list_ad_spots
  @list_ad_spots
end

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

RPC-specific configuration for update_ad_spot

Returns:

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


876
877
878
# File 'lib/google/ads/ad_manager/v1/ad_spot_service/rest/client.rb', line 876

def update_ad_spot
  @update_ad_spot
end