Method: projects.locations.environments.userWorkloadsSecrets.update

Updates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.

HTTP request

PUT https://composer.googleapis.com/v1beta1/{userWorkloadsSecret.name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
userWorkloadsSecret.name

string

Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"

Request body

The request body contains an instance of UserWorkloadsSecret.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.