Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::PersistentResourceService::Paths.
Path helper methods for the PersistentResourceService API.
Included In
Methods
#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)
#network_attachment_path
def network_attachment_path(project:, region:, networkattachment:) -> ::String
Create a fully-qualified NetworkAttachment resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/networkAttachments/{networkattachment}
- project (String)
- region (String)
- networkattachment (String)
- (::String)
- (::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}
- project (String)
- network (String)
- (::String)
- (::ArgumentError)
#persistent_resource_path
def persistent_resource_path(project:, location:, persistent_resource:) -> ::String
Create a fully-qualified PersistentResource resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/persistentResources/{persistent_resource}
- project (String)
- location (String)
- persistent_resource (String)
- (::String)
- (::ArgumentError)
#reservation_path
def reservation_path(project_id_or_number:, zone:, reservation_name:) -> ::String
Create a fully-qualified Reservation resource string.
The resource will be in the following format:
projects/{project_id_or_number}/zones/{zone}/reservations/{reservation_name}
- project_id_or_number (String)
- zone (String)
- reservation_name (String)
- (::String)
- (::ArgumentError)