Interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder (3.58.0)

public static interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetType()

public abstract String getAssetType()

The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name Example: cloudresourcemanager.googleapis.com/Project See Cloud Asset Inventory Supported Asset Types for all supported asset types.

string asset_type = 8;

Returns
Type Description
String

The assetType.

getAssetTypeBytes()

public abstract ByteString getAssetTypeBytes()

The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name Example: cloudresourcemanager.googleapis.com/Project See Cloud Asset Inventory Supported Asset Types for all supported asset types.

string asset_type = 8;

Returns
Type Description
ByteString

The bytes for assetType.

getEffectiveTags(int index)

public abstract EffectiveTagDetails getEffectiveTags(int index)

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;

Parameter
Name Description
index int
Returns
Type Description
EffectiveTagDetails

getEffectiveTagsCount()

public abstract int getEffectiveTagsCount()

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;

Returns
Type Description
int

getEffectiveTagsList()

public abstract List<EffectiveTagDetails> getEffectiveTagsList()

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;

Returns
Type Description
List<EffectiveTagDetails>

getEffectiveTagsOrBuilder(int index)

public abstract EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder(int index)

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;

Parameter
Name Description
index int
Returns
Type Description
EffectiveTagDetailsOrBuilder

getEffectiveTagsOrBuilderList()

public abstract List<? extends EffectiveTagDetailsOrBuilder> getEffectiveTagsOrBuilderList()

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder>

getFolders(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The folders at the given index.

getFoldersBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the folders at the given index.

getFoldersCount()

public abstract 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
Type Description
int

The count of folders.

getFoldersList()

public abstract 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
Type Description
List<String>

A list containing the folders.

getFullResourceName()

public abstract String getFullResourceName()

The full resource name of the Google Cloud resource.

string full_resource_name = 1;

Returns
Type Description
String

The fullResourceName.

getFullResourceNameBytes()

public abstract ByteString getFullResourceNameBytes()

The full resource name of the Google Cloud resource.

string full_resource_name = 1;

Returns
Type Description
ByteString

The bytes for fullResourceName.

getOrganization()

public abstract 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
Type Description
String

The organization.

getOrganizationBytes()

public abstract 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
Type Description
ByteString

The bytes for organization.

getParent()

public abstract String getParent()

The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.

string parent = 2;

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The full resource name of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.

string parent = 2;

Returns
Type Description
ByteString

The bytes for parent.

getProject()

public abstract 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
Type Description
String

The project.

getProjectBytes()

public abstract 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
Type Description
ByteString

The bytes for project.