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.



1133
1134
1135
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1133

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)


1121
1122
1123
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1121

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)


1126
1127
1128
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1126

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)


1131
1132
1133
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1131

def verified_boot_type_count
  @verified_boot_type_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1138
1139
1140
1141
1142
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1138

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