Interface UpdateRuntimeRequestOrBuilder (1.31.0)

public interface UpdateRuntimeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRequestId()

public abstract String getRequestId()

Idempotent request UUID.

string request_id = 3;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 3;

Returns
TypeDescription
ByteString

The bytes for requestId.

getRuntime()

public abstract Runtime getRuntime()

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Runtime

The runtime.

getRuntimeOrBuilder()

public abstract RuntimeOrBuilder getRuntimeOrBuilder()

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RuntimeOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasRuntime()

public abstract boolean hasRuntime()

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the runtime field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.