Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeVersionsResponse

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 requested browser versions details and counts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CountChromeVersionsResponse

Returns a new instance of GoogleChromeManagementV1CountChromeVersionsResponse.



1069
1070
1071
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1069

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

Instance Attribute Details

#browser_versionsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BrowserVersion>

List of all browser versions and their install counts. Corresponds to the JSON property browserVersions



1057
1058
1059
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1057

def browser_versions
  @browser_versions
end

#next_page_tokenString

Token to specify the next page of the request. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1062
1063
1064
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1062

def next_page_token
  @next_page_token
end

#total_sizeFixnum

Total number browser versions matching request. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


1067
1068
1069
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1067

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1074
1075
1076
1077
1078
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1074

def update!(**args)
  @browser_versions = args[:browser_versions] if args.key?(:browser_versions)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @total_size = args[:total_size] if args.key?(:total_size)
end