Notebooks API C++ Client 2.10.1
A C++ Client Library for the Notebooks API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::notebooks_v1::ManagedNotebookServiceClient Class Reference

API v1 service for Managed Notebooks. More...

#include <google/cloud/notebooks/v1/managed_notebook_client.h>

Public Member Functions

 ManagedNotebookServiceClient (std::shared_ptr< ManagedNotebookServiceConnection > connection, Options opts={})
 
 ~ManagedNotebookServiceClient ()
 
StreamRange< google::cloud::notebooks::v1::Runtime > ListRuntimes (std::string const &parent, Options opts={})
 Lists Runtimes in a given project and location. More...
 
StreamRange< google::cloud::notebooks::v1::Runtime > ListRuntimes (google::cloud::notebooks::v1::ListRuntimesRequest request, Options opts={})
 Lists Runtimes in a given project and location. More...
 
StatusOr< google::cloud::notebooks::v1::Runtime > GetRuntime (std::string const &name, Options opts={})
 Gets details of a single Runtime. More...
 
StatusOr< google::cloud::notebooks::v1::Runtime > GetRuntime (google::cloud::notebooks::v1::GetRuntimeRequest const &request, Options opts={})
 Gets details of a single Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > CreateRuntime (std::string const &parent, std::string const &runtime_id, google::cloud::notebooks::v1::Runtime const &runtime, Options opts={})
 Creates a new Runtime in a given project and location. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > CreateRuntime (google::cloud::notebooks::v1::CreateRuntimeRequest const &request, Options opts={})
 Creates a new Runtime in a given project and location. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > UpdateRuntime (google::cloud::notebooks::v1::Runtime const &runtime, google::protobuf::FieldMask const &update_mask, Options opts={})
 Update Notebook Runtime configuration. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > UpdateRuntime (google::cloud::notebooks::v1::UpdateRuntimeRequest const &request, Options opts={})
 Update Notebook Runtime configuration. More...
 
future< StatusOr< google::cloud::notebooks::v1::OperationMetadata > > DeleteRuntime (std::string const &name, Options opts={})
 Deletes a single Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::OperationMetadata > > DeleteRuntime (google::cloud::notebooks::v1::DeleteRuntimeRequest const &request, Options opts={})
 Deletes a single Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > StartRuntime (std::string const &name, Options opts={})
 Starts a Managed Notebook Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > StartRuntime (google::cloud::notebooks::v1::StartRuntimeRequest const &request, Options opts={})
 Starts a Managed Notebook Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > StopRuntime (std::string const &name, Options opts={})
 Stops a Managed Notebook Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > StopRuntime (google::cloud::notebooks::v1::StopRuntimeRequest const &request, Options opts={})
 Stops a Managed Notebook Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > SwitchRuntime (std::string const &name, Options opts={})
 Switch a Managed Notebook Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > SwitchRuntime (google::cloud::notebooks::v1::SwitchRuntimeRequest const &request, Options opts={})
 Switch a Managed Notebook Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > ResetRuntime (std::string const &name, Options opts={})
 Resets a Managed Notebook Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > ResetRuntime (google::cloud::notebooks::v1::ResetRuntimeRequest const &request, Options opts={})
 Resets a Managed Notebook Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > UpgradeRuntime (std::string const &name, Options opts={})
 Upgrades a Managed Notebook Runtime to the latest version. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > UpgradeRuntime (google::cloud::notebooks::v1::UpgradeRuntimeRequest const &request, Options opts={})
 Upgrades a Managed Notebook Runtime to the latest version. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > ReportRuntimeEvent (std::string const &name, Options opts={})
 Report and process a runtime event. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > ReportRuntimeEvent (google::cloud::notebooks::v1::ReportRuntimeEventRequest const &request, Options opts={})
 Report and process a runtime event. More...
 
