Class: Google::Apis::ComputeAlpha::WireEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::WireEndpoint
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/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.
62621 62622 62623 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 62621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#interconnect ⇒ String
Corresponds to the JSON property interconnect
62614 62615 62616 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 62614 def interconnect @interconnect end |
#vlan_tag ⇒ Fixnum
Corresponds to the JSON property vlanTag
62619 62620 62621 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 62619 def vlan_tag @vlan_tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62626 62627 62628 62629 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 62626 def update!(**args) @interconnect = args[:interconnect] if args.key?(:interconnect) @vlan_tag = args[:vlan_tag] if args.key?(:vlan_tag) end |