GetIamPolicyRequest
Stay organized with collections
Save and categorize content based on your preferences.
Request message for certificateAuthorities.getIamPolicy
method.
JSON representation |
{
"resource": string,
"options": {
object (GetPolicyOptions )
}
} |
Fields |
resource |
string
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
|
options |
object (GetPolicyOptions )
OPTIONAL: A GetPolicyOptions object for specifying options to certificateAuthorities.getIamPolicy .
|
GetPolicyOptions
Encapsulates settings provided to certificateAuthorities.getIamPolicy.
JSON representation |
{
"requestedPolicyVersion": integer
} |
Fields |
requestedPolicyVersion |
integer
Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.
|
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 2020-10-13 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 2020-10-13 UTC."],[[["The `certificateAuthorities.getIamPolicy` method requires a JSON request message with a `resource` string, and an optional `options` field, which is an object of the type `GetPolicyOptions`."],["The `resource` field is a required string that specifies the resource for which the policy is being requested, as per the operation documentation."],["The `GetPolicyOptions` allows you to define the `requestedPolicyVersion` to obtain specific versions of policies."],["The `requestedPolicyVersion` in `GetPolicyOptions` is an optional integer that can be 0, 1, or 3; version 3 is needed for policies with conditional bindings, while others may use any valid version."]]],[]]