Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork
- 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
-
#ip_address ⇒ String
The IP address.
-
#wan_ip_address ⇒ String
The WAN IP address.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LastKnownNetwork
constructor
A new instance of LastKnownNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LastKnownNetwork
Returns a new instance of LastKnownNetwork.
1597 1598 1599 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
The IP address.
Corresponds to the JSON property ipAddress
1590 1591 1592 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1590 def ip_address @ip_address end |
#wan_ip_address ⇒ String
The WAN IP address.
Corresponds to the JSON property wanIpAddress
1595 1596 1597 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1595 def wan_ip_address @wan_ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1602 1603 1604 1605 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1602 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 |