Reference documentation and code samples for the Cloud TPU V1 API module Google::Cloud::Tpu::V1::Tpu::Paths.
Path helper methods for the Tpu API.
Extended By
Methods
#accelerator_type_path
def accelerator_type_path(project:, location:, accelerator_type:) -> ::String
Create a fully-qualified AcceleratorType resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/acceleratorTypes/{accelerator_type}
- project (String)
- location (String)
- accelerator_type (String)
- (::String)
- (::ArgumentError)
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#node_path
def node_path(project:, location:, node:) -> ::String
Create a fully-qualified Node resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/nodes/{node}
- project (String)
- location (String)
- node (String)
- (::String)
- (::ArgumentError)
#tensor_flow_version_path
def tensor_flow_version_path(project:, location:, tensor_flow_version:) -> ::String
Create a fully-qualified TensorFlowVersion resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/tensorFlowVersions/{tensor_flow_version}
- project (String)
- location (String)
- tensor_flow_version (String)
- (::String)
- (::ArgumentError)