public sealed class RelatedAsset : IMessage<RelatedAsset>, IEquatable<RelatedAsset>, IDeepCloneable<RelatedAsset>, IBufferMessage, IMessage
An asset identify in Google Cloud which contains its name, type and
ancestors. An asset can be any resource in the Google Cloud resource
hierarchy,
a resource outside the Google Cloud resource hierarchy (such as Google
Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
See Supported asset
types
for more information.
The ancestors of an asset in Google Cloud resource
hierarchy,
represented as a list of relative resource names. An ancestry path starts
with the closest ancestor in the hierarchy and ends at root.
[[["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 document outlines the \u003ccode\u003eRelatedAsset\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Asset.V1\u003c/code\u003e namespace, detailing its properties, inheritance, and implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRelatedAsset\u003c/code\u003e class represents an asset in Google Cloud, containing its name, type, and ancestor information within the resource hierarchy.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists available versions of the \u003ccode\u003eGoogle.Cloud.Asset.V1.RelatedAsset\u003c/code\u003e, ranging from version 2.7.0 up to the latest version 3.12.0, with links to the documentation of each one.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRelatedAsset\u003c/code\u003e class include properties such as \u003ccode\u003eAncestors\u003c/code\u003e, \u003ccode\u003eAsset\u003c/code\u003e, \u003ccode\u003eAssetAsResourceName\u003c/code\u003e, and \u003ccode\u003eAssetType\u003c/code\u003e, allowing access to information regarding the asset's ancestry, full name, and its type, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRelatedAsset\u003c/code\u003e class implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for serialization, equality comparison, deep cloning, and buffer message handling.\u003c/p\u003e\n"]]],[],null,[]]