Interface UpdateServiceRequestOrBuilder (2.5.0)

public interface UpdateServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMigrateTraffic()

public abstract boolean getMigrateTraffic()

Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests and automatic scaling. You must specify the shardBy field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic.

bool migrate_traffic = 4;

Returns
TypeDescription
boolean

The migrateTraffic.

getName()

public abstract String getName()

Name of the resource to update. Example: apps/myapp/services/default.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the resource to update. Example: apps/myapp/services/default.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getService()

public abstract Service getService()

A Service resource containing the updated service. Only fields set in the field mask will be updated.

.google.appengine.v1.Service service = 2;

Returns
TypeDescription
Service

The service.

getServiceOrBuilder()

public abstract ServiceOrBuilder getServiceOrBuilder()

A Service resource containing the updated service. Only fields set in the field mask will be updated.

.google.appengine.v1.Service service = 2;

Returns
TypeDescription
ServiceOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasService()

public abstract boolean hasService()

A Service resource containing the updated service. Only fields set in the field mask will be updated.

.google.appengine.v1.Service service = 2;

Returns
TypeDescription
boolean

Whether the service field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.