Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice

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

STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/ stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)

Defined Under Namespace

Classes: ActiveTimeRange, CpuStatusReport, DeviceFile, DiskVolumeReport, LastKnownNetwork, RecentUser, SystemRamFreeReport, TpmVersionInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ChromeOsDevice

Returns a new instance of ChromeOsDevice.


800
801
802
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 800

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

Instance Attribute Details

#active_time_rangesArray<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange>

List of active time ranges (Read-only) Corresponds to the JSON property activeTimeRanges


611
612
613
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 611

def active_time_ranges
  @active_time_ranges
end

#annotated_asset_idString

AssetId specified during enrollment or through later annotation Corresponds to the JSON property annotatedAssetId

Returns:

  • (String)

616
617
618
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 616

def annotated_asset_id
  @annotated_asset_id
end

#annotated_locationString

Address or location of the device as noted by the administrator Corresponds to the JSON property annotatedLocation

Returns:

  • (String)

621
622
623
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 621

def annotated_location
  @annotated_location
end

#annotated_userString

User of the device Corresponds to the JSON property annotatedUser

Returns:

  • (String)

626
627
628
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 626

def annotated_user
  @annotated_user
end

#auto_update_expirationFixnum

(Read-only) The timestamp after which the device will stop receiving Chrome updates or support Corresponds to the JSON property autoUpdateExpiration

Returns:

  • (Fixnum)

632
633
634
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 632

def auto_update_expiration
  @auto_update_expiration
end

#boot_modeString

Chromebook boot mode (Read-only) Corresponds to the JSON property bootMode

Returns:

  • (String)

637
638
639
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 637

def boot_mode
  @boot_mode
end

#cpu_status_reportsArray<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport>

Reports of CPU utilization and temperature (Read-only) Corresponds to the JSON property cpuStatusReports


642
643
644
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 642

def cpu_status_reports
  @cpu_status_reports
end

#device_filesArray<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile>

List of device files to download (Read-only) Corresponds to the JSON property deviceFiles


647
648
649
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 647

def device_files
  @device_files
end

#device_idString

Unique identifier of Chrome OS Device (Read-only) Corresponds to the JSON property deviceId

Returns:

  • (String)

652
653
654
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 652

def device_id
  @device_id
end

#disk_volume_reportsArray<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport>

Reports of disk space and other info about mounted/connected volumes. Corresponds to the JSON property diskVolumeReports


657
658
659
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 657

def disk_volume_reports
  @disk_volume_reports
end

#dock_mac_addressString

(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

Returns:

  • (String)

666
667
668
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 666

def dock_mac_address
  @dock_mac_address
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

671
672
673
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 671

def etag
  @etag
end

#ethernet_mac_addressString

Chromebook Mac Address on ethernet network interface (Read-only) Corresponds to the JSON property ethernetMacAddress

Returns:

  • (String)

676
677
678
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 676

def ethernet_mac_address
  @ethernet_mac_address
end

#ethernet_mac_address0String

(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

Returns:

  • (String)

684
685
686
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 684

def ethernet_mac_address0
  @ethernet_mac_address0
end

#firmware_versionString

Chromebook firmware version (Read-only) Corresponds to the JSON property firmwareVersion

Returns:

  • (String)

689
690
691
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 689

def firmware_version
  @firmware_version
end

#kindString

Kind of resource this is. Corresponds to the JSON property kind

Returns:

  • (String)

694
695
696
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 694

def kind
  @kind
end

#last_enrollment_timeDateTime

Date and time the device was last enrolled (Read-only) Corresponds to the JSON property lastEnrollmentTime

Returns:

  • (DateTime)

699
700
701
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 699

def last_enrollment_time
  @last_enrollment_time
end

#last_known_networkArray<Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork>

Contains last known network (Read-only) Corresponds to the JSON property lastKnownNetwork


704
705
706
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 704

def last_known_network
  @last_known_network
end

#last_syncDateTime

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

Returns:

  • (DateTime)

710
711
712
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 710

def last_sync
  @last_sync
end

#mac_addressString

Chromebook Mac Address on wifi network interface (Read-only) Corresponds to the JSON property macAddress

Returns:

  • (String)

715
716
717
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 715

def mac_address
  @mac_address
end

#manufacture_dateString

(Read-only) The date the device was manufactured in yyyy-mm-dd format. Corresponds to the JSON property manufactureDate

Returns:

  • (String)

720
721
722
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 720

def manufacture_date
  @manufacture_date
end

#meidString

Contains either the Mobile Equipment identifier (MEID) or the International Mobile Equipment Identity (IMEI) for the 3G mobile card in the Chromebook ( Read-only) Corresponds to the JSON property meid

Returns:

  • (String)

727
728
729
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 727

def meid
  @meid
end

#modelString

Chromebook Model (Read-only) Corresponds to the JSON property model

Returns:

  • (String)

732
733
734
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 732

def model
  @model
end

#notesString

Notes added by the administrator Corresponds to the JSON property notes

Returns:

  • (String)

737
738
739
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 737

def notes
  @notes
end

#order_numberString

Chromebook order number (Read-only) Corresponds to the JSON property orderNumber

Returns:

  • (String)

742
743
744
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 742

def order_number
  @order_number
end

#org_unit_pathString

OrgUnit of the device Corresponds to the JSON property orgUnitPath

Returns:

  • (String)

747
748
749
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 747

def org_unit_path
  @org_unit_path
end

#os_versionString

Chromebook Os Version (Read-only) Corresponds to the JSON property osVersion

Returns:

  • (String)

752
753
754
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 752

def os_version
  @os_version
end

#platform_versionString

Chromebook platform version (Read-only) Corresponds to the JSON property platformVersion

Returns:

  • (String)

757
758
759
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 757

def platform_version
  @platform_version
end

#recent_usersArray<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


762
763
764
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 762

def recent_users
  @recent_users
end

#serial_numberString

Chromebook serial number (Read-only) Corresponds to the JSON property serialNumber

Returns:

  • (String)

767
768
769
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 767

def serial_number
  @serial_number
end

#statusString

status of the device (Read-only) Corresponds to the JSON property status

Returns:

  • (String)

772
773
774
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 772

def status
  @status
end

#support_end_dateDateTime

Final date the device will be supported (Read-only) Corresponds to the JSON property supportEndDate

Returns:

  • (DateTime)

777
778
779
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 777

def support_end_date
  @support_end_date
end

#system_ram_free_reportsArray<Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport>

Reports of amounts of available RAM memory (Read-only) Corresponds to the JSON property systemRamFreeReports


782
783
784
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 782

def system_ram_free_reports
  @system_ram_free_reports
end

#system_ram_totalFixnum

Total RAM on the device in bytes Corresponds to the JSON property systemRamTotal

Returns:

  • (Fixnum)

787
788
789
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 787

def system_ram_total
  @system_ram_total
end

#tpm_version_infoGoogle::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo

Trusted Platform Module (TPM) (Read-only) Corresponds to the JSON property tpmVersionInfo


792
793
794
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 792

def tpm_version_info
  @tpm_version_info
end

#will_auto_renewBoolean Also known as: will_auto_renew?

Will Chromebook auto renew after support end date (Read-only) Corresponds to the JSON property willAutoRenew

Returns:

  • (Boolean)

797
798
799
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 797

def will_auto_renew
  @will_auto_renew
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 805

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_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)
  @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_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