Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::NotebookService::Paths (v0.41.0)

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

Path helper methods for the NotebookService API.

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}

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_runtime_path

def notebook_runtime_path(project:, location:, notebook_runtime:) -> ::String

Create a fully-qualified NotebookRuntime resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/notebookRuntimes/{notebook_runtime}

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

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