google-apis-chromemanagement_v1 0.6.0 → 0.10.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: 6aee4939cf5b0c9349853cbf5342c1ce4da8caeb169273ca0532ae01e50d2b90
4
- data.tar.gz: 519a2055fb06e7b52b08eead08a697392e351d7ac8b1dc726ce43dd94e3043f6
3
+ metadata.gz: 2421c7504f1b716168eee980d758d14bc2b8dc0d40870373c7df4a0bda6d6bf7
4
+ data.tar.gz: d11bcf0b18f21ec693009debe85d8a4a81b58d940df4533d7d71e23def812964
5
5
  SHA512:
6
- metadata.gz: 4b009d4a70e0007c69851e6a385bf0508bab792336bd73830a9a262887811edd4e3987bcb4d9bc0ed6564eea6bfbcbfa06768612ea120d18e10c6edcad78f9f0
7
- data.tar.gz: b810f5dcf0520727794af7c189ea2d632b725abd9d3c7361f75245d43b8ffcc390c2c6478ba08480d970934dd121e2903b0e3366246755df54b59b652ffb9fbd
6
+ metadata.gz: a2c5a93f306b75e650721808a4650d01b3837c40f3d0aa6b781a8a069a6b2977a8cbcdb9792e3d740ddaaaf429245b9c4fb0a589aac527965c4c5747bebe0ec3
7
+ data.tar.gz: 86e2affd795bb94967a1138670259d925843502c792f24839632c38c39417292f9ef4bac7d02fdf901beb056a93a550ee5668598e95ff572801bc2c53108caf2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.10.0 (2021-08-04)
4
+
5
+ * Regenerated from discovery document revision 20210802
6
+
7
+ ### v0.9.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.8.0 (2021-06-24)
12
+
13
+ * Regenerated using generator version 0.3.0
14
+
15
+ ### v0.7.0 (2021-05-19)
16
+
17
+ * Unspecified changes
18
+
3
19
  ### v0.6.0 (2021-05-11)
4
20
 
5
21
  * Regenerated from discovery document revision 20210508
@@ -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
@@ -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,127 @@ 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
+ # Represent one host permission.
349
+ class GoogleChromeManagementV1ChromeAppSiteAccess
350
+ include Google::Apis::Core::Hashable
351
+
352
+ # Output only. This can contain very specific hosts, or patterns like "*.com"
353
+ # for instance.
354
+ # Corresponds to the JSON property `hostMatch`
355
+ # @return [String]
356
+ attr_accessor :host_match
357
+
358
+ def initialize(**args)
359
+ update!(**args)
360
+ end
361
+
362
+ # Update properties of this object
363
+ def update!(**args)
364
+ @host_match = args[:host_match] if args.key?(:host_match)
365
+ end
366
+ end
367
+
68
368
  # Response containing requested browser versions details and counts.
69
369
  class GoogleChromeManagementV1CountChromeVersionsResponse
70
370
  include Google::Apis::Core::Hashable
@@ -266,6 +566,45 @@ module Google
266
566
  @permissions = args[:permissions] if args.key?(:permissions)
267
567
  end
268
568
  end
569
+
570
+ # The `Status` type defines a logical error model that is suitable for different
571
+ # programming environments, including REST APIs and RPC APIs. It is used by [
572
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
573
+ # data: error code, error message, and error details. You can find out more
574
+ # about this error model and how to work with it in the [API Design Guide](https:
575
+ # //cloud.google.com/apis/design/errors).
576
+ class GoogleRpcStatus
577
+ include Google::Apis::Core::Hashable
578
+
579
+ # The status code, which should be an enum value of google.rpc.Code.
580
+ # Corresponds to the JSON property `code`
581
+ # @return [Fixnum]
582
+ attr_accessor :code
583
+
584
+ # A list of messages that carry the error details. There is a common set of
585
+ # message types for APIs to use.
586
+ # Corresponds to the JSON property `details`
587
+ # @return [Array<Hash<String,Object>>]
588
+ attr_accessor :details
589
+
590
+ # A developer-facing error message, which should be in English. Any user-facing
591
+ # error message should be localized and sent in the google.rpc.Status.details
592
+ # field, or localized by the client.
593
+ # Corresponds to the JSON property `message`
594
+ # @return [String]
595
+ attr_accessor :message
596
+
597
+ def initialize(**args)
598
+ update!(**args)
599
+ end
600
+
601
+ # Update properties of this object
602
+ def update!(**args)
603
+ @code = args[:code] if args.key?(:code)
604
+ @details = args[:details] if args.key?(:details)
605
+ @message = args[:message] if args.key?(:message)
606
+ end
607
+ end
269
608
  end
