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.



118
119
120
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 118

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



106
107
108
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 106

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)


111
112
113
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 111

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)


116
117
118
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 116

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



123
124
125
126
127
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 123

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