Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::ScheduleService::Paths (v0.61.0)

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

Path helper methods for the ScheduleService API.

Methods

#artifact_path

def artifact_path(project:, location:, metadata_store:, artifact:) -> ::String

Create a fully-qualified Artifact resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}

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

#context_path

def context_path(project:, location:, metadata_store:, context:) -> ::String

Create a fully-qualified Context resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}

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

#custom_job_path

def custom_job_path(project:, location:, custom_job:) -> ::String

Create a fully-qualified CustomJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/customJobs/{custom_job}

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

#execution_path

def execution_path(project:, location:, metadata_store:, execution:) -> ::String

Create a fully-qualified Execution resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/metadataStores/{metadata_store}/executions/{execution}

Parameters
  • project (String)
  • location (String)
  • metadata_store (String)
  • execution (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)

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

#notebook_execution_job_path

def notebook_execution_job_path(project:, location:, notebook_execution_job:) -> ::String

Create a fully-qualified NotebookExecutionJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}

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

#notebook_runtime_template_path

def notebook_runtime_template_path(project:, location:, notebook_runtime_template:) -> ::String

Create a fully-qualified NotebookRuntimeTemplate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}

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

#pipeline_job_path

def pipeline_job_path(project:, location:, pipeline_job:) -> ::String

Create a fully-qualified PipelineJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}

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

#schedule_path

def schedule_path(project:, location:, schedule:) -> ::String

Create a fully-qualified Schedule resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/schedules/{schedule}

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

#subnetwork_path

def subnetwork_path(project:, region:, subnetwork:) -> ::String

Create a fully-qualified Subnetwork resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/subnetworks/{subnetwork}

Parameters
  • project (String)
  • region (String)
  • subnetwork (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)