Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse

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

Response containing the number of devices with the given boot type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CountDevicesPerBootTypeResponse

Returns a new instance of GoogleChromeManagementV1CountDevicesPerBootTypeResponse.



1171
1172
1173
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1171

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

Instance Attribute Details

#dev_boot_type_countFixnum

Number of devices with dev boot type. Corresponds to the JSON property devBootTypeCount

Returns:

  • (Fixnum)


1159
1160
1161
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1159

def dev_boot_type_count
  @dev_boot_type_count
end

#unreported_boot_type_countFixnum

Number of devices with unreported boot type. Corresponds to the JSON property unreportedBootTypeCount

Returns:

  • (Fixnum)


1164
1165
1166
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1164

def unreported_boot_type_count
  @unreported_boot_type_count
end

#verified_boot_type_countFixnum

Number of devices with verified boot type. Corresponds to the JSON property verifiedBootTypeCount

Returns:

  • (Fixnum)


1169
1170
1171
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1169

def verified_boot_type_count
  @verified_boot_type_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1176
1177
1178
1179
1180
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1176

def update!(**args)
  @dev_boot_type_count = args[:dev_boot_type_count] if args.key?(:dev_boot_type_count)
  @unreported_boot_type_count = args[:unreported_boot_type_count] if args.key?(:unreported_boot_type_count)
  @verified_boot_type_count = args[:verified_boot_type_count] if args.key?(:verified_boot_type_count)
end