The IAM policy directly set on the given resource. Note that the original
IAM policy can contain multiple bindings. This only contains the bindings
that match the given query. For queries that don't contain a constrain on
policies (e.g. an empty query), this contains all the bindings.
.google.iam.v1.Policy policy = 4;
Returns
Type
Description
com.google.iam.v1.Policy
The policy.
getPolicyOrBuilder()
publicPolicyOrBuildergetPolicyOrBuilder()
The IAM policy directly set on the given resource. Note that the original
IAM policy can contain multiple bindings. This only contains the bindings
that match the given query. For queries that don't contain a constrain on
policies (e.g. an empty query), this contains all the bindings.
.google.iam.v1.Policy policy = 4;
Returns
Type
Description
com.google.iam.v1.PolicyOrBuilder
getProject()
publicStringgetProject()
The project that the associated GCP resource belongs to, in the form of
projects/{project_number}. If an IAM policy is set on a resource (like VM
instance, Cloud Storage bucket), the project field will indicate the
project that contains the resource. If an IAM policy is set on a folder or
orgnization, the project field will be empty.
The project that the associated GCP resource belongs to, in the form of
projects/{project_number}. If an IAM policy is set on a resource (like VM
instance, Cloud Storage bucket), the project field will indicate the
project that contains the resource. If an IAM policy is set on a folder or
orgnization, the project field will be empty.
The IAM policy directly set on the given resource. Note that the original
IAM policy can contain multiple bindings. This only contains the bindings
that match the given query. For queries that don't contain a constrain on
policies (e.g. an empty query), this contains all the bindings.
[[["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-01-28 UTC."],[],[]]