google-apis-chromemanagement_v1 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37e04df81ed06614c3f589e7e636870c46680e43f99076cf68a9f2e739f64b77
4
- data.tar.gz: a071b1b5c405ed7ab0f4410f03bd487aca566e0d7fdf82c2277e028a38ee55c8
3
+ metadata.gz: e52abd4ea86bfda0ba40190557704ebeddc83ce9448474343d0a388205c68c44
4
+ data.tar.gz: ea2690a77561e1342e1712852b71a5f7164379e3fcafd7314bf375c7ebe92ab4
5
5
  SHA512:
6
- metadata.gz: 48f4871e8273178b27fca086e998d413eaf3d8d6950b2f478514053fbc76a313862a7812561484654f388853d200f71dd2231ae54ba26fdcb3fe6aa78bbe99aa
7
- data.tar.gz: 7db0e45f0b51dea53624f219bb9c200b7f11a378e6156c30b6ea445144dd38f206e9918cf000d772654c1033bbefcd320003f7c4c664148192aa0bf858d42db4
6
+ metadata.gz: c69df41867dbc9ffa1afc1852a54e681e67454efcb52c7b93048b425d13dcb397346f800e393b7e5b560ca7b8148a4ba22b39df84b17c5c192957bc5f7f93d5f
7
+ data.tar.gz: '081d8fa9a5ce087ffae457ff61dbaa3e7d06bc2c8c9ac504621dd4309706d1ab748640156ecd2afed761ed7739a296b62bb257c695288e84395ffb1e052876ce'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.12.0 (2021-10-28)
4
+
5
+ * Regenerated from discovery document revision 20211026
6
+
3
7
  ### v0.11.0 (2021-10-20)
4
8
 
5
9
  * Unspecified changes
@@ -345,6 +345,63 @@ module Google
345
345
  end
346
346
  end
347
347
 
348
+ # Details of an app installation request.
349
+ class GoogleChromeManagementV1ChromeAppRequest
350
+ include Google::Apis::Core::Hashable
351
+
352
+ # Output only. Format: app_details=customers/`customer_id`/apps/chrome/`app_id`
353
+ # Corresponds to the JSON property `appDetails`
354
+ # @return [String]
355
+ attr_accessor :app_details
356
+
357
+ # Output only. Unique store identifier for the app. Example: "
358
+ # gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive Chrome
359
+ # extension.
360
+ # Corresponds to the JSON property `appId`
361
+ # @return [String]
362
+ attr_accessor :app_id
363
+
364
+ # Output only. The uri for the detail page of the item.
365
+ # Corresponds to the JSON property `detailUri`
366
+ # @return [String]
367
+ attr_accessor :detail_uri
368
+
369
+ # Output only. App's display name.
370
+ # Corresponds to the JSON property `displayName`
371
+ # @return [String]
372
+ attr_accessor :display_name
373
+
374
+ # Output only. A link to an image that can be used as an icon for the product.
375
+ # Corresponds to the JSON property `iconUri`
376
+ # @return [String]
377
+ attr_accessor :icon_uri
378
+
379
+ # Output only. The timestamp of the most recently made request for this app.
380
+ # Corresponds to the JSON property `latestRequestTime`
381
+ # @return [String]
382
+ attr_accessor :latest_request_time
383
+
384
+ # Output only. Total count of requests for this app.
385
+ # Corresponds to the JSON property `requestCount`
386
+ # @return [Fixnum]
387
+ attr_accessor :request_count
388
+
389
+ def initialize(**args)
390
+ update!(**args)
391
+ end
392
+
393
+ # Update properties of this object
394
+ def update!(**args)
395
+ @app_details = args[:app_details] if args.key?(:app_details)
396
+ @app_id = args[:app_id] if args.key?(:app_id)
397
+ @detail_uri = args[:detail_uri] if args.key?(:detail_uri)
398
+ @display_name = args[:display_name] if args.key?(:display_name)
399
+ @icon_uri = args[:icon_uri] if args.key?(:icon_uri)
400
+ @latest_request_time = args[:latest_request_time] if args.key?(:latest_request_time)
401
+ @request_count = args[:request_count] if args.key?(:request_count)
402
+ end
403
+ end
404
+
348
405
  # Represent one host permission.
349
406
  class GoogleChromeManagementV1ChromeAppSiteAccess
350
407
  include Google::Apis::Core::Hashable
@@ -365,6 +422,37 @@ module Google
365
422
  end
366
423
  end
367
424
 
