Method: projects.locations.certificates.patch

Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Output only. Auto generated primary key

Query parameters


string (FieldMask format)

Field mask specifying the fields in the above Certificate that have been modified and need to be updated.

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

Request body

The request body contains an instance of Certificate.

Response body

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

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • integrations.certificates.update

For more information, see the IAM documentation.