Method: projects.configs.variables.update

Updates an existing variable with a new value.

HTTP request

PUT https://runtimeconfig.googleapis.com/v1beta1/{name=projects/*/configs/*/variables/**}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the variable to update, in the format:

projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]

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

  • runtimeconfig.variables.update

Request body

The request body contains an instance of Variable.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloudruntimeconfig

For more information, see the Authentication Overview.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Deployment Manager