Class: Google::Apis::SecuritycenterV1beta2::Edge
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Edge
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Overview
Represents a connection between a source node and a destination node in this exposure path.
Instance Attribute Summary collapse
-
#destination ⇒ String
This is the resource name of the destination node.
-
#source ⇒ String
This is the resource name of the source node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Edge
constructor
A new instance of Edge.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Edge
Returns a new instance of Edge.
676 677 678 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
This is the resource name of the destination node.
Corresponds to the JSON property destination
669 670 671 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 669 def destination @destination end |
#source ⇒ String
This is the resource name of the source node.
Corresponds to the JSON property source
674 675 676 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 674 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
681 682 683 684 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 681 def update!(**args) @destination = args[:destination] if args.key?(:destination) @source = args[:source] if args.key?(:source) end |