google-apis-androidmanagement_v1 0.73.0 → 0.75.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: b1caf32baad62cb3c5c7789b2d5de9c4dceaa9451ed906a0d1f9be38086b956f
4
- data.tar.gz: c40a7d833fa55fddc0918d8d6f8c8c9c9a08a2112be019bc3bbc151bc0774878
3
+ metadata.gz: 06237fb69f569242d07ae66b4f9900660699f0097e7a71eeaceea5e468054a18
4
+ data.tar.gz: 23f801754eb4e7fea6ee2f0c8399fe46a15644144d2c3cecb52953441877b886
5
5
  SHA512:
6
- metadata.gz: ccfd1cda7098637af69ccf41733c76265e9899c445d37c5019d55d316068fb2fa1f93bd8d4e6893f6f580b2b74cdf7528a7ec1bd65b9d8b68bdeefa4070003a4
7
- data.tar.gz: e77dc9f90508e7b2c77a54747449251ab89bde55aa10a034aea6d169671c049c541e905e53346faa1801230caca04ccc73cb18f0221708165e254fa290fb933f
6
+ metadata.gz: b6554f5fcf38e2f8a62f4f412206f3816171071ed1c17868ccc4cb7737311faa196c3eaeb646926b4012439283ecac76908dd33da6216da6d70cff52afb2008e
7
+ data.tar.gz: 10757cd3421521eb19949a1adc2ea24fa9bf8a7f1f9be843eb2f4b2babc656464e5ded016f758dad025fd8903583010646142927eb4527b7fdef0ec18f170263
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.75.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240516
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.74.0 (2024-05-05)
9
+
10
+ * Regenerated from discovery document revision 20240425
11
+
3
12
  ### v0.73.0 (2024-04-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20240416
@@ -819,8 +819,8 @@ module Google
819
819
  class BatchUsageLogEvents
820
820
  include Google::Apis::Core::Hashable
821
821
 
822
- # The name of the device in the form ‘enterprises/`enterpriseId`/devices/`
823
- # deviceId`’
822
+ # If present, the name of the device in the form ‘enterprises/`enterpriseId`/
823
+ # devices/`deviceId`’
824
824
  # Corresponds to the JSON property `device`
825
825
  # @return [String]
826
826
  attr_accessor :device
@@ -836,8 +836,8 @@ module Google
836
836
  # @return [Array<Google::Apis::AndroidmanagementV1::UsageLogEvent>]
837
837
  attr_accessor :usage_log_events
838
838
 
839
- # The resource name of the user that owns this device in the form ‘enterprises/`
840
- # enterpriseId`/users/`userId`’.
839
+ # If present, the resource name of the user that owns this device in the form ‘
840
+ # enterprises/`enterpriseId`/users/`userId`’.
841
841
  # Corresponds to the JSON property `user`
842
842
  # @return [String]
843
843
  attr_accessor :user
@@ -1790,6 +1790,13 @@ module Google
1790
1790
  # @return [String]
1791
1791
  attr_accessor :wifi_direct_settings
1792
1792
 
1793
+ # Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this
1794
+ # does not affect which networks can be configured on the device. Supported on
1795
+ # company-owned devices running Android 13 and above.
1796
+ # Corresponds to the JSON property `wifiSsidPolicy`
1797
+ # @return [Google::Apis::AndroidmanagementV1::WifiSsidPolicy]
1798
+ attr_accessor :wifi_ssid_policy
1799
+
1793
1800
  def initialize(**args)
1794
1801
  update!(**args)
1795
1802
  end
@@ -1800,6 +1807,7 @@ module Google
1800
1807
  @tethering_settings = args[:tethering_settings] if args.key?(:tethering_settings)
1801
1808
  @usb_data_access = args[:usb_data_access] if args.key?(:usb_data_access)
1802
1809
  @wifi_direct_settings = args[:wifi_direct_settings] if args.key?(:wifi_direct_settings)
1810
+ @wifi_ssid_policy = args[:wifi_ssid_policy] if args.key?(:wifi_ssid_policy)
1803
1811
  end
1804
1812
  end
1805
1813
 
@@ -4692,7 +4700,11 @@ module Google
4692
4700
  # @return [Array<String>]
4693
4701
  attr_accessor :stay_on_plugged_modes
