public sealed class UpdateServiceRequest : IMessage<UpdateServiceRequest>, IEquatable<UpdateServiceRequest>, IDeepCloneable<UpdateServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the App Engine v1 API class UpdateServiceRequest.
Request message for Services.UpdateService
.
Implements
IMessage<UpdateServiceRequest>, IEquatable<UpdateServiceRequest>, IDeepCloneable<UpdateServiceRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
UpdateServiceRequest()
public UpdateServiceRequest()
UpdateServiceRequest(UpdateServiceRequest)
public UpdateServiceRequest(UpdateServiceRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateServiceRequest |
Properties
MigrateTraffic
public bool MigrateTraffic { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Boolean |
Name
public string Name { get; set; }
Name of the resource to update. Example: apps/myapp/services/default
.
Property Value | |
---|---|
Type | Description |
String |
Service
public Service Service { get; set; }
A Service resource containing the updated service. Only fields set in the field mask will be updated.
Property Value | |
---|---|
Type | Description |
Service |
UpdateMask
public FieldMask UpdateMask { get; set; }
Required. Standard field mask for the set of fields to be updated.
Property Value | |
---|---|
Type | Description |
FieldMask |