Updates the configuration of the specified service.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



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

Authorization requires the following IAM permission on the specified resource name:


Query parameters


string (FieldMask format)

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

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".



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.

Request body

The request body contains an instance of Service.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.