StatusOr< google::cloud::notebooks::v1::RefreshRuntimeTokenInternalResponse > RefreshRuntimeTokenInternal (std::string const &name, std::string const &vm_id, Options opts={})
 Gets an access token for the consumer service account that the customer attached to the runtime. More...
 
StatusOr< google::cloud::notebooks::v1::RefreshRuntimeTokenInternalResponse > RefreshRuntimeTokenInternal (google::cloud::notebooks::v1::RefreshRuntimeTokenInternalRequest const &request, Options opts={})
 Gets an access token for the consumer service account that the customer attached to the runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > DiagnoseRuntime (std::string const &name, google::cloud::notebooks::v1::DiagnosticConfig const &diagnostic_config, Options opts={})
 Creates a Diagnostic File and runs Diagnostic Tool given a Runtime. More...
 
future< StatusOr< google::cloud::notebooks::v1::Runtime > > DiagnoseRuntime (google::cloud::notebooks::v1::DiagnoseRuntimeRequest const &request, Options opts={})
 Creates a Diagnostic File and runs Diagnostic Tool given a Runtime. More...
 
Copy and move support
 ManagedNotebookServiceClient (ManagedNotebookServiceClient const &)=default
 
ManagedNotebookServiceClientoperator= (ManagedNotebookServiceClient const &)=default
 
 ManagedNotebookServiceClient (ManagedNotebookServiceClient &&)=default
 
ManagedNotebookServiceClientoperator= (ManagedNotebookServiceClient &&)=default
 

Friends

Equality
bool operator== (ManagedNotebookServiceClient const &a, ManagedNotebookServiceClient const &b)
 
bool operator!= (ManagedNotebookServiceClient const &a, ManagedNotebookServiceClient const &b)
 

Detailed Description

API v1 service for Managed Notebooks.

Equality

Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection> objects compare equal. Objects that compare equal share the same underlying resources.

Performance

Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.

Thread Safety

Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.

Constructor & Destructor Documentation

◆ ManagedNotebookServiceClient() [1/3]

google::cloud::notebooks_v1::ManagedNotebookServiceClient::ManagedNotebookServiceClient ( std::shared_ptr< ManagedNotebookServiceConnection connection,
Options  opts = {} 
)
explicit

◆ ~ManagedNotebookServiceClient()

google::cloud::notebooks_v1::ManagedNotebookServiceClient::~ManagedNotebookServiceClient ( )

◆ ManagedNotebookServiceClient() [2/3]

google::cloud::notebooks_v1::ManagedNotebookServiceClient::ManagedNotebookServiceClient ( ManagedNotebookServiceClient const &  )
default

◆ ManagedNotebookServiceClient() [3/3]

google::cloud::notebooks_v1::ManagedNotebookServiceClient::ManagedNotebookServiceClient ( ManagedNotebookServiceClient &&  )
default

Member Function Documentation

◆ CreateRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::CreateRuntime ( google::cloud::notebooks::v1::CreateRuntimeRequest const &  request,
Options  opts = {} 
)

Creates a new Runtime in a given project and location.

Parameters
requestgoogle::cloud::notebooks::v1::CreateRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ CreateRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::CreateRuntime ( std::string const &  parent,
std::string const &  runtime_id,
google::cloud::notebooks::v1::Runtime const &  runtime,
Options  opts = {} 
)

Creates a new Runtime in a given project and location.

Parameters
parentRequired. Format: parent=projects/{project_id}/locations/{location}
runtime_idRequired. User-defined unique ID of this Runtime.
runtimeRequired. The Runtime to be created.
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ DeleteRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::OperationMetadata > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::DeleteRuntime ( google::cloud::notebooks::v1::DeleteRuntimeRequest const &  request,
Options  opts = {} 
)

Deletes a single Runtime.

Parameters
requestgoogle::cloud::notebooks::v1::DeleteRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::OperationMetadata

◆ DeleteRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::OperationMetadata > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::DeleteRuntime ( std::string const &  name,
Options  opts = {} 
)

