OPTIONAL: A GetPolicyOptions object for specifying options to gateways.getIamPolicy.
GetPolicyOptions
Encapsulates settings provided to gateways.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.
[[["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-08-27 UTC."],[[["The `gateways.getIamPolicy` method requires a JSON request with a `resource` string field to identify the target resource and an optional `options` field."],["The `options` field, represented by `GetPolicyOptions`, allows for specifying settings for `gateways.getIamPolicy`, such as the desired policy format version."],["`GetPolicyOptions` has one field: `requestedPolicyVersion`, which is an integer to choose between valid version values 0, 1, and 3."],["Specifying version 3 for the `requestedPolicyVersion` is mandatory when conditional bindings are present, while any valid version can be used or the field left unset for policies without them."]]],[]]