425
+ # Response containing summary of requested app installations.
426
+ class GoogleChromeManagementV1CountChromeAppRequestsResponse
427
+ include Google::Apis::Core::Hashable
428
+
429
+ # Token to specify the next page in the list.
430
+ # Corresponds to the JSON property `nextPageToken`
431
+ # @return [String]
432
+ attr_accessor :next_page_token
433
+
434
+ # Count of requested apps matching request.
435
+ # Corresponds to the JSON property `requestedApps`
436
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppRequest>]
437
+ attr_accessor :requested_apps
438
+
439
+ # Total number of matching app requests.
440
+ # Corresponds to the JSON property `totalSize`
441
+ # @return [Fixnum]
442
+ attr_accessor :total_size
443
+
444
+ def initialize(**args)
445
+ update!(**args)
446
+ end
447
+
448
+ # Update properties of this object
449
+ def update!(**args)
450
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
451
+ @requested_apps = args[:requested_apps] if args.key?(:requested_apps)
452
+ @total_size = args[:total_size] if args.key?(:total_size)
453
+ end
454
+ end
455
+
368
456
  # Response containing requested browser versions details and counts.
369
457
  class GoogleChromeManagementV1CountChromeVersionsResponse
370
458
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChromemanagementV1
18
18
  # Version of the google-apis-chromemanagement_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210802"
25
+ REVISION = "20211026"
26
26
  end
27
27
  end
28
28
  end
@@ -58,12 +58,24 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GoogleChromeManagementV1ChromeAppRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GoogleChromeManagementV1ChromeAppSiteAccess
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
64
70
  include Google::Apis::Core::JsonObjectSupport
65
71
  end
66
72
 
73
+ class GoogleChromeManagementV1CountChromeAppRequestsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
67
79
  class GoogleChromeManagementV1CountChromeVersionsResponse
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
@@ -178,6 +190,19 @@ module Google
178
190
  end
179
191
  end
180
192
 
193
+ class GoogleChromeManagementV1ChromeAppRequest
194
+ # @private
195
+ class Representation < Google::Apis::Core::JsonRepresentation
196
+ property :app_details, as: 'appDetails'
197
+ property :app_id, as: 'appId'
198
+ property :detail_uri, as: 'detailUri'
199
+ property :display_name, as: 'displayName'
200
+ property :icon_uri, as: 'iconUri'
201
+ property :latest_request_time, as: 'latestRequestTime'
202
+ property :request_count, :numeric_string => true, as: 'requestCount'
203
+ end
204
+ end
205
+
181
206
  class GoogleChromeManagementV1ChromeAppSiteAccess
182
207
  # @private
183
208
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -185,6 +210,16 @@ module Google
185
210
  end
186
211
  end
187
212
 
213
+ class GoogleChromeManagementV1CountChromeAppRequestsResponse
214
+ # @private
215
+ class Representation < Google::Apis::Core::JsonRepresentation
216
+ property :next_page_token, as: 'nextPageToken'
217
+ collection :requested_apps, as: 'requestedApps', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppRequest, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppRequest::Representation
218
+
219
+ property :total_size, as: 'totalSize'
220
+ end
221
+ end
222
+
188
223
  class GoogleChromeManagementV1CountChromeVersionsResponse
189
224
  # @private
190
225
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,6 +51,51 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Generate summary of app installation requests.
55
+ # @param [String] customer
56
+ # Required. Customer id or "my_customer" to use the customer associated to the
57
+ # account making the request.
58
+ # @param [String] order_by
59
+ # Field used to order results. Supported fields: * request_count *
60
+ # latest_request_time
61
+ # @param [String] org_unit_id
62
+ # The ID of the organizational unit.
63
+ # @param [Fixnum] page_size
64
+ # Maximum number of results to return. Maximum and default are 50, anything
65
+ # above will be coerced to 50.
66
+ # @param [String] page_token
67
+ # Token to specify the page of the request to be returned.
68
+ # @param [String] fields
69
+ # Selector specifying which fields to include in a partial response.
70
+ # @param [String] quota_user
71
+ # Available to use for quota purposes for server-side applications. Can be any
72
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
73
+ # @param [Google::Apis::RequestOptions] options
74
+ # Request-specific options
75
+ #
76
+ # @yield [result, err] Result & error if block supplied
77
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeAppRequestsResponse] parsed result object
78
+ # @yieldparam err [StandardError] error object if request failed
79
+ #
80
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeAppRequestsResponse]
81
+ #
82
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
83
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
84
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
85
+ def count_customer_app_chrome_app_requests(customer, order_by: nil, org_unit_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
86
+ command = make_simple_command(:get, 'v1/{+customer}/apps:countChromeAppRequests', options)
87
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeAppRequestsResponse::Representation
88
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeAppRequestsResponse
89
+ command.params['customer'] = customer unless customer.nil?
90
+ command.query['orderBy'] = order_by unless order_by.nil?
91
+ command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
92
+ command.query['pageSize'] = page_size unless page_size.nil?
93
+ command.query['pageToken'] = page_token unless page_token.nil?
94
+ command.query['fields'] = fields unless fields.nil?
95
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
96
+ execute_or_queue_command(command, &block)
97
+ end
98
+
54
99
  # Get a specific app for a customer by its resource name.
55
100
  # @param [String] name
56
101
  # Required. The app for which details are being queried. Examples: "customers/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []