AI Platform Notebooks V1 API - Module Google::Cloud::Notebooks::V1::NotebookService::Paths (v0.2.1)

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

Path helper methods for the NotebookService API.

Methods

#environment_path

def environment_path(project:, environment:) -> ::String

Create a fully-qualified Environment resource string.

The resource will be in the following format:

projects/{project}/environments/{environment}

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

#execution_path

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

Create a fully-qualified Execution resource string.

The resource will be in the following format:

projects/{project}/location/{location}/executions/{execution}

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

#instance_path

def instance_path(project:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/instances/{instance}

Parameters
  • project (String)
  • instance (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}/location/{location}/schedules/{schedule}

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

#tensorboard_path

def tensorboard_path(project:, location:, tensorboard:) -> ::String

Create a fully-qualified Tensorboard resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/tensorboards/{tensorboard}

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