google-apis-androidmanagement_v1 0.29.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22c0b922bcc807e28a8153564e49f5fe9891396bfc81da7a0f901036cf127f4f
4
- data.tar.gz: 68f4d5b6d83eed7fd6b5bf52bbaea7e099009090ee47a67f3bca896d53ef30eb
3
+ metadata.gz: 1459cddd8171e6dea25225977a7faf207928933fb442cd97500eba8d54d6e33d
4
+ data.tar.gz: c0ec4213d8d69cbb72b7f64e78a14cafc1e8220d3e9bfbb35e698bc5a3f50d98
5
5
  SHA512:
6
- metadata.gz: 39db67762b1615b2dabf814892501705cfe33e14b9964475dbdc5bdd2138f86a782c1b0cf98ddc4fd0abcdd1f89fefb702fcf676498d9d261df428309b085159
7
- data.tar.gz: 0c31037212d622abd5ee96ed5ca87363412676702f7ebd0bafefebea632389ad5d59464b2be568ce33bfea6ec55357af51f9ce6af6950b691b3997dfa67f9cef
6
+ metadata.gz: 75b323cb3b603b1c03495c85cda77c4a4877f7ba97ee9f1d69886c3f26ba2ec74c5da2e8ec2d9d2a89a0370bb0869f26ee88eae96adee188b4004a852a6df279
7
+ data.tar.gz: c0247e42433f9ff80472042f596f425f4ed04acf505967c8ed437682133d1ce0348f202af8c5bc035cb3ff2837b617e2f1df758eebe8ca133543ae33d1a65a28
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.32.0 (2022-04-13)
4
+
5
+ * Regenerated from discovery document revision 20220404
6
+
7
+ ### v0.31.0 (2022-04-01)
8
+
9
+ * Regenerated from discovery document revision 20220330
10
+
11
+ ### v0.30.0 (2022-03-22)
12
+
13
+ * Regenerated from discovery document revision 20220314
14
+
3
15
  ### v0.29.0 (2022-03-15)
4
16
 
5
17
  * Regenerated from discovery document revision 20220307
@@ -161,14 +161,14 @@ module Google
161
161
  class AppVersion
162
162
  include Google::Apis::Core::Hashable
163
163
 
164
- # True if this version is a production track.
164
+ # If the value is True, it indicates that this version is a production track.
165
165
  # Corresponds to the JSON property `production`
166
166
  # @return [Boolean]
167
167
  attr_accessor :production
168
168
  alias_method :production?, :production
169
169
 
170
- # Track ids that the app version is published in. This doesn't include the
171
- # production track (see production instead).
170
+ # Track identifiers that the app version is published in. This does not include
171
+ # the production track (see production instead).
172
172
  # Corresponds to the JSON property `trackIds`
173
173
  # @return [Array<String>]
174
174
  attr_accessor :track_ids
@@ -260,7 +260,7 @@ module Google
260
260
  attr_accessor :full_description
261
261
 
262
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
263
+ # suitable for use up to a pixel size of 512 x 512.
264
264
  # Corresponds to the JSON property `iconUrl`
265
265
  # @return [String]
266
266
  attr_accessor :icon_url
@@ -302,7 +302,7 @@ module Google
302
302
  attr_accessor :screenshot_urls
303
303
 
304
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.
305
+ # is suitable for use up to a pixel size of 128 x 128.
306
306
  # Corresponds to the JSON property `smallIconUrl`
307
307
  # @return [String]
308
308
  attr_accessor :small_icon_url
@@ -418,6 +418,21 @@ module Google
418
418
  # @return [Array<String>]
419
419
  attr_accessor :accessible_track_ids
420
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
+
421
436
  # Controls the auto-update mode for the app.
422
437
  # Corresponds to the JSON property `autoUpdateMode`
423
438
  # @return [String]
@@ -511,6 +526,7 @@ module Google
511
526
  # Update properties of this object
512
527
  def update!(**args)
513
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)
514
530
  @auto_update_mode = args[:auto_update_mode] if args.key?(:auto_update_mode)
515
531
  @connected_work_and_personal_app = args[:connected_work_and_personal_app] if args.key?(:connected_work_and_personal_app)
516
532
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
@@ -1405,8 +1421,7 @@ module Google
1405
1421
  # A generic empty message that you can re-use to avoid defining duplicated empty
1406
1422
  # messages in your APIs. A typical example is to use it as the request or the
1407
1423
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1408
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1409
- # Empty is empty JSON object ``.
1424
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1410
1425
  class Empty
1411
1426
  include Google::Apis::Core::Hashable
1412
1427
 
@@ -1563,9 +1578,9 @@ module Google
1563
1578
  # @return [Fixnum]
1564
1579
  attr_accessor :primary_color
1565
1580
 
