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.
Included In
Methods
#bucket_path
def bucket_path(project:, bucket:) -> ::StringCreate a fully-qualified Bucket resource string.
The resource will be in the following format:
projects/{project}/buckets/{bucket}
- project (String)
- bucket (String)
- (::String)
- (::ArgumentError)
#cluster_path
def cluster_path(project:, location:, cluster:) -> ::StringCreate a fully-qualified Cluster resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/clusters/{cluster}
- project (String)
- location (String)
- cluster (String)
- (::String)
- (::ArgumentError)
#compute_instance_path
def compute_instance_path(project:, zone:, instance:) -> ::StringCreate a fully-qualified ComputeInstance resource string.
The resource will be in the following format:
projects/{project}/zones/{zone}/instances/{instance}
- project (String)
- zone (String)
- instance (String)
- (::String)
- (::ArgumentError)
#disk_type_path
def disk_type_path(project:, zone:, disk_type:) -> ::StringCreate a fully-qualified DiskType resource string.
The resource will be in the following format:
projects/{project}/zones/{zone}/diskTypes/{disk_type}
- project (String)
- zone (String)
- disk_type (String)
- (::String)
- (::ArgumentError)
#file_instance_path
def file_instance_path(project:, location:, instance:) -> ::StringCreate a fully-qualified FileInstance resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/instances/{instance}
- project (String)
- location (String)
- instance (String)
- (::String)
- (::ArgumentError)
#location_path
def location_path(project:, location:) -> ::StringCreate a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#lustre_instance_path
def lustre_instance_path(project:, location:, instance:) -> ::StringCreate a fully-qualified LustreInstance resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/instances/{instance}
- project (String)
- location (String)
- instance (String)
- (::String)
- (::ArgumentError)
#network_path
def network_path(project:, network:) -> ::StringCreate a fully-qualified Network resource string.
The resource will be in the following format:
projects/{project}/global/networks/{network}
- project (String)
- network (String)
- (::String)
- (::ArgumentError)
#reservation_path
def reservation_path(project:, zone:, reservation:) -> ::StringCreate a fully-qualified Reservation resource string.
The resource will be in the following format:
projects/{project}/zones/{zone}/reservations/{reservation}
- project (String)
- zone (String)
- reservation (String)
- (::String)
- (::ArgumentError)
#subnetwork_path
def subnetwork_path(project:, region:, subnetwork:) -> ::StringCreate a fully-qualified Subnetwork resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/subnetworks/{subnetwork}
- project (String)
- region (String)
- subnetwork (String)
- (::String)
- (::ArgumentError)