public sealed class UpdateRuntimeRequest : IMessage<UpdateRuntimeRequest>, IEquatable<UpdateRuntimeRequest>, IDeepCloneable<UpdateRuntimeRequest>, IBufferMessage, IMessage
Reference 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.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
Property Value | |
---|---|
Type | Description |
FieldMask |