Method: projects.locations.products.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

PATCH https://integrations.googleapis.com/v1/{certificate.name=projects/*/locations/*/products/*/certificates/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
certificate.name

string

Output only. Auto generated primary key

Query parameters

Parameters
updateMask

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:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • integrations.apigeeCertificates.update
  • integrations.certificates.update

For more information, see the IAM documentation.