public interface UpdateServiceRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getMigrateTraffic()
Set to `true` to gradually shift traffic from one version to another
single version.
|
java.lang.String |
getName()
Name of the resource to update.
|
ByteString |
getNameBytes()
Name of the resource to update.
|
Service |
getService()
A Service resource containing the updated service.
|
ServiceOrBuilder |
getServiceOrBuilder()
A Service resource containing the updated service.
|
FieldMask |
getUpdateMask()
Standard field mask for the set of fields to be updated.
|
FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Standard field mask for the set of fields to be updated.
|
boolean |
hasService()
A Service resource containing the updated service.
|
boolean |
hasUpdateMask()
Standard field mask for the set of fields to be updated.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getName()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
ByteString getNameBytes()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
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;
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;
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;
boolean hasUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
FieldMask getUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
FieldMaskOrBuilder getUpdateMaskOrBuilder()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
boolean getMigrateTraffic()
Set to `true` to gradually shift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be located within instances that are configured for both [warmup requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#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](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
bool migrate_traffic = 4;