google-apis-chromemanagement_v1 0.8.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3f9f8656f0ad0817d13ff813abad7c5ffaa49cbd23ffb82ba0c01b248e500cd
4
- data.tar.gz: db0faa8e2dec746bcca413fd39656e763e384a7df466e1dea125198783b91426
3
+ metadata.gz: e52abd4ea86bfda0ba40190557704ebeddc83ce9448474343d0a388205c68c44
4
+ data.tar.gz: ea2690a77561e1342e1712852b71a5f7164379e3fcafd7314bf375c7ebe92ab4
5
5
  SHA512:
6
- metadata.gz: d155e52aafad36db32cd4cecdb686e95cba3001fc6522af7a0aa913a0e434094cce1ffd53f1e8c54425710f72a0814c38f82fe496aeacf9a117b0bc707e00a55
7
- data.tar.gz: 139a106149bd080ecee12049d19c14375dd4fc447c3e6aec2c9009c6fc42457db1b39001c8f3de5f29386a6e86cd3b13d1066a9836c35e79cfc0903f12b514e5
6
+ metadata.gz: c69df41867dbc9ffa1afc1852a54e681e67454efcb52c7b93048b425d13dcb397346f800e393b7e5b560ca7b8148a4ba22b39df84b17c5c192957bc5f7f93d5f
7
+ data.tar.gz: '081d8fa9a5ce087ffae457ff61dbaa3e7d06bc2c8c9ac504621dd4309706d1ab748640156ecd2afed761ed7739a296b62bb257c695288e84395ffb1e052876ce'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
7
+ ### v0.11.0 (2021-10-20)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.10.0 (2021-08-04)
12
+
13
+ * Regenerated from discovery document revision 20210802
14
+
15
+ ### v0.9.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.8.0 (2021-06-24)
4
20
 
5
21
  * Regenerated using generator version 0.3.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Chromemanagement service in particular.)
67
67
 
@@ -22,6 +22,185 @@ module Google
22
22
  module Apis
23
23
  module ChromemanagementV1
24
24
 
