Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::NotebookService::Rest::ServiceStub (v0.57.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::NotebookService::Rest::ServiceStub.

REST service stub for the NotebookService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#assign_notebook_runtime

def assign_notebook_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the assign_notebook_runtime REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_notebook_execution_job

def create_notebook_execution_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_notebook_execution_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_notebook_runtime_template

def create_notebook_runtime_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_notebook_runtime_template REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_notebook_execution_job

def delete_notebook_execution_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_notebook_execution_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_notebook_runtime

def delete_notebook_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_notebook_runtime REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_notebook_runtime_template

def delete_notebook_runtime_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_notebook_runtime_template REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_notebook_execution_job

def get_notebook_execution_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::NotebookExecutionJob

Baseline implementation for the get_notebook_execution_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_notebook_runtime

def get_notebook_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::NotebookRuntime

Baseline implementation for the get_notebook_runtime REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_notebook_runtime_template

def get_notebook_runtime_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate

Baseline implementation for the get_notebook_runtime_template REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_notebook_execution_jobs

def list_notebook_execution_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListNotebookExecutionJobsResponse

Baseline implementation for the list_notebook_execution_jobs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_notebook_runtime_templates

def list_notebook_runtime_templates(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListNotebookRuntimeTemplatesResponse

Baseline implementation for the list_notebook_runtime_templates REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_notebook_runtimes

def list_notebook_runtimes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListNotebookRuntimesResponse

Baseline implementation for the list_notebook_runtimes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#start_notebook_runtime

def start_notebook_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the start_notebook_runtime REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#stop_notebook_runtime

def stop_notebook_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the stop_notebook_runtime REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_notebook_runtime_template

def update_notebook_runtime_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate

Baseline implementation for the update_notebook_runtime_template REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#upgrade_notebook_runtime

def upgrade_notebook_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the upgrade_notebook_runtime REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)