Reference documentation and code samples for the Bare Metal Solution V2 API module Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Paths.
Path helper methods for the BareMetalSolution API.
Methods
#instance_config_path
def instance_config_path(project:, location:, instance_config:) -> ::String
Create a fully-qualified InstanceConfig resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/instanceConfigs/{instance_config}
- project (String)
- location (String)
- instance_config (String)
- (::String)
- (::ArgumentError)
#instance_path
def instance_path(project:, location:, instance:) -> ::String
Create 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)
#interconnect_attachment_path
def interconnect_attachment_path(project:, region:, interconnect_attachment:) -> ::String
Create a fully-qualified InterconnectAttachment resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/interconnectAttachments/{interconnect_attachment}
- project (String)
- region (String)
- interconnect_attachment (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)
#lun_path
def lun_path(project:, location:, volume:, lun:) -> ::String
Create a fully-qualified Lun resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/volumes/{volume}/luns/{lun}
- project (String)
- location (String)
- volume (String)
- lun (String)
- (::String)
- (::ArgumentError)
#network_config_path
def network_config_path(project:, location:, network_config:) -> ::String
Create a fully-qualified NetworkConfig resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/networkConfigs/{network_config}
- project (String)
- location (String)
- network_config (String)
- (::String)
- (::ArgumentError)
#network_path
def network_path(project:, location:, network:) -> ::String
Create a fully-qualified Network resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/networks/{network}
- project (String)
- location (String)
- network (String)
- (::String)
- (::ArgumentError)
#nfs_share_path
def nfs_share_path(project:, location:, nfs_share:) -> ::String
Create a fully-qualified NFSShare resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/nfsShares/{nfs_share}
- project (String)
- location (String)
- nfs_share (String)
- (::String)
- (::ArgumentError)
#provisioning_config_path
def provisioning_config_path(project:, location:, provisioning_config:) -> ::String
Create a fully-qualified ProvisioningConfig resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/provisioningConfigs/{provisioning_config}
- project (String)
- location (String)
- provisioning_config (String)
- (::String)
- (::ArgumentError)
#server_network_template_path
def server_network_template_path(project:, location:, server_network_template:) -> ::String
Create a fully-qualified ServerNetworkTemplate resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
- project (String)
- location (String)
- server_network_template (String)
- (::String)
- (::ArgumentError)
#ssh_key_path
def ssh_key_path(project:, location:, ssh_key:) -> ::String
Create a fully-qualified SshKey resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/sshKeys/{ssh_key}
- project (String)
- location (String)
- ssh_key (String)
- (::String)
- (::ArgumentError)
#volume_config_path
def volume_config_path(project:, location:, volume_config:) -> ::String
Create a fully-qualified VolumeConfig resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/volumeConfigs/{volume_config}
- project (String)
- location (String)
- volume_config (String)
- (::String)
- (::ArgumentError)
#volume_path
def volume_path(project:, location:, volume:) -> ::String
Create a fully-qualified Volume resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/volumes/{volume}
- project (String)
- location (String)
- volume (String)
- (::String)
- (::ArgumentError)
#volume_snapshot_path
def volume_snapshot_path(project:, location:, volume:, snapshot:) -> ::String
Create a fully-qualified VolumeSnapshot resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
- project (String)
- location (String)
- volume (String)
- snapshot (String)
- (::String)
- (::ArgumentError)