1566
- # The topic that Cloud Pub/Sub notifications are published to, in the form
1567
- # projects/`project`/topics/`topic`. This field is only required if Pub/Sub
1568
- # notifications are enabled.
1581
+ # The topic which Pub/Sub notifications are published to, in the form projects/`
1582
+ # project`/topics/`topic`. This field is only required if Pub/Sub notifications
1583
+ # are enabled.
1569
1584
  # Corresponds to the JSON property `pubsubTopic`
1570
1585
  # @return [String]
1571
1586
  attr_accessor :pubsub_topic
@@ -1611,7 +1626,7 @@ module Google
1611
1626
  # @return [String]
1612
1627
  attr_accessor :notification_receiver
1613
1628
 
1614
- # Hex-encoded SHA256 hash of the signing certificate of the extension app. Only
1629
+ # Hex-encoded SHA-256 hash of the signing certificate of the extension app. Only
1615
1630
  # hexadecimal string representations of 64 characters are valid.If not specified,
1616
1631
  # the signature for the corresponding package name is obtained from the Play
1617
1632
  # Store instead.If this list is empty, the signature of the extension app on the
@@ -2643,16 +2658,6 @@ module Google
2643
2658
  # @return [String]
2644
2659
  attr_accessor :require_password_unlock
2645
2660
 
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
-
2656
2661
  def initialize(**args)
2657
2662
  update!(**args)
2658
2663
  end
@@ -2672,7 +2677,6 @@ module Google
2672
2677
  @password_quality = args[:password_quality] if args.key?(:password_quality)
2673
2678
  @password_scope = args[:password_scope] if args.key?(:password_scope)
2674
2679
  @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)
2676
2680
  end
2677
2681
  end
2678
2682
 
@@ -3345,6 +3349,13 @@ module Google
3345
3349
  attr_accessor :unmute_microphone_disabled
3346
3350
  alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
3347
3351
 
3352
+ # Controls types of device activity logs collected from the device and reported
3353
+ # via Pub/Sub notification (https://developers.google.com/android/management/
3354
+ # notifications).
3355
+ # Corresponds to the JSON property `usageLog`
3356
+ # @return [Google::Apis::AndroidmanagementV1::UsageLog]
3357
+ attr_accessor :usage_log
3358
+
3348
3359
  # Whether transferring files over USB is disabled.
3349
3360
  # Corresponds to the JSON property `usbFileTransferDisabled`
3350
3361
  # @return [Boolean]
@@ -3471,6 +3482,7 @@ module Google
3471
3482
  @tethering_config_disabled = args[:tethering_config_disabled] if args.key?(:tethering_config_disabled)
3472
3483
  @uninstall_apps_disabled = args[:uninstall_apps_disabled] if args.key?(:uninstall_apps_disabled)
3473
3484
  @unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled)
3485
+ @usage_log = args[:usage_log] if args.key?(:usage_log)
3474
3486
  @usb_file_transfer_disabled = args[:usb_file_transfer_disabled] if args.key?(:usb_file_transfer_disabled)
3475
3487
  @usb_mass_storage_enabled = args[:usb_mass_storage_enabled] if args.key?(:usb_mass_storage_enabled)
3476
3488
  @version = args[:version] if args.key?(:version)
@@ -4091,6 +4103,35 @@ module Google
4091
4103
  end
4092
4104
  end
4093
4105
 
4106
+ # Controls types of device activity logs collected from the device and reported
4107
+ # via Pub/Sub notification (https://developers.google.com/android/management/
4108
+ # notifications).
4109
+ class UsageLog
4110
+ include Google::Apis::Core::Hashable
4111
+
4112
+ # Specifies which log types are enabled. Note that users will receive on-device
4113
+ # messaging when usage logging is enabled.
4114
+ # Corresponds to the JSON property `enabledLogTypes`
4115
+ # @return [Array<String>]
4116
+ attr_accessor :enabled_log_types
4117
+
4118
+ # Specifies which of the enabled log types can be uploaded over mobile data. By
4119
+ # default logs are queued for upload when the device connects to WiFi.
4120
+ # Corresponds to the JSON property `uploadOnCellularAllowed`
4121
+ # @return [Array<String>]
4122
+ attr_accessor :upload_on_cellular_allowed
4123
+
4124
+ def initialize(**args)
4125
+ update!(**args)
4126
+ end
4127
+
4128
+ # Update properties of this object
4129
+ def update!(**args)
4130
+ @enabled_log_types = args[:enabled_log_types] if args.key?(:enabled_log_types)
4131
+ @upload_on_cellular_allowed = args[:upload_on_cellular_allowed] if args.key?(:upload_on_cellular_allowed)
4132
+ end
4133
+ end
4134
+
4094
4135
  # A user belonging to an enterprise.
4095
4136
  class User
4096
4137
  include Google::Apis::Core::Hashable
