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.
You can find the supported attached asset types of each resource in this
table:
https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eAttachedResource\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API, with the latest version being 3.12.0 and a range of versions from 2.7.0 up to that point.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttachedResource\u003c/code\u003e class represents an attached resource's payload as defined by its corresponding service provider and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default constructor \u003ccode\u003eAttachedResource()\u003c/code\u003e and another constructor that takes an existing \u003ccode\u003eAttachedResource\u003c/code\u003e object as a parameter: \u003ccode\u003eAttachedResource(AttachedResource other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAssetType\u003c/code\u003e property represents the type of the attached resource, such as \u003ccode\u003eosconfig.googleapis.com/Inventory\u003c/code\u003e, with a link provided to a table of supported asset types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersionedResources\u003c/code\u003e property, of type \u003ccode\u003eRepeatedField<VersionedResource>\u003c/code\u003e, contains versioned resource representations, potentially including multiple versions to support version migration.\u003c/p\u003e\n"]]],[],null,[]]