Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1Device
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1Device
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
Describes a device reporting Chrome browser information.
Instance Attribute Summary collapse
-
#device_id ⇒ String
Output only.
-
#machine ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1Device
constructor
A new instance of GoogleChromeManagementV1Device.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1Device
Returns a new instance of GoogleChromeManagementV1Device.
1331 1332 1333 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1331 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ String
Output only. The ID of the device that reported this Chrome browser
information.
Corresponds to the JSON property deviceId
1324 1325 1326 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1324 def device_id @device_id end |
#machine ⇒ String
Output only. The name of the machine within its local network.
Corresponds to the JSON property machine
1329 1330 1331 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1329 def machine @machine end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1336 1337 1338 1339 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1336 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @machine = args[:machine] if args.key?(:machine) end |