Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::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
#create_environment
def create_environment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_environment REST call
- request_pb (::Google::Cloud::Notebooks::V1::CreateEnvironmentRequest) — 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_execution
def create_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_execution REST call
- request_pb (::Google::Cloud::Notebooks::V1::CreateExecutionRequest) — 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_instance
def create_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_instance REST call
- request_pb (::Google::Cloud::Notebooks::V1::CreateInstanceRequest) — 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_schedule
def create_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_schedule REST call
- request_pb (::Google::Cloud::Notebooks::V1::CreateScheduleRequest) — 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_environment
def delete_environment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_environment REST call
- request_pb (::Google::Cloud::Notebooks::V1::DeleteEnvironmentRequest) — 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_execution
def delete_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_execution REST call
- request_pb (::Google::Cloud::Notebooks::V1::DeleteExecutionRequest) — 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_instance
def delete_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_instance REST call
- request_pb (::Google::Cloud::Notebooks::V1::DeleteInstanceRequest) — 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_schedule
def delete_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_schedule REST call
- request_pb (::Google::Cloud::Notebooks::V1::DeleteScheduleRequest) — 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_instance
def diagnose_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the diagnose_instance REST call
- request_pb (::Google::Cloud::Notebooks::V1::DiagnoseInstanceRequest) — 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)
#get_environment
def get_environment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::Environment
Baseline implementation for the get_environment REST call
- request_pb (::Google::Cloud::Notebooks::V1::GetEnvironmentRequest) — 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::Environment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::Environment) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_execution
def get_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::Execution
Baseline implementation for the get_execution REST call
- request_pb (::Google::Cloud::Notebooks::V1::GetExecutionRequest) — 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::Execution)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::Execution) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_instance
def get_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::Instance
Baseline implementation for the get_instance REST call
- request_pb (::Google::Cloud::Notebooks::V1::GetInstanceRequest) — 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::Instance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::Instance) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_instance_health
def get_instance_health(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::GetInstanceHealthResponse
Baseline implementation for the get_instance_health REST call
- request_pb (::Google::Cloud::Notebooks::V1::GetInstanceHealthRequest) — 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::GetInstanceHealthResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::GetInstanceHealthResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_schedule
def get_schedule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::Schedule
Baseline implementation for the get_schedule REST call
- request_pb (::Google::Cloud::Notebooks::V1::GetScheduleRequest) — 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::Schedule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::Schedule) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#is_instance_upgradeable
def is_instance_upgradeable(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::IsInstanceUpgradeableResponse
Baseline implementation for the is_instance_upgradeable REST call
- request_pb (::Google::Cloud::Notebooks::V1::IsInstanceUpgradeableRequest) — 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::IsInstanceUpgradeableResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::IsInstanceUpgradeableResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_environments
def list_environments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::ListEnvironmentsResponse
Baseline implementation for the list_environments REST call
- request_pb (::Google::Cloud::Notebooks::V1::ListEnvironmentsRequest) — 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::ListEnvironmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::ListEnvironmentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_executions
def list_executions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::ListExecutionsResponse
Baseline implementation for the list_executions REST call
- request_pb (::Google::Cloud::Notebooks::V1::ListExecutionsRequest) — 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::ListExecutionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Notebooks::V1::ListExecutionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_instances
def list_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Notebooks::V1::ListInstancesResponse
Baseline implementation for the list_instances REST call
- request_pb (::Google::Cloud::Notebooks::V1::ListInstancesRequest) — 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::ListInstancesResponse)
- operation (::Gapic::Rest::TransportOperation)