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.



2835
2836
2837
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2835

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)


2823
2824
2825
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2823

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)


2828
2829
2830
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2828

def total_disk_bytes
  @total_disk_bytes
end

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

Information for disk volumes Corresponds to the JSON property volume



2833
2834
2835
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2833

def volume
  @volume
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2840
2841
2842
2843
2844
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2840

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