4694
4702
 
4695
- # Configuration for managing system updates
4703
+ # Configuration for managing system updatesNote: Google Play system updates (
4704
+ # https://source.android.com/docs/core/ota/modular-system) (also called Mainline
4705
+ # updates) are automatically downloaded but require a device reboot to be
4706
+ # installed. Refer to the mainline section in Manage system updates (https://
4707
+ # developer.android.com/work/dpc/system-updates#mainline) for further details.
4696
4708
  # Corresponds to the JSON property `systemUpdate`
4697
4709
  # @return [Google::Apis::AndroidmanagementV1::SystemUpdate]
4698
4710
  attr_accessor :system_update
@@ -4994,7 +5006,8 @@ module Google
4994
5006
  # @return [String]
4995
5007
  attr_accessor :enterprise
4996
5008
 
4997
- # IMEI number of the GSM device. For example, A1000031212.
5009
+ # For corporate-owned devices, IMEI number of the GSM device. For example,
5010
+ # A1000031212.
4998
5011
  # Corresponds to the JSON property `imei`
4999
5012
  # @return [String]
5000
5013
  attr_accessor :imei
@@ -5004,7 +5017,8 @@ module Google
5004
5017
  # @return [String]
5005
5018
  attr_accessor :management_mode
5006
5019
 
5007
- # MEID number of the CDMA device. For example, A00000292788E1.
5020
+ # For corporate-owned devices, MEID number of the CDMA device. For example,
5021
+ # A00000292788E1.
5008
5022
  # Corresponds to the JSON property `meid`
5009
5023
  # @return [String]
5010
5024
  attr_accessor :meid
@@ -5024,7 +5038,7 @@ module Google
5024
5038
  # @return [String]
5025
5039
  attr_accessor :ownership
5026
5040
 
5027
- # The device serial number.
5041
+ # For corporate-owned devices, The device serial number.
5028
5042
  # Corresponds to the JSON property `serialNumber`
5029
5043
  # @return [String]
5030
5044
  attr_accessor :serial_number
@@ -5635,7 +5649,11 @@ module Google
5635
5649
  end
5636
5650
  end
5637
5651
 
5638
- # Configuration for managing system updates
5652
+ # Configuration for managing system updatesNote: Google Play system updates (
5653
+ # https://source.android.com/docs/core/ota/modular-system) (also called Mainline
5654
+ # updates) are automatically downloaded but require a device reboot to be
5655
+ # installed. Refer to the mainline section in Manage system updates (https://
5656
+ # developer.android.com/work/dpc/system-updates#mainline) for further details.
5639
5657
  class SystemUpdate
5640
5658
  include Google::Apis::Core::Hashable
5641
5659
 
@@ -6222,6 +6240,57 @@ module Google
6222
6240
  end
6223
6241
  end
6224
6242
 
6243
+ # Represents a Wi-Fi SSID.
6244
+ class WifiSsid
6245
+ include Google::Apis::Core::Hashable
6246
+
6247
+ # Required. Wi-Fi SSID represented as a string.
6248
+ # Corresponds to the JSON property `wifiSsid`
6249
+ # @return [String]
6250
+ attr_accessor :wifi_ssid
6251
+
6252
+ def initialize(**args)
6253
+ update!(**args)
6254
+ end
6255
+
6256
+ # Update properties of this object
6257
+ def update!(**args)
6258
+ @wifi_ssid = args[:wifi_ssid] if args.key?(:wifi_ssid)
6259
+ end
6260
+ end
6261
+
6262
+ # Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this
6263
+ # does not affect which networks can be configured on the device. Supported on
6264
+ # company-owned devices running Android 13 and above.
6265
+ class WifiSsidPolicy
6266
+ include Google::Apis::Core::Hashable
6267
+
6268
+ # Type of the Wi-Fi SSID policy to be applied.
6269
+ # Corresponds to the JSON property `wifiSsidPolicyType`
6270
+ # @return [String]
6271
+ attr_accessor :wifi_ssid_policy_type
6272
+
6273
+ # Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field
6274
+ # must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If
6275
+ # this is set to a non-empty list, then a nonComplianceDetail detail with
6276
+ # API_LEVEL is reported if the Android version is less than 13 and a
6277
+ # nonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned
6278
+ # devices.
6279
+ # Corresponds to the JSON property `wifiSsids`
6280
+ # @return [Array<Google::Apis::AndroidmanagementV1::WifiSsid>]
6281
+ attr_accessor :wifi_ssids
6282
+
6283
+ def initialize(**args)
6284
+ update!(**args)
6285
+ end
6286
+
6287
+ # Update properties of this object
6288
+ def update!(**args)
6289
+ @wifi_ssid_policy_type = args[:wifi_ssid_policy_type] if args.key?(:wifi_ssid_policy_type)
6290
+ @wifi_ssids = args[:wifi_ssids] if args.key?(:wifi_ssids)
6291
+ end
6292
+ end
6293
+
6225
6294
  # An action to reset a company owned device or delete a work profile. Note:
6226
6295
  # blockAction must also be specified.
6227
6296
  class WipeAction
@@ -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.73.0"
19
+ GEM_VERSION = "0.75.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240416"
25
+ REVISION = "20240516"
26
26
  end
27
27
  end
28
28
  end
@@ -802,6 +802,18 @@ module Google
802
802
  include Google::Apis::Core::JsonObjectSupport
803
803
  end
804
804
 
805
+ class WifiSsid
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class WifiSsidPolicy
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
805
817
  class WipeAction
806
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
819
 
@@ -1235,6 +1247,8 @@ module Google
1235
1247
  property :tethering_settings, as: 'tetheringSettings'
1236
1248
  property :usb_data_access, as: 'usbDataAccess'
1237
1249
  property :wifi_direct_settings, as: 'wifiDirectSettings'
1250
+ property :wifi_ssid_policy, as: 'wifiSsidPolicy', class: Google::Apis::AndroidmanagementV1::WifiSsidPolicy, decorator: Google::Apis::AndroidmanagementV1::WifiSsidPolicy::Representation
1251
+
1238
1252
  end
1239
1253
  end
1240
1254
 
@@ -2345,6 +2359,22 @@ module Google
2345
2359
  end
2346
2360
  end
2347
2361
 
2362
+ class WifiSsid
2363
+ # @private
2364
+ class Representation < Google::Apis::Core::JsonRepresentation
2365
+ property :wifi_ssid, as: 'wifiSsid'
2366
+ end
2367
+ end
2368
+
2369
+ class WifiSsidPolicy
2370
+ # @private
2371
+ class Representation < Google::Apis::Core::JsonRepresentation
2372
+ property :wifi_ssid_policy_type, as: 'wifiSsidPolicyType'
2373
+ collection :wifi_ssids, as: 'wifiSsids', class: Google::Apis::AndroidmanagementV1::WifiSsid, decorator: Google::Apis::AndroidmanagementV1::WifiSsid::Representation
2374
+
2375
+ end
2376
+ end
2377
+
2348
2378
  class WipeAction
2349
2379
  # @private
2350
2380
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1208,6 +1208,9 @@ module Google
1208
1208
  end
1209
1209
 
1210
1210
  # Creates an enterprise signup URL.
1211
+ # @param [String] admin_email
1212
+ # Optional. Email address used to prefill the admin field of the enterprise
1213
+ # signup form. This value is a hint only and can be altered by the user.
1211
1214
  # @param [String] callback_url
1212
1215
  # The callback URL that the admin will be redirected to after successfully
1213
1216
  # creating an enterprise. Before redirecting there the system will add a query
@@ -1234,10 +1237,11 @@ module Google
1234
1237
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1235
1238
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1236
1239
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1237
- def create_signup_url(callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1240
+ def create_signup_url(admin_email: nil, callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1238
1241
  command = make_simple_command(:post, 'v1/signupUrls', options)
1239
1242
  command.response_representation = Google::Apis::AndroidmanagementV1::SignupUrl::Representation
1240
1243
  command.response_class = Google::Apis::AndroidmanagementV1::SignupUrl
1244
+ command.query['adminEmail'] = admin_email unless admin_email.nil?
1241
1245
  command.query['callbackUrl'] = callback_url unless callback_url.nil?
1242
1246
  command.query['projectId'] = project_id unless project_id.nil?
1243
1247
  command.query['fields'] = fields unless fields.nil?
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.73.0
4
+ version: 0.75.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: 2024-04-21 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.73.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.75.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: []