Deletes a single Runtime.

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::OperationMetadata

◆ DiagnoseRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::DiagnoseRuntime ( google::cloud::notebooks::v1::DiagnoseRuntimeRequest const &  request,
Options  opts = {} 
)

Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.

Parameters
requestgoogle::cloud::notebooks::v1::DiagnoseRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ DiagnoseRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::DiagnoseRuntime ( std::string const &  name,
google::cloud::notebooks::v1::DiagnosticConfig const &  diagnostic_config,
Options  opts = {} 
)

Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtimes_id}
diagnostic_configRequired. Defines flags that are used to run the diagnostic tool
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ GetRuntime() [1/2]

StatusOr< google::cloud::notebooks::v1::Runtime > google::cloud::notebooks_v1::ManagedNotebookServiceClient::GetRuntime ( google::cloud::notebooks::v1::GetRuntimeRequest const &  request,
Options  opts = {} 
)

Gets details of a single Runtime.

The location must be a regional endpoint rather than zonal.

Parameters
requestgoogle::cloud::notebooks::v1::GetRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ GetRuntime() [2/2]

StatusOr< google::cloud::notebooks::v1::Runtime > google::cloud::notebooks_v1::ManagedNotebookServiceClient::GetRuntime ( std::string const &  name,
Options  opts = {} 
)

Gets details of a single Runtime.

The location must be a regional endpoint rather than zonal.

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ ListRuntimes() [1/2]

StreamRange< google::cloud::notebooks::v1::Runtime > google::cloud::notebooks_v1::ManagedNotebookServiceClient::ListRuntimes ( google::cloud::notebooks::v1::ListRuntimesRequest  request,
Options  opts = {} 
)

Lists Runtimes in a given project and location.

Parameters
requestgoogle::cloud::notebooks::v1::ListRuntimesRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ ListRuntimes() [2/2]

StreamRange< google::cloud::notebooks::v1::Runtime > google::cloud::notebooks_v1::ManagedNotebookServiceClient::ListRuntimes ( std::string const &  parent,
Options  opts = {} 
)

Lists Runtimes in a given project and location.

Parameters
parentRequired. Format: parent=projects/{project_id}/locations/{location}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ operator=() [1/2]

ManagedNotebookServiceClient & google::cloud::notebooks_v1::ManagedNotebookServiceClient::operator= ( ManagedNotebookServiceClient &&  )
default

◆ operator=() [2/2]

ManagedNotebookServiceClient & google::cloud::notebooks_v1::ManagedNotebookServiceClient::operator= ( ManagedNotebookServiceClient const &  )
default

◆ RefreshRuntimeTokenInternal() [1/2]

StatusOr< google::cloud::notebooks::v1::RefreshRuntimeTokenInternalResponse > google::cloud::notebooks_v1::ManagedNotebookServiceClient::RefreshRuntimeTokenInternal ( google::cloud::notebooks::v1::RefreshRuntimeTokenInternalRequest const &  request,
Options  opts = {} 
)

Gets an access token for the consumer service account that the customer attached to the runtime.

Only accessible from the tenant instance.

Parameters
requestgoogle::cloud::notebooks::v1::RefreshRuntimeTokenInternalRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::RefreshRuntimeTokenInternalResponse

◆ RefreshRuntimeTokenInternal() [2/2]

StatusOr< google::cloud::notebooks::v1::RefreshRuntimeTokenInternalResponse > google::cloud::notebooks_v1::ManagedNotebookServiceClient::RefreshRuntimeTokenInternal ( std::string const &  name,
std::string const &  vm_id,
Options  opts = {} 
)

Gets an access token for the consumer service account that the customer attached to the runtime.

Only accessible from the tenant instance.

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
vm_idRequired. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::RefreshRuntimeTokenInternalResponse

◆ ReportRuntimeEvent() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::ReportRuntimeEvent ( google::cloud::notebooks::v1::ReportRuntimeEventRequest const &  request,
Options  opts = {} 
)

