Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::ServiceStub.
REST service stub for the ManagedNotebookService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_runtime
def create_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::CreateRuntimeRequest) — 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_runtime
def delete_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::DeleteRuntimeRequest) — 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)
#diagnose_runtime
def diagnose_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the diagnose_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::DiagnoseRuntimeRequest) — 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_runtime
def get_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::Runtime
Baseline implementation for the get_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::GetRuntimeRequest) — 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::Notebooks::V1::Runtime)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::Runtime) — 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_runtimes
def list_runtimes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::ListRuntimesResponse
Baseline implementation for the list_runtimes REST call
- request_pb (::Google::Cloud::Notebooks::V1::ListRuntimesRequest) — 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::Notebooks::V1::ListRuntimesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::ListRuntimesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#refresh_runtime_token_internal
def refresh_runtime_token_internal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::RefreshRuntimeTokenInternalResponse
Baseline implementation for the refresh_runtime_token_internal REST call
- request_pb (::Google::Cloud::Notebooks::V1::RefreshRuntimeTokenInternalRequest) — 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::Notebooks::V1::RefreshRuntimeTokenInternalResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::RefreshRuntimeTokenInternalResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#report_runtime_event
def report_runtime_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the report_runtime_event REST call
- request_pb (::Google::Cloud::Notebooks::V1::ReportRuntimeEventRequest) — 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)
#reset_runtime
def reset_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the reset_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::ResetRuntimeRequest) — 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)
#start_runtime
def start_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the start_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::StartRuntimeRequest) — 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)
#stop_runtime
def stop_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the stop_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::StopRuntimeRequest) — 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)
#switch_runtime
def switch_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the switch_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::SwitchRuntimeRequest) — 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_runtime
def update_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::UpdateRuntimeRequest) — 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)
#upgrade_runtime
def upgrade_runtime(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the upgrade_runtime REST call
- request_pb (::Google::Cloud::Notebooks::V1::UpgradeRuntimeRequest) — 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)