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.
Implements
Inherited Members
Namespace: Google.Apis.CloudAsset.v1.Data
Assembly: Google.Apis.CloudAsset.v1.dll
Syntax
public class RelatedAsset : IDirectResponseSchema
Properties
Ancestors
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"]
Declaration
[JsonProperty("ancestors")]
public virtual IList<string> Ancestors { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Asset
The full name of the asset. Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
See Resource
names for more information.
Declaration
[JsonProperty("asset")]
public virtual string Asset { get; set; }
Property Value
Type | Description |
---|---|
string |
AssetType
The type of the asset. Example: compute.googleapis.com/Disk
See Supported asset
types for more information.
Declaration
[JsonProperty("assetType")]
public virtual string AssetType { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
RelationshipType
The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP
Declaration
[JsonProperty("relationshipType")]
public virtual string RelationshipType { get; set; }
Property Value
Type | Description |
---|---|
string |