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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThis endpoint updates a certificate by its ID, including the option to update the certificate file, which triggers re-encryption and service registration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePATCH\u003c/code\u003e request uses gRPC Transcoding syntax and requires the certificate's name to be specified as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter, formatted as a FieldMask, specifies which fields in the Certificate resource need to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both use the Certificate resource, providing details on the certificate data being sent and received.\u003c/p\u003e\n"],["\u003cp\u003eUpdating certificates requires specific OAuth scope (\u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e) and one of the following IAM permissions: \u003ccode\u003eintegrations.apigeeCertificates.update\u003c/code\u003e or \u003ccode\u003eintegrations.certificates.update\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.products.certificates.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nUpdates 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.\n\n### HTTP request\n\n`PATCH https://integrations.googleapis.com/v1/{certificate.name=projects/*/locations/*/products/*/certificates/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [Certificate](/apigee/docs/reference/apis/integrations/rest/v1/projects.locations.products.certificates#Certificate).\n\n### Response body\n\nIf successful, the response body contains an instance of [Certificate](/apigee/docs/reference/apis/integrations/rest/v1/projects.locations.products.certificates#Certificate).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires **one of** the following [IAM](https://cloud.google.com/iam/docs) permissions on the `name` resource, depending on the resource type:\n\n- `integrations.apigeeCertificates.update`\n- `integrations.certificates.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]