Interface UpdateWorkerPoolRequestOrBuilder (0.72.0)

public interface UpdateWorkerPoolRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract boolean getAllowMissing()

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

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

Returns
Type Description
boolean

The allowMissing.

getForceNewRevision()

public abstract boolean getForceNewRevision()

Optional. If set to true, a new revision will be created from the template even if the system doesn't detect any changes from the previously deployed revision.

This may be useful for cases where the underlying resources need to be recreated or reinitialized. For example if the image is specified by label, but the underlying image digest has changed) or if the container performs deployment initialization work that needs to be performed again.

bool force_new_revision = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The forceNewRevision.

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.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 = 2 [(.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.

getWorkerPool()

public abstract WorkerPool getWorkerPool()

Required. The WorkerPool to be updated.

.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkerPool

The workerPool.

getWorkerPoolOrBuilder()

public abstract WorkerPoolOrBuilder getWorkerPoolOrBuilder()

Required. The WorkerPool to be updated.

.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkerPoolOrBuilder

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. The list of fields to be updated.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

hasWorkerPool()

public abstract boolean hasWorkerPool()

Required. The WorkerPool to be updated.

.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the workerPool field is set.