Class: Google::Apis::ComputeBeta::WireEndpoint

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WireEndpoint

Returns a new instance of WireEndpoint.



73830
73831
73832
# File 'lib/google/apis/compute_beta/classes.rb', line 73830

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

Instance Attribute Details

#interconnectString

Corresponds to the JSON property interconnect

Returns:

  • (String)


73823
73824
73825
# File 'lib/google/apis/compute_beta/classes.rb', line 73823

def interconnect
  @interconnect
end

#vlan_tagFixnum

Corresponds to the JSON property vlanTag

Returns:

  • (Fixnum)


73828
73829
73830
# File 'lib/google/apis/compute_beta/classes.rb', line 73828

def vlan_tag
  @vlan_tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



73835
73836
73837
73838
# File 'lib/google/apis/compute_beta/classes.rb', line 73835

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