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_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)
#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_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)
#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)
#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)