Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse

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 channel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse

Returns a new instance of GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse.



1227
1228
1229
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1227

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

Instance Attribute Details

#beta_channel_countFixnum

Number of devices with beta release channel. Corresponds to the JSON property betaChannelCount

Returns:

  • (Fixnum)


1190
1191
1192
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1190

def beta_channel_count
  @beta_channel_count
end

#canary_channel_countFixnum

Number of devices with canary release channel. Corresponds to the JSON property canaryChannelCount

Returns:

  • (Fixnum)


1195
1196
1197
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1195

def canary_channel_count
  @canary_channel_count
end

#dev_channel_countFixnum

Number of devices with dev release channel. Corresponds to the JSON property devChannelCount

Returns:

  • (Fixnum)


1200
1201
1202
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1200

def dev_channel_count
  @dev_channel_count
end

#ltc_channel_countFixnum

Number of devices with ltc release channel. Corresponds to the JSON property ltcChannelCount

Returns:

  • (Fixnum)


1205
1206
1207
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1205

def ltc_channel_count
  @ltc_channel_count
end

#lts_channel_countFixnum

Number of devices with lts release channel. Corresponds to the JSON property ltsChannelCount

Returns:

  • (Fixnum)


1210
1211
1212
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1210

def lts_channel_count
  @lts_channel_count
end

#stable_channel_countFixnum

Number of devices with stable release channel. Corresponds to the JSON property stableChannelCount

Returns:

  • (Fixnum)


1215
1216
1217
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1215

def stable_channel_count
  @stable_channel_count
end

#unreported_channel_countFixnum

Number of devices with an unreported release channel. Corresponds to the JSON property unreportedChannelCount

Returns:

  • (Fixnum)


1220
1221
1222
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1220

def unreported_channel_count
  @unreported_channel_count
end

#unsupported_channel_countFixnum

Number of devices with unsupported release channel. Corresponds to the JSON property unsupportedChannelCount

Returns:

  • (Fixnum)


1225
1226
1227
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1225

def unsupported_channel_count
  @unsupported_channel_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1232

def update!(**args)
  @beta_channel_count = args[:beta_channel_count] if args.key?(:beta_channel_count)
  @canary_channel_count = args[:canary_channel_count] if args.key?(:canary_channel_count)
  @dev_channel_count = args[:dev_channel_count] if args.key?(:dev_channel_count)
  @ltc_channel_count = args[:ltc_channel_count] if args.key?(:ltc_channel_count)
  @lts_channel_count = args[:lts_channel_count] if args.key?(:lts_channel_count)
  @stable_channel_count = args[:stable_channel_count] if args.key?(:stable_channel_count)
  @unreported_channel_count = args[:unreported_channel_count] if args.key?(:unreported_channel_count)
  @unsupported_channel_count = args[:unsupported_channel_count] if args.key?(:unsupported_channel_count)
end