270
609
  end
271
610
  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.6.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.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 = "20210802"
26
26
  end
27
27
  end
28
28
  end
@@ -22,12 +22,48 @@ 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 GoogleChromeManagementV1ChromeAppSiteAccess
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
31
67
  class GoogleChromeManagementV1CountChromeVersionsResponse
32
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
69
 
@@ -58,6 +94,55 @@ module Google
58
94
  include Google::Apis::Core::JsonObjectSupport
59
95
  end
60
96
 
97
+ class GoogleRpcStatus
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleChromeManagementV1AndroidAppInfo
104
+ # @private
105
+ class Representation < Google::Apis::Core::JsonRepresentation
106
+ collection :permissions, as: 'permissions', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppPermission, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppPermission::Representation
107
+
108
+ end
109
+ end
110
+
111
+ class GoogleChromeManagementV1AndroidAppPermission
112
+ # @private
113
+ class Representation < Google::Apis::Core::JsonRepresentation
114
+ property :type, as: 'type'
115
+ end
116
+ end
117
+
118
+ class GoogleChromeManagementV1AppDetails
119
+ # @private
120
+ class Representation < Google::Apis::Core::JsonRepresentation
121
+ property :android_app_info, as: 'androidAppInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppInfo::Representation
122
+
123
+ property :app_id, as: 'appId'
124
+ property :chrome_app_info, as: 'chromeAppInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo::Representation
125
+
126
+ property :description, as: 'description'
127
+ property :detail_uri, as: 'detailUri'
128
+ property :display_name, as: 'displayName'
129
+ property :first_publish_time, as: 'firstPublishTime'
130
+ property :homepage_uri, as: 'homepageUri'
131
+ property :icon_uri, as: 'iconUri'
132
+ property :is_paid_app, as: 'isPaidApp'
133
+ property :latest_publish_time, as: 'latestPublishTime'
134
+ property :name, as: 'name'
135
+ property :privacy_policy_uri, as: 'privacyPolicyUri'
136
+ property :publisher, as: 'publisher'
137
+ property :review_number, :numeric_string => true, as: 'reviewNumber'
138
+ property :review_rating, as: 'reviewRating'
139
+ property :revision_id, as: 'revisionId'
140
+ property :service_error, as: 'serviceError', class: Google::Apis::ChromemanagementV1::GoogleRpcStatus, decorator: Google::Apis::ChromemanagementV1::GoogleRpcStatus::Representation
141
+
142
+ property :type, as: 'type'
143
+ end
144
+ end
145
+
61
146
  class GoogleChromeManagementV1BrowserVersion
62
147
  # @private
63
148
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -69,6 +154,37 @@ module Google
69
154
  end
70
155
  end
71
156
 
157
+ class GoogleChromeManagementV1ChromeAppInfo
158
+ # @private
159
+ class Representation < Google::Apis::Core::JsonRepresentation
160
+ property :google_owned, as: 'googleOwned'
161
+ property :is_cws_hosted, as: 'isCwsHosted'
162
+ property :is_theme, as: 'isTheme'
163
+ property :min_user_count, as: 'minUserCount'
164
+ collection :permissions, as: 'permissions', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission::Representation
165
+
166
+ collection :site_access, as: 'siteAccess', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess::Representation
167
+
168
+ property :support_enabled, as: 'supportEnabled'
169
+ end
170
+ end
171
+
172
+ class GoogleChromeManagementV1ChromeAppPermission
173
+ # @private
174
+ class Representation < Google::Apis::Core::JsonRepresentation
175
+ property :access_user_data, as: 'accessUserData'
176
+ property :documentation_uri, as: 'documentationUri'
177
+ property :type, as: 'type'
178
+ end
179
+ end
180
+
181
+ class GoogleChromeManagementV1ChromeAppSiteAccess
182
+ # @private
183
+ class Representation < Google::Apis::Core::JsonRepresentation
184
+ property :host_match, as: 'hostMatch'
185
+ end
186
+ end
187
+
72
188
  class GoogleChromeManagementV1CountChromeVersionsResponse
73
189
  # @private