25
+ # Android app information.
26
+ class GoogleChromeManagementV1AndroidAppInfo
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Output only. Permissions requested by an Android app.
30
+ # Corresponds to the JSON property `permissions`
31
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppPermission>]
32
+ attr_accessor :permissions
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @permissions = args[:permissions] if args.key?(:permissions)
41
+ end
42
+ end
43
+
44
+ # Permission requested by an Android app.
45
+ class GoogleChromeManagementV1AndroidAppPermission
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # Output only. The type of the permission.
49
+ # Corresponds to the JSON property `type`
50
+ # @return [String]
51
+ attr_accessor :type
52
+
53
+ def initialize(**args)
54
+ update!(**args)
55
+ end
56
+
57
+ # Update properties of this object
58
+ def update!(**args)
59
+ @type = args[:type] if args.key?(:type)
60
+ end
61
+ end
62
+
63
+ # Resource representing app details.
64
+ class GoogleChromeManagementV1AppDetails
65
+ include Google::Apis::Core::Hashable
66
+
67
+ # Android app information.
68
+ # Corresponds to the JSON property `androidAppInfo`
69
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppInfo]
70
+ attr_accessor :android_app_info
71
+
72
+ # Output only. Unique store identifier for the item. Examples: "
73
+ # gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive Chrome
74
+ # extension, "com.google.android.apps.docs" for the Google Drive Android app.
75
+ # Corresponds to the JSON property `appId`
76
+ # @return [String]
77
+ attr_accessor :app_id
78
+
79
+ # Chrome Web Store app information.
80
+ # Corresponds to the JSON property `chromeAppInfo`
81
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo]
82
+ attr_accessor :chrome_app_info
83
+
84
+ # Output only. App's description.
85
+ # Corresponds to the JSON property `description`
86
+ # @return [String]
87
+ attr_accessor :description
88
+
89
+ # Output only. The uri for the detail page of the item.
90
+ # Corresponds to the JSON property `detailUri`
91
+ # @return [String]
92
+ attr_accessor :detail_uri
93
+
94
+ # Output only. App's display name.
95
+ # Corresponds to the JSON property `displayName`
96
+ # @return [String]
97
+ attr_accessor :display_name
98
+
99
+ # Output only. First published time.
100
+ # Corresponds to the JSON property `firstPublishTime`
101
+ # @return [String]
102
+ attr_accessor :first_publish_time
103
+
104
+ # Output only. Home page or Website uri.
105
+ # Corresponds to the JSON property `homepageUri`
106
+ # @return [String]
107
+ attr_accessor :homepage_uri
108
+
109
+ # Output only. A link to an image that can be used as an icon for the product.
110
+ # Corresponds to the JSON property `iconUri`
111
+ # @return [String]
112
+ attr_accessor :icon_uri
113
+
114
+ # Output only. Indicates if the app has to be paid for OR has paid content.
115
+ # Corresponds to the JSON property `isPaidApp`
116
+ # @return [Boolean]
117
+ attr_accessor :is_paid_app
118
+ alias_method :is_paid_app?, :is_paid_app
119
+
120
+ # Output only. Latest published time.
121
+ # Corresponds to the JSON property `latestPublishTime`
122
+ # @return [String]
123
+ attr_accessor :latest_publish_time
124
+
125
+ # Output only. Format: name=customers/`customer_id`/apps/`chrome|android|web`/`
126
+ # app_id`@`version`
127
+ # Corresponds to the JSON property `name`
128
+ # @return [String]
129
+ attr_accessor :name
130
+
131
+ # Output only. The URI pointing to the privacy policy of the app, if it was
132
+ # provided by the developer. Version-specific field that will only be set when
133
+ # the requested app version is found.
134
+ # Corresponds to the JSON property `privacyPolicyUri`
135
+ # @return [String]
136
+ attr_accessor :privacy_policy_uri
137
+
138
+ # Output only. The publisher of the item.
139
+ # Corresponds to the JSON property `publisher`
140
+ # @return [String]
141
+ attr_accessor :publisher
142
+
143
+ # Output only. Number of reviews received. Chrome Web Store review information
144
+ # will always be for the latest version of an app.
145
+ # Corresponds to the JSON property `reviewNumber`
146
+ # @return [Fixnum]
147
+ attr_accessor :review_number
148
+
149
+ # Output only. The rating of the app (on 5 stars). Chrome Web Store review
150
+ # information will always be for the latest version of an app.
151
+ # Corresponds to the JSON property `reviewRating`
152
+ # @return [Float]
153
+ attr_accessor :review_rating
154
+
155
+ # Output only. App version. A new revision is committed whenever a new version
156
+ # of the app is published.
157
+ # Corresponds to the JSON property `revisionId`
158
+ # @return [String]
159
+ attr_accessor :revision_id
160
+
161
+ # The `Status` type defines a logical error model that is suitable for different
162
+ # programming environments, including REST APIs and RPC APIs. It is used by [
163
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
164
+ # data: error code, error message, and error details. You can find out more
165
+ # about this error model and how to work with it in the [API Design Guide](https:
166
+ # //cloud.google.com/apis/design/errors).
167
+ # Corresponds to the JSON property `serviceError`
168
+ # @return [Google::Apis::ChromemanagementV1::GoogleRpcStatus]
169
+ attr_accessor :service_error
170
+
171
+ # Output only. App type.
172
+ # Corresponds to the JSON property `type`
173
+ # @return [String]
174
+ attr_accessor :type
175
+
176
+ def initialize(**args)
177
+ update!(**args)
178
+ end
179
+
180
+ # Update properties of this object
181
+ def update!(**args)
182
+ @android_app_info = args[:android_app_info] if args.key?(:android_app_info)
183
+ @app_id = args[:app_id] if args.key?(:app_id)
184
+ @chrome_app_info = args[:chrome_app_info] if args.key?(:chrome_app_info)
185
+ @description = args[:description] if args.key?(:description)
186
+ @detail_uri = args[:detail_uri] if args.key?(:detail_uri)
187
+ @display_name = args[:display_name] if args.key?(:display_name)
188
+ @first_publish_time = args[:first_publish_time] if args.key?(:first_publish_time)
189
+ @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
190
+ @icon_uri = args[:icon_uri] if args.key?(:icon_uri)
191
+ @is_paid_app = args[:is_paid_app] if args.key?(:is_paid_app)
192
+ @latest_publish_time = args[:latest_publish_time] if args.key?(:latest_publish_time)
193
+ @name = args[:name] if args.key?(:name)
194
+ @privacy_policy_uri = args[:privacy_policy_uri] if args.key?(:privacy_policy_uri)
195
+ @publisher = args[:publisher] if args.key?(:publisher)
196
+ @review_number = args[:review_number] if args.key?(:review_number)
197
+ @review_rating = args[:review_rating] if args.key?(:review_rating)
198
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
199
+ @service_error = args[:service_error] if args.key?(:service_error)
200
+ @type = args[:type] if args.key?(:type)
201
+ end
202
+ end
203
+
25
204
  # Describes a browser version and its install count.
