Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ChromeOsDevice
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
Overview
Google Chrome devices run on the Chrome OS. For more information about common API tasks, see the Developer's Guide.
Defined Under Namespace
Classes: ActiveTimeRange, CpuInfo, CpuStatusReport, DeviceFile, DiskVolumeReport, LastKnownNetwork, RecentUser, ScreenshotFile, SystemRamFreeReport, TpmVersionInfo
Instance Attribute Summary collapse
-
#active_time_ranges ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange>
List of active time ranges (Read-only).
-
#annotated_asset_id ⇒ String
The asset identifier as noted by an administrator or specified during enrollment.
-
#annotated_location ⇒ String
The address or location of the device as noted by the administrator.
-
#annotated_user ⇒ String
The user of the device as noted by the administrator.
-
#auto_update_expiration ⇒ Fixnum
(Read-only) The timestamp after which the device will stop receiving Chrome updates or support Corresponds to the JSON property
autoUpdateExpiration. -
#boot_mode ⇒ String
The boot mode for the device.
-
#cpu_info ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo>
Information regarding CPU specs in the device.
-
#cpu_status_reports ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport>
Reports of CPU utilization and temperature (Read-only) Corresponds to the JSON property
cpuStatusReports. -
#device_files ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile>
List of device files to download (Read-only) Corresponds to the JSON property
deviceFiles. -
#device_id ⇒ String
The unique ID of the Chrome device.
-
#disk_volume_reports ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport>
Reports of disk space and other info about mounted/connected volumes.
-
#dock_mac_address ⇒ String
(Read-only) Built-in MAC address for the docking station that the device connected to.
-
#etag ⇒ String
ETag of the resource.
-
#ethernet_mac_address ⇒ String
The device's MAC address on the ethernet network interface.
-
#ethernet_mac_address0 ⇒ String
(Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard network (ethernet) interface.
-
#firmware_version ⇒ String
The Chrome device's firmware version.
-
#first_enrollment_time ⇒ String
Date and time for the first time the device was enrolled.
-
#kind ⇒ String
The type of resource.
-
#last_enrollment_time ⇒ DateTime
Date and time the device was last enrolled (Read-only) Corresponds to the JSON property
lastEnrollmentTime. -
#last_known_network ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork>
Contains last known network (Read-only) Corresponds to the JSON property
lastKnownNetwork. -
#last_sync ⇒ DateTime
Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only) Corresponds to the JSON property
lastSync. -
#mac_address ⇒ String
The device's wireless MAC address.
-
#manufacture_date ⇒ String
(Read-only) The date the device was manufactured in yyyy-mm-dd format.
-
#meid ⇒ String
The Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI) for the 3G mobile card in a mobile device.
-
#model ⇒ String
The device's model information.
-
#notes ⇒ String
Notes about this device added by the administrator.
-
#order_number ⇒ String
The device's order number.
-
#org_unit_id ⇒ String
The unique ID of the organizational unit.
-
#org_unit_path ⇒ String
The full parent path with the organizational unit's name associated with the device.
-
#os_update_status ⇒ Google::Apis::AdminDirectoryV1::OsUpdateStatus
Contains information regarding the current OS update status.
-
#os_version ⇒ String
The Chrome device's operating system version.
-
#platform_version ⇒ String
The Chrome device's platform version.
-
#recent_users ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser>
List of recent device users, in descending order, by last login time.
-
#screenshot_files ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ScreenshotFile>
List of screenshot files to download.
-
#serial_number ⇒ String
The Chrome device serial number entered when the device was enabled.
-
#status ⇒ String
The status of the device.
-
#support_end_date ⇒ DateTime
Final date the device will be supported (Read-only) Corresponds to the JSON property
supportEndDate. -
#system_ram_free_reports ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport>
Reports of amounts of available RAM memory (Read-only) Corresponds to the JSON property
systemRamFreeReports. -
#system_ram_total ⇒ Fixnum
Total RAM on the device in bytes Corresponds to the JSON property
systemRamTotal. -
#tpm_version_info ⇒ Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo
Trusted Platform Module (TPM) (Read-only) Corresponds to the JSON property
tpmVersionInfo. -
#will_auto_renew ⇒ Boolean
(also: #will_auto_renew?)
Determines if the device will auto renew its support after the support end date.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChromeOsDevice
constructor
A new instance of ChromeOsDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChromeOsDevice
Returns a new instance of ChromeOsDevice.
990 991 992 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 990 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_time_ranges ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange>
List of active time ranges (Read-only).
Corresponds to the JSON property activeTimeRanges
739 740 741 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 739 def active_time_ranges @active_time_ranges end |
#annotated_asset_id ⇒ String
The asset identifier as noted by an administrator or specified during
enrollment.
Corresponds to the JSON property annotatedAssetId
745 746 747 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 745 def annotated_asset_id @annotated_asset_id end |
#annotated_location ⇒ String
The address or location of the device as noted by the administrator. Maximum
length is 200 characters. Empty values are allowed.
Corresponds to the JSON property annotatedLocation
751 752 753 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 751 def annotated_location @annotated_location end |
#annotated_user ⇒ String
The user of the device as noted by the administrator. Maximum length is 100
characters. Empty values are allowed.
Corresponds to the JSON property annotatedUser
757 758 759 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 757 def annotated_user @annotated_user end |
#auto_update_expiration ⇒ Fixnum
(Read-only) The timestamp after which the device will stop receiving Chrome
updates or support
Corresponds to the JSON property autoUpdateExpiration
763 764 765 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 763 def auto_update_expiration @auto_update_expiration end |
#boot_mode ⇒ String
The boot mode for the device. The possible values are: * Verified: The
device is running a valid version of the Chrome OS. * Dev: The devices's
developer hardware switch is enabled. When booted, the device has a command
line shell. For an example of a developer switch, see the Chromebook
developer information.
Corresponds to the JSON property bootMode
774 775 776 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 774 def boot_mode @boot_mode end |
#cpu_info ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo>
Information regarding CPU specs in the device.
Corresponds to the JSON property cpuInfo
779 780 781 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 779 def cpu_info @cpu_info end |
#cpu_status_reports ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport>
Reports of CPU utilization and temperature (Read-only)
Corresponds to the JSON property cpuStatusReports
784 785 786 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 784 def cpu_status_reports @cpu_status_reports end |
#device_files ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile>
List of device files to download (Read-only)
Corresponds to the JSON property deviceFiles
789 790 791 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 789 def device_files @device_files end |
#device_id ⇒ String
The unique ID of the Chrome device.
Corresponds to the JSON property deviceId
794 795 796 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 794 def device_id @device_id end |
#disk_volume_reports ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport>
Reports of disk space and other info about mounted/connected volumes.
Corresponds to the JSON property diskVolumeReports
799 800 801 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 799 def disk_volume_reports @disk_volume_reports end |
#dock_mac_address ⇒ String
(Read-only) Built-in MAC address for the docking station that the device
connected to. Factory sets Media access control address (MAC address) assigned
for use by a dock. It is reserved specifically for MAC pass through device
policy. The format is twelve (12) hexadecimal digits without any delimiter (
uppercase letters). This is only relevant for some devices.
Corresponds to the JSON property dockMacAddress
808 809 810 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 808 def dock_mac_address @dock_mac_address end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
813 814 815 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 813 def etag @etag end |
#ethernet_mac_address ⇒ String
The device's MAC address on the ethernet network interface.
Corresponds to the JSON property ethernetMacAddress
818 819 820 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 818 def ethernet_mac_address @ethernet_mac_address end |
#ethernet_mac_address0 ⇒ String
(Read-only) MAC address used by the Chromebook’s internal ethernet port, and
for onboard network (ethernet) interface. The format is twelve (12)
hexadecimal digits without any delimiter (uppercase letters). This is only
relevant for some devices.
Corresponds to the JSON property ethernetMacAddress0
826 827 828 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 826 def ethernet_mac_address0 @ethernet_mac_address0 end |
#firmware_version ⇒ String
The Chrome device's firmware version.
Corresponds to the JSON property firmwareVersion
831 832 833 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 831 def firmware_version @firmware_version end |
#first_enrollment_time ⇒ String
Date and time for the first time the device was enrolled.
Corresponds to the JSON property firstEnrollmentTime
836 837 838 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 836 def first_enrollment_time @first_enrollment_time end |
#kind ⇒ String
The type of resource. For the Chromeosdevices resource, the value is admin#
directory#chromeosdevice.
Corresponds to the JSON property kind
842 843 844 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 842 def kind @kind end |
#last_enrollment_time ⇒ DateTime
Date and time the device was last enrolled (Read-only)
Corresponds to the JSON property lastEnrollmentTime
847 848 849 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 847 def last_enrollment_time @last_enrollment_time end |
#last_known_network ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork>
Contains last known network (Read-only)
Corresponds to the JSON property lastKnownNetwork
852 853 854 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 852 def last_known_network @last_known_network end |
#last_sync ⇒ DateTime
Date and time the device was last synchronized with the policy settings in the
G Suite administrator control panel (Read-only)
Corresponds to the JSON property lastSync
858 859 860 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 858 def last_sync @last_sync end |
#mac_address ⇒ String
The device's wireless MAC address. If the device does not have this
information, it is not included in the response.
Corresponds to the JSON property macAddress
864 865 866 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 864 def mac_address @mac_address end |
#manufacture_date ⇒ String
(Read-only) The date the device was manufactured in yyyy-mm-dd format.
Corresponds to the JSON property manufactureDate
869 870 871 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 869 def manufacture_date @manufacture_date end |
#meid ⇒ String
The Mobile Equipment Identifier (MEID) or the International Mobile Equipment
Identity (IMEI) for the 3G mobile card in a mobile device. A MEID/IMEI is
typically used when adding a device to a wireless carrier's post-pay service
plan. If the device does not have this information, this property is not
included in the response. For more information on how to export a MEID/IMEI
list, see the Developer's Guide.
Corresponds to the JSON property meid
880 881 882 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 880 def meid @meid end |
#model ⇒ String
The device's model information. If the device does not have this information,
this property is not included in the response.
Corresponds to the JSON property model
886 887 888 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 886 def model @model end |
#notes ⇒ String
894 895 896 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 894 def notes @notes end |
#order_number ⇒ String
The device's order number. Only devices directly purchased from Google have an
order number.
Corresponds to the JSON property orderNumber
900 901 902 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 900 def order_number @order_number end |
#org_unit_id ⇒ String
The unique ID of the organizational unit. orgUnitPath is the human readable
version of orgUnitId. While orgUnitPath may change by renaming an
organizational unit within the path, orgUnitId is unchangeable for one
organizational unit. This property can be updated using the API. For
more information about how to create an organizational structure for your
device, see the administration help center.
Corresponds to the JSON property orgUnitId
912 913 914 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 912 def org_unit_id @org_unit_id end |
#org_unit_path ⇒ String
The full parent path with the organizational unit's name associated with the
device. Path names are case insensitive. If the parent organizational unit is
the top-level organization, it is represented as a forward slash, /. This
property can be updated using the API. For more information about how to
create an organizational structure for your device, see the administration
help center.
Corresponds to the JSON property orgUnitPath
923 924 925 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 923 def org_unit_path @org_unit_path end |
#os_update_status ⇒ Google::Apis::AdminDirectoryV1::OsUpdateStatus
Contains information regarding the current OS update status.
Corresponds to the JSON property osUpdateStatus
928 929 930 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 928 def os_update_status @os_update_status end |
#os_version ⇒ String
The Chrome device's operating system version.
Corresponds to the JSON property osVersion
933 934 935 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 933 def os_version @os_version end |
#platform_version ⇒ String
The Chrome device's platform version.
Corresponds to the JSON property platformVersion
938 939 940 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 938 def platform_version @platform_version end |
#recent_users ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser>
List of recent device users, in descending order, by last login time.
Corresponds to the JSON property recentUsers
943 944 945 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 943 def recent_users @recent_users end |
#screenshot_files ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ScreenshotFile>
List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-
only)
Corresponds to the JSON property screenshotFiles
949 950 951 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 949 def screenshot_files @screenshot_files end |
#serial_number ⇒ String
The Chrome device serial number entered when the device was enabled. This
value is the same as the Admin console's Serial Number in the Chrome OS
Devices tab.
Corresponds to the JSON property serialNumber
956 957 958 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 956 def serial_number @serial_number end |
#status ⇒ String
The status of the device.
Corresponds to the JSON property status
961 962 963 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 961 def status @status end |
#support_end_date ⇒ DateTime
Final date the device will be supported (Read-only)
Corresponds to the JSON property supportEndDate
966 967 968 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 966 def support_end_date @support_end_date end |
#system_ram_free_reports ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport>
Reports of amounts of available RAM memory (Read-only)
Corresponds to the JSON property systemRamFreeReports
971 972 973 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 971 def system_ram_free_reports @system_ram_free_reports end |
#system_ram_total ⇒ Fixnum
Total RAM on the device in bytes
Corresponds to the JSON property systemRamTotal
976 977 978 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 976 def system_ram_total @system_ram_total end |
#tpm_version_info ⇒ Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo
Trusted Platform Module (TPM) (Read-only)
Corresponds to the JSON property tpmVersionInfo
981 982 983 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 981 def tpm_version_info @tpm_version_info end |
#will_auto_renew ⇒ Boolean Also known as: will_auto_renew?
Determines if the device will auto renew its support after the support end
date. This is a read-only property.
Corresponds to the JSON property willAutoRenew
987 988 989 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 987 def will_auto_renew @will_auto_renew end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 995 def update!(**args) @active_time_ranges = args[:active_time_ranges] if args.key?(:active_time_ranges) @annotated_asset_id = args[:annotated_asset_id] if args.key?(:annotated_asset_id) @annotated_location = args[:annotated_location] if args.key?(:annotated_location) @annotated_user = args[:annotated_user] if args.key?(:annotated_user) @auto_update_expiration = args[:auto_update_expiration] if args.key?(:auto_update_expiration) @boot_mode = args[:boot_mode] if args.key?(:boot_mode) @cpu_info = args[:cpu_info] if args.key?(:cpu_info) @cpu_status_reports = args[:cpu_status_reports] if args.key?(:cpu_status_reports) @device_files = args[:device_files] if args.key?(:device_files) @device_id = args[:device_id] if args.key?(:device_id) @disk_volume_reports = args[:disk_volume_reports] if args.key?(:disk_volume_reports) @dock_mac_address = args[:dock_mac_address] if args.key?(:dock_mac_address) @etag = args[:etag] if args.key?(:etag) @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address) @ethernet_mac_address0 = args[:ethernet_mac_address0] if args.key?(:ethernet_mac_address0) @firmware_version = args[:firmware_version] if args.key?(:firmware_version) @first_enrollment_time = args[:first_enrollment_time] if args.key?(:first_enrollment_time) @kind = args[:kind] if args.key?(:kind) @last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time) @last_known_network = args[:last_known_network] if args.key?(:last_known_network) @last_sync = args[:last_sync] if args.key?(:last_sync) @mac_address = args[:mac_address] if args.key?(:mac_address) @manufacture_date = args[:manufacture_date] if args.key?(:manufacture_date) @meid = args[:meid] if args.key?(:meid) @model = args[:model] if args.key?(:model) @notes = args[:notes] if args.key?(:notes) @order_number = args[:order_number] if args.key?(:order_number) @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id) @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path) @os_update_status = args[:os_update_status] if args.key?(:os_update_status) @os_version = args[:os_version] if args.key?(:os_version) @platform_version = args[:platform_version] if args.key?(:platform_version) @recent_users = args[:recent_users] if args.key?(:recent_users) @screenshot_files = args[:screenshot_files] if args.key?(:screenshot_files) @serial_number = args[:serial_number] if args.key?(:serial_number) @status = args[:status] if args.key?(:status) @support_end_date = args[:support_end_date] if args.key?(:support_end_date) @system_ram_free_reports = args[:system_ram_free_reports] if args.key?(:system_ram_free_reports) @system_ram_total = args[:system_ram_total] if args.key?(:system_ram_total) @tpm_version_info = args[:tpm_version_info] if args.key?(:tpm_version_info) @will_auto_renew = args[:will_auto_renew] if args.key?(:will_auto_renew) end |