Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
- 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 the ChromeOS device that a CertificateProvisioningProcess belongs
to.
Instance Attribute Summary collapse
-
#device_directory_api_id ⇒ String
Output only.
-
#serial_number ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
constructor
A new instance of GoogleChromeManagementVersionsV1alpha1ChromeOsDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
Returns a new instance of GoogleChromeManagementVersionsV1alpha1ChromeOsDevice.
4734 4735 4736 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4734 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_directory_api_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 deviceDirectoryApiId
4726 4727 4728 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4726 def device_directory_api_id @device_directory_api_id end |
#serial_number ⇒ String
Output only. Device serial number. This value is the same as the Admin Console'
s Serial Number in the ChromeOS Devices tab.
Corresponds to the JSON property serialNumber
4732 4733 4734 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4732 def serial_number @serial_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4739 4740 4741 4742 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4739 def update!(**args) @device_directory_api_id = args[:device_directory_api_id] if args.key?(:device_directory_api_id) @serial_number = args[:serial_number] if args.key?(:serial_number) end |