Interface UpdateServiceRequestOrBuilder (0.103.0)

public interface UpdateServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract boolean getAllowMissing()

Optional. If set to true, and if the Service does not exist, it will create a new one. The caller must have 'run.services.create' permissions if this is set to true and the Service 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.

getService()

public abstract Service getService()

Required. The Service to be updated.

.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Service

The service.

getServiceOrBuilder()

public abstract ServiceOrBuilder getServiceOrBuilder()

Required. The Service to be updated.

.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceOrBuilder

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

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

bool validate_only = 3;

Returns
Type Description
boolean

The validateOnly.

hasService()

public abstract boolean hasService()

Required. The Service to be updated.

.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the service field is set.

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.