@@ -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.29.0"
19
+ GEM_VERSION = "0.32.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 = "20220307"
25
+ REVISION = "20220404"
26
26
  end
27
27
  end
28
28
  end
@@ -454,6 +454,12 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
+ class UsageLog
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
457
463
  class User
458
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
465
 
@@ -587,6 +593,7 @@ module Google
587
593
  # @private
588
594
  class Representation < Google::Apis::Core::JsonRepresentation
589
595
  collection :accessible_track_ids, as: 'accessibleTrackIds'
596
+ property :always_on_vpn_lockdown_exemption, as: 'alwaysOnVpnLockdownExemption'
590
597
  property :auto_update_mode, as: 'autoUpdateMode'
591
598
  property :connected_work_and_personal_app, as: 'connectedWorkAndPersonalApp'
592
599
  property :default_permission_policy, as: 'defaultPermissionPolicy'
@@ -1113,7 +1120,6 @@ module Google
1113
1120
  property :password_quality, as: 'passwordQuality'
1114
1121
  property :password_scope, as: 'passwordScope'
1115
1122
  property :require_password_unlock, as: 'requirePasswordUnlock'
1116
- property :unified_lock_settings, as: 'unifiedLockSettings'
1117
1123
  end
1118
1124
  end
1119
1125
 
@@ -1262,6 +1268,8 @@ module Google
1262
1268
  property :tethering_config_disabled, as: 'tetheringConfigDisabled'
1263
1269
  property :uninstall_apps_disabled, as: 'uninstallAppsDisabled'
1264
1270
  property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled'
1271
+ property :usage_log, as: 'usageLog', class: Google::Apis::AndroidmanagementV1::UsageLog, decorator: Google::Apis::AndroidmanagementV1::UsageLog::Representation
1272
+
1265
1273
  property :usb_file_transfer_disabled, as: 'usbFileTransferDisabled'
1266
1274
  property :usb_mass_storage_enabled, as: 'usbMassStorageEnabled'
1267
1275
  property :version, :numeric_string => true, as: 'version'
@@ -1431,6 +1439,14 @@ module Google
1431
1439
  end
1432
1440
  end
1433
1441
 
1442
+ class UsageLog
1443
+ # @private
1444
+ class Representation < Google::Apis::Core::JsonRepresentation
1445
+ collection :enabled_log_types, as: 'enabledLogTypes'
1446
+ collection :upload_on_cellular_allowed, as: 'uploadOnCellularAllowed'
1447
+ end
1448
+ end
1449
+
1434
1450
  class User
1435
1451
  # @private
1436
1452
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -54,17 +54,25 @@ module Google
54
54
  # @param [Google::Apis::AndroidmanagementV1::Enterprise] enterprise_object
55
55
  # @param [Boolean] agreement_accepted
56
56
  # Whether the enterprise admin has seen and agreed to the managed Google Play
57
- # Agreement (https://www.android.com/enterprise/terms/). Always set this to true
58
- # when creating an EMM-managed enterprise. Do not create the enterprise until
59
- # the admin has viewed and accepted the agreement.
57
+ # Agreement (https://www.android.com/enterprise/terms/). Do not set this field
58
+ # for any customer-managed enterprise (https://developers.google.com/android/
59
+ # management/create-enterprise#customer-managed_enterprises). Set this to field
60
+ # to true for all EMM-managed enterprises (https://developers.google.com/android/
61
+ # management/create-enterprise#emm-managed_enterprises).
60
62
  # @param [String] enterprise_token
61
- # The enterprise token appended to the callback URL. Only set this when creating
62
- # a customer-managed enterprise.
63
+ # The enterprise token appended to the callback URL. Set this when creating a
64
+ # customer-managed enterprise (https://developers.google.com/android/management/
65
+ # create-enterprise#customer-managed_enterprises) and not when creating a
66
+ # deprecated EMM-managed enterprise (https://developers.google.com/android/
67
+ # management/create-enterprise#emm-managed_enterprises).
63
68
  # @param [String] project_id
64
69
  # The ID of the Google Cloud Platform project which will own the enterprise.
65
70
  # @param [String] signup_url_name
66
- # The name of the SignupUrl used to sign up for the enterprise. Only set this
67
- # when creating a customer-managed enterprise.
71
+ # The name of the SignupUrl used to sign up for the enterprise. Set this when
72
+ # creating a customer-managed enterprise (https://developers.google.com/android/
73
+ # management/create-enterprise#customer-managed_enterprises) and not when
74
+ # creating a deprecated EMM-managed enterprise (https://developers.google.com/
75
+ # android/management/create-enterprise#emm-managed_enterprises).
68
76
  # @param [String] fields
69
77
  # Selector specifying which fields to include in a partial response.
70
78
  # @param [String] quota_user
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.29.0
4
+ version: 0.32.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-03-21 00:00:00.000000000 Z
11
+ date: 2022-04-18 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.32.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: []