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.



849
850
851
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 849

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



837
838
839
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 837

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)


842
843
844
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 842

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


847
848
849
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 847

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



854
855
856
857
858
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 854

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