google-apis-androidmanagement_v1 0.74.0 → 0.76.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +55 -7
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +16 -10
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50e972de2746734c5bf6dc81053d84a98ce30f8468cba75b8fd176cad020645e
|
|
4
|
+
data.tar.gz: 8458df5db9c09a38d1a19595bd26a64eedb29ff5bf3825a87563d52aa87c4616
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6df3d096bdf0931970ecb0bc16098238a19c69611c056349774e895a405e9cef5b44a2c0a8a5e4ea46f028e7e3acf260714db4edd43cc4e91b3bee7a1c9d0afb
|
|
7
|
+
data.tar.gz: 7a07c6db264caf6a0dd9ad856749900ba38f711abe0d073880ebb76fb93a244460df0be3ac1c5f7eec188f7fabb7fd561bebaaea303c922bcde71154827b6941
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
|
|
7
|
+
### v0.75.0 (2024-05-26)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20240516
|
|
10
|
+
* Regenerated using generator version 0.15.0
|
|
11
|
+
|
|
3
12
|
### v0.74.0 (2024-05-05)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20240425
|
|
@@ -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
|
|
@@ -819,8 +827,8 @@ module Google
|
|
|
819
827
|
class BatchUsageLogEvents
|
|
820
828
|
include Google::Apis::Core::Hashable
|
|
821
829
|
|
|
822
|
-
#
|
|
823
|
-
# deviceId`’
|
|
830
|
+
# If present, the name of the device in the form ‘enterprises/`enterpriseId`/
|
|
831
|
+
# devices/`deviceId`’
|
|
824
832
|
# Corresponds to the JSON property `device`
|
|
825
833
|
# @return [String]
|
|
826
834
|
attr_accessor :device
|
|
@@ -836,8 +844,8 @@ module Google
|
|
|
836
844
|
# @return [Array<Google::Apis::AndroidmanagementV1::UsageLogEvent>]
|
|
837
845
|
attr_accessor :usage_log_events
|
|
838
846
|
|
|
839
|
-
#
|
|
840
|
-
# enterpriseId`/users/`userId`’.
|
|
847
|
+
# If present, the resource name of the user that owns this device in the form ‘
|
|
848
|
+
# enterprises/`enterpriseId`/users/`userId`’.
|
|
841
849
|
# Corresponds to the JSON property `user`
|
|
842
850
|
# @return [String]
|
|
843
851
|
attr_accessor :user
|
|
@@ -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]
|
|
@@ -5006,7 +5051,8 @@ module Google
|
|
|
5006
5051
|
# @return [String]
|
|
5007
5052
|
attr_accessor :enterprise
|
|
5008
5053
|
|
|
5009
|
-
# IMEI number of the GSM device. For example,
|
|
5054
|
+
# For corporate-owned devices, IMEI number of the GSM device. For example,
|
|
5055
|
+
# A1000031212.
|
|
5010
5056
|
# Corresponds to the JSON property `imei`
|
|
5011
5057
|
# @return [String]
|
|
5012
5058
|
attr_accessor :imei
|
|
@@ -5016,7 +5062,8 @@ module Google
|
|
|
5016
5062
|
# @return [String]
|
|
5017
5063
|
attr_accessor :management_mode
|
|
5018
5064
|
|
|
5019
|
-
# MEID number of the CDMA device. For example,
|
|
5065
|
+
# For corporate-owned devices, MEID number of the CDMA device. For example,
|
|
5066
|
+
# A00000292788E1.
|
|
5020
5067
|
# Corresponds to the JSON property `meid`
|
|
5021
5068
|
# @return [String]
|
|
5022
5069
|
attr_accessor :meid
|
|
@@ -5036,7 +5083,7 @@ module Google
|
|
|
5036
5083
|
# @return [String]
|
|
5037
5084
|
attr_accessor :ownership
|
|
5038
5085
|
|
|
5039
|
-
# The device serial number.
|
|
5086
|
+
# For corporate-owned devices, The device serial number.
|
|
5040
5087
|
# Corresponds to the JSON property `serialNumber`
|
|
5041
5088
|
# @return [String]
|
|
5042
5089
|
attr_accessor :serial_number
|
|
@@ -5048,6 +5095,7 @@ module Google
|
|
|
5048
5095
|
# Update properties of this object
|
|
5049
5096
|
def update!(**args)
|
|
5050
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)
|
|
5051
5099
|
@brand = args[:brand] if args.key?(:brand)
|
|
5052
5100
|
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
|
5053
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.
|
|
19
|
+
GEM_VERSION = "0.76.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
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.
|
|
650
|
-
#
|
|
651
|
-
#
|
|
652
|
-
# lifecycle. For security reasons, it's
|
|
653
|
-
# tokens as soon as they're not intended
|
|
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
|
|
686
|
-
#
|
|
687
|
-
#
|
|
688
|
-
#
|
|
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
|
|
@@ -1208,6 +1210,9 @@ module Google
|
|
|
1208
1210
|
end
|
|
1209
1211
|
|
|
1210
1212
|
# Creates an enterprise signup URL.
|
|
1213
|
+
# @param [String] admin_email
|
|
1214
|
+
# Optional. Email address used to prefill the admin field of the enterprise
|
|
1215
|
+
# signup form. This value is a hint only and can be altered by the user.
|
|
1211
1216
|
# @param [String] callback_url
|
|
1212
1217
|
# The callback URL that the admin will be redirected to after successfully
|
|
1213
1218
|
# creating an enterprise. Before redirecting there the system will add a query
|
|
@@ -1234,10 +1239,11 @@ module Google
|
|
|
1234
1239
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1235
1240
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1236
1241
|
# @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)
|
|
1242
|
+
def create_signup_url(admin_email: nil, callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1238
1243
|
command = make_simple_command(:post, 'v1/signupUrls', options)
|
|
1239
1244
|
command.response_representation = Google::Apis::AndroidmanagementV1::SignupUrl::Representation
|
|
1240
1245
|
command.response_class = Google::Apis::AndroidmanagementV1::SignupUrl
|
|
1246
|
+
command.query['adminEmail'] = admin_email unless admin_email.nil?
|
|
1241
1247
|
command.query['callbackUrl'] = callback_url unless callback_url.nil?
|
|
1242
1248
|
command.query['projectId'] = project_id unless project_id.nil?
|
|
1243
1249
|
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.
|
|
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-
|
|
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
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 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.
|
|
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.
|
|
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: []
|