Class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry

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

Describing the ARP neighbor entries seen on this link

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectDiagnosticsArpEntry

Returns a new instance of InterconnectDiagnosticsArpEntry.



22223
22224
22225
# File 'lib/google/apis/compute_alpha/classes.rb', line 22223

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

Instance Attribute Details

#ip_addressString

The IP address of this ARP neighbor. Corresponds to the JSON property ipAddress

Returns:

  • (String)


22216
22217
22218
# File 'lib/google/apis/compute_alpha/classes.rb', line 22216

def ip_address
  @ip_address
end

#mac_addressString

The MAC address of this ARP neighbor. Corresponds to the JSON property macAddress

Returns:

  • (String)


22221
22222
22223
# File 'lib/google/apis/compute_alpha/classes.rb', line 22221

def mac_address
  @mac_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22228
22229
22230
22231
# File 'lib/google/apis/compute_alpha/classes.rb', line 22228

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