public sealed class UpdateRuntimeRequest : IMessage<UpdateRuntimeRequest>, IEquatable<UpdateRuntimeRequest>, IDeepCloneable<UpdateRuntimeRequest>, IBufferMessage, IMessageReference documentation and code samples for the AI Platform Notebooks v1 API class UpdateRuntimeRequest.
Request for updating a Managed Notebook configuration.
Implements
IMessage<UpdateRuntimeRequest>, IEquatable<UpdateRuntimeRequest>, IDeepCloneable<UpdateRuntimeRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Notebooks.V1Assembly
Google.Cloud.Notebooks.V1.dll
Constructors
UpdateRuntimeRequest()
public UpdateRuntimeRequest()UpdateRuntimeRequest(UpdateRuntimeRequest)
public UpdateRuntimeRequest(UpdateRuntimeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateRuntimeRequest |
Properties
RequestId
public string RequestId { get; set; }Idempotent request UUID.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Runtime
public Runtime Runtime { get; set; }Required. The Runtime to be updated.
| Property Value | |
|---|---|
| Type | Description |
Runtime |
|
UpdateMask
public FieldMask UpdateMask { get; set; }Required. 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.kernelssoftware_config.post_startup_scriptsoftware_config.custom_gpu_driver_pathsoftware_config.idle_shutdownsoftware_config.idle_shutdown_timeoutsoftware_config.disable_terminal
| Property Value | |
|---|---|
| Type | Description |
FieldMask |
|