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.



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

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)


1152
1153
1154
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1152

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)


1157
1158
1159
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1157

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)


1162
1163
1164
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1162

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)


1167
1168
1169
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1167

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)


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

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)


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

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)


1182
1183
1184
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1182

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)


1187
1188
1189
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1187

def unsupported_channel_count
  @unsupported_channel_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1194

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