class Google::Cloud::Dialogflow::CX::V3::Pages::Client::Configuration::Rpcs
Configuration
RPC class for the Pages
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.
Attributes
create_page[R]
RPC-specific configuration for `create_page` @return [::Gapic::Config::Method]
delete_page[R]
RPC-specific configuration for `delete_page` @return [::Gapic::Config::Method]
get_page[R]
RPC-specific configuration for `get_page` @return [::Gapic::Config::Method]
list_pages[R]
RPC-specific configuration for `list_pages` @return [::Gapic::Config::Method]
update_page[R]
RPC-specific configuration for `update_page` @return [::Gapic::Config::Method]
Public Class Methods
new(parent_rpcs = nil) { |self| ... }
click to toggle source
@private
# File lib/google/cloud/dialogflow/cx/v3/pages/client.rb, line 783 def initialize parent_rpcs = nil list_pages_config = parent_rpcs.list_pages if parent_rpcs.respond_to? :list_pages @list_pages = ::Gapic::Config::Method.new list_pages_config get_page_config = parent_rpcs.get_page if parent_rpcs.respond_to? :get_page @get_page = ::Gapic::Config::Method.new get_page_config create_page_config = parent_rpcs.create_page if parent_rpcs.respond_to? :create_page @create_page = ::Gapic::Config::Method.new create_page_config update_page_config = parent_rpcs.update_page if parent_rpcs.respond_to? :update_page @update_page = ::Gapic::Config::Method.new update_page_config delete_page_config = parent_rpcs.delete_page if parent_rpcs.respond_to? :delete_page @delete_page = ::Gapic::Config::Method.new delete_page_config yield self if block_given? end