Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::DeploymentResourcePoolService::Paths (v0.56.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::DeploymentResourcePoolService::Paths.

Path helper methods for the DeploymentResourcePoolService API.

Methods

#deployment_resource_pool_path

def deployment_resource_pool_path(project:, location:, deployment_resource_pool:) -> ::String

Create a fully-qualified DeploymentResourcePool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

Parameters
  • project (String)
  • location (String)
  • deployment_resource_pool (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)

#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}

Parameters
  • project_id_or_number (String)
  • zone (String)
  • reservation_name (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)