26
205
  class GoogleChromeManagementV1BrowserVersion
27
206
  include Google::Apis::Core::Hashable
@@ -65,6 +244,215 @@ module Google
65
244
  end
66
245
  end
67
246
 
247
+ # Chrome Web Store app information.
248
+ class GoogleChromeManagementV1ChromeAppInfo
249
+ include Google::Apis::Core::Hashable
250
+
251
+ # Output only. Whether the app or extension is built and maintained by Google.
252
+ # Version-specific field that will only be set when the requested app version is
253
+ # found.
254
+ # Corresponds to the JSON property `googleOwned`
255
+ # @return [Boolean]
256
+ attr_accessor :google_owned
257
+ alias_method :google_owned?, :google_owned
258
+
259
+ # Output only. Whether the app or extension is in a published state in the
260
+ # Chrome Web Store.
261
+ # Corresponds to the JSON property `isCwsHosted`
262
+ # @return [Boolean]
263
+ attr_accessor :is_cws_hosted
264
+ alias_method :is_cws_hosted?, :is_cws_hosted
265
+
266
+ # Output only. Whether the app or extension is a theme.
267
+ # Corresponds to the JSON property `isTheme`
268
+ # @return [Boolean]
269
+ attr_accessor :is_theme
270
+ alias_method :is_theme?, :is_theme
271
+
272
+ # Output only. The minimum number of users using this app.
273
+ # Corresponds to the JSON property `minUserCount`
274
+ # @return [Fixnum]
275
+ attr_accessor :min_user_count
276
+
277
+ # Output only. Every custom permission requested by the app. Version-specific
278
+ # field that will only be set when the requested app version is found.
279
+ # Corresponds to the JSON property `permissions`
280
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission>]
281
+ attr_accessor :permissions
282
+
283
+ # Output only. Every permission giving access to domains or broad host patterns.
284
+ # ( e.g. www.google.com). This includes the matches from content scripts as well
285
+ # as hosts in the permissions node of the manifest. Version-specific field that
286
+ # will only be set when the requested app version is found.
287
+ # Corresponds to the JSON property `siteAccess`
288
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess>]
289
+ attr_accessor :site_access
290
+
291
+ # Output only. The app developer has enabled support for their app. Version-
292
+ # specific field that will only be set when the requested app version is found.
293
+ # Corresponds to the JSON property `supportEnabled`
294
+ # @return [Boolean]
295
+ attr_accessor :support_enabled
296
+ alias_method :support_enabled?, :support_enabled
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @google_owned = args[:google_owned] if args.key?(:google_owned)
305
+ @is_cws_hosted = args[:is_cws_hosted] if args.key?(:is_cws_hosted)
306
+ @is_theme = args[:is_theme] if args.key?(:is_theme)
307
+ @min_user_count = args[:min_user_count] if args.key?(:min_user_count)
308
+ @permissions = args[:permissions] if args.key?(:permissions)
309
+ @site_access = args[:site_access] if args.key?(:site_access)
310
+ @support_enabled = args[:support_enabled] if args.key?(:support_enabled)
311
+ end
312
+ end
313
+
314
+ # Permission requested by a Chrome app or extension.
315
+ class GoogleChromeManagementV1ChromeAppPermission
316
+ include Google::Apis::Core::Hashable
317
+
318
+ # Output only. If available, whether this permissions grants the app/extension
319
+ # access to user data.
320
+ # Corresponds to the JSON property `accessUserData`
321
+ # @return [Boolean]
322
+ attr_accessor :access_user_data
323
+ alias_method :access_user_data?, :access_user_data
324
+
325
+ # Output only. If available, a URI to a page that has documentation for the
326
+ # current permission.
327
+ # Corresponds to the JSON property `documentationUri`
328
+ # @return [String]
329
+ attr_accessor :documentation_uri
330
+
331
+ # Output only. The type of the permission.
332
+ # Corresponds to the JSON property `type`
333
+ # @return [String]
334
+ attr_accessor :type
335
+
336
+ def initialize(**args)
337
+ update!(**args)
338
+ end
339
+
340
+ # Update properties of this object
341
+ def update!(**args)
342
+ @access_user_data = args[:access_user_data] if args.key?(:access_user_data)
343
+ @documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri)
344
+ @type = args[:type] if args.key?(:type)
345
+ end
346
+ end
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
+
405
+ # Represent one host permission.
406
+ class GoogleChromeManagementV1ChromeAppSiteAccess
407
+ include Google::Apis::Core::Hashable
408
+
409
+ # Output only. This can contain very specific hosts, or patterns like "*.com"
410
+ # for instance.
411
+ # Corresponds to the JSON property `hostMatch`
412
+ # @return [String]
413
+ attr_accessor :host_match
414
+
415
+ def initialize(**args)
416
+ update!(**args)
417
+ end
418
+
419
+ # Update properties of this object
420
+ def update!(**args)
421
+ @host_match = args[:host_match] if args.key?(:host_match)
422
+ end
423
+ end
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
+
68
456
  # Response containing requested browser versions details and counts.
