Class RelationshipAttributes (2.10.0)

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

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