class Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Edge

A directional edge.

Attributes

source_node[RW]

The source node of the edge. Corresponds to the JSON property `sourceNode` @return [String]

target_node[RW]

The target node of the edge. Corresponds to the JSON property `targetNode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1p4beta1/classes.rb, line 501
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_v1p4beta1/classes.rb, line 506
def update!(**args)
  @source_node = args[:source_node] if args.key?(:source_node)
  @target_node = args[:target_node] if args.key?(:target_node)
end