Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::EndpointService::Paths (v0.47.0)

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

Path helper methods for the EndpointService 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)

#endpoint_path

def endpoint_path(project:, location:, endpoint:) -> ::String
def endpoint_path(project:, location:, publisher:, model:) -> ::String

Create a fully-qualified Endpoint resource string.

Overloads
def endpoint_path(project:, location:, endpoint:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/endpoints/{endpoint}

Parameters
  • project (String)
  • location (String)
  • endpoint (String)
def endpoint_path(project:, location:, publisher:, model:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/publishers/{publisher}/models/{model}

Parameters
  • project (String)
  • location (String)
  • publisher (String)
  • model (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)

#model_deployment_monitoring_job_path

def model_deployment_monitoring_job_path(project:, location:, model_deployment_monitoring_job:) -> ::String

Create a fully-qualified ModelDeploymentMonitoringJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

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

#model_path

def model_path(project:, location:, model:) -> ::String

Create a fully-qualified Model resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/models/{model}

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

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

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