AI Platform Notebooks v1 API - Class UpdateRuntimeRequest (2.3.0)

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.

Inheritance

object > UpdateRuntimeRequest

Namespace

Google.Cloud.Notebooks.V1

Assembly

Google.Cloud.Notebooks.V1.dll

Constructors

UpdateRuntimeRequest()

public UpdateRuntimeRequest()

UpdateRuntimeRequest(UpdateRuntimeRequest)

public UpdateRuntimeRequest(UpdateRuntimeRequest other)
Parameter
NameDescription
otherUpdateRuntimeRequest

Properties

RequestId

public string RequestId { get; set; }

Idempotent request UUID.

Property Value
TypeDescription
string

Runtime

public Runtime Runtime { get; set; }

Required. The Runtime to be updated.

Property Value
TypeDescription
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
TypeDescription
FieldMask