Interface UpdateServiceRequestOrBuilder (0.34.0)

public interface UpdateServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract boolean getAllowMissing()

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;

Returns
TypeDescription
boolean

The allowMissing.

getService()

public abstract Service getService()

Required. The Service to be updated.

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

Returns
TypeDescription
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
TypeDescription
ServiceOrBuilder

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
TypeDescription
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
TypeDescription
boolean

Whether the service field is set.