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.



1263
1264
1265
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1263

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



1251
1252
1253
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1251

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)


1256
1257
1258
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1256

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)


1261
1262
1263
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1261

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1268
1269
1270
1271
1272
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1268

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