Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class UpdateServiceRequest.
Request message for Services.UpdateService
.
Generated from protobuf message google.appengine.v1.UpdateServiceRequest
Namespace
Google \ Cloud \ AppEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of the resource to update. Example: apps/myapp/services/default
.
↳ service
Google\Cloud\AppEngine\V1\Service
A Service resource containing the updated service. Only fields set in the field mask will be updated.
↳ update_mask
↳ migrate_traffic
bool
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
.
getName
Name of the resource to update. Example: apps/myapp/services/default
.
string
setName
Name of the resource to update. Example: apps/myapp/services/default
.
var
string
$this
getService
A Service resource containing the updated service. Only fields set in the field mask will be updated.
hasService
clearService
setService
A Service resource containing the updated service. Only fields set in the field mask will be updated.
$this
getUpdateMask
Required. Standard field mask for the set of fields to be updated.
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. Standard field mask for the set of fields to be updated.
$this
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
setMigrateTraffic
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
.
var
bool
$this