google-apis-androidmanagement_v1 0.59.0 → 0.66.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: 920073bb3aa0db606c78248c4e196a96a343766d2418eff6722a114fbcdc1a77
4
- data.tar.gz: 5b189b9edd7360dc40b92559e4e15217ecf37fd5db81b312877b03a004576e63
3
+ metadata.gz: 0ee85f339bd7e70a82faebe289490903d1fe9818484cb0889745692b7b224cf3
4
+ data.tar.gz: f70b3f0c6873b0a98bd0ab7ab4438ffd3cc6f2d917db559f2e8d65e66f65b431
5
5
  SHA512:
6
- metadata.gz: 85d0005b806209ced740e40753fb0fa929a4b8ab3085ea641a57ed580db5da177da664d35fe502b00c48fe455749e874c07c3362d924bbc1de2c5d15f36382b5
7
- data.tar.gz: 646e22d3015b7f2c597d76c3306a68daaa77483d04655aa4065d07e508427f95cb78243b8dfa0bdd43115802a6490bbfc8f2c4966e1fb5d9e57467844b7e8a8d
6
+ metadata.gz: 529d83304d20b5e52e95b107698d1afcfb481cb7bd13068eae5624dd4817cfd514c820342a3a06ba873176be3f6dee1b523e5d276826872362259a38d0003f11
7
+ data.tar.gz: 83140a5885bd0dfeb2a36f5c81ceda2a301cdd9101bd5a7dabb609ff5d878924cf81ea77bebb83832aec3a12cf10e5567b61faf85424bd1443fee346fd1b37e7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.66.0 (2023-12-03)
4
+
5
+ * Regenerated from discovery document revision 20231120
6
+
7
+ ### v0.65.0 (2023-11-05)
8
+
9
+ * Regenerated from discovery document revision 20231025
10
+
11
+ ### v0.64.0 (2023-10-29)
12
+
13
+ * Regenerated from discovery document revision 20231016
14
+
15
+ ### v0.63.0 (2023-10-22)
16
+
17
+ * Regenerated from discovery document revision 20231009
18
+
19
+ ### v0.62.0 (2023-10-08)
20
+
21
+ * Regenerated from discovery document revision 20231004
22
+
23
+ ### v0.61.0 (2023-09-24)
24
+
25
+ * Regenerated from discovery document revision 20230911
26
+
27
+ ### v0.60.0 (2023-09-10)
28
+
29
+ * Regenerated from discovery document revision 20230828
30
+
3
31
  ### v0.59.0 (2023-08-27)
4
32
 
5
33
  * Regenerated from discovery document revision 20230814
@@ -521,8 +521,7 @@ module Google
521
521
 
522
522
  # Policy for an individual app. Note: Application availability on a given device
523
523
  # cannot be changed using this policy if installAppsDisabled is enabled. The
524
- # maximum number of applications that you can specify per enterprise policy is 3,
525
- # 000.
524
+ # maximum number of applications that you can specify per policy is 3,000.
526
525
  class ApplicationPolicy
527
526
  include Google::Apis::Core::Hashable
528
527
 
@@ -1083,6 +1082,8 @@ module Google
1083
1082
  attr_accessor :error_code
1084
1083
 
1085
1084
  # For commands of type RESET_PASSWORD, optionally specifies the new password.
1085
+ # Note: The new password must be at least 6 characters long if it is numeric in
1086
+ # case of Android 14 devices. Else the command will fail with INVALID_VALUE.
1086
1087
  # Corresponds to the JSON property `newPassword`
1087
1088
  # @return [String]
1088
1089
  attr_accessor :new_password
@@ -1367,8 +1368,13 @@ module Google
1367
1368
  # @return [String]
1368
1369
  attr_accessor :cross_profile_data_sharing
1369
1370
 
1370
- # Whether contacts stored in the work profile can be shown in personal profile
1371
- # contact searches and incoming calls.
1371
+ # A list of package names.
1372
+ # Corresponds to the JSON property `exemptionsToShowWorkContactsInPersonalProfile`
1373
+ # @return [Google::Apis::AndroidmanagementV1::PackageNameList]
1374
+ attr_accessor :exemptions_to_show_work_contacts_in_personal_profile
1375
+
1376
+ # Whether personal apps can access contacts stored in the work profile.See also
1377
+ # exemptions_to_show_work_contacts_in_personal_profile.
1372
1378
  # Corresponds to the JSON property `showWorkContactsInPersonalProfile`
1373
1379
  # @return [String]
1374
1380
  attr_accessor :show_work_contacts_in_personal_profile
@@ -1388,6 +1394,7 @@ module Google
1388
1394
  def update!(**args)
1389
1395
  @cross_profile_copy_paste = args[:cross_profile_copy_paste] if args.key?(:cross_profile_copy_paste)
1390
1396
  @cross_profile_data_sharing = args[:cross_profile_data_sharing] if args.key?(:cross_profile_data_sharing)
