Cloud TPU V1 API - Class Google::Cloud::Tpu::V1::Tpu::Client::Configuration::Rpcs (v1.0.1)

Reference documentation and code samples for the Cloud TPU V1 API class Google::Cloud::Tpu::V1::Tpu::Client::Configuration::Rpcs.

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.

Inherits

  • Object

Methods

#create_node

def create_node() -> ::Gapic::Config::Method

RPC-specific configuration for create_node

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

#delete_node

def delete_node() -> ::Gapic::Config::Method

RPC-specific configuration for delete_node

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

#get_accelerator_type

def get_accelerator_type() -> ::Gapic::Config::Method

RPC-specific configuration for get_accelerator_type

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

#get_node

def get_node() -> ::Gapic::Config::Method

RPC-specific configuration for get_node

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

#get_tensor_flow_version

def get_tensor_flow_version() -> ::Gapic::Config::Method

RPC-specific configuration for get_tensor_flow_version

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

#list_accelerator_types

def list_accelerator_types() -> ::Gapic::Config::Method

RPC-specific configuration for list_accelerator_types

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

#list_nodes

def list_nodes() -> ::Gapic::Config::Method

RPC-specific configuration for list_nodes

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

#list_tensor_flow_versions

def list_tensor_flow_versions() -> ::Gapic::Config::Method

RPC-specific configuration for list_tensor_flow_versions

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

#reimage_node

def reimage_node() -> ::Gapic::Config::Method

RPC-specific configuration for reimage_node

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

#start_node

def start_node() -> ::Gapic::Config::Method

RPC-specific configuration for start_node

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

#stop_node

def stop_node() -> ::Gapic::Config::Method

RPC-specific configuration for stop_node

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