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.



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

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)


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

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)


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

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)


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

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)


1174
1175
1176
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1174

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)


1179
1180
1181
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1179

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)


1184
1185
1186
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1184

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)


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

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)


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

def unsupported_channel_count
  @unsupported_channel_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1201

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