google-apis-androidmanagement_v1 0.96.0 → 0.98.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 +8 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +71 -5
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +30 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ddb5046dfa3dc0ad3e738278abd8ec7d20e89e7b9bbb2d4236a703b3b011e49
|
4
|
+
data.tar.gz: 8c1c35ea1fd079fb0e5e9421871f8e56fd26f8f490730d20b273ca2f8ee34b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22772617055fd4097b84d741fe6c8594ba8c93ee8500412f17429bee011abe28801a8a8c291e9f278cbefd8054e1aac5be00b8481c000a7d1804a67e05612052
|
7
|
+
data.tar.gz: f18217ac15d4411cde8289b0f8841cb1c91645975b81480487a7340174b7e682fe634255da1840155b953215611ec1e1139c88015287de7ddef90a64658bc2a7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.98.0 (2025-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250829
|
6
|
+
|
7
|
+
### v0.97.0 (2025-08-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250804
|
10
|
+
|
3
11
|
### v0.96.0 (2025-07-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250702
|
@@ -107,7 +107,9 @@ module Google
|
|
107
107
|
|
108
108
|
# Controls access to developer settings: developer options and safe boot.
|
109
109
|
# Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (
|
110
|
-
# deprecated).
|
110
|
+
# deprecated). On personally-owned devices with a work profile, setting this
|
111
|
+
# policy will not disable safe boot. In this case, a NonComplianceDetail with
|
112
|
+
# MANAGEMENT_MODE is reported.
|
111
113
|
# Corresponds to the JSON property `developerSettings`
|
112
114
|
# @return [String]
|
113
115
|
attr_accessor :developer_settings
|
@@ -811,6 +813,11 @@ module Google
|
|
811
813
|
# @return [String]
|
812
814
|
attr_accessor :credential_provider_policy
|
813
815
|
|
816
|
+
# Configuration for a custom app.
|
817
|
+
# Corresponds to the JSON property `customAppConfig`
|
818
|
+
# @return [Google::Apis::AndroidmanagementV1::CustomAppConfig]
|
819
|
+
attr_accessor :custom_app_config
|
820
|
+
|
814
821
|
# The default policy for all permissions requested by the app. If specified,
|
815
822
|
# this overrides the policy-level default_permission_policy which applies to all
|
816
823
|
# apps. It does not override the permission_grants which applies to all apps.
|
@@ -920,6 +927,21 @@ module Google
|
|
920
927
|
# @return [String]
|
921
928
|
attr_accessor :preferential_network_id
|
922
929
|
|
930
|
+
# Optional. Signing key certificates of the app.This field is required in the
|
931
|
+
# following cases: The app has installType set to CUSTOM (i.e. a custom app).
|
932
|
+
# The app has extensionConfig set (i.e. an extension app) but ExtensionConfig.
|
933
|
+
# signingKeyFingerprintsSha256 (deprecated) is not set and the app does not
|
934
|
+
# exist on the Play Store.If this field is not set for a custom app, the policy
|
935
|
+
# is rejected. If it is not set when required for a non-custom app, a
|
936
|
+
# NonComplianceDetail with INVALID_VALUE is reported.For other cases, this field
|
937
|
+
# is optional and the signing key certificates obtained from Play Store are used.
|
938
|
+
# See following policy settings to see how this field is used:
|
939
|
+
# choosePrivateKeyRules ApplicationPolicy.InstallType.CUSTOM ApplicationPolicy.
|
940
|
+
# extensionConfig
|
941
|
+
# Corresponds to the JSON property `signingKeyCerts`
|
942
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationSigningKeyCert>]
|
943
|
+
attr_accessor :signing_key_certs
|
944
|
+
|
923
945
|
# Optional. Specifies whether user control is permitted for the app. User
|
924
946
|
# control includes user actions like force-stopping and clearing app data.
|
925
947
|
# Certain types of apps have special treatment, see
|
@@ -945,6 +967,7 @@ module Google
|
|
945
967
|
@auto_update_mode = args[:auto_update_mode] if args.key?(:auto_update_mode)
|
946
968
|
@connected_work_and_personal_app = args[:connected_work_and_personal_app] if args.key?(:connected_work_and_personal_app)
|
947
969
|
@credential_provider_policy = args[:credential_provider_policy] if args.key?(:credential_provider_policy)
|
970
|
+
@custom_app_config = args[:custom_app_config] if args.key?(:custom_app_config)
|
948
971
|
@default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
|
949
972
|
@delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
|
950
973
|
@disabled = args[:disabled] if args.key?(:disabled)
|
@@ -959,6 +982,7 @@ module Google
|
|
959
982
|
@package_name = args[:package_name] if args.key?(:package_name)
|
960
983
|
@permission_grants = args[:permission_grants] if args.key?(:permission_grants)
|
961
984
|
@preferential_network_id = args[:preferential_network_id] if args.key?(:preferential_network_id)
|
985
|
+
@signing_key_certs = args[:signing_key_certs] if args.key?(:signing_key_certs)
|
962
986
|
@user_control_settings = args[:user_control_settings] if args.key?(:user_control_settings)
|
963
987
|
@work_profile_widgets = args[:work_profile_widgets] if args.key?(:work_profile_widgets)
|
964
988
|
end
|
@@ -1103,6 +1127,28 @@ module Google
|
|
1103
1127
|
end
|
1104
1128
|
end
|
1105
1129
|
|
1130
|
+
# The application signing key certificate.
|
1131
|
+
class ApplicationSigningKeyCert
|
1132
|
+
include Google::Apis::Core::Hashable
|
1133
|
+
|
1134
|
+
# Required. The SHA-256 hash value of the signing key certificate of the app.
|
1135
|
+
# This must be a valid SHA-256 hash value, i.e. 32 bytes. Otherwise, the policy
|
1136
|
+
# is rejected.
|
1137
|
+
# Corresponds to the JSON property `signingKeyCertFingerprintSha256`
|
1138
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1139
|
+
# @return [String]
|
1140
|
+
attr_accessor :signing_key_cert_fingerprint_sha256
|
1141
|
+
|
1142
|
+
def initialize(**args)
|
1143
|
+
update!(**args)
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# Update properties of this object
|
1147
|
+
def update!(**args)
|
1148
|
+
@signing_key_cert_fingerprint_sha256 = args[:signing_key_cert_fingerprint_sha256] if args.key?(:signing_key_cert_fingerprint_sha256)
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
|
1106
1152
|
# An admin has enabled or disabled backup service.
|
1107
1153
|
class BackupServiceToggledEvent
|
1108
1154
|
include Google::Apis::Core::Hashable
|
@@ -1315,10 +1361,11 @@ module Google
|
|
1315
1361
|
class ChoosePrivateKeyRule
|
1316
1362
|
include Google::Apis::Core::Hashable
|
1317
1363
|
|
1318
|
-
# The package names to which this rule applies. The
|
1319
|
-
#
|
1320
|
-
#
|
1321
|
-
#
|
1364
|
+
# The package names to which this rule applies. The signing key certificate
|
1365
|
+
# fingerprint of the app is verified against the signing key certificate
|
1366
|
+
# fingerprints provided by Play Store and ApplicationPolicy.signingKeyCerts . If
|
1367
|
+
# no package names are specified, then the alias is provided to all apps that
|
1368
|
+
# call KeyChain.choosePrivateKeyAlias (https://developer.android.com/reference/
|
1322
1369
|
# android/security/KeyChain#choosePrivateKeyAlias%28android.app.Activity,%
|
1323
1370
|
# 20android.security.KeyChainAliasCallback,%20java.lang.String[],%20java.
|
1324
1371
|
# security.Principal[],%20java.lang.String,%20int,%20java.lang.String%29) or any
|
@@ -1827,6 +1874,25 @@ module Google
|
|
1827
1874
|
end
|
1828
1875
|
end
|
1829
1876
|
|
1877
|
+
# Configuration for a custom app.
|
1878
|
+
class CustomAppConfig
|
1879
|
+
include Google::Apis::Core::Hashable
|
1880
|
+
|
1881
|
+
# Optional. User uninstall settings of the custom app.
|
1882
|
+
# Corresponds to the JSON property `userUninstallSettings`
|
1883
|
+
# @return [String]
|
1884
|
+
attr_accessor :user_uninstall_settings
|
1885
|
+
|
1886
|
+
def initialize(**args)
|
1887
|
+
update!(**args)
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
# Update properties of this object
|
1891
|
+
def update!(**args)
|
1892
|
+
@user_uninstall_settings = args[:user_uninstall_settings] if args.key?(:user_uninstall_settings)
|
1893
|
+
end
|
1894
|
+
end
|
1895
|
+
|
1830
1896
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1831
1897
|
# day and time zone are either specified elsewhere or are insignificant. The
|
1832
1898
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -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.98.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250829"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,6 +136,12 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
+
class ApplicationSigningKeyCert
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
139
145
|
class BackupServiceToggledEvent
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
147
|
|
@@ -238,6 +244,12 @@ module Google
|
|
238
244
|
include Google::Apis::Core::JsonObjectSupport
|
239
245
|
end
|
240
246
|
|
247
|
+
class CustomAppConfig
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
241
253
|
class Date
|
242
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
255
|
|
@@ -1192,6 +1204,8 @@ module Google
|
|
1192
1204
|
property :auto_update_mode, as: 'autoUpdateMode'
|
1193
1205
|
property :connected_work_and_personal_app, as: 'connectedWorkAndPersonalApp'
|
1194
1206
|
property :credential_provider_policy, as: 'credentialProviderPolicy'
|
1207
|
+
property :custom_app_config, as: 'customAppConfig', class: Google::Apis::AndroidmanagementV1::CustomAppConfig, decorator: Google::Apis::AndroidmanagementV1::CustomAppConfig::Representation
|
1208
|
+
|
1195
1209
|
property :default_permission_policy, as: 'defaultPermissionPolicy'
|
1196
1210
|
collection :delegated_scopes, as: 'delegatedScopes'
|
1197
1211
|
property :disabled, as: 'disabled'
|
@@ -1210,6 +1224,8 @@ module Google
|
|
1210
1224
|
collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation
|
1211
1225
|
|
1212
1226
|
property :preferential_network_id, as: 'preferentialNetworkId'
|
1227
|
+
collection :signing_key_certs, as: 'signingKeyCerts', class: Google::Apis::AndroidmanagementV1::ApplicationSigningKeyCert, decorator: Google::Apis::AndroidmanagementV1::ApplicationSigningKeyCert::Representation
|
1228
|
+
|
1213
1229
|
property :user_control_settings, as: 'userControlSettings'
|
1214
1230
|
property :work_profile_widgets, as: 'workProfileWidgets'
|
1215
1231
|
end
|
@@ -1251,6 +1267,13 @@ module Google
|
|
1251
1267
|
end
|
1252
1268
|
end
|
1253
1269
|
|
1270
|
+
class ApplicationSigningKeyCert
|
1271
|
+
# @private
|
1272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1273
|
+
property :signing_key_cert_fingerprint_sha256, :base64 => true, as: 'signingKeyCertFingerprintSha256'
|
1274
|
+
end
|
1275
|
+
end
|
1276
|
+
|
1254
1277
|
class BackupServiceToggledEvent
|
1255
1278
|
# @private
|
1256
1279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1436,6 +1459,13 @@ module Google
|
|
1436
1459
|
end
|
1437
1460
|
end
|
1438
1461
|
|
1462
|
+
class CustomAppConfig
|
1463
|
+
# @private
|
1464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1465
|
+
property :user_uninstall_settings, as: 'userUninstallSettings'
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
|
1439
1469
|
class Date
|
1440
1470
|
# @private
|
1441
1471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -435,8 +435,9 @@ module Google
|
|
435
435
|
# @param [String] parent
|
436
436
|
# The name of the enterprise in the form enterprises/`enterpriseId`.
|
437
437
|
# @param [Fixnum] page_size
|
438
|
-
# The requested page size.
|
439
|
-
# value.
|
438
|
+
# The requested page size. If unspecified, at most 10 devices will be returned.
|
439
|
+
# The maximum value is 100; values above 100 will be coerced to 100. The limits
|
440
|
+
# can change over time.
|
440
441
|
# @param [String] page_token
|
441
442
|
# A token identifying a page of results returned by the server.
|
442
443
|
# @param [String] fields
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.98.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.98.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|