74
190
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -123,6 +239,15 @@ module Google
123
239
  collection :permissions, as: 'permissions'
124
240
  end
125
241
  end
242
+
243
+ class GoogleRpcStatus
244
+ # @private
245
+ class Representation < Google::Apis::Core::JsonRepresentation
246
+ property :code, as: 'code'
247
+ collection :details, as: 'details'
248
+ property :message, as: 'message'
249
+ end
250
+ end
126
251
  end
127
252
  end
128
253
  end
@@ -51,6 +51,108 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Get a specific app for a customer by its resource name.
55
+ # @param [String] name
56
+ # Required. The app for which details are being queried. Examples: "customers/
57
+ # my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
58
+ # to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
59
+ # android/com.google.android.apps.docs" for the Google Drive Android app's
60
+ # latest version.
61
+ # @param [String] fields
62
+ # Selector specifying which fields to include in a partial response.
63
+ # @param [String] quota_user
64
+ # Available to use for quota purposes for server-side applications. Can be any
65
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
66
+ # @param [Google::Apis::RequestOptions] options
67
+ # Request-specific options
68
+ #
69
+ # @yield [result, err] Result & error if block supplied
70
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
71
+ # @yieldparam err [StandardError] error object if request failed
72
+ #
73
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
74
+ #
75
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
78
+ def get_customer_app_android(name, fields: nil, quota_user: nil, options: nil, &block)
79
+ command = make_simple_command(:get, 'v1/{+name}', options)
80
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
81
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
82
+ command.params['name'] = name unless name.nil?
83
+ command.query['fields'] = fields unless fields.nil?
84
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
85
+ execute_or_queue_command(command, &block)
86
+ end
87
+
88
+ # Get a specific app for a customer by its resource name.
89
+ # @param [String] name
90
+ # Required. The app for which details are being queried. Examples: "customers/
91
+ # my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
92
+ # to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
93
+ # android/com.google.android.apps.docs" for the Google Drive Android app's
94
+ # latest version.
95
+ # @param [String] fields
96
+ # Selector specifying which fields to include in a partial response.
97
+ # @param [String] quota_user
98
+ # Available to use for quota purposes for server-side applications. Can be any
99
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
100
+ # @param [Google::Apis::RequestOptions] options
101
+ # Request-specific options
102
+ #
103
+ # @yield [result, err] Result & error if block supplied
104
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
105
+ # @yieldparam err [StandardError] error object if request failed
106
+ #
107
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
108
+ #
109
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
110
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
111
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
112
+ def get_customer_app_chrome(name, fields: nil, quota_user: nil, options: nil, &block)
113
+ command = make_simple_command(:get, 'v1/{+name}', options)
114
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
115
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
116
+ command.params['name'] = name unless name.nil?
117
+ command.query['fields'] = fields unless fields.nil?
118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
119
+ execute_or_queue_command(command, &block)
120
+ end
121
+
122
+ # Get a specific app for a customer by its resource name.
123
+ # @param [String] name
124
+ # Required. The app for which details are being queried. Examples: "customers/
125
+ # my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
126
+ # to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
127
+ # android/com.google.android.apps.docs" for the Google Drive Android app's
128
+ # latest version.
129
+ # @param [String] fields
130
+ # Selector specifying which fields to include in a partial response.
131
+ # @param [String] quota_user
132
+ # Available to use for quota purposes for server-side applications. Can be any
133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
134
+ # @param [Google::Apis::RequestOptions] options
135
+ # Request-specific options
136
+ #
137
+ # @yield [result, err] Result & error if block supplied
138
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
139
+ # @yieldparam err [StandardError] error object if request failed
140
+ #
141
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
142
+ #
143
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
146
+ def get_customer_app_web(name, fields: nil, quota_user: nil, options: nil, &block)
147
+ command = make_simple_command(:get, 'v1/{+name}', options)
148
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
149
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
150
+ command.params['name'] = name unless name.nil?
151
+ command.query['fields'] = fields unless fields.nil?
152
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
153
+ execute_or_queue_command(command, &block)
154
+ end
155
+
54
156
  # Generate report of installed Chrome versions.
55
157
  # @param [String] customer
56
158
  # Required. Customer id or "my_customer" to use the customer associated to the
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.10.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-05-18 00:00:00.000000000 Z
11
+ date: 2021-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Chrome Management API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chromemanagement_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.10.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chromemanagement_v1
57
63
  post_install_message:
58
64
  rdoc_options: []