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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/cx/v3/tools/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 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.
    • :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)


1314
1315
1316
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1314

def create_tool
  @create_tool
end

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

RPC-specific configuration for create_tool_version

Returns:

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


1344
1345
1346
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1344

def create_tool_version
  @create_tool_version
end

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

RPC-specific configuration for delete_tool

Returns:

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


1334
1335
1336
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1334

def delete_tool
  @delete_tool
end

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

RPC-specific configuration for delete_tool_version

Returns:

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


1354
1355
1356
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1354

def delete_tool_version
  @delete_tool_version
end

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

RPC-specific configuration for get_tool

Returns:

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


1324
1325
1326
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1324

def get_tool
  @get_tool
end

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

RPC-specific configuration for get_tool_version

Returns:

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


1349
1350
1351
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1349

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)


1339
1340
1341
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1339

def list_tool_versions
  @list_tool_versions
end

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

RPC-specific configuration for list_tools

Returns:

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


1319
1320
1321
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1319

def list_tools
  @list_tools
end

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

RPC-specific configuration for restore_tool_version

Returns:

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


1359
1360
1361
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1359

def restore_tool_version
  @restore_tool_version
end

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

RPC-specific configuration for update_tool

Returns:

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


1329
1330
1331
# File 'lib/google/cloud/dialogflow/cx/v3/tools/client.rb', line 1329

def update_tool
  @update_tool
end