Interface UpdateServiceRequestOrBuilder (2.1.10)

publicinterface UpdateServiceRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getMigrateTraffic()

publicabstractbooleangetMigrateTraffic()

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 migrate_traffic = 4;

Returns
Type Description
boolean

The migrateTraffic.

getName()

publicabstractStringgetName()

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getService()

publicabstractServicegetService()

A Service resource containing the updated service. Only fields set in the field mask will be updated.

.google.appengine.v1.Service service = 2;

Returns
Type Description
Service

The service.

getServiceOrBuilder()

publicabstractServiceOrBuildergetServiceOrBuilder()

A Service resource containing the updated service. Only fields set in the field mask will be updated.

.google.appengine.v1.Service service = 2;

Returns
Type Description

getUpdateMask()

publicabstractFieldMaskgetUpdateMask()

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

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

publicabstractFieldMaskOrBuildergetUpdateMaskOrBuilder()

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

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description

hasService()

publicabstractbooleanhasService()

A Service resource containing the updated service. Only fields set in the field mask will be updated.

.google.appengine.v1.Service service = 2;

Returns
Type Description
boolean

Whether the service field is set.

hasUpdateMask()

publicabstractbooleanhasUpdateMask()

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

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.