1397
+ @exemptions_to_show_work_contacts_in_personal_profile = args[:exemptions_to_show_work_contacts_in_personal_profile] if args.key?(:exemptions_to_show_work_contacts_in_personal_profile)
1391
1398
  @show_work_contacts_in_personal_profile = args[:show_work_contacts_in_personal_profile] if args.key?(:show_work_contacts_in_personal_profile)
1392
1399
  @work_profile_widgets_default = args[:work_profile_widgets_default] if args.key?(:work_profile_widgets_default)
1393
1400
  end
@@ -1762,11 +1769,22 @@ module Google
1762
1769
  class DeviceRadioState
1763
1770
  include Google::Apis::Core::Hashable
1764
1771
 
1765
- # Controls whether airplane mode can be toggled by the user or not
1772
+ # Controls whether airplane mode can be toggled by the user or not.
1766
1773
  # Corresponds to the JSON property `airplaneModeState`
1767
1774
  # @return [String]
1768
1775
  attr_accessor :airplane_mode_state
1769
1776
 
1777
+ # Controls whether cellular 2G setting can be toggled by the user or not.
1778
+ # Corresponds to the JSON property `cellularTwoGState`
1779
+ # @return [String]
1780
+ attr_accessor :cellular_two_g_state
1781
+
1782
+ # Controls the state of the ultra wideband setting and whether the user can
1783
+ # toggle it on or off.
1784
+ # Corresponds to the JSON property `ultraWidebandState`
1785
+ # @return [String]
1786
+ attr_accessor :ultra_wideband_state
1787
+
1770
1788
  # Controls current state of Wi-Fi and if user can change its state.
1771
1789
  # Corresponds to the JSON property `wifiState`
1772
1790
  # @return [String]
@@ -1779,6 +1797,8 @@ module Google
1779
1797
  # Update properties of this object
1780
1798
  def update!(**args)
1781
1799
  @airplane_mode_state = args[:airplane_mode_state] if args.key?(:airplane_mode_state)
1800
+ @cellular_two_g_state = args[:cellular_two_g_state] if args.key?(:cellular_two_g_state)
1801
+ @ultra_wideband_state = args[:ultra_wideband_state] if args.key?(:ultra_wideband_state)
1782
1802
  @wifi_state = args[:wifi_state] if args.key?(:wifi_state)
1783
1803
  end
1784
1804
  end
@@ -2271,15 +2291,16 @@ module Google
2271
2291
 
2272
2292
  # A system freeze period. When a device’s clock is within the freeze period, all
2273
2293
  # incoming system updates (including security patches) are blocked and won’t be
2274
- # installed. When a device is outside the freeze period, normal update behavior
2275
- # applies. Leap years are ignored in freeze period calculations, in particular: *
2276
- # If Feb. 29th is set as the start or end date of a freeze period, the freeze
2277
- # period will start or end on Feb. 28th instead. * When a device’s system clock
2278
- # reads Feb. 29th, it’s treated as Feb. 28th. * When calculating the number of
2279
- # days in a freeze period or the time between two freeze periods, Feb. 29th is
2280
- # ignored and not counted as a day.Note: For Freeze Periods to take effect,
2281
- # SystemUpdateType cannot be specified as SYSTEM_UPDATE_TYPE_UNSPECIFIED,
2282
- # because freeze periods require a defined policy to be specified.
2294
+ # installed.When the device is outside any set freeze periods, the normal policy
2295
+ # behavior (automatic, windowed, or postponed) applies.Leap years are ignored in
2296
+ # freeze period calculations, in particular: If Feb. 29th is set as the start or
2297
+ # end date of a freeze period, the freeze period will start or end on Feb. 28th
2298
+ # instead. When a device’s system clock reads Feb. 29th, it’s treated as Feb.
2299
+ # 28th. When calculating the number of days in a freeze period or the time
2300
+ # between two freeze periods, Feb. 29th is ignored and not counted as a day.Note:
2301
+ # For Freeze Periods to take effect, SystemUpdateType cannot be specified as
2302
+ # SYSTEM_UPDATE_TYPE_UNSPECIFIED, because freeze periods require a defined
2303
+ # policy to be specified.
2283
2304
  class FreezePeriod
2284
2305
  include Google::Apis::Core::Hashable
2285
2306
 
@@ -3869,8 +3890,12 @@ module Google
3869
3890
  attr_accessor :camera_disabled
3870
3891
  alias_method :camera_disabled?, :camera_disabled
3871
3892
 
3872
- # Controls how long the work profile can stay off. The duration must be at least
3873
- # 3 days.
3893
+ # Controls how long the work profile can stay off. The minimum duration must be
3894
+ # at least 3 days. Other details are as follows: - If the duration is set to 0,
3895
+ # the feature is turned off. - If the duration is set to a value smaller than
3896
+ # the minimum duration, the feature returns an error. *Note:* If you want to
3897
+ # avoid personal profiles being suspended during long periods of off-time, you
3898
+ # can temporarily set a large value for this parameter.
3874
3899
  # Corresponds to the JSON property `maxDaysWithWorkOff`
3875
3900
  # @return [Fixnum]
