class Google::Apis::CloudassetV1::GoogleCloudAssetV1Edge

A directional edge.

Attributes

source_node[RW]

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity. Corresponds to the JSON property `sourceNode` @return [String]

target_node[RW]

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity. Corresponds to the JSON property `targetNode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 1159
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1/classes.rb, line 1164
def update!(**args)
  @source_node = args[:source_node] if args.key?(:source_node)
  @target_node = args[:target_node] if args.key?(:target_node)
end