Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo

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

Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceStorageStatus * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes

  • Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_STORAGE_INFO

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1StorageInfo

Returns a new instance of GoogleChromeManagementV1StorageInfo.



2931
2932
2933
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2931

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

Instance Attribute Details

#available_disk_bytesFixnum

The available space for user data storage in the device in bytes. Corresponds to the JSON property availableDiskBytes

Returns:

  • (Fixnum)


2919
2920
2921
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2919

def available_disk_bytes
  @available_disk_bytes
end

#total_disk_bytesFixnum

The total space for user data storage in the device in bytes. Corresponds to the JSON property totalDiskBytes

Returns:

  • (Fixnum)


2924
2925
2926
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2924

def total_disk_bytes
  @total_disk_bytes
end

#volumeArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfoDiskVolume>

Information for disk volumes Corresponds to the JSON property volume



2929
2930
2931
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2929

def volume
  @volume
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2936
2937
2938
2939
2940
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2936

def update!(**args)
  @available_disk_bytes = args[:available_disk_bytes] if args.key?(:available_disk_bytes)
  @total_disk_bytes = args[:total_disk_bytes] if args.key?(:total_disk_bytes)
  @volume = args[:volume] if args.key?(:volume)
end