Interface UpdateRuntimeRequestOrBuilder (1.41.0)

public interface UpdateRuntimeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRequestId()

public abstract String getRequestId()

Idempotent request UUID.

string request_id = 3;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 3;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateMask field is set.