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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This webpage details the `VersionedResource` class within the `Google.Cloud.Asset.V1` namespace, part of the `Google.Cloud.Asset.V1.dll` assembly, including its properties, constructors, and inheritance."],["The `VersionedResource` class represents a resource as defined by a corresponding service for a specific API version, implementing multiple interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The latest version of this resource is `3.12.0`, with multiple previous versions available, dating back to `2.7.0`, with the current page highlighting version `2.10.0`."],["The `VersionedResource` class has two primary properties: `Resource`, which holds the JSON representation of the resource, and `Version`, which indicates the API version of the resource."],["There are two constructors for the `VersionedResource` class, a default constructor and another that takes a `VersionedResource` object as a parameter."]]],[]]