Interface AttachedResourceOrBuilder (3.45.0)

public interface AttachedResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetType()

public abstract String getAssetType()

The type of this attached resource.

Example: osconfig.googleapis.com/Inventory

You can find the supported attached asset types of each resource in this table: https://cloud.google.com/asset-inventory/docs/supported-asset-types

string asset_type = 1;

Returns
TypeDescription
String

The assetType.

getAssetTypeBytes()

public abstract ByteString getAssetTypeBytes()

The type of this attached resource.

Example: osconfig.googleapis.com/Inventory

You can find the supported attached asset types of each resource in this table: https://cloud.google.com/asset-inventory/docs/supported-asset-types

string asset_type = 1;

Returns
TypeDescription
ByteString

The bytes for assetType.

getVersionedResources(int index)

public abstract VersionedResource getVersionedResources(int index)

Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.

repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VersionedResource

getVersionedResourcesCount()

public abstract int getVersionedResourcesCount()

Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.

repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;

Returns
TypeDescription
int

getVersionedResourcesList()

public abstract List<VersionedResource> getVersionedResourcesList()

Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.

repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;

Returns
TypeDescription
List<VersionedResource>

getVersionedResourcesOrBuilder(int index)

public abstract VersionedResourceOrBuilder getVersionedResourcesOrBuilder(int index)

Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.

repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VersionedResourceOrBuilder

getVersionedResourcesOrBuilderList()

public abstract List<? extends VersionedResourceOrBuilder> getVersionedResourcesOrBuilderList()

Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.

repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1.VersionedResourceOrBuilder>