69
457
  class GoogleChromeManagementV1CountChromeVersionsResponse
70
458
  include Google::Apis::Core::Hashable
@@ -266,6 +654,45 @@ module Google
266
654
  @permissions = args[:permissions] if args.key?(:permissions)
267
655
  end
268
656
  end
657
+
658
+ # The `Status` type defines a logical error model that is suitable for different
659
+ # programming environments, including REST APIs and RPC APIs. It is used by [
660
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
661
+ # data: error code, error message, and error details. You can find out more
662
+ # about this error model and how to work with it in the [API Design Guide](https:
663
+ # //cloud.google.com/apis/design/errors).
664
+ class GoogleRpcStatus
665
+ include Google::Apis::Core::Hashable
666
+
667
+ # The status code, which should be an enum value of google.rpc.Code.
668
+ # Corresponds to the JSON property `code`
669
+ # @return [Fixnum]
670
+ attr_accessor :code
671
+
672
+ # A list of messages that carry the error details. There is a common set of
673
+ # message types for APIs to use.
674
+ # Corresponds to the JSON property `details`
675
+ # @return [Array<Hash<String,Object>>]
676
+ attr_accessor :details
677
+
678
+ # A developer-facing error message, which should be in English. Any user-facing
679
+ # error message should be localized and sent in the google.rpc.Status.details
680
+ # field, or localized by the client.
681
+ # Corresponds to the JSON property `message`
682
+ # @return [String]
683
+ attr_accessor :message
684
+
685
+ def initialize(**args)
686
+ update!(**args)
687
+ end
688
+
689
+ # Update properties of this object
690
+ def update!(**args)
691
+ @code = args[:code] if args.key?(:code)
692
+ @details = args[:details] if args.key?(:details)
693
+ @message = args[:message] if args.key?(:message)
694
+ end
695
+ end
269
696
  end
270
697
  end
271
698
  end
@@ -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.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210508"
25
+ REVISION = "20211026"
26
26
  end
27
27
  end
28
28
  end
@@ -22,12 +22,60 @@ module Google
22
22
  module Apis
23
23
  module ChromemanagementV1
24
24
 
25
+ class GoogleChromeManagementV1AndroidAppInfo
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleChromeManagementV1AndroidAppPermission
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleChromeManagementV1AppDetails
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class GoogleChromeManagementV1BrowserVersion
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
28
46
  include Google::Apis::Core::JsonObjectSupport
29
47
  end
30
48
 
49
+ class GoogleChromeManagementV1ChromeAppInfo
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleChromeManagementV1ChromeAppPermission
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleChromeManagementV1ChromeAppRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleChromeManagementV1ChromeAppSiteAccess
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleChromeManagementV1CountChromeAppRequestsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
31
79
  class GoogleChromeManagementV1CountChromeVersionsResponse
32
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
81
 
@@ -58,6 +106,55 @@ module Google
58
106
  include Google::Apis::Core::JsonObjectSupport
