Class: Google::Cloud::Dialogflow::V2::Generators::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Generators::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/dialogflow/v2/generators/rest/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 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_generator ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_generator
. -
#delete_generator ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_generator
. -
#get_generator ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_generator
. -
#list_generators ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_generators
. -
#update_generator ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_generator
.
Instance Attribute Details
#create_generator ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_generator
753 754 755 |
# File 'lib/google/cloud/dialogflow/v2/generators/rest/client.rb', line 753 def create_generator @create_generator end |
#delete_generator ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_generator
768 769 770 |
# File 'lib/google/cloud/dialogflow/v2/generators/rest/client.rb', line 768 def delete_generator @delete_generator end |
#get_generator ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_generator
758 759 760 |
# File 'lib/google/cloud/dialogflow/v2/generators/rest/client.rb', line 758 def get_generator @get_generator end |
#list_generators ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_generators
763 764 765 |
# File 'lib/google/cloud/dialogflow/v2/generators/rest/client.rb', line 763 def list_generators @list_generators end |
#update_generator ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_generator
773 774 775 |
# File 'lib/google/cloud/dialogflow/v2/generators/rest/client.rb', line 773 def update_generator @update_generator end |