google-apis-androidmanagement_v1 0.4.0 → 0.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca957e7ef3d4d8fc362ff3c081dc0eaf45b83e0b3b7a8af7807d1cd805be7355
|
4
|
+
data.tar.gz: 7b837fef902de97b773043d112fe793b6986f68118a81801b97f288896ce744a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72f6a77306b35ea163b42a2d8fcff6b8579766ec4a51f31c6e467a2996092eef7ac4b4b3322f55bdd8f0a4f84d77f3e2d100986b762994dd21e1b74dcd1cf573
|
7
|
+
data.tar.gz: 536c65106d09aaf844d218d301b77c09d862cee358b3eb9b702abbfef79cb9ba3b085eca1a77902363acfdd6f50e54d5e8f74bff59180ec9fe55a75b3344bc83
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.8.0 (2021-04-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210405
|
10
|
+
|
11
|
+
### v0.7.0 (2021-03-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210322
|
14
|
+
|
15
|
+
### v0.6.0 (2021-03-12)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210311
|
18
|
+
* Regenerated using generator version 0.2.0
|
19
|
+
|
20
|
+
### v0.5.0 (2021-03-04)
|
21
|
+
|
22
|
+
* Unspecified changes
|
23
|
+
|
3
24
|
### v0.4.0 (2021-02-16)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210208
|
@@ -40,6 +40,19 @@ module Google
|
|
40
40
|
# @return [String]
|
41
41
|
attr_accessor :common_criteria_mode
|
42
42
|
|
43
|
+
# Controls access to developer settings: developer options and safe boot.
|
44
|
+
# Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (
|
45
|
+
# deprecated).
|
46
|
+
# Corresponds to the JSON property `developerSettings`
|
47
|
+
# @return [String]
|
48
|
+
attr_accessor :developer_settings
|
49
|
+
|
50
|
+
# Whether Google Play Protect verification (https://support.google.com/accounts/
|
51
|
+
# answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated).
|
52
|
+
# Corresponds to the JSON property `googlePlayProtectVerifyApps`
|
53
|
+
# @return [String]
|
54
|
+
attr_accessor :google_play_protect_verify_apps
|
55
|
+
|
43
56
|
# The policy for untrusted apps (apps from unknown sources) enforced on the
|
44
57
|
# device. Replaces install_unknown_sources_allowed (deprecated).
|
45
58
|
# Corresponds to the JSON property `untrustedAppsPolicy`
|
@@ -53,6 +66,8 @@ module Google
|
|
53
66
|
# Update properties of this object
|
54
67
|
def update!(**args)
|
55
68
|
@common_criteria_mode = args[:common_criteria_mode] if args.key?(:common_criteria_mode)
|
69
|
+
@developer_settings = args[:developer_settings] if args.key?(:developer_settings)
|
70
|
+
@google_play_protect_verify_apps = args[:google_play_protect_verify_apps] if args.key?(:google_play_protect_verify_apps)
|
56
71
|
@untrusted_apps_policy = args[:untrusted_apps_policy] if args.key?(:untrusted_apps_policy)
|
57
72
|
end
|
58
73
|
end
|
@@ -485,17 +500,34 @@ module Google
|
|
485
500
|
end
|
486
501
|
end
|
487
502
|
|
488
|
-
#
|
489
|
-
#
|
503
|
+
# Controls apps' access to private keys. The rule determines which private key,
|
504
|
+
# if any, Android Device Policy grants to the specified app. Access is granted
|
505
|
+
# either when the app calls KeyChain.choosePrivateKeyAlias (https://developer.
|
506
|
+
# android.com/reference/android/security/KeyChain#choosePrivateKeyAlias%
|
507
|
+
# 28android.app.Activity,%20android.security.KeyChainAliasCallback,%20java.lang.
|
508
|
+
# String[],%20java.security.Principal[],%20java.lang.String,%20int,%20java.lang.
|
509
|
+
# String%29) (or any overloads) to request a private key alias for a given URL,
|
510
|
+
# or for rules that are not URL-specific (that is, if urlPattern is not set, or
|
511
|
+
# set to the empty string or .*) on Android 11 and above, directly so that the
|
512
|
+
# app can call KeyChain.getPrivateKey (https://developer.android.com/reference/
|
513
|
+
# android/security/KeyChain#getPrivateKey%28android.content.Context,%20java.lang.
|
514
|
+
# String%29), without first having to call KeyChain.choosePrivateKeyAlias.When
|
515
|
+
# an app calls KeyChain.choosePrivateKeyAlias if more than one
|
516
|
+
# choosePrivateKeyRules matches, the last matching rule defines which key alias
|
517
|
+
# to return.
|
490
518
|
class ChoosePrivateKeyRule
|
491
519
|
include Google::Apis::Core::Hashable
|
492
520
|
|
493
|
-
# The package names
|
494
|
-
#
|
495
|
-
# package
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
521
|
+
# The package names to which this rule applies. The hash of the signing
|
522
|
+
# certificate for each app is verified against the hash provided by Play. If no
|
523
|
+
# package names are specified, then the alias is provided to all apps that call
|
524
|
+
# KeyChain.choosePrivateKeyAlias (https://developer.android.com/reference/
|
525
|
+
# android/security/KeyChain#choosePrivateKeyAlias%28android.app.Activity,%
|
526
|
+
# 20android.security.KeyChainAliasCallback,%20java.lang.String[],%20java.
|
527
|
+
# security.Principal[],%20java.lang.String,%20int,%20java.lang.String%29) or any
|
528
|
+
# overloads (but not without calling KeyChain.choosePrivateKeyAlias, even on
|
529
|
+
# Android 11 and above). Any app with the same Android UID as a package
|
530
|
+
# specified here will have access when they call KeyChain.choosePrivateKeyAlias.
|
499
531
|
# Corresponds to the JSON property `packageNames`
|
500
532
|
# @return [Array<String>]
|
501
533
|
attr_accessor :package_names
|
@@ -505,8 +537,9 @@ module Google
|
|
505
537
|
# @return [String]
|
506
538
|
attr_accessor :private_key_alias
|
507
539
|
|
508
|
-
# The URL pattern to match against the URL of the
|
509
|
-
#
|
540
|
+
# The URL pattern to match against the URL of the request. If not set or empty,
|
541
|
+
# it matches all URLs. This uses the regular expression syntax of java.util.
|
542
|
+
# regex.Pattern.
|
510
543
|
# Corresponds to the JSON property `urlPattern`
|
511
544
|
# @return [String]
|
512
545
|
attr_accessor :url_pattern
|
@@ -719,6 +752,37 @@ module Google
|
|
719
752
|
end
|
720
753
|
end
|
721
754
|
|
755
|
+
# This feature is not generally available.
|
756
|
+
class ContentProviderEndpoint
|
757
|
+
include Google::Apis::Core::Hashable
|
758
|
+
|
759
|
+
# This feature is not generally available.
|
760
|
+
# Corresponds to the JSON property `packageName`
|
761
|
+
# @return [String]
|
762
|
+
attr_accessor :package_name
|
763
|
+
|
764
|
+
# Required. This feature is not generally available.
|
765
|
+
# Corresponds to the JSON property `signingCertsSha256`
|
766
|
+
# @return [Array<String>]
|
767
|
+
attr_accessor :signing_certs_sha256
|
768
|
+
|
769
|
+
# This feature is not generally available.
|
770
|
+
# Corresponds to the JSON property `uri`
|
771
|
+
# @return [String]
|
772
|
+
attr_accessor :uri
|
773
|
+
|
774
|
+
def initialize(**args)
|
775
|
+
update!(**args)
|
776
|
+
end
|
777
|
+
|
778
|
+
# Update properties of this object
|
779
|
+
def update!(**args)
|
780
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
781
|
+
@signing_certs_sha256 = args[:signing_certs_sha256] if args.key?(:signing_certs_sha256)
|
782
|
+
@uri = args[:uri] if args.key?(:uri)
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
722
786
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
723
787
|
# day and time zone are either specified elsewhere or are insignificant. The
|
724
788
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -1052,8 +1116,8 @@ module Google
|
|
1052
1116
|
attr_accessor :unknown_sources_enabled
|
1053
1117
|
alias_method :unknown_sources_enabled?, :unknown_sources_enabled
|
1054
1118
|
|
1055
|
-
# Whether
|
1056
|
-
#
|
1119
|
+
# Whether Google Play Protect verification (https://support.google.com/accounts/
|
1120
|
+
# answer/2812853) is enforced on the device.
|
1057
1121
|
# Corresponds to the JSON property `verifyAppsEnabled`
|
1058
1122
|
# @return [Boolean]
|
1059
1123
|
attr_accessor :verify_apps_enabled
|
@@ -2125,6 +2189,31 @@ module Google
|
|
2125
2189
|
end
|
2126
2190
|
end
|
2127
2191
|
|
2192
|
+
# This feature is not generally available.
|
2193
|
+
class OncCertificateProvider
|
2194
|
+
include Google::Apis::Core::Hashable
|
2195
|
+
|
2196
|
+
# This feature is not generally available.
|
2197
|
+
# Corresponds to the JSON property `certificateReferences`
|
2198
|
+
# @return [Array<String>]
|
2199
|
+
attr_accessor :certificate_references
|
2200
|
+
|
2201
|
+
# This feature is not generally available.
|
2202
|
+
# Corresponds to the JSON property `contentProviderEndpoint`
|
2203
|
+
# @return [Google::Apis::AndroidmanagementV1::ContentProviderEndpoint]
|
2204
|
+
attr_accessor :content_provider_endpoint
|
2205
|
+
|
2206
|
+
def initialize(**args)
|
2207
|
+
update!(**args)
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
# Update properties of this object
|
2211
|
+
def update!(**args)
|
2212
|
+
@certificate_references = args[:certificate_references] if args.key?(:certificate_references)
|
2213
|
+
@content_provider_endpoint = args[:content_provider_endpoint] if args.key?(:content_provider_endpoint)
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
|
2128
2217
|
# This resource represents a long-running operation that is the result of a
|
2129
2218
|
# network API call.
|
2130
2219
|
class Operation
|
@@ -2566,10 +2655,8 @@ module Google
|
|
2566
2655
|
attr_accessor :cell_broadcasts_config_disabled
|
2567
2656
|
alias_method :cell_broadcasts_config_disabled?, :cell_broadcasts_config_disabled
|
2568
2657
|
|
2569
|
-
# Rules for
|
2570
|
-
#
|
2571
|
-
# an outgoing request matches more than one rule, the last rule defines which
|
2572
|
-
# private key to use.
|
2658
|
+
# Rules for determining apps' access to private keys. See ChoosePrivateKeyRule
|
2659
|
+
# for details.
|
2573
2660
|
# Corresponds to the JSON property `choosePrivateKeyRules`
|
2574
2661
|
# @return [Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>]
|
2575
2662
|
attr_accessor :choose_private_key_rules
|
@@ -2655,8 +2742,7 @@ module Google
|
|
2655
2742
|
attr_accessor :install_apps_disabled
|
2656
2743
|
alias_method :install_apps_disabled?, :install_apps_disabled
|
2657
2744
|
|
2658
|
-
#
|
2659
|
-
# allows installation of apps from unknown sources.
|
2745
|
+
# This field has no effect.
|
2660
2746
|
# Corresponds to the JSON property `installUnknownSourcesAllowed`
|
2661
2747
|
# @return [Boolean]
|
2662
2748
|
attr_accessor :install_unknown_sources_allowed
|
@@ -2741,7 +2827,9 @@ module Google
|
|
2741
2827
|
# temporary network will be forgotten and the device will continue booting. This
|
2742
2828
|
# prevents being unable to connect to a network if there is no suitable network
|
2743
2829
|
# in the last policy and the device boots into an app in lock task mode, or the
|
2744
|
-
# user is otherwise unable to reach device settings.
|
2830
|
+
# user is otherwise unable to reach device settings.Note: Setting
|
2831
|
+
# wifiConfigDisabled to true will override this setting under specific
|
2832
|
+
# circumstances. Please see wifiConfigDisabled for further details.
|
2745
2833
|
# Corresponds to the JSON property `networkEscapeHatchEnabled`
|
2746
2834
|
# @return [Boolean]
|
2747
2835
|
attr_accessor :network_escape_hatch_enabled
|
@@ -2753,6 +2841,11 @@ module Google
|
|
2753
2841
|
attr_accessor :network_reset_disabled
|
2754
2842
|
alias_method :network_reset_disabled?, :network_reset_disabled
|
2755
2843
|
|
2844
|
+
# This feature is not generally available.
|
2845
|
+
# Corresponds to the JSON property `oncCertificateProviders`
|
2846
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::OncCertificateProvider>]
|
2847
|
+
attr_accessor :onc_certificate_providers
|
2848
|
+
|
2756
2849
|
# Network configuration for the device. See configure networks for more
|
2757
2850
|
# information.
|
2758
2851
|
# Corresponds to the JSON property `openNetworkConfiguration`
|
@@ -2964,7 +3057,10 @@ module Google
|
|
2964
3057
|
attr_accessor :vpn_config_disabled
|
2965
3058
|
alias_method :vpn_config_disabled?, :vpn_config_disabled
|
2966
3059
|
|
2967
|
-
# Whether configuring Wi-Fi access points is disabled.
|
3060
|
+
# Whether configuring Wi-Fi access points is disabled.Note: If a network
|
3061
|
+
# connection can't be made at boot time and configuring Wi-Fi is disabled then
|
3062
|
+
# network escape hatch will be shown in order to refresh the device policy (see
|
3063
|
+
# networkEscapeHatchEnabled).
|
2968
3064
|
# Corresponds to the JSON property `wifiConfigDisabled`
|
2969
3065
|
# @return [Boolean]
|
2970
3066
|
attr_accessor :wifi_config_disabled
|
@@ -3027,6 +3123,7 @@ module Google
|
|
3027
3123
|
@name = args[:name] if args.key?(:name)
|
3028
3124
|
@network_escape_hatch_enabled = args[:network_escape_hatch_enabled] if args.key?(:network_escape_hatch_enabled)
|
3029
3125
|
@network_reset_disabled = args[:network_reset_disabled] if args.key?(:network_reset_disabled)
|
3126
|
+
@onc_certificate_providers = args[:onc_certificate_providers] if args.key?(:onc_certificate_providers)
|
3030
3127
|
@open_network_configuration = args[:open_network_configuration] if args.key?(:open_network_configuration)
|
3031
3128
|
@outgoing_beam_disabled = args[:outgoing_beam_disabled] if args.key?(:outgoing_beam_disabled)
|
3032
3129
|
@outgoing_calls_disabled = args[:outgoing_calls_disabled] if args.key?(:outgoing_calls_disabled)
|
@@ -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.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210405"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class ContentProviderEndpoint
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class Date
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -280,6 +286,12 @@ module Google
|
|
280
286
|
include Google::Apis::Core::JsonObjectSupport
|
281
287
|
end
|
282
288
|
|
289
|
+
class OncCertificateProvider
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
283
295
|
class Operation
|
284
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
297
|
|
@@ -458,6 +470,8 @@ module Google
|
|
458
470
|
# @private
|
459
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
460
472
|
property :common_criteria_mode, as: 'commonCriteriaMode'
|
473
|
+
property :developer_settings, as: 'developerSettings'
|
474
|
+
property :google_play_protect_verify_apps, as: 'googlePlayProtectVerifyApps'
|
461
475
|
property :untrusted_apps_policy, as: 'untrustedAppsPolicy'
|
462
476
|
end
|
463
477
|
end
|
@@ -625,6 +639,15 @@ module Google
|
|
625
639
|
end
|
626
640
|
end
|
627
641
|
|
642
|
+
class ContentProviderEndpoint
|
643
|
+
# @private
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
645
|
+
property :package_name, as: 'packageName'
|
646
|
+
collection :signing_certs_sha256, as: 'signingCertsSha256'
|
647
|
+
property :uri, as: 'uri'
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
628
651
|
class Date
|
629
652
|
# @private
|
630
653
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -965,6 +988,15 @@ module Google
|
|
965
988
|
end
|
966
989
|
end
|
967
990
|
|
991
|
+
class OncCertificateProvider
|
992
|
+
# @private
|
993
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
994
|
+
collection :certificate_references, as: 'certificateReferences'
|
995
|
+
property :content_provider_endpoint, as: 'contentProviderEndpoint', class: Google::Apis::AndroidmanagementV1::ContentProviderEndpoint, decorator: Google::Apis::AndroidmanagementV1::ContentProviderEndpoint::Representation
|
996
|
+
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
968
1000
|
class Operation
|
969
1001
|
# @private
|
970
1002
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1097,6 +1129,8 @@ module Google
|
|
1097
1129
|
property :name, as: 'name'
|
1098
1130
|
property :network_escape_hatch_enabled, as: 'networkEscapeHatchEnabled'
|
1099
1131
|
property :network_reset_disabled, as: 'networkResetDisabled'
|
1132
|
+
collection :onc_certificate_providers, as: 'oncCertificateProviders', class: Google::Apis::AndroidmanagementV1::OncCertificateProvider, decorator: Google::Apis::AndroidmanagementV1::OncCertificateProvider::Representation
|
1133
|
+
|
1100
1134
|
hash :open_network_configuration, as: 'openNetworkConfiguration'
|
1101
1135
|
property :outgoing_beam_disabled, as: 'outgoingBeamDisabled'
|
1102
1136
|
property :outgoing_calls_disabled, as: 'outgoingCallsDisabled'
|
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.9.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: 2021-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-androidmanagement_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.9.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-androidmanagement_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Android Management API V1
|