google-apis-androidmanagement_v1 0.27.0 → 0.30.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: fa1deced7920248626006052717768c6bb49d35670b113d2dead969a4a9181b1
4
- data.tar.gz: '08eab70e4572d261363ad2a28c28ba2f04032a79aeae67416721355e0ed702f4'
3
+ metadata.gz: 7aeda1af7586b09e10eee1011fbcfde0dcfe958ce87eb82f20bf9d4e55c03cb8
4
+ data.tar.gz: de3e7b3af8f701b2d96e64b4ce9c36510ecd07ebf81f2565301acedbeb65b3b3
5
5
  SHA512:
6
- metadata.gz: cfe604d327e583c3443fdc2eca4d4991edcefcb91886bcc7b79c37c2721262a65bfb204a64f2ddae6886b715bbfdc9107a59737b6d06a52c3bba62bab1c78e68
7
- data.tar.gz: 7e035dce47ec7ea1dd1587379a1576c52f4d09ef3d3b36d34e753e0bc167e5cdd9ba113bea8ae72defa70e3474f90b1cc7768f6630cfc419a3c015d54a97360a
6
+ metadata.gz: 375e0d5a680bb7acee8526f51a4ddffc45a7168a029774655f06fbadd2cd220a2495a90823ee1234c91ad7029b29b02f6a3c17501ee28d3a7c92263507895273
7
+ data.tar.gz: da4d505ca76747c0caa50993254186cb49dde43226083c2d2057843e064c5b1dd95d1c8be6e8de88657867030de8d4a6c9a9638a2616006603831e561db0f44e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.30.0 (2022-03-22)
4
+
5
+ * Regenerated from discovery document revision 20220314
6
+
7
+ ### v0.29.0 (2022-03-15)
8
+
9
+ * Regenerated from discovery document revision 20220307
10
+
11
+ ### v0.28.0 (2022-03-08)
12
+
13
+ * Regenerated from discovery document revision 20220302
14
+
3
15
  ### v0.27.0 (2022-02-16)
4
16
 
5
17
  * Regenerated from discovery document revision 20220207
@@ -157,20 +157,124 @@ module Google
157
157
  end
158
158
  end
159
159
 
160
+ # This represents a single version of the app.
161
+ class AppVersion
162
+ include Google::Apis::Core::Hashable
163
+
164
+ # True if this version is a production track.
165
+ # Corresponds to the JSON property `production`
166
+ # @return [Boolean]
167
+ attr_accessor :production
168
+ alias_method :production?, :production
169
+
170
+ # Track ids that the app version is published in. This doesn't include the
171
+ # production track (see production instead).
172
+ # Corresponds to the JSON property `trackIds`
173
+ # @return [Array<String>]
174
+ attr_accessor :track_ids
175
+
176
+ # Unique increasing identifier for the app version.
177
+ # Corresponds to the JSON property `versionCode`
178
+ # @return [Fixnum]
179
+ attr_accessor :version_code
180
+
181
+ # The string used in the Play store by the app developer to identify the version.
182
+ # The string is not necessarily unique or localized (for example, the string
183
+ # could be "1.4").
184
+ # Corresponds to the JSON property `versionString`
185
+ # @return [String]
186
+ attr_accessor :version_string
187
+
188
+ def initialize(**args)
189
+ update!(**args)
190
+ end
191
+
192
+ # Update properties of this object
193
+ def update!(**args)
194
+ @production = args[:production] if args.key?(:production)
195
+ @track_ids = args[:track_ids] if args.key?(:track_ids)
196
+ @version_code = args[:version_code] if args.key?(:version_code)
197
+ @version_string = args[:version_string] if args.key?(:version_string)
198
+ end
199
+ end
200
+
160
201
  # Information about an app.
161
202
  class Application
162
203
  include Google::Apis::Core::Hashable
163
204
 
205
+ # Whether this app is free, free with in-app purchases, or paid. If the pricing
206
+ # is unspecified, this means the app is not generally available anymore (even
207
+ # though it might still be available to people who own it).
208
+ # Corresponds to the JSON property `appPricing`
209
+ # @return [String]
210
+ attr_accessor :app_pricing
211
+
164
212
  # Application tracks visible to the enterprise.
