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.
867 868 869 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 867 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
860 861 862 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 860 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
865 866 867 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 865 def machine @machine end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
872 873 874 875 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 872 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @machine = args[:machine] if args.key?(:machine) end |