Class: Google::Cloud::Dialogflow::CX::V3::Tools::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb

Overview

Configuration RPC class for the Tools 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.
    • :jitter (type: Numeric) - The jitter in seconds. Default: 1.0.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

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

RPC-specific configuration for create_tool

Returns:

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


1208
1209
1210
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1208

def create_tool
  @create_tool
end

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

RPC-specific configuration for create_tool_version

Returns:

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


1238
1239
1240
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1238

def create_tool_version
  @create_tool_version
end

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

RPC-specific configuration for delete_tool

Returns:

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


1228
1229
1230
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1228

def delete_tool
  @delete_tool
end

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

RPC-specific configuration for delete_tool_version

Returns:

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


1248
1249
1250
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1248

def delete_tool_version
  @delete_tool_version
end

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

RPC-specific configuration for get_tool

Returns:

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


1218
1219
1220
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1218

def get_tool
  @get_tool
end

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

RPC-specific configuration for get_tool_version

Returns:

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


1243
1244
1245
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1243

def get_tool_version
  @get_tool_version
end

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

RPC-specific configuration for list_tool_versions

Returns:

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


1233
1234
1235
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1233

def list_tool_versions
  @list_tool_versions
end

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

RPC-specific configuration for list_tools

Returns:

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


1213
1214
1215
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1213

def list_tools
  @list_tools
end

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

RPC-specific configuration for restore_tool_version

Returns:

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


1253
1254
1255
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1253

def restore_tool_version
  @restore_tool_version
end

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

RPC-specific configuration for update_tool

Returns:

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


1223
1224
1225
# File 'lib/google/cloud/dialogflow/cx/v3/tools/rest/client.rb', line 1223

def update_tool
  @update_tool
end