Class: Google::Ads::GoogleAds::V23::Services::YouTubeVideoUploadService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Ads::GoogleAds::V23::Services::YouTubeVideoUploadService::Client::Configuration::Rpcs
- Defined in:
- lib/google/ads/google_ads/v23/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 seconds
* `metadata` (*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.
* `: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.
658 659 660 661 662 663 664 665 666 667 |
# File 'lib/google/ads/google_ads/v23/services/you_tube_video_upload_service/client.rb', line 658 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`
645 646 647 |
# File 'lib/google/ads/google_ads/v23/services/you_tube_video_upload_service/client.rb', line 645 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`
655 656 657 |
# File 'lib/google/ads/google_ads/v23/services/you_tube_video_upload_service/client.rb', line 655 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`
650 651 652 |
# File 'lib/google/ads/google_ads/v23/services/you_tube_video_upload_service/client.rb', line 650 def update_you_tube_video_upload @update_you_tube_video_upload end |