Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ChromeOsDevice
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb
Overview
JSON template for Chrome Os Device resource in Directory API.
Defined Under Namespace
Classes: ActiveTimeRange, CpuStatusReport, DeviceFile, DiskVolumeReport, RecentUser, SystemRamFreeReport, TpmVersionInfo
Instance Attribute Summary collapse
-
#active_time_ranges ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange>
List of active time ranges (Read-only) Corresponds to the JSON property
activeTimeRanges
. -
#annotated_asset_id ⇒ String
AssetId specified during enrollment or through later annotation Corresponds to the JSON property
annotatedAssetId
. -
#annotated_location ⇒ String
Address or location of the device as noted by the administrator Corresponds to the JSON property
annotatedLocation
. -
#annotated_user ⇒ String
User of the device Corresponds to the JSON property
annotatedUser
. -
#boot_mode ⇒ String
Chromebook boot mode (Read-only) Corresponds to the JSON property
bootMode
. -
#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
Unique identifier of Chrome OS Device (Read-only) Corresponds to the JSON property
deviceId
. -
#disk_volume_reports ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport>
Reports of disk space and other info about mounted/connected volumes.
-
#etag ⇒ String
ETag of the resource.
-
#ethernet_mac_address ⇒ String
Chromebook Mac Address on ethernet network interface (Read-only) Corresponds to the JSON property
ethernetMacAddress
. -
#firmware_version ⇒ String
Chromebook firmware version (Read-only) Corresponds to the JSON property
firmwareVersion
. -
#kind ⇒ String
Kind of resource this is.
-
#last_enrollment_time ⇒ DateTime
Date and time the device was last enrolled (Read-only) Corresponds to the JSON property
lastEnrollmentTime
. -
#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
Chromebook Mac Address on wifi network interface (Read-only) Corresponds to the JSON property
macAddress
. -
#meid ⇒ String
Mobile Equipment identifier for the 3G mobile card in the Chromebook (Read- only) Corresponds to the JSON property
meid
. -
#model ⇒ String
Chromebook Model (Read-only) Corresponds to the JSON property
model
. -
#notes ⇒ String
Notes added by the administrator Corresponds to the JSON property
notes
. -
#order_number ⇒ String
Chromebook order number (Read-only) Corresponds to the JSON property
orderNumber
. -
#org_unit_path ⇒ String
OrgUnit of the device Corresponds to the JSON property
orgUnitPath
. -
#os_version ⇒ String
Chromebook Os Version (Read-only) Corresponds to the JSON property
osVersion
. -
#platform_version ⇒ String
Chromebook platform version (Read-only) Corresponds to the JSON property
platformVersion
. -
#recent_users ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser>
List of recent device users, in descending order by last login time (Read-only) Corresponds to the JSON property
recentUsers
. -
#serial_number ⇒ String
Chromebook serial number (Read-only) Corresponds to the JSON property
serialNumber
. -
#status ⇒ String
status of the device (Read-only) Corresponds to the JSON property
status
. -
#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?)
Will Chromebook auto renew after support end date (Read-only) Corresponds to the JSON property
willAutoRenew
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChromeOsDevice
constructor
A new instance of ChromeOsDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChromeOsDevice
Returns a new instance of ChromeOsDevice
859 860 861 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 859 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
704 705 706 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 704 def active_time_ranges @active_time_ranges end |
#annotated_asset_id ⇒ String
AssetId specified during enrollment or through later annotation
Corresponds to the JSON property annotatedAssetId
709 710 711 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 709 def annotated_asset_id @annotated_asset_id end |
#annotated_location ⇒ String
Address or location of the device as noted by the administrator
Corresponds to the JSON property annotatedLocation
714 715 716 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 714 def annotated_location @annotated_location end |
#annotated_user ⇒ String
User of the device
Corresponds to the JSON property annotatedUser
719 720 721 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 719 def annotated_user @annotated_user end |
#boot_mode ⇒ String
Chromebook boot mode (Read-only)
Corresponds to the JSON property bootMode
724 725 726 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 724 def boot_mode @boot_mode end |
#cpu_status_reports ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport>
Reports of CPU utilization and temperature (Read-only)
Corresponds to the JSON property cpuStatusReports
729 730 731 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 729 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
734 735 736 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 734 def device_files @device_files end |
#device_id ⇒ String
Unique identifier of Chrome OS Device (Read-only)
Corresponds to the JSON property deviceId
739 740 741 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 739 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
744 745 746 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 744 def disk_volume_reports @disk_volume_reports end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
749 750 751 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 749 def etag @etag end |
#ethernet_mac_address ⇒ String
Chromebook Mac Address on ethernet network interface (Read-only)
Corresponds to the JSON property ethernetMacAddress
754 755 756 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 754 def ethernet_mac_address @ethernet_mac_address end |
#firmware_version ⇒ String
Chromebook firmware version (Read-only)
Corresponds to the JSON property firmwareVersion
759 760 761 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 759 def firmware_version @firmware_version end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
764 765 766 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 764 def kind @kind end |
#last_enrollment_time ⇒ DateTime
Date and time the device was last enrolled (Read-only)
Corresponds to the JSON property lastEnrollmentTime
769 770 771 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 769 def last_enrollment_time @last_enrollment_time 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
775 776 777 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 775 def last_sync @last_sync end |
#mac_address ⇒ String
Chromebook Mac Address on wifi network interface (Read-only)
Corresponds to the JSON property macAddress
780 781 782 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 780 def mac_address @mac_address end |
#meid ⇒ String
Mobile Equipment identifier for the 3G mobile card in the Chromebook (Read-
only)
Corresponds to the JSON property meid
786 787 788 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 786 def meid @meid end |
#model ⇒ String
Chromebook Model (Read-only)
Corresponds to the JSON property model
791 792 793 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 791 def model @model end |
#notes ⇒ String
Notes added by the administrator
Corresponds to the JSON property notes
796 797 798 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 796 def notes @notes end |
#order_number ⇒ String
Chromebook order number (Read-only)
Corresponds to the JSON property orderNumber
801 802 803 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 801 def order_number @order_number end |
#org_unit_path ⇒ String
OrgUnit of the device
Corresponds to the JSON property orgUnitPath
806 807 808 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 806 def org_unit_path @org_unit_path end |
#os_version ⇒ String
Chromebook Os Version (Read-only)
Corresponds to the JSON property osVersion
811 812 813 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 811 def os_version @os_version end |
#platform_version ⇒ String
Chromebook platform version (Read-only)
Corresponds to the JSON property platformVersion
816 817 818 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 816 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 (Read-only)
Corresponds to the JSON property recentUsers
821 822 823 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 821 def recent_users @recent_users end |
#serial_number ⇒ String
Chromebook serial number (Read-only)
Corresponds to the JSON property serialNumber
826 827 828 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 826 def serial_number @serial_number end |
#status ⇒ String
status of the device (Read-only)
Corresponds to the JSON property status
831 832 833 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 831 def status @status end |
#support_end_date ⇒ DateTime
Final date the device will be supported (Read-only)
Corresponds to the JSON property supportEndDate
836 837 838 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 836 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
841 842 843 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 841 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
846 847 848 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 846 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
851 852 853 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 851 def tpm_version_info @tpm_version_info end |
#will_auto_renew ⇒ Boolean Also known as: will_auto_renew?
Will Chromebook auto renew after support end date (Read-only)
Corresponds to the JSON property willAutoRenew
856 857 858 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 856 def will_auto_renew @will_auto_renew end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 864 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) @boot_mode = args[:boot_mode] if args.key?(:boot_mode) @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) @etag = args[:etag] if args.key?(:etag) @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address) @firmware_version = args[:firmware_version] if args.key?(:firmware_version) @kind = args[:kind] if args.key?(:kind) @last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time) @last_sync = args[:last_sync] if args.key?(:last_sync) @mac_address = args[:mac_address] if args.key?(:mac_address) @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_path = args[:org_unit_path] if args.key?(:org_unit_path) @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) @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 |