Report and process a runtime event.

Parameters
requestgoogle::cloud::notebooks::v1::ReportRuntimeEventRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ ReportRuntimeEvent() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::ReportRuntimeEvent ( std::string const &  name,
Options  opts = {} 
)

Report and process a runtime event.

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ ResetRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::ResetRuntime ( google::cloud::notebooks::v1::ResetRuntimeRequest const &  request,
Options  opts = {} 
)

Resets a Managed Notebook Runtime.

Parameters
requestgoogle::cloud::notebooks::v1::ResetRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ ResetRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::ResetRuntime ( std::string const &  name,
Options  opts = {} 
)

Resets a Managed Notebook Runtime.

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ StartRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::StartRuntime ( google::cloud::notebooks::v1::StartRuntimeRequest const &  request,
Options  opts = {} 
)

Starts a Managed Notebook Runtime.

Perform "Start" on GPU instances; "Resume" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance

Parameters
requestgoogle::cloud::notebooks::v1::StartRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ StartRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::StartRuntime ( std::string const &  name,
Options  opts = {} 
)

Starts a Managed Notebook Runtime.

Perform "Start" on GPU instances; "Resume" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ StopRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::StopRuntime ( google::cloud::notebooks::v1::StopRuntimeRequest const &  request,
Options  opts = {} 
)

Stops a Managed Notebook Runtime.

Perform "Stop" on GPU instances; "Suspend" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance

Parameters
requestgoogle::cloud::notebooks::v1::StopRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ StopRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::StopRuntime ( std::string const &  name,
Options  opts = {} 
)

Stops a Managed Notebook Runtime.

Perform "Stop" on GPU instances; "Suspend" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ SwitchRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::SwitchRuntime ( google::cloud::notebooks::v1::SwitchRuntimeRequest const &  request,
Options  opts = {} 
)

Switch a Managed Notebook Runtime.

Parameters
requestgoogle::cloud::notebooks::v1::SwitchRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ SwitchRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::SwitchRuntime ( std::string const &  name,
Options  opts = {} 
)

Switch a Managed Notebook Runtime.

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ UpdateRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::UpdateRuntime ( google::cloud::notebooks::v1::Runtime const &  runtime,
google::protobuf::FieldMask const &  update_mask,
Options  opts = {} 
)

Update Notebook Runtime configuration.

Parameters
runtimeRequired. The Runtime to be updated.
update_maskRequired. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } }

Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal
    Parameters
    optsOptional. Override the class-level options, such as retry and backoff policies.
    Returns
    google::cloud::notebooks::v1::Runtime

◆ UpdateRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::UpdateRuntime ( google::cloud::notebooks::v1::UpdateRuntimeRequest const &  request,
Options  opts = {} 
)

Update Notebook Runtime configuration.

Parameters
requestgoogle::cloud::notebooks::v1::UpdateRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ UpgradeRuntime() [1/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::UpgradeRuntime ( google::cloud::notebooks::v1::UpgradeRuntimeRequest const &  request,
Options  opts = {} 
)

Upgrades a Managed Notebook Runtime to the latest version.

Parameters
requestgoogle::cloud::notebooks::v1::UpgradeRuntimeRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

◆ UpgradeRuntime() [2/2]

future< StatusOr< google::cloud::notebooks::v1::Runtime > > google::cloud::notebooks_v1::ManagedNotebookServiceClient::UpgradeRuntime ( std::string const &  name,
Options  opts = {} 
)

Upgrades a Managed Notebook Runtime to the latest version.

Parameters
nameRequired. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::notebooks::v1::Runtime

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( ManagedNotebookServiceClient const &  a,
ManagedNotebookServiceClient const &  b 
)
friend

◆ operator==

bool operator== ( ManagedNotebookServiceClient const &  a,
ManagedNotebookServiceClient const &  b 
)
friend