public sealed class RelatedAsset : IMessage<RelatedAsset>, IEquatable<RelatedAsset>, IDeepCloneable<RelatedAsset>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class RelatedAsset.
An asset identifier 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. 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\u003eThe latest version available for the Google Cloud Asset Inventory v1 API class \u003ccode\u003eRelatedAsset\u003c/code\u003e is 3.12.0, and it can be accessed through the provided link.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides documentation for various versions of the \u003ccode\u003eRelatedAsset\u003c/code\u003e class, ranging from version 3.12.0 down to 2.7.0, each with their own dedicated documentation link.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRelatedAsset\u003c/code\u003e class represents an asset identifier within Google Cloud, detailing its name, type, and ancestral hierarchy, which can be a resource, a resource outside of the hierarchy, or a policy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRelatedAsset\u003c/code\u003e class 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 contains properties for \u003ccode\u003eAsset\u003c/code\u003e, \u003ccode\u003eAssetType\u003c/code\u003e, \u003ccode\u003eAncestors\u003c/code\u003e, and \u003ccode\u003eRelationshipType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides details on the constructors and the properties, such as \u003ccode\u003eAsset\u003c/code\u003e, \u003ccode\u003eAssetType\u003c/code\u003e, \u003ccode\u003eAssetAsResourceName\u003c/code\u003e, \u003ccode\u003eRelationshipType\u003c/code\u003e, and \u003ccode\u003eAncestors\u003c/code\u003e, that are available for the \u003ccode\u003eRelatedAsset\u003c/code\u003e class, including the type and description of each property.\u003c/p\u003e\n"]]],[],null,[]]