Package com.google.cloud.asset.v1
Interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy,AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
- Enclosing class:
- AnalyzeOrgPolicyGovernedAssetsResponse
public static interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAttachedResource()The full resource name of the resource associated with this IAM policy.com.google.protobuf.ByteStringgetAttachedResourceBytes()The full resource name of the resource associated with this IAM policy.StringgetFolders(int index)The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ByteStringgetFoldersBytes(int index)The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.intgetFoldersCount()The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.List<String>getFoldersList()The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.StringgetOrganization()The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.ByteStringgetOrganizationBytes()The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.iam.v1.PolicygetPolicy()The IAM policy directly set on the given resource.com.google.iam.v1.PolicyOrBuildergetPolicyOrBuilder()The IAM policy directly set on the given resource.StringgetProject()The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.com.google.protobuf.ByteStringgetProjectBytes()The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.booleanhasPolicy()The IAM policy directly set on the given resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAttachedResource
String getAttachedResource()
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](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information.
string attached_resource = 1;- Returns:
- The attachedResource.
-
getAttachedResourceBytes
com.google.protobuf.ByteString getAttachedResourceBytes()
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](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information.
string attached_resource = 1;- Returns:
- The bytes for attachedResource.
-
hasPolicy
boolean hasPolicy()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;- Returns:
- Whether the policy field is set.
-
getPolicy
com.google.iam.v1.Policy getPolicy()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;- Returns:
- The policy.
-
getPolicyOrBuilder
com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
-
getProject
String getProject()
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.string project = 5;- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()
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.string project = 5;- Returns:
- The bytes for project.
-
getFoldersList
List<String> getFoldersList()
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.repeated string folders = 6;- Returns:
- A list containing the folders.
-
getFoldersCount
int getFoldersCount()
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.repeated string folders = 6;- Returns:
- The count of folders.
-
getFolders
String getFolders(int index)
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.repeated string folders = 6;- Parameters:
index- The index of the element to return.- Returns:
- The folders at the given index.
-
getFoldersBytes
com.google.protobuf.ByteString getFoldersBytes(int index)
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.repeated string folders = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the folders at the given index.
-
getOrganization
String getOrganization()
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.string organization = 7;- Returns:
- The organization.
-
getOrganizationBytes
com.google.protobuf.ByteString getOrganizationBytes()
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.string organization = 7;- Returns:
- The bytes for organization.
-
-