165
213
  # Corresponds to the JSON property `appTracks`
166
214
  # @return [Array<Google::Apis::AndroidmanagementV1::AppTrackInfo>]
167
215
  attr_accessor :app_tracks
168
216
 
217
+ # Versions currently available for this app.
218
+ # Corresponds to the JSON property `appVersions`
219
+ # @return [Array<Google::Apis::AndroidmanagementV1::AppVersion>]
220
+ attr_accessor :app_versions
221
+
222
+ # The name of the author of the apps (for example, the app developer).
223
+ # Corresponds to the JSON property `author`
224
+ # @return [String]
225
+ attr_accessor :author
226
+
227
+ # The countries which this app is available in as per ISO 3166-1 alpha-2.
228
+ # Corresponds to the JSON property `availableCountries`
229
+ # @return [Array<String>]
230
+ attr_accessor :available_countries
231
+
232
+ # The app category (e.g. RACING, SOCIAL, etc.)
233
+ # Corresponds to the JSON property `category`
234
+ # @return [String]
235
+ attr_accessor :category
236
+
237
+ # The content rating for this app.
238
+ # Corresponds to the JSON property `contentRating`
239
+ # @return [String]
240
+ attr_accessor :content_rating
241
+
242
+ # The localized promotional description, if available.
243
+ # Corresponds to the JSON property `description`
244
+ # @return [String]
245
+ attr_accessor :description
246
+
247
+ # How and to whom the package is made available.
248
+ # Corresponds to the JSON property `distributionChannel`
249
+ # @return [String]
250
+ attr_accessor :distribution_channel
251
+
252
+ # Noteworthy features (if any) of this app.
253
+ # Corresponds to the JSON property `features`
254
+ # @return [Array<String>]
255
+ attr_accessor :features
256
+
257
+ # Full app description, if available.
258
+ # Corresponds to the JSON property `fullDescription`
259
+ # @return [String]
260
+ attr_accessor :full_description
261
+
262
+ # A link to an image that can be used as an icon for the app. This image is
263
+ # suitable for use at up to 512px x 512px
264
+ # Corresponds to the JSON property `iconUrl`
265
+ # @return [String]
266
+ attr_accessor :icon_url
267
+
169
268
  # The set of managed properties available to be pre-configured for the app.
170
269
  # Corresponds to the JSON property `managedProperties`
171
270
  # @return [Array<Google::Apis::AndroidmanagementV1::ManagedProperty>]
172
271
  attr_accessor :managed_properties
173
272
 
273
+ # The minimum Android SDK necessary to run the app.
274
+ # Corresponds to the JSON property `minAndroidSdkVersion`
275
+ # @return [Fixnum]
276
+ attr_accessor :min_android_sdk_version
277
+
174
278
  # The name of the app in the form enterprises/`enterprise`/applications/`
175
279
  # package_name`.
176
280
  # Corresponds to the JSON property `name`
@@ -182,22 +286,65 @@ module Google
182
286
  # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPermission>]
183
287
  attr_accessor :permissions
184
288
 
289
+ # A link to the (consumer) Google Play details page for the app.
290
+ # Corresponds to the JSON property `playStoreUrl`
291
+ # @return [String]
292
+ attr_accessor :play_store_url
293
+
294
+ # A localised description of the recent changes made to the app.
295
+ # Corresponds to the JSON property `recentChanges`
296
+ # @return [String]
297
+ attr_accessor :recent_changes
298
+
299
+ # A list of screenshot links representing the app.
300
+ # Corresponds to the JSON property `screenshotUrls`
301
+ # @return [Array<String>]
302
+ attr_accessor :screenshot_urls
303
+
304
+ # A link to a smaller image that can be used as an icon for the app. This image
305
+ # is suitable for use at up to 128px x 128px.
306
+ # Corresponds to the JSON property `smallIconUrl`
307
+ # @return [String]
308
+ attr_accessor :small_icon_url
309
+
185
310
  # The title of the app. Localized.
186
311
  # Corresponds to the JSON property `title`
187
312
  # @return [String]
188
313
  attr_accessor :title
189
314
 
