Class: Google::Cloud::Dialogflow::V2::Generators::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/generators/client.rb

Overview

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

Instance Attribute Details

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

RPC-specific configuration for create_generator

Returns:

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


807
808
809
# File 'lib/google/cloud/dialogflow/v2/generators/client.rb', line 807

def create_generator
  @create_generator
end

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

RPC-specific configuration for delete_generator

Returns:

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


822
823
824
# File 'lib/google/cloud/dialogflow/v2/generators/client.rb', line 822

def delete_generator
  @delete_generator
end

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

RPC-specific configuration for get_generator

Returns:

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


812
813
814
# File 'lib/google/cloud/dialogflow/v2/generators/client.rb', line 812

def get_generator
  @get_generator
end

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

RPC-specific configuration for list_generators

Returns:

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


817
818
819
# File 'lib/google/cloud/dialogflow/v2/generators/client.rb', line 817

def list_generators
  @list_generators
end

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

RPC-specific configuration for update_generator

Returns:

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


827
828
829
# File 'lib/google/cloud/dialogflow/v2/generators/client.rb', line 827

def update_generator
  @update_generator
end