Class: Google::Apis::ComputeV1::WireEndpoint

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WireEndpoint

Returns a new instance of WireEndpoint.



69706
69707
69708
# File 'lib/google/apis/compute_v1/classes.rb', line 69706

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#interconnectString

Corresponds to the JSON property interconnect

Returns:

  • (String)


69699
69700
69701
# File 'lib/google/apis/compute_v1/classes.rb', line 69699

def interconnect
  @interconnect
end

#vlan_tagFixnum

Corresponds to the JSON property vlanTag

Returns:

  • (Fixnum)


69704
69705
69706
# File 'lib/google/apis/compute_v1/classes.rb', line 69704

def vlan_tag
  @vlan_tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69711
69712
69713
69714
# File 'lib/google/apis/compute_v1/classes.rb', line 69711

def update!(**args)
  @interconnect = args[:interconnect] if args.key?(:interconnect)
  @vlan_tag = args[:vlan_tag] if args.key?(:vlan_tag)
end