Method: projects.locations.certificateTemplates.getIamPolicy
Stay organized with collections
Save and categorize content based on your preferences.
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
HTTP request
GET https://privateca.googleapis.com/v1/{resource=projects/*/locations/*/certificateTemplates/*}:getIamPolicy
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
resource |
string
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
|
Query parameters
Parameters |
options |
object (GetPolicyOptions )
OPTIONAL: A GetPolicyOptions object for specifying options to certificateTemplates.getIamPolicy .
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Policy
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.
[[["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-05-30 UTC."],[[["\u003cp\u003eThis endpoint retrieves the access control policy for a specified resource, returning an empty policy if one is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method is \u003ccode\u003eGET\u003c/code\u003e, and the URL structure adheres to gRPC Transcoding syntax for defining the resource path.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eresource\u003c/code\u003e path parameter, which specifies the resource name, and an optional \u003ccode\u003eoptions\u003c/code\u003e query parameter, for additional options.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response returns a \u003ccode\u003ePolicy\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]