59
107
  end
60
108
 
109
+ class GoogleRpcStatus
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleChromeManagementV1AndroidAppInfo
116
+ # @private
117
+ class Representation < Google::Apis::Core::JsonRepresentation
118
+ collection :permissions, as: 'permissions', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppPermission, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppPermission::Representation
119
+
120
+ end
121
+ end
122
+
123
+ class GoogleChromeManagementV1AndroidAppPermission
124
+ # @private
125
+ class Representation < Google::Apis::Core::JsonRepresentation
126
+ property :type, as: 'type'
127
+ end
128
+ end
129
+
130
+ class GoogleChromeManagementV1AppDetails
131
+ # @private
132
+ class Representation < Google::Apis::Core::JsonRepresentation
133
+ property :android_app_info, as: 'androidAppInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppInfo::Representation
134
+
135
+ property :app_id, as: 'appId'
136
+ property :chrome_app_info, as: 'chromeAppInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo::Representation
137
+
138
+ property :description, as: 'description'
139
+ property :detail_uri, as: 'detailUri'
140
+ property :display_name, as: 'displayName'
141
+ property :first_publish_time, as: 'firstPublishTime'
142
+ property :homepage_uri, as: 'homepageUri'
143
+ property :icon_uri, as: 'iconUri'
144
+ property :is_paid_app, as: 'isPaidApp'
145
+ property :latest_publish_time, as: 'latestPublishTime'
146
+ property :name, as: 'name'
147
+ property :privacy_policy_uri, as: 'privacyPolicyUri'
148
+ property :publisher, as: 'publisher'
149
+ property :review_number, :numeric_string => true, as: 'reviewNumber'
150
+ property :review_rating, as: 'reviewRating'
151
+ property :revision_id, as: 'revisionId'
152
+ property :service_error, as: 'serviceError', class: Google::Apis::ChromemanagementV1::GoogleRpcStatus, decorator: Google::Apis::ChromemanagementV1::GoogleRpcStatus::Representation
153
+
154
+ property :type, as: 'type'
155
+ end
156
+ end
157
+
61
158
  class GoogleChromeManagementV1BrowserVersion
62
159
  # @private
63
160
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -69,6 +166,60 @@ module Google
69
166
  end
70
167
  end
71
168
 
169
+ class GoogleChromeManagementV1ChromeAppInfo
170
+ # @private
171
+ class Representation < Google::Apis::Core::JsonRepresentation
172
+ property :google_owned, as: 'googleOwned'
173
+ property :is_cws_hosted, as: 'isCwsHosted'
174
+ property :is_theme, as: 'isTheme'
175
+ property :min_user_count, as: 'minUserCount'
176
+ collection :permissions, as: 'permissions', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission::Representation
177
+
178
+ collection :site_access, as: 'siteAccess', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess::Representation
179
+
180
+ property :support_enabled, as: 'supportEnabled'
181
+ end
182
+ end
183
+
184
+ class GoogleChromeManagementV1ChromeAppPermission
185
+ # @private
186
+ class Representation < Google::Apis::Core::JsonRepresentation
187
+ property :access_user_data, as: 'accessUserData'
188
+ property :documentation_uri, as: 'documentationUri'
189
+ property :type, as: 'type'
190
+ end
191
+ end
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
+
206
+ class GoogleChromeManagementV1ChromeAppSiteAccess
207
+ # @private
208
+ class Representation < Google::Apis::Core::JsonRepresentation
209
+ property :host_match, as: 'hostMatch'
210
+ end
211
+ end
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
+
72
223
  class GoogleChromeManagementV1CountChromeVersionsResponse
73
224
  # @private
74
225
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -123,6 +274,15 @@ module Google
123
274
  collection :permissions, as: 'permissions'
124
275
  end
125
276
  end
277
+
278
+ class GoogleRpcStatus
279
+ # @private
280
+ class Representation < Google::Apis::Core::JsonRepresentation
281
+ property :code, as: 'code'
282
+ collection :details, as: 'details'
283
+ property :message, as: 'message'
284
+ end
285
+ end
126
286
  end
127
287
  end
128
288
  end
