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.



3107
3108
3109
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3107

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)


3095
3096
3097
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3095

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)


3100
3101
3102
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3100

def total_disk_bytes
  @total_disk_bytes
end

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

Information for disk volumes Corresponds to the JSON property volume



3105
3106
3107
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3105

def volume
  @volume
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3112
3113
3114
3115
3116
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3112

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