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_path
def disk_path(project:, zone:, disk:) -> ::StringCreate a fully-qualified Disk resource string.
The resource will be in the following format:
projects/{project}/zones/{zone}/disks/{disk}
- project (String)
- zone (String)
- disk (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)
#image_path
def image_path(project:, image:) -> ::StringCreate a fully-qualified Image resource string.
The resource will be in the following format:
projects/{project}/global/images/{image}
- project (String)
- image (String)
- (::String)
- (::ArgumentError)
#instance_group_manager_path
def instance_group_manager_path(project:, zone:, instance_group_manager:) -> ::String
def instance_group_manager_path(project:, region:, instance_group_manager:) -> ::StringCreate a fully-qualified InstanceGroupManager resource string.
def instance_group_manager_path(project:, zone:, instance_group_manager:) -> ::String
projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}
- project (String)
- zone (String)
- instance_group_manager (String)
def instance_group_manager_path(project:, region:, instance_group_manager:) -> ::String
projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}
- project (String)
- region (String)
- instance_group_manager (String)
- (::String)
- (::ArgumentError)
#instance_path
def instance_path(project:, location:, instance:) -> ::StringCreate a fully-qualified Instance resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/instances/{instance}
- project (String)
- location (String)
- instance (String)
- (::String)
- (::ArgumentError)
#instance_template_path
def instance_template_path(project:, instance_template:) -> ::StringCreate a fully-qualified InstanceTemplate resource string.
The resource will be in the following format:
projects/{project}/global/instanceTemplates/{instance_template}
- project (String)
- instance_template (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)
#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)
#project_path
def project_path(project:) -> ::StringCreate a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)
#reservation_block_path
def reservation_block_path(project:, zone:, reservation:, reservation_block:) -> ::StringCreate a fully-qualified ReservationBlock resource string.
The resource will be in the following format:
projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservation_block}
- project (String)
- zone (String)
- reservation (String)
- reservation_block (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)
#reservation_sub_block_path
def reservation_sub_block_path(project:, zone:, reservation:, reservation_block:, reservation_sub_block:) -> ::StringCreate a fully-qualified ReservationSubBlock resource string.
The resource will be in the following format:
projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservation_block}/reservationSubBlocks/{reservation_sub_block}
- project (String)
- zone (String)
- reservation (String)
- reservation_block (String)
- reservation_sub_block (String)
- (::String)
- (::ArgumentError)
#snapshot_path
def snapshot_path(project:, snapshot:) -> ::String
def snapshot_path(project:, region:, snapshot:) -> ::StringCreate a fully-qualified Snapshot resource string.
def snapshot_path(project:, snapshot:) -> ::String
projects/{project}/global/snapshots/{snapshot}
- project (String)
- snapshot (String)
def snapshot_path(project:, region:, snapshot:) -> ::String
projects/{project}/regions/{region}/snapshots/{snapshot}
- project (String)
- region (String)
- snapshot (String)
- (::String)
- (::ArgumentError)
#storage_pool_path
def storage_pool_path(project:, zone:, storage_pool:) -> ::StringCreate a fully-qualified StoragePool resource string.
The resource will be in the following format:
projects/{project}/zones/{zone}/storagePools/{storage_pool}
- project (String)
- zone (String)
- storage_pool (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)