315
+ # Output only. The approximate time (within 7 days) the app was last published.
316
+ # Corresponds to the JSON property `updateTime`
317
+ # @return [String]
318
+ attr_accessor :update_time
319
+
190
320
  def initialize(**args)
191
321
  update!(**args)
192
322
  end
193
323
 
194
324
  # Update properties of this object
195
325
  def update!(**args)
326
+ @app_pricing = args[:app_pricing] if args.key?(:app_pricing)
196
327
  @app_tracks = args[:app_tracks] if args.key?(:app_tracks)
328
+ @app_versions = args[:app_versions] if args.key?(:app_versions)
329
+ @author = args[:author] if args.key?(:author)
330
+ @available_countries = args[:available_countries] if args.key?(:available_countries)
331
+ @category = args[:category] if args.key?(:category)
332
+ @content_rating = args[:content_rating] if args.key?(:content_rating)
333
+ @description = args[:description] if args.key?(:description)
334
+ @distribution_channel = args[:distribution_channel] if args.key?(:distribution_channel)
335
+ @features = args[:features] if args.key?(:features)
336
+ @full_description = args[:full_description] if args.key?(:full_description)
337
+ @icon_url = args[:icon_url] if args.key?(:icon_url)
197
338
  @managed_properties = args[:managed_properties] if args.key?(:managed_properties)
339
+ @min_android_sdk_version = args[:min_android_sdk_version] if args.key?(:min_android_sdk_version)
198
340
  @name = args[:name] if args.key?(:name)
199
341
  @permissions = args[:permissions] if args.key?(:permissions)
342
+ @play_store_url = args[:play_store_url] if args.key?(:play_store_url)
343
+ @recent_changes = args[:recent_changes] if args.key?(:recent_changes)
344
+ @screenshot_urls = args[:screenshot_urls] if args.key?(:screenshot_urls)
345
+ @small_icon_url = args[:small_icon_url] if args.key?(:small_icon_url)
200
346
  @title = args[:title] if args.key?(:title)
347
+ @update_time = args[:update_time] if args.key?(:update_time)
201
348
  end
202
349
  end
203
350
 
@@ -271,6 +418,21 @@ module Google
271
418
  # @return [Array<String>]
272
419
  attr_accessor :accessible_track_ids
273
420
 
421
+ # Specifies whether the app is allowed networking when the VPN is not connected
422
+ # and alwaysOnVpnPackage.lockdownEnabled is enabled. If set to
423
+ # VPN_LOCKDOWN_ENFORCED, the app is not allowed networking, and if set to
424
+ # VPN_LOCKDOWN_EXEMPTION, the app is allowed networking. Only supported on
425
+ # devices running Android 10 and above. If this is not supported by the device,
426
+ # the device will contain a NonComplianceDetail with non_compliance_reason set
427
+ # to API_LEVEL and a fieldPath. If this is not applicable to the app, the device
428
+ # will contain a NonComplianceDetail with non_compliance_reason set to
429
+ # UNSUPPORTED and a fieldPath. The fieldPath is set to applications[i].
430
+ # alwaysOnVpnLockdownExemption, where i is the index of the package in the
431
+ # applications policy.
432
+ # Corresponds to the JSON property `alwaysOnVpnLockdownExemption`
433
+ # @return [String]
434
+ attr_accessor :always_on_vpn_lockdown_exemption
435
+
274
436
  # Controls the auto-update mode for the app.
275
437
  # Corresponds to the JSON property `autoUpdateMode`
276
438
  # @return [String]
@@ -364,6 +526,7 @@ module Google
364
526
  # Update properties of this object
365
527
  def update!(**args)
366
528
  @accessible_track_ids = args[:accessible_track_ids] if args.key?(:accessible_track_ids)
529
+ @always_on_vpn_lockdown_exemption = args[:always_on_vpn_lockdown_exemption] if args.key?(:always_on_vpn_lockdown_exemption)
367
530
  @auto_update_mode = args[:auto_update_mode] if args.key?(:auto_update_mode)
368
531
  @connected_work_and_personal_app = args[:connected_work_and_personal_app] if args.key?(:connected_work_and_personal_app)
369
532
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
@@ -839,11 +1002,11 @@ module Google
839
1002
  # Represents a whole or partial calendar date, such as a birthday. The time of
