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
- request_pb (::Google::Cloud::AIPlatform::V1::AssignNotebookRuntimeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::CreateNotebookRuntimeTemplateRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::DeleteNotebookRuntimeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::DeleteNotebookRuntimeTemplateRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#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
- request_pb (::Google::Cloud::AIPlatform::V1::GetNotebookRuntimeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::NotebookRuntime)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::NotebookRuntime) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::GetNotebookRuntimeTemplateRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::AIPlatform::V1::ListNotebookRuntimeTemplatesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::ListNotebookRuntimeTemplatesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListNotebookRuntimeTemplatesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::ListNotebookRuntimesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::ListNotebookRuntimesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListNotebookRuntimesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::StartNotebookRuntimeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (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
- request_pb (::Google::Cloud::AIPlatform::V1::UpdateNotebookRuntimeTemplateRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::UpgradeNotebookRuntimeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)