Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb

Overview

Information for an ip address.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LastKnownNetwork

Returns a new instance of LastKnownNetwork.



1640
1641
1642
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1640

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

Instance Attribute Details

#ip_addressString

The IP address. Corresponds to the JSON property ipAddress

Returns:

  • (String)


1633
1634
1635
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1633

def ip_address
  @ip_address
end

#wan_ip_addressString

The WAN IP address. Corresponds to the JSON property wanIpAddress

Returns:

  • (String)


1638
1639
1640
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1638

def wan_ip_address
  @wan_ip_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1645
1646
1647
1648
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1645

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