Class: Google::Ads::GoogleAds::V25::Services::YouTubeVideoUploadService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Ads::GoogleAds::V25::Services::YouTubeVideoUploadService::Client::Configuration::Rpcs
- Defined in:
- lib/google/ads/google_ads/v25/services/you_tube_video_upload_service/client.rb
Overview
Configuration RPC class for the YouTubeVideoUploadService 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 secondsmetadata(type:Hash{Symbol=>String}) - Additional gRPC 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
-
#create_you_tube_video_upload ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_you_tube_video_upload. -
#remove_you_tube_video_upload ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
remove_you_tube_video_upload. -
#update_you_tube_video_upload ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_you_tube_video_upload.
Instance Method Summary collapse
-
#initialize(parent_rpcs = nil) {|_self| ... } ⇒ Rpcs
constructor
A new instance of Rpcs.
Constructor Details
#initialize(parent_rpcs = nil) {|_self| ... } ⇒ Rpcs
Returns a new instance of Rpcs.
660 661 662 663 664 665 666 667 668 669 |
# File 'lib/google/ads/google_ads/v25/services/you_tube_video_upload_service/client.rb', line 660 def initialize parent_rpcs = nil create_you_tube_video_upload_config = parent_rpcs.create_you_tube_video_upload if parent_rpcs.respond_to? :create_you_tube_video_upload @create_you_tube_video_upload = ::Gapic::Config::Method.new create_you_tube_video_upload_config update_you_tube_video_upload_config = parent_rpcs.update_you_tube_video_upload if parent_rpcs.respond_to? :update_you_tube_video_upload @update_you_tube_video_upload = ::Gapic::Config::Method.new update_you_tube_video_upload_config remove_you_tube_video_upload_config = parent_rpcs.remove_you_tube_video_upload if parent_rpcs.respond_to? :remove_you_tube_video_upload @remove_you_tube_video_upload = ::Gapic::Config::Method.new remove_you_tube_video_upload_config yield self if block_given? end |
Instance Attribute Details
#create_you_tube_video_upload ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_you_tube_video_upload
647 648 649 |
# File 'lib/google/ads/google_ads/v25/services/you_tube_video_upload_service/client.rb', line 647 def create_you_tube_video_upload @create_you_tube_video_upload end |
#remove_you_tube_video_upload ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for remove_you_tube_video_upload
657 658 659 |
# File 'lib/google/ads/google_ads/v25/services/you_tube_video_upload_service/client.rb', line 657 def remove_you_tube_video_upload @remove_you_tube_video_upload end |
#update_you_tube_video_upload ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_you_tube_video_upload
652 653 654 |
# File 'lib/google/ads/google_ads/v25/services/you_tube_video_upload_service/client.rb', line 652 def update_you_tube_video_upload @update_you_tube_video_upload end |