The full resource name of the resource associated with this IAM policy.
Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1.
See Cloud Asset Inventory Resource Name
Format
for more information.
The full resource name of the resource associated with this IAM policy.
Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1.
See Cloud Asset Inventory Resource Name
Format
for more information.
The folder(s) that this IAM policy belongs to, in the format of
folders/{FOLDER_NUMBER}. This field is available when the IAM policy
belongs (directly or cascadingly) to one or more folders.
The folder(s) that this IAM policy belongs to, in the format of
folders/{FOLDER_NUMBER}. This field is available when the IAM policy
belongs (directly or cascadingly) to one or more folders.
The folder(s) that this IAM policy belongs to, in the format of
folders/{FOLDER_NUMBER}. This field is available when the IAM policy
belongs (directly or cascadingly) to one or more folders.
The folder(s) that this IAM policy belongs to, in the format of
folders/{FOLDER_NUMBER}. This field is available when the IAM policy
belongs (directly or cascadingly) to one or more folders.
The organization that this IAM policy belongs to, in the format of
organizations/{ORGANIZATION_NUMBER}. This field is available when the
IAM policy belongs (directly or cascadingly) to an organization.
The organization that this IAM policy belongs to, in the format of
organizations/{ORGANIZATION_NUMBER}. This field is available when the
IAM policy belongs (directly or cascadingly) to an organization.
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Returns
Type
Description
com.google.iam.v1.Policy
The policy.
getPolicyOrBuilder()
publicPolicyOrBuildergetPolicyOrBuilder()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Returns
Type
Description
com.google.iam.v1.PolicyOrBuilder
getProject()
publicStringgetProject()
The project that this IAM policy belongs to, in the format of
projects/{PROJECT_NUMBER}. This field is available when the IAM policy
belongs to a project.
The project that this IAM policy belongs to, in the format of
projects/{PROJECT_NUMBER}. This field is available when the IAM policy
belongs to a project.
[[["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."],[],[]]