google-apis-androidmanagement_v1 0.75.0 → 0.76.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: 06237fb69f569242d07ae66b4f9900660699f0097e7a71eeaceea5e468054a18
4
- data.tar.gz: 23f801754eb4e7fea6ee2f0c8399fe46a15644144d2c3cecb52953441877b886
3
+ metadata.gz: 50e972de2746734c5bf6dc81053d84a98ce30f8468cba75b8fd176cad020645e
4
+ data.tar.gz: 8458df5db9c09a38d1a19595bd26a64eedb29ff5bf3825a87563d52aa87c4616
5
5
  SHA512:
6
- metadata.gz: b6554f5fcf38e2f8a62f4f412206f3816171071ed1c17868ccc4cb7737311faa196c3eaeb646926b4012439283ecac76908dd33da6216da6d70cff52afb2008e
7
- data.tar.gz: 10757cd3421521eb19949a1adc2ea24fa9bf8a7f1f9be843eb2f4b2babc656464e5ded016f758dad025fd8903583010646142927eb4527b7fdef0ec18f170263
6
+ metadata.gz: 6df3d096bdf0931970ecb0bc16098238a19c69611c056349774e895a405e9cef5b44a2c0a8a5e4ea46f028e7e3acf260714db4edd43cc4e91b3bee7a1c9d0afb
7
+ data.tar.gz: 7a07c6db264caf6a0dd9ad856749900ba38f711abe0d073880ebb76fb93a244460df0be3ac1c5f7eec188f7fabb7fd561bebaaea303c922bcde71154827b6941
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.76.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240606
6
+
3
7
  ### v0.75.0 (2024-05-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240516
@@ -670,6 +670,13 @@ module Google
670
670
  # @return [Array<Google::Apis::AndroidmanagementV1::PermissionGrant>]
671
671
  attr_accessor :permission_grants
672
672
 
673
+ # Optional. Specifies whether user control is permitted for the app. User
674
+ # control includes user actions like force-stopping and clearing app data.
675
+ # Supported on Android 11 and above.
676
+ # Corresponds to the JSON property `userControlSettings`
677
+ # @return [String]
678
+ attr_accessor :user_control_settings
679
+
673
680
  # Specifies whether the app installed in the work profile is allowed to add
674
681
  # widgets to the home screen.
675
682
  # Corresponds to the JSON property `workProfileWidgets`
@@ -700,6 +707,7 @@ module Google
700
707
  @minimum_version_code = args[:minimum_version_code] if args.key?(:minimum_version_code)
701
708
  @package_name = args[:package_name] if args.key?(:package_name)
702
709
  @permission_grants = args[:permission_grants] if args.key?(:permission_grants)
710
+ @user_control_settings = args[:user_control_settings] if args.key?(:user_control_settings)
703
711
  @work_profile_widgets = args[:work_profile_widgets] if args.key?(:work_profile_widgets)
704
712
  end
705
713
  end
@@ -2203,6 +2211,11 @@ module Google
2203
2211
  # @return [String]
2204
2212
  attr_accessor :enterprise_display_name
2205
2213
 
2214
+ # Contains settings for Google-provided user authentication.
2215
+ # Corresponds to the JSON property `googleAuthenticationSettings`
2216
+ # @return [Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings]
2217
+ attr_accessor :google_authentication_settings
2218
+
2206
2219
  # Data hosted at an external location. The data is to be downloaded by Android
2207
2220
  # Device Policy and verified against the hash.
2208
2221
  # Corresponds to the JSON property `logo`
@@ -2251,6 +2264,7 @@ module Google
2251
2264
  @contact_info = args[:contact_info] if args.key?(:contact_info)
2252
2265
  @enabled_notification_types = args[:enabled_notification_types] if args.key?(:enabled_notification_types)
2253
2266
  @enterprise_display_name = args[:enterprise_display_name] if args.key?(:enterprise_display_name)
2267
+ @google_authentication_settings = args[:google_authentication_settings] if args.key?(:google_authentication_settings)
2254
2268
  @logo = args[:logo] if args.key?(:logo)
2255
2269
  @name = args[:name] if args.key?(:name)
2256
2270
  @primary_color = args[:primary_color] if args.key?(:primary_color)
@@ -2419,6 +2433,31 @@ module Google
2419
2433
  end
2420
2434
  end
2421
2435
 
2436
+ # Contains settings for Google-provided user authentication.
2437
+ class GoogleAuthenticationSettings
2438
+ include Google::Apis::Core::Hashable
2439
+
2440
+ # Output only. Whether users need to be authenticated by Google during the
2441
+ # enrollment process. IT admin can specify if Google authentication is enabled
2442
+ # for the enterprise for knowledge worker devices. This value can be set only
2443
+ # via the Google Admin Console. Google authentication can be used with
2444
+ # signin_url In the case where Google authentication is required and a
2445
+ # signin_url is specified, Google authentication will be launched before
2446
+ # signin_url.
2447
+ # Corresponds to the JSON property `googleAuthenticationRequired`
2448
+ # @return [String]
2449
+ attr_accessor :google_authentication_required
2450
+
2451
+ def initialize(**args)
2452
+ update!(**args)
2453
+ end
2454
+
2455
+ # Update properties of this object
2456
+ def update!(**args)
2457
+ @google_authentication_required = args[:google_authentication_required] if args.key?(:google_authentication_required)
2458
+ end
2459
+ end
2460
+
2422
2461
  # Information about device hardware. The fields related to temperature