3876
3901
  attr_accessor :max_days_with_work_off
@@ -3956,7 +3981,7 @@ module Google
3956
3981
  # @return [String]
3957
3982
  attr_accessor :app_auto_update_policy
3958
3983
 
3959
- # Policy applied to apps.
3984
+ # Policy applied to apps. This can have at most 3,000 elements.
3960
3985
  # Corresponds to the JSON property `applications`
3961
3986
  # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
3962
3987
  attr_accessor :applications
@@ -4887,7 +4912,22 @@ module Google
4887
4912
  end
4888
4913
  end
4889
4914
 
4890
- # A resource containing sign in details for an enterprise.
4915
+ # A resource containing sign in details for an enterprise. Use enterprises to
4916
+ # manage SigninDetails for a given enterprise.For an enterprise, we can have any
4917
+ # number of SigninDetails that is uniquely identified by combination of the
4918
+ # following three fields (signin_url, allow_personal_usage, token_tag). One
4919
+ # cannot create two SigninDetails with the same (signin_url,
4920
+ # allow_personal_usage, token_tag). (token_tag is an optional field).Patch: The
4921
+ # operation updates the current list of SigninDetails with the new list of
4922
+ # SigninDetails. If the stored SigninDetail configuration is passed, it returns
4923
+ # the same signin_enrollment_token and qr_code. If we pass multiple identical
4924
+ # SigninDetail configurations that are not stored, it will store the first one
4925
+ # amongst those SigninDetail configurations. if the configuration already exists
4926
+ # we cannot request it more than once in a particular patch API call, otherwise
4927
+ # it will give a duplicate key error and the whole operation will fail. If we
4928
+ # remove certain SigninDetail configuration from the request then it will get
4929
+ # removed from the storage. We can then request another signin_enrollment_token
4930
+ # and qr_code for the same SigninDetail configuration.
4891
4931
  class SigninDetail
4892
4932
  include Google::Apis::Core::Hashable
4893
4933
 
@@ -4925,6 +4965,11 @@ module Google
4925
4965
  # @return [String]
4926
4966
  attr_accessor :signin_url
4927
4967
 
4968
+ # An EMM-specified metadata to distinguish between instances of SigninDetail.
4969
+ # Corresponds to the JSON property `tokenTag`
4970
+ # @return [String]
4971
+ attr_accessor :token_tag
4972
+
4928
4973
  def initialize(**args)
4929
4974
  update!(**args)
4930
4975
  end
@@ -4935,6 +4980,7 @@ module Google
4935
4980
  @qr_code = args[:qr_code] if args.key?(:qr_code)
4936
4981
  @signin_enrollment_token = args[:signin_enrollment_token] if args.key?(:signin_enrollment_token)
4937
4982
  @signin_url = args[:signin_url] if args.key?(:signin_url)
4983
+ @token_tag = args[:token_tag] if args.key?(:token_tag)
4938
4984
  end
4939
4985
  end
4940
4986
 
@@ -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.59.0"
19
+ GEM_VERSION = "0.66.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230814"
25
+ REVISION = "20231120"
26
26
  end
27
27
  end
28
28
  end
@@ -1117,6 +1117,8 @@ module Google
1117
1117
  class Representation < Google::Apis::Core::JsonRepresentation
1118
1118
  property :cross_profile_copy_paste, as: 'crossProfileCopyPaste'
1119
1119
  property :cross_profile_data_sharing, as: 'crossProfileDataSharing'
1120
+ property :exemptions_to_show_work_contacts_in_personal_profile, as: 'exemptionsToShowWorkContactsInPersonalProfile', class: Google::Apis::AndroidmanagementV1::PackageNameList, decorator: Google::Apis::AndroidmanagementV1::PackageNameList::Representation
1121
+
1120
1122
  property :show_work_contacts_in_personal_profile, as: 'showWorkContactsInPersonalProfile'
1121
1123
  property :work_profile_widgets_default, as: 'workProfileWidgetsDefault'
1122
1124
  end
@@ -1209,6 +1211,8 @@ module Google
1209
1211
  # @private
1210
1212
  class Representation < Google::Apis::Core::JsonRepresentation
1211
1213
  property :airplane_mode_state, as: 'airplaneModeState'
1214
+ property :cellular_two_g_state, as: 'cellularTwoGState'
1215
+ property :ultra_wideband_state, as: 'ultraWidebandState'
1212
1216
  property :wifi_state, as: 'wifiState'
1213
1217
  end
1214
1218
  end
@@ -1990,6 +1994,7 @@ module Google
1990
1994
  property :qr_code, as: 'qrCode'
1991
1995
  property :signin_enrollment_token, as: 'signinEnrollmentToken'
1992
1996
  property :signin_url, as: 'signinUrl'
1997
+ property :token_tag, as: 'tokenTag'
1993
1998
  end
1994
1999
  end
1995
2000
 
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.59.0
4
+ version: 0.66.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: 2023-08-27 00:00:00.000000000 Z
11
+ date: 2023-12-03 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.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.66.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: []