[Obsolete]
public sealed class RelationshipAttributes : IMessage<RelationshipAttributes>, IEquatable<RelationshipAttributes>, IDeepCloneable<RelationshipAttributes>, IBufferMessage, IMessageReference 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.
Implements
IMessageRelationshipAttributes, IEquatableRelationshipAttributes, IDeepCloneableRelationshipAttributes, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
RelationshipAttributes()
public RelationshipAttributes()RelationshipAttributes(RelationshipAttributes)
public RelationshipAttributes(RelationshipAttributes other)| Parameter | |
|---|---|
| Name | Description |
other |
RelationshipAttributes |
Properties
Action
public string Action { get; set; }The detail of the relationship, e.g. contains, attaches
| Property Value | |
|---|---|
| Type | Description |
string |
|
SourceResourceType
public string SourceResourceType { get; set; }The source asset type. Example: compute.googleapis.com/Instance
| Property Value | |
|---|---|
| Type | Description |
string |
|
TargetResourceType
public string TargetResourceType { get; set; }The target asset type. Example: compute.googleapis.com/Disk
| Property Value | |
|---|---|
| Type | Description |
string |
|
Type
public string Type { get; set; }The unique identifier of the relationship type. Example:
INSTANCE_TO_INSTANCEGROUP
| Property Value | |
|---|---|
| Type | Description |
string |
|