840
1003
  # day and time zone are either specified elsewhere or are insignificant. The
841
1004
  # date is relative to the Gregorian Calendar. This can represent one of the
842
- # following: A full date, with non-zero year, month, and day values A month and
843
- # day, with a zero year (e.g., an anniversary) A year on its own, with a zero
844
- # month and a zero day A year and month, with a zero day (e.g., a credit card
845
- # expiration date)Related types: * google.type.TimeOfDay * google.type.DateTime *
846
- # google.protobuf.Timestamp
1005
+ # following: A full date, with non-zero year, month, and day values. A month and
1006
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
1007
+ # zero month and a zero day. A year and month, with a zero day (for example, a
1008
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
1009
+ # DateTime google.protobuf.Timestamp
847
1010
  class Date
848
1011
  include Google::Apis::Core::Hashable
849
1012
 
@@ -1533,11 +1696,11 @@ module Google
1533
1696
  # Represents a whole or partial calendar date, such as a birthday. The time of
1534
1697
  # day and time zone are either specified elsewhere or are insignificant. The
1535
1698
  # date is relative to the Gregorian Calendar. This can represent one of the
1536
- # following: A full date, with non-zero year, month, and day values A month and
1537
- # day, with a zero year (e.g., an anniversary) A year on its own, with a zero
1538
- # month and a zero day A year and month, with a zero day (e.g., a credit card
1539
- # expiration date)Related types: * google.type.TimeOfDay * google.type.DateTime *
1540
- # google.protobuf.Timestamp
1699
+ # following: A full date, with non-zero year, month, and day values. A month and
1700
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
1701
+ # zero month and a zero day. A year and month, with a zero day (for example, a
1702
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
1703
+ # DateTime google.protobuf.Timestamp
1541
1704
  # Corresponds to the JSON property `endDate`
1542
1705
  # @return [Google::Apis::AndroidmanagementV1::Date]
1543
1706
  attr_accessor :end_date
@@ -1545,11 +1708,11 @@ module Google
1545
1708
  # Represents a whole or partial calendar date, such as a birthday. The time of
1546
1709
  # day and time zone are either specified elsewhere or are insignificant. The
1547
1710
  # date is relative to the Gregorian Calendar. This can represent one of the
1548
- # following: A full date, with non-zero year, month, and day values A month and
1549
- # day, with a zero year (e.g., an anniversary) A year on its own, with a zero
1550
- # month and a zero day A year and month, with a zero day (e.g., a credit card
1551
- # expiration date)Related types: * google.type.TimeOfDay * google.type.DateTime *
1552
- # google.protobuf.Timestamp
1711
+ # following: A full date, with non-zero year, month, and day values. A month and
1712
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
1713
+ # zero month and a zero day. A year and month, with a zero day (for example, a
1714
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
1715
+ # DateTime google.protobuf.Timestamp
1553
1716
  # Corresponds to the JSON property `startDate`
1554
1717
  # @return [Google::Apis::AndroidmanagementV1::Date]
1555
1718
  attr_accessor :start_date
@@ -2767,7 +2930,12 @@ module Google
2767
2930
  # @return [String]
2768
2931
  attr_accessor :camera_access
2769
2932
 
2770
- # Whether all cameras on the device are disabled.
2933
+ # If camera_access is set to any value other than CAMERA_ACCESS_UNSPECIFIED,
2934
+ # this has no effect. Otherwise this field controls whether cameras are disabled:
2935
+ # If true, all cameras are disabled, otherwise they are available. For fully
2936
+ # managed devices this field applies for all apps on the device. For work
2937
+ # profiles, this field applies only to apps in the work profile, and the camera
2938
+ # access of apps outside the work profile is unaffected.
2771
2939
  # Corresponds to the JSON property `cameraDisabled`
2772
2940
  # @return [Boolean]
2773
2941
  attr_accessor :camera_disabled
@@ -3103,7 +3271,7 @@ module Google
3103
3271
  attr_accessor :set_wallpaper_disabled
3104
3272
  alias_method :set_wallpaper_disabled?, :set_wallpaper_disabled
3105
3273
 
