Class: Google::Apis::ComputeV1::WireEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::WireEndpoint
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.
67584 67585 67586 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67584 def initialize(**args) update!(**args) end |
Instance Attribute Details
#interconnect ⇒ String
Corresponds to the JSON property interconnect
67577 67578 67579 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67577 def interconnect @interconnect end |
#vlan_tag ⇒ Fixnum
Corresponds to the JSON property vlanTag
67582 67583 67584 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67582 def vlan_tag @vlan_tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
67589 67590 67591 67592 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67589 def update!(**args) @interconnect = args[:interconnect] if args.key?(:interconnect) @vlan_tag = args[:vlan_tag] if args.key?(:vlan_tag) end |