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
1393 1394 1395 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1393 def create_node @create_node end |
#delete_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_node
1398 1399 1400 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1398 def delete_node @delete_node end |
#get_accelerator_type ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_accelerator_type
1433 1434 1435 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1433 def get_accelerator_type @get_accelerator_type end |
#get_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_node
1388 1389 1390 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1388 def get_node @get_node end |
#get_tensor_flow_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_tensor_flow_version
1423 1424 1425 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1423 def get_tensor_flow_version @get_tensor_flow_version end |
#list_accelerator_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_accelerator_types
1428 1429 1430 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1428 def list_accelerator_types @list_accelerator_types end |
#list_nodes ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_nodes
1383 1384 1385 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1383 def list_nodes @list_nodes end |
#list_tensor_flow_versions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_tensor_flow_versions
1418 1419 1420 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1418 def list_tensor_flow_versions @list_tensor_flow_versions end |
#reimage_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for reimage_node
1403 1404 1405 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1403 def reimage_node @reimage_node end |
#start_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for start_node
1413 1414 1415 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1413 def start_node @start_node end |
#stop_node ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stop_node
1408 1409 1410 |
# File 'lib/google/cloud/tpu/v1/tpu/client.rb', line 1408 def stop_node @stop_node end |