public sealed class VersionedResource : IMessage<VersionedResource>, IEquatable<VersionedResource>, IDeepCloneable<VersionedResource>, IBufferMessage, IMessage
Resource representation as defined by the corresponding service providing the
resource for a given API version.
JSON representation of the resource as defined by the corresponding
service providing this resource.
Example:
If the resource is an instance provided by Compute Engine, this field will
contain the JSON representation of the instance as defined by Compute
Engine:
https://cloud.google.com/compute/docs/reference/rest/v1/instances.
You can find the resource definition for each supported resource type in
this table:
https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types
Example:
If the resource is an instance provided by Compute Engine v1 API as defined
in https://cloud.google.com/compute/docs/reference/rest/v1/instances,
version will be "v1".
[[["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 webpage details the \u003ccode\u003eVersionedResource\u003c/code\u003e class, which represents a resource as defined by the service providing it for a specific API version, within the \u003ccode\u003eGoogle.Cloud.Asset.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eVersionedResource\u003c/code\u003e is 3.12.0, and the content lists all versions from 3.0.0 up to 3.12.0, as well as older versions from 2.7.0 to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVersionedResource\u003c/code\u003e 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, and inherits from \u003ccode\u003eObject\u003c/code\u003e, offering functionalities like cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersionedResource\u003c/code\u003e class has properties like \u003ccode\u003eResource\u003c/code\u003e, which holds the JSON representation of the resource, and \u003ccode\u003eVersion\u003c/code\u003e, which specifies the API version of the resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersionedResource\u003c/code\u003e class also has two constructors: a default one \u003ccode\u003eVersionedResource()\u003c/code\u003e and one for creating a copy, \u003ccode\u003eVersionedResource(VersionedResource other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]