Interface UpdateInstanceRequestOrBuilder (0.103.0)

public interface UpdateInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract boolean getAllowMissing()

Optional. If set to true, and if the Instance does not exist, it will create a new one. The caller must have run.instances.create permissions if this is set to true and the Instance does not exist.

bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getInstance()

public abstract Instance getInstance()

Required. The Instance to be updated.

.google.cloud.run.v2.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance

The instance.

getInstanceOrBuilder()

public abstract InstanceOrBuilder getInstanceOrBuilder()

Required. The Instance to be updated.

.google.cloud.run.v2.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasInstance()

public abstract boolean hasInstance()

Required. The Instance to be updated.

.google.cloud.run.v2.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.