Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountInstalledAppsResponse

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 details of queried installed apps.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CountInstalledAppsResponse

Returns a new instance of GoogleChromeManagementV1CountInstalledAppsResponse.



745
746
747
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 745

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

Instance Attribute Details

#installed_appsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1InstalledApp>

List of installed apps matching request. Corresponds to the JSON property installedApps



733
734
735
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 733

def installed_apps
  @installed_apps
end

#next_page_tokenString

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

Returns:

  • (String)


738
739
740
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 738

def next_page_token
  @next_page_token
end

#total_sizeFixnum

Total number of installed apps matching request. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


743
744
745
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 743

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



750
751
752
753
754
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 750

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