App Engine v1 API - Class UpdateServiceRequest (2.3.0)

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.

Inheritance

object > UpdateServiceRequest

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

UpdateServiceRequest()

public UpdateServiceRequest()

UpdateServiceRequest(UpdateServiceRequest)

public UpdateServiceRequest(UpdateServiceRequest other)
Parameter
NameDescription
otherUpdateServiceRequest

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
TypeDescription
bool

Name

public string Name { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
Service

UpdateMask

public FieldMask UpdateMask { get; set; }

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

Property Value
TypeDescription
FieldMask