Google Cloud Asset Inventory v1 API - Class AttachedResource (3.11.0)

public sealed class AttachedResource : IMessage<AttachedResource>, IEquatable<AttachedResource>, IDeepCloneable<AttachedResource>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AttachedResource.

Attached resource representation, which is defined by the corresponding service provider. It represents an attached resource's payload.

Inheritance

object > AttachedResource

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

AttachedResource()

public AttachedResource()

AttachedResource(AttachedResource)

public AttachedResource(AttachedResource other)
Parameter
NameDescription
otherAttachedResource

Properties

AssetType

public string AssetType { get; set; }

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

Property Value
TypeDescription
string

VersionedResources

public RepeatedField<VersionedResource> VersionedResources { get; }

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

Property Value
TypeDescription
RepeatedFieldVersionedResource