public sealed class RelatedAsset : IMessage<RelatedAsset>, IEquatable<RelatedAsset>, IDeepCloneable<RelatedAsset>, IBufferMessage, IMessage
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. Cloud IAM policy). See Supported asset types for more information.
Implements
IMessage<RelatedAsset>, IEquatable<RelatedAsset>, IDeepCloneable<RelatedAsset>, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
RelatedAsset()
public RelatedAsset()
RelatedAsset(RelatedAsset)
public RelatedAsset(RelatedAsset other)
Parameter | |
---|---|
Name | Description |
other | RelatedAsset |
Properties
Ancestors
public RepeatedField<string> Ancestors { get; }
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.
Example: ["projects/123456789", "folders/5432", "organizations/1234"]
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Asset
public string Asset { get; set; }
The full name of the asset. Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
See Resource names for more information.
Property Value | |
---|---|
Type | Description |
String |
AssetAsResourceName
public IResourceName AssetAsResourceName { get; set; }
IResourceName-typed view over the Asset resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
AssetType
public string AssetType { get; set; }
The type of the asset. Example: compute.googleapis.com/Disk
See Supported asset types for more information.
Property Value | |
---|---|
Type | Description |
String |
RelationshipType
public string RelationshipType { get; set; }
The unique identifier of the relationship type. Example:
INSTANCE_TO_INSTANCEGROUP
Property Value | |
---|---|
Type | Description |
String |