Cluster Director V1BETA API - Module Google::Cloud::HypercomputeCluster::V1beta::HypercomputeCluster::Paths (v0.1.0)

Reference documentation and code samples for the Cluster Director V1BETA API module Google::Cloud::HypercomputeCluster::V1beta::HypercomputeCluster::Paths.

Path helper methods for the HypercomputeCluster API.

Methods

#bucket_path

def bucket_path(project:, bucket:) -> ::String

Create a fully-qualified Bucket resource string.

The resource will be in the following format:

projects/{project}/buckets/{bucket}

Parameters
  • project (String)
  • bucket (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#cluster_path

def cluster_path(project:, location:, cluster:) -> ::String

Create a fully-qualified Cluster resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/clusters/{cluster}

Parameters
  • project (String)
  • location (String)
  • cluster (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#compute_instance_path

def compute_instance_path(project:, zone:, instance:) -> ::String

Create a fully-qualified ComputeInstance resource string.

The resource will be in the following format:

projects/{project}/zones/{zone}/instances/{instance}

Parameters
  • project (String)
  • zone (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#disk_type_path

def disk_type_path(project:, zone:, disk_type:) -> ::String

Create a fully-qualified DiskType resource string.

The resource will be in the following format:

projects/{project}/zones/{zone}/diskTypes/{disk_type}

Parameters
  • project (String)
  • zone (String)
  • disk_type (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#file_instance_path

def file_instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified FileInstance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}

Parameters
  • project (String)
  • location (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#lustre_instance_path

def lustre_instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified LustreInstance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}

Parameters
  • project (String)
  • location (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#network_path

def network_path(project:, network:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/global/networks/{network}

Parameters
  • project (String)
  • network (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#reservation_path

def reservation_path(project:, zone:, reservation:) -> ::String

Create a fully-qualified Reservation resource string.

The resource will be in the following format:

projects/{project}/zones/{zone}/reservations/{reservation}

Parameters
  • project (String)
  • zone (String)
  • reservation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#subnetwork_path

def subnetwork_path(project:, region:, subnetwork:) -> ::String

Create a fully-qualified Subnetwork resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/subnetworks/{subnetwork}

Parameters
  • project (String)
  • region (String)
  • subnetwork (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)