Class: Google::Apis::ComputeBeta::WireEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::WireEndpoint
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Overview
Wire endpoints are specific Interconnect connections.
Instance Attribute Summary collapse
-
#interconnect ⇒ String
Corresponds to the JSON property
interconnect. -
#vlan_tag ⇒ Fixnum
Corresponds to the JSON property
vlanTag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WireEndpoint
constructor
A new instance of WireEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WireEndpoint
Returns a new instance of WireEndpoint.
72561 72562 72563 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72561 def initialize(**args) update!(**args) end |
Instance Attribute Details
#interconnect ⇒ String
Corresponds to the JSON property interconnect
72554 72555 72556 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72554 def interconnect @interconnect end |
#vlan_tag ⇒ Fixnum
Corresponds to the JSON property vlanTag
72559 72560 72561 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72559 def vlan_tag @vlan_tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72566 72567 72568 72569 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72566 def update!(**args) @interconnect = args[:interconnect] if args.key?(:interconnect) @vlan_tag = args[:vlan_tag] if args.key?(:vlan_tag) end |