Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryDeviceInfo

Inherits:
Object
  • Object
show all
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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryDeviceInfo

Returns a new instance of GoogleChromeManagementV1TelemetryDeviceInfo.



2588
2589
2590
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2588

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_idString

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

Returns:

  • (String)


2581
2582
2583
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2581

def device_id
  @device_id
end

#org_unit_idString

Output only. Organization unit ID of the device. Corresponds to the JSON property orgUnitId

Returns:

  • (String)


2586
2587
2588
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2586

def org_unit_id
  @org_unit_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2593
2594
2595
2596
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2593

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