2423
2462
  # thresholds are only available if hardwareStatusEnabled is true in the device's
2424
2463
  # policy.
@@ -4996,6 +5035,12 @@ module Google
4996
5035
  # @return [Fixnum]
4997
5036
  attr_accessor :api_level
4998
5037
 
5038
+ # The email address of the authenticated user (only present for Google Account
5039
+ # provisioning method).
5040
+ # Corresponds to the JSON property `authenticatedUserEmail`
5041
+ # @return [String]
5042
+ attr_accessor :authenticated_user_email
5043
+
4999
5044
  # The brand of the device. For example, Google.
5000
5045
  # Corresponds to the JSON property `brand`
5001
5046
  # @return [String]
@@ -5050,6 +5095,7 @@ module Google
5050
5095
  # Update properties of this object
5051
5096
  def update!(**args)
5052
5097
  @api_level = args[:api_level] if args.key?(:api_level)
5098
+ @authenticated_user_email = args[:authenticated_user_email] if args.key?(:authenticated_user_email)
5053
5099
  @brand = args[:brand] if args.key?(:brand)
5054
5100
  @enterprise = args[:enterprise] if args.key?(:enterprise)
5055
5101
  @imei = args[:imei] if args.key?(:imei)
@@ -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.75.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240516"
25
+ REVISION = "20240606"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class GoogleAuthenticationSettings
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class HardwareInfo
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -979,6 +985,7 @@ module Google
979
985
  property :package_name, as: 'packageName'
980
986
  collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation
981
987
 
988
+ property :user_control_settings, as: 'userControlSettings'
982
989
  property :work_profile_widgets, as: 'workProfileWidgets'
983
990
  end
984
991
  end
@@ -1344,6 +1351,8 @@ module Google
1344
1351
 
1345
1352
  collection :enabled_notification_types, as: 'enabledNotificationTypes'
1346
1353
  property :enterprise_display_name, as: 'enterpriseDisplayName'
1354
+ property :google_authentication_settings, as: 'googleAuthenticationSettings', class: Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings, decorator: Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings::Representation
1355
+
1347
1356
  property :logo, as: 'logo', class: Google::Apis::AndroidmanagementV1::ExternalData, decorator: Google::Apis::AndroidmanagementV1::ExternalData::Representation
1348
1357
 
1349
1358
  property :name, as: 'name'
@@ -1396,6 +1405,13 @@ module Google
1396
1405
  end
1397
1406
  end
1398
1407
 
1408
+ class GoogleAuthenticationSettings
1409
+ # @private
1410
+ class Representation < Google::Apis::Core::JsonRepresentation
1411
+ property :google_authentication_required, as: 'googleAuthenticationRequired'
1412
+ end
1413
+ end
1414
+
1399
1415
  class HardwareInfo
1400
1416
  # @private
1401
1417
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2029,6 +2045,7 @@ module Google
2029
2045
  # @private
2030
2046
  class Representation < Google::Apis::Core::JsonRepresentation
2031
2047
  property :api_level, as: 'apiLevel'
2048
+ property :authenticated_user_email, as: 'authenticatedUserEmail'
2032
2049
  property :brand, as: 'brand'
2033
2050
  property :enterprise, as: 'enterprise'
2034
2051
  property :imei, as: 'imei'
@@ -646,11 +646,12 @@ module Google
646
646
  execute_or_queue_command(command, &block)
647
647
  end
648
648
 
649
- # Gets an active, unexpired enrollment token. Only a partial view of
650
- # EnrollmentToken is returned: all the fields but name and expiration_timestamp
651
- # are empty. This method is meant to help manage active enrollment tokens
652
- # lifecycle. For security reasons, it's recommended to delete active enrollment
653
- # tokens as soon as they're not intended to be used anymore.
649
+ # Gets an active, unexpired enrollment token. A partial view of the enrollment
650
+ # token is returned. Only the following fields are populated: name,
651
+ # expirationTimestamp, allowPersonalUsage, value, qrCode. This method is meant
652
+ # to help manage active enrollment tokens lifecycle. For security reasons, it's
653
+ # recommended to delete active enrollment tokens as soon as they're not intended
654
+ # to be used anymore.
654
655
  # @param [String] name
655
656
  # Required. The name of the enrollment token in the form enterprises/`
656
657
  # enterpriseId`/enrollmentTokens/`enrollmentTokenId`.
@@ -682,10 +683,11 @@ module Google
682
683
  end
683
684
 
684
685
  # Lists active, unexpired enrollment tokens for a given enterprise. The list
685
- # items contain only a partial view of EnrollmentToken: all the fields but name
686
- # and expiration_timestamp are empty. This method is meant to help manage active
687
- # enrollment tokens lifecycle. For security reasons, it's recommended to delete
688
- # active enrollment tokens as soon as they're not intended to be used anymore.
686
+ # items contain only a partial view of EnrollmentToken object. Only the
687
+ # following fields are populated: name, expirationTimestamp, allowPersonalUsage,
688
+ # value, qrCode. This method is meant to help manage active enrollment tokens
689
+ # lifecycle. For security reasons, it's recommended to delete active enrollment
690
+ # tokens as soon as they're not intended to be used anymore.
689
691
  # @param [String] parent
690
692
  # Required. The name of the enterprise in the form enterprises/`enterpriseId`.
691
693
  # @param [Fixnum] page_size
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.75.0
4
+ version: 0.76.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-06-16 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.75.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.76.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: []