@@ -51,6 +51,153 @@ 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
+
99
+ # Get a specific app for a customer by its resource name.
100
+ # @param [String] name
101
+ # Required. The app for which details are being queried. Examples: "customers/
102
+ # my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
103
+ # to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
104
+ # android/com.google.android.apps.docs" for the Google Drive Android app's
105
+ # latest version.
106
+ # @param [String] fields
107
+ # Selector specifying which fields to include in a partial response.
108
+ # @param [String] quota_user
109
+ # Available to use for quota purposes for server-side applications. Can be any
110
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
111
+ # @param [Google::Apis::RequestOptions] options
112
+ # Request-specific options
113
+ #
114
+ # @yield [result, err] Result & error if block supplied
115
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
116
+ # @yieldparam err [StandardError] error object if request failed
117
+ #
118
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
119
+ #
120
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
121
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
122
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
123
+ def get_customer_app_android(name, fields: nil, quota_user: nil, options: nil, &block)
124
+ command = make_simple_command(:get, 'v1/{+name}', options)
125
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
126
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
127
+ command.params['name'] = name unless name.nil?
128
+ command.query['fields'] = fields unless fields.nil?
129
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
130
+ execute_or_queue_command(command, &block)
131
+ end
132
+
133
+ # Get a specific app for a customer by its resource name.
134
+ # @param [String] name
135
+ # Required. The app for which details are being queried. Examples: "customers/
136
+ # my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
137
+ # to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
138
+ # android/com.google.android.apps.docs" for the Google Drive Android app's
139
+ # latest version.
140
+ # @param [String] fields
141
+ # Selector specifying which fields to include in a partial response.
142
+ # @param [String] quota_user
143
+ # Available to use for quota purposes for server-side applications. Can be any
144
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
145
+ # @param [Google::Apis::RequestOptions] options
146
+ # Request-specific options
147
+ #
148
+ # @yield [result, err] Result & error if block supplied
149
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
150
+ # @yieldparam err [StandardError] error object if request failed
151
+ #
152
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
153
+ #
154
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
155
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
156
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
157
+ def get_customer_app_chrome(name, fields: nil, quota_user: nil, options: nil, &block)
158
+ command = make_simple_command(:get, 'v1/{+name}', options)
159
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
160
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
161
+ command.params['name'] = name unless name.nil?
162
+ command.query['fields'] = fields unless fields.nil?
163
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
164
+ execute_or_queue_command(command, &block)
165
+ end
166
+
167
+ # Get a specific app for a customer by its resource name.
168
+ # @param [String] name
169
+ # Required. The app for which details are being queried. Examples: "customers/
170
+ # my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
171
+ # to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
172
+ # android/com.google.android.apps.docs" for the Google Drive Android app's
173
+ # latest version.
174
+ # @param [String] fields
175
+ # Selector specifying which fields to include in a partial response.
176
+ # @param [String] quota_user
177
+ # Available to use for quota purposes for server-side applications. Can be any
178
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
179
+ # @param [Google::Apis::RequestOptions] options
180
+ # Request-specific options
181
+ #
182
+ # @yield [result, err] Result & error if block supplied
183
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
184
+ # @yieldparam err [StandardError] error object if request failed
185
+ #
186
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
187
+ #
188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
191
+ def get_customer_app_web(name, fields: nil, quota_user: nil, options: nil, &block)
192
+ command = make_simple_command(:get, 'v1/{+name}', options)
193
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
194
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
195
+ command.params['name'] = name unless name.nil?
196
+ command.query['fields'] = fields unless fields.nil?
197
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
198
+ execute_or_queue_command(command, &block)
199
+ end
200
+
54
201
  # Generate report of installed Chrome versions.
55
202
  # @param [String] customer
56
203
  # Required. Customer id or "my_customer" to use the customer associated to the
@@ -31,6 +31,9 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'V1'
33
33
 
34
+ # See detailed information about apps installed on Chrome browsers and devices managed by your organization
35
+ AUTH_CHROME_MANAGEMENT_APPDETAILS_READONLY = 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly'
36
+
34
37
  # See reports about devices and Chrome browsers managed within your organization
35
38
  AUTH_CHROME_MANAGEMENT_REPORTS_READONLY = 'https://www.googleapis.com/auth/chrome.management.reports.readonly'
36
39
  end
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.8.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-06-28 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chromemanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chromemanagement_v1
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.12.0
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: []
65
65
  require_paths: