Interface AttachedResourceOrBuilder (3.59.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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.asset.v1.VersionedResourceOrBuilder>