3106
- # Actions to take during the setup process.
3274
+ # Action to take during the setup process. At most one action may be specified.
3107
3275
  # Corresponds to the JSON property `setupActions`
3108
3276
  # @return [Array<Google::Apis::AndroidmanagementV1::SetupAction>]
3109
3277
  attr_accessor :setup_actions
@@ -3172,7 +3340,11 @@ module Google
3172
3340
  attr_accessor :uninstall_apps_disabled
3173
3341
  alias_method :uninstall_apps_disabled?, :uninstall_apps_disabled
3174
3342
 
3175
- # Whether the microphone is muted and adjusting microphone volume is disabled.
3343
+ # If microphone_access is set to any value other than
3344
+ # MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field
3345
+ # controls whether microphones are disabled: If true, all microphones are
3346
+ # disabled, otherwise they are available. This is available only on fully
3347
+ # managed devices.
3176
3348
  # Corresponds to the JSON property `unmuteMicrophoneDisabled`
3177
3349
  # @return [Boolean]
3178
3350
  attr_accessor :unmute_microphone_disabled
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidmanagementV1
18
18
  # Version of the google-apis-androidmanagement_v1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220207"
25
+ REVISION = "20220314"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AppVersion
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Application
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -518,17 +524,45 @@ module Google
518
524
  end
519
525
  end
520
526
 
527
+ class AppVersion
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :production, as: 'production'
531
+ collection :track_ids, as: 'trackIds'
532
+ property :version_code, as: 'versionCode'
533
+ property :version_string, as: 'versionString'
534
+ end
535
+ end
536
+
521
537
  class Application
522
538
  # @private
523
539
  class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :app_pricing, as: 'appPricing'
524
541
  collection :app_tracks, as: 'appTracks', class: Google::Apis::AndroidmanagementV1::AppTrackInfo, decorator: Google::Apis::AndroidmanagementV1::AppTrackInfo::Representation
525
542
 
543
+ collection :app_versions, as: 'appVersions', class: Google::Apis::AndroidmanagementV1::AppVersion, decorator: Google::Apis::AndroidmanagementV1::AppVersion::Representation
544
+
545
+ property :author, as: 'author'
546
+ collection :available_countries, as: 'availableCountries'
547
+ property :category, as: 'category'
548
+ property :content_rating, as: 'contentRating'
549
+ property :description, as: 'description'
550
+ property :distribution_channel, as: 'distributionChannel'
551
+ collection :features, as: 'features'
552
+ property :full_description, as: 'fullDescription'
553
+ property :icon_url, as: 'iconUrl'
526
554
  collection :managed_properties, as: 'managedProperties', class: Google::Apis::AndroidmanagementV1::ManagedProperty, decorator: Google::Apis::AndroidmanagementV1::ManagedProperty::Representation
527
555
 
556
+ property :min_android_sdk_version, as: 'minAndroidSdkVersion'
528
557
  property :name, as: 'name'
529
558
  collection :permissions, as: 'permissions', class: Google::Apis::AndroidmanagementV1::ApplicationPermission, decorator: Google::Apis::AndroidmanagementV1::ApplicationPermission::Representation
530
559
 
560
+ property :play_store_url, as: 'playStoreUrl'
561
+ property :recent_changes, as: 'recentChanges'
562
+ collection :screenshot_urls, as: 'screenshotUrls'
563
+ property :small_icon_url, as: 'smallIconUrl'
531
564
  property :title, as: 'title'
565
+ property :update_time, as: 'updateTime'
532
566
  end
533
567
  end
534
568
 
@@ -553,6 +587,7 @@ module Google
553
587
  # @private
554
588
  class Representation < Google::Apis::Core::JsonRepresentation
555
589
  collection :accessible_track_ids, as: 'accessibleTrackIds'
590
+ property :always_on_vpn_lockdown_exemption, as: 'alwaysOnVpnLockdownExemption'
556
591
  property :auto_update_mode, as: 'autoUpdateMode'
557
592
  property :connected_work_and_personal_app, as: 'connectedWorkAndPersonalApp'
558
593
  property :default_permission_policy, as: 'defaultPermissionPolicy'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.30.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: 2022-02-21 00:00:00.000000000 Z
11
+ date: 2022-03-28 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-androidmanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []