Class: Google::Cloud::Tpu::V1::Tpu::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Tpu::V1::Tpu::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/tpu/v1/tpu/client.rb
Overview
Configuration RPC class for the Tpu 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
-
#create_node ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_node. -
#delete_node ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_node. -
#get_accelerator_type ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_accelerator_type. -
#get_node ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_node. -
#get_tensor_flow_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_tensor_flow_version. -
#list_accelerator_types ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_accelerator_types. -
#list_nodes ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_nodes. -
#list_tensor_flow_versions ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_tensor_flow_versions. -
#reimage_node ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
reimage_node. -
#start_node ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
start_node. -
#stop_node ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
stop_node.
Instance Attribute Details
#create_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_node
1424 1425 1426 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1424 def create_node @create_node end |
#delete_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_node
1429 1430 1431 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1429 def delete_node @delete_node end |
#get_accelerator_type ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_accelerator_type
1464 1465 1466 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1464 def get_accelerator_type @get_accelerator_type end |
#get_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_node
1419 1420 1421 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1419 def get_node @get_node end |
#get_tensor_flow_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_tensor_flow_version
1454 1455 1456 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1454 def get_tensor_flow_version @get_tensor_flow_version end |
#list_accelerator_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_accelerator_types
1459 1460 1461 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1459 def list_accelerator_types @list_accelerator_types end |
#list_nodes ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_nodes
1414 1415 1416 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1414 def list_nodes @list_nodes end |
#list_tensor_flow_versions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_tensor_flow_versions
1449 1450 1451 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1449 def list_tensor_flow_versions @list_tensor_flow_versions end |
#reimage_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for reimage_node
1434 1435 1436 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1434 def reimage_node @reimage_node end |
#start_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for start_node
1444 1445 1446 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1444 def start_node @start_node end |
#stop_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stop_node
1439 1440 1441 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1439 def stop_node @stop_node end |