Google Cloud Asset Inventory v1 API - Class RelationshipAttributes (3.8.0)

[Obsolete]
public sealed class RelationshipAttributes : IMessage<RelationshipAttributes>, IEquatable<RelationshipAttributes>, IDeepCloneable<RelationshipAttributes>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class RelationshipAttributes.

DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. The relationship attributes which include type, source_resource_type, target_resource_type and action.

Inheritance

object > RelationshipAttributes

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

RelationshipAttributes()

public RelationshipAttributes()

RelationshipAttributes(RelationshipAttributes)

public RelationshipAttributes(RelationshipAttributes other)
Parameter
NameDescription
otherRelationshipAttributes

Properties

Action

public string Action { get; set; }

The detail of the relationship, e.g. contains, attaches

Property Value
TypeDescription
string

SourceResourceType

public string SourceResourceType { get; set; }

The source asset type. Example: compute.googleapis.com/Instance

Property Value
TypeDescription
string

TargetResourceType

public string TargetResourceType { get; set; }

The target asset type. Example: compute.googleapis.com/Disk

Property Value
TypeDescription
string

Type

public string Type { get; set; }

The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP

Property Value
TypeDescription
string