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.
Implements
IMessageAttachedResource, IEquatableAttachedResource, IDeepCloneableAttachedResource, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
AttachedResource()
public AttachedResource()
AttachedResource(AttachedResource)
public AttachedResource(AttachedResource other)
Parameter | |
---|---|
Name | Description |
other | AttachedResource |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldVersionedResource |