google-apis-androidmanagement_v1 0.27.0 → 0.28.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: 391990903de0cea0b7db565fbbda94515dfb56f1148a63eb36bd77ed77ef644d
4
+ data.tar.gz: 7d883cb343d18afe6cf698cddedeb38f84e51824b03c96af493195f495b0c249
5
5
  SHA512:
6
- metadata.gz: cfe604d327e583c3443fdc2eca4d4991edcefcb91886bcc7b79c37c2721262a65bfb204a64f2ddae6886b715bbfdc9107a59737b6d06a52c3bba62bab1c78e68
7
- data.tar.gz: 7e035dce47ec7ea1dd1587379a1576c52f4d09ef3d3b36d34e753e0bc167e5cdd9ba113bea8ae72defa70e3474f90b1cc7768f6630cfc419a3c015d54a97360a
6
+ metadata.gz: 7d8fd3098eb949c25a276de131a3078509897f8571a6e3de9177d2c133e91c4e68243213a250a6703b0e43cbfcb8eecdc30dc5d00edef480c3ffdce2fb06970b
7
+ data.tar.gz: 5794af43c04d15057c13230c2d851eb2a238eb5134e30f02631c8985af786d0ee0e9d951d28843d8b52dbdeedd306f431665624a0db8f50ab9edcdc521ea88e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.28.0 (2022-03-08)
4
+
5
+ * Regenerated from discovery document revision 20220302
6
+
3
7
  ### v0.27.0 (2022-02-16)
4
8
 
5
9
  * 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
 
@@ -2496,6 +2643,16 @@ module Google
2496
2643
  # @return [String]
2497
2644
  attr_accessor :require_password_unlock
2498
2645
 
2646
+ # Controls whether a unified lock is allowed for the device and the work profile,
2647
+ # on devices running Android 9 and above with a work profile. This has no
2648
+ # effect on other devices. This can be set only if password_scope is set to
2649
+ # SCOPE_PROFILE, the policy will be rejected otherwise. If user has not set a
2650
+ # separate work lock and this field is set to REQUIRE_SEPARATE_WORK_LOCK, a
2651
+ # NonComplianceDetail is reported with nonComplianceReason set to USER_ACTION.
2652
+ # Corresponds to the JSON property `unifiedLockSettings`
2653
+ # @return [String]
2654
+ attr_accessor :unified_lock_settings
2655
+
2499
2656
  def initialize(**args)
2500
2657
  update!(**args)
2501
2658
  end
@@ -2515,6 +2672,7 @@ module Google
2515
2672
  @password_quality = args[:password_quality] if args.key?(:password_quality)
2516
2673
  @password_scope = args[:password_scope] if args.key?(:password_scope)
2517
2674
  @require_password_unlock = args[:require_password_unlock] if args.key?(:require_password_unlock)
2675
+ @unified_lock_settings = args[:unified_lock_settings] if args.key?(:unified_lock_settings)
2518
2676
  end
2519
2677
  end
2520
2678
 
@@ -2767,7 +2925,12 @@ module Google
2767
2925
  # @return [String]
2768
2926
  attr_accessor :camera_access
2769
2927
 
2770
- # Whether all cameras on the device are disabled.
2928
+ # If camera_access is set to any value other than CAMERA_ACCESS_UNSPECIFIED,
2929
+ # this has no effect. Otherwise this field controls whether cameras are disabled:
2930
+ # If true, all cameras are disabled, otherwise they are available. For fully
2931
+ # managed devices this field applies for all apps on the device. For work
2932
+ # profiles, this field applies only to apps in the work profile, and the camera
2933
+ # access of apps outside the work profile is unaffected.
2771
2934
  # Corresponds to the JSON property `cameraDisabled`
2772
2935
  # @return [Boolean]
2773
2936
  attr_accessor :camera_disabled
@@ -3103,7 +3266,7 @@ module Google
3103
3266
  attr_accessor :set_wallpaper_disabled
3104
3267
  alias_method :set_wallpaper_disabled?, :set_wallpaper_disabled
3105
3268
 
3106
- # Actions to take during the setup process.
3269
+ # Action to take during the setup process. At most one action may be specified.
3107
3270
  # Corresponds to the JSON property `setupActions`
3108
3271
  # @return [Array<Google::Apis::AndroidmanagementV1::SetupAction>]
3109
3272
  attr_accessor :setup_actions
@@ -3172,7 +3335,11 @@ module Google
3172
3335
  attr_accessor :uninstall_apps_disabled
3173
3336
  alias_method :uninstall_apps_disabled?, :uninstall_apps_disabled
3174
3337
 
3175
- # Whether the microphone is muted and adjusting microphone volume is disabled.
3338
+ # If microphone_access is set to any value other than
3339
+ # MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field
3340
+ # controls whether microphones are disabled: If true, all microphones are
3341
+ # disabled, otherwise they are available. This is available only on fully
3342
+ # managed devices.
3176
3343
  # Corresponds to the JSON property `unmuteMicrophoneDisabled`
3177
3344
  # @return [Boolean]
3178
3345
  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.28.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 = "20220302"
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
 
@@ -1079,6 +1113,7 @@ module Google
1079
1113
  property :password_quality, as: 'passwordQuality'
1080
1114
  property :password_scope, as: 'passwordScope'
1081
1115
  property :require_password_unlock, as: 'requirePasswordUnlock'
1116
+ property :unified_lock_settings, as: 'unifiedLockSettings'
1082
1117
  end
1083
1118
  end
1084
1119
 
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.28.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-14 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.28.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: []