Interface UpdateWorkerPoolRequestOrBuilder (0.73.0)

publicinterface UpdateWorkerPoolRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

publicabstractbooleangetAllowMissing()

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()

publicabstractbooleangetForceNewRevision()

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()

publicabstractFieldMaskgetUpdateMask()

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()

publicabstractFieldMaskOrBuildergetUpdateMaskOrBuilder()

Optional. The list of fields to be updated.

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

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

publicabstractbooleangetValidateOnly()

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()

publicabstractWorkerPoolgetWorkerPool()

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()

publicabstractWorkerPoolOrBuildergetWorkerPoolOrBuilder()

Required. The WorkerPool to be updated.

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

Returns
Type Description
WorkerPoolOrBuilder

hasUpdateMask()

publicabstractbooleanhasUpdateMask()

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()

publicabstractbooleanhasWorkerPool()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.