Package com.google.appengine.v1
Interface UpdateServiceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateServiceRequest
,UpdateServiceRequest.Builder
public interface UpdateServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getMigrateTraffic()
Set to `true` to gradually shift traffic to one or more versions that you specify.String
getName()
Name of the resource to update.com.google.protobuf.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.com.google.protobuf.FieldMask
getUpdateMask()
Required.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
Required.boolean
hasService()
A Service resource containing the updated service.boolean
hasUpdateMask()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the resource to update. Example: `apps/myapp/services/default`.
string name = 1;
- Returns:
- The bytes for name.
-
hasService
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:
- Whether the service field is set.
-
getService
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:
- The service.
-
getServiceOrBuilder
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;
-
hasUpdateMask
boolean hasUpdateMask()
Required. Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()
Required. Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 3;
-
getMigrateTraffic
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](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;
- Returns:
- The migrateTraffic.
-
-