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
Modifier and TypeMethodDescriptionThe asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].com.google.protobuf.ByteStringThe asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].The full resource name of the resource on which this IAM policy is set.com.google.protobuf.ByteStringThe full resource name of the resource on which this IAM policy is set.getFolders(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}.intThe folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.ByteStringThe organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.The IAM policy directly set on the given resource.The IAM policy directly set on the given resource.The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.com.google.protobuf.ByteStringThe project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.booleanThe IAM policy directly set on the given resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAttachedResource
String getAttachedResource()The full resource name of the resource on which this IAM policy is set. 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 on which this IAM policy is set. 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
Policy getPolicy()The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;- Returns:
- The policy.
-
getPolicyOrBuilder
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
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
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.
-
getAssetType
String getAssetType()The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource]. Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.
string asset_type = 8;- Returns:
- The assetType.
-
getAssetTypeBytes
com.google.protobuf.ByteString getAssetTypeBytes()The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource]. Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.
string asset_type = 8;- Returns:
- The bytes for assetType.
-