Class: Google::Apis::ComputeAlpha::WireEndpoint

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WireEndpoint

Returns a new instance of WireEndpoint.



83969
83970
83971
# File 'lib/google/apis/compute_alpha/classes.rb', line 83969

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

Instance Attribute Details

#interconnectString

Corresponds to the JSON property interconnect

Returns:

  • (String)


83962
83963
83964
# File 'lib/google/apis/compute_alpha/classes.rb', line 83962

def interconnect
  @interconnect
end

#vlan_tagFixnum

Corresponds to the JSON property vlanTag

Returns:

  • (Fixnum)


83967
83968
83969
# File 'lib/google/apis/compute_alpha/classes.rb', line 83967

def vlan_tag
  @vlan_tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



83974
83975
83976
83977
# File 'lib/google/apis/compute_alpha/classes.rb', line 83974

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