class Google::Cloud::Dialogflow::CX::V3::Webhooks::Client::Configuration::Rpcs

Configuration RPC class for the Webhooks 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_webhook[R]

RPC-specific configuration for `create_webhook` @return [::Gapic::Config::Method]

delete_webhook[R]

RPC-specific configuration for `delete_webhook` @return [::Gapic::Config::Method]

get_webhook[R]

RPC-specific configuration for `get_webhook` @return [::Gapic::Config::Method]

list_webhooks[R]

RPC-specific configuration for `list_webhooks` @return [::Gapic::Config::Method]

update_webhook[R]

RPC-specific configuration for `update_webhook` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb, line 682
def initialize parent_rpcs = nil
  list_webhooks_config = parent_rpcs.list_webhooks if parent_rpcs.respond_to? :list_webhooks
  @list_webhooks = ::Gapic::Config::Method.new list_webhooks_config
  get_webhook_config = parent_rpcs.get_webhook if parent_rpcs.respond_to? :get_webhook
  @get_webhook = ::Gapic::Config::Method.new get_webhook_config
  create_webhook_config = parent_rpcs.create_webhook if parent_rpcs.respond_to? :create_webhook
  @create_webhook = ::Gapic::Config::Method.new create_webhook_config
  update_webhook_config = parent_rpcs.update_webhook if parent_rpcs.respond_to? :update_webhook
  @update_webhook = ::Gapic::Config::Method.new update_webhook_config
  delete_webhook_config = parent_rpcs.delete_webhook if parent_rpcs.respond_to? :delete_webhook
  @delete_webhook = ::Gapic::Config::Method.new delete_webhook_config

  yield self if block_given?
end