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\u003eThe latest version available for the Google Cloud Asset Inventory v1 API's AttachedResource is 3.12.0, with a variety of previous versions accessible, down to version 2.7.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttachedResource\u003c/code\u003e class represents an attached resource's payload as defined by the corresponding service provider.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAttachedResource\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAttachedResource\u003c/code\u003e class include \u003ccode\u003eAssetType\u003c/code\u003e, which specifies the type of the attached resource (e.g., \u003ccode\u003eosconfig.googleapis.com/Inventory\u003c/code\u003e), and \u003ccode\u003eVersionedResources\u003c/code\u003e, which contains the different versions of the attached resource representations.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor overloads, one default and one that takes an \u003ccode\u003eAttachedResource\u003c/code\u003e as an argument, allowing for cloning of \u003ccode\u003eAttachedResource\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,[]]