Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryDeviceInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryDeviceInfo
- 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
Information about a device associated with telemetry data. * Granular Permission needed: TELEMETRY_API_DEVICE
Instance Attribute Summary collapse
-
#device_id ⇒ String
Output only.
-
#org_unit_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryDeviceInfo
constructor
A new instance of GoogleChromeManagementV1TelemetryDeviceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryDeviceInfo
Returns a new instance of GoogleChromeManagementV1TelemetryDeviceInfo.
3277 3278 3279 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ String
Output only. The unique Directory API ID of the device. This value is the same
as the Admin Console's Directory API ID in the ChromeOS Devices tab.
Corresponds to the JSON property deviceId
3270 3271 3272 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3270 def device_id @device_id end |
#org_unit_id ⇒ String
Output only. Organization unit ID of the device.
Corresponds to the JSON property orgUnitId
3275 3276 3277 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3275 def org_unit_id @org_unit_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3282 3283 3284 3285 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3282 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id) end |