Package com.google.cloud.asset.v1
Interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource
,AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder
- Enclosing class:
- AnalyzeOrgPolicyGovernedAssetsResponse
public static interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFolders(int index)
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ByteString
getFoldersBytes(int index)
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.int
getFoldersCount()
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.List<String>
getFoldersList()
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.String
getFullResourceName()
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the Google Cloud resource.com.google.protobuf.ByteString
getFullResourceNameBytes()
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the Google Cloud resource.String
getOrganization()
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.ByteString
getOrganizationBytes()
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.String
getParent()
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].com.google.protobuf.ByteString
getParentBytes()
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].String
getProject()
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.com.google.protobuf.ByteString
getProjectBytes()
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFullResourceName
String getFullResourceName()
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the Google Cloud resource.
string full_resource_name = 1;
- Returns:
- The fullResourceName.
-
getFullResourceNameBytes
com.google.protobuf.ByteString getFullResourceNameBytes()
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the Google Cloud resource.
string full_resource_name = 1;
- Returns:
- The bytes for fullResourceName.
-
getParent
String getParent()
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].
string parent = 2;
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].
string parent = 2;
- Returns:
- The bytes for parent.
-
getProject
String getProject()
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.
string project = 5;
- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.
string project = 5;
- Returns:
- The bytes for project.
-
getFoldersList
List<String> getFoldersList()
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource 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 resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource 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 resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource 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 resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource 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 resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.
string organization = 7;
- Returns:
- The organization.
-
getOrganizationBytes
com.google.protobuf.ByteString getOrganizationBytes()
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.
string organization = 7;
- Returns:
- The bytes for organization.
-
-