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.
1456 1457 1458 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1456 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
1449 1450 1451 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1449 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
1454 1455 1456 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1454 def machine @machine end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1461 1462 1463 1464 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1461 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @machine = args[:machine] if args.key?(:machine) end |