google-apis-androidmanagement_v1 0.2.0 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd636e21ceac7c9046bd9e6ca0b046f2fabe8b6823fd4f186f530f87e70f41fa
|
4
|
+
data.tar.gz: 10ba44f63b4f94164c30109639a01ba394d0c4dbcb4efbb1390a8871c7f4e2e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f7700139e5d37d19c48e01010add3dd638e75ac642aae26be61334af0c7e62e3ca2603b3968d50064271bf45fdeef144fae5fd7778b8bb43972b8c14c273b6d
|
7
|
+
data.tar.gz: 1cd88e9129aad71ecc443f8010f957d01bde85899ec86fbddcbd00be509faf76ba3cae4a89bdb762d77c11b5516ff9c51aeed9d9287f9c85a8e4ca11f22ed428
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210322
|
6
|
+
|
7
|
+
### v0.6.0 (2021-03-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210311
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.5.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.4.0 (2021-02-16)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210208
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-10)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210201
|
23
|
+
|
3
24
|
### v0.2.0 (2021-02-03)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210127
|
@@ -485,17 +485,34 @@ module Google
|
|
485
485
|
end
|
486
486
|
end
|
487
487
|
|
488
|
-
#
|
489
|
-
#
|
488
|
+
# Controls apps' access to private keys. The rule determines which private key,
|
489
|
+
# if any, Android Device Policy grants to the specified app. Access is granted
|
490
|
+
# either when the app calls KeyChain.choosePrivateKeyAlias (https://developer.
|
491
|
+
# android.com/reference/android/security/KeyChain#choosePrivateKeyAlias%
|
492
|
+
# 28android.app.Activity,%20android.security.KeyChainAliasCallback,%20java.lang.
|
493
|
+
# String[],%20java.security.Principal[],%20java.lang.String,%20int,%20java.lang.
|
494
|
+
# String%29) (or any overloads) to request a private key alias for a given URL,
|
495
|
+
# or for rules that are not URL-specific (that is, if urlPattern is not set, or
|
496
|
+
# set to the empty string or .*) on Android 11 and above, directly so that the
|
497
|
+
# app can call KeyChain.getPrivateKey (https://developer.android.com/reference/
|
498
|
+
# android/security/KeyChain#getPrivateKey%28android.content.Context,%20java.lang.
|
499
|
+
# String%29), without first having to call KeyChain.choosePrivateKeyAlias.When
|
500
|
+
# an app calls KeyChain.choosePrivateKeyAlias if more than one
|
501
|
+
# choosePrivateKeyRules matches, the last matching rule defines which key alias
|
502
|
+
# to return.
|
490
503
|
class ChoosePrivateKeyRule
|
491
504
|
include Google::Apis::Core::Hashable
|
492
505
|
|
493
|
-
# The package names
|
494
|
-
#
|
495
|
-
# package
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
506
|
+
# The package names to which this rule applies. The hash of the signing
|
507
|
+
# certificate for each app is verified against the hash provided by Play. If no
|
508
|
+
# package names are specified, then the alias is provided to all apps that call
|
509
|
+
# KeyChain.choosePrivateKeyAlias (https://developer.android.com/reference/
|
510
|
+
# android/security/KeyChain#choosePrivateKeyAlias%28android.app.Activity,%
|
511
|
+
# 20android.security.KeyChainAliasCallback,%20java.lang.String[],%20java.
|
512
|
+
# security.Principal[],%20java.lang.String,%20int,%20java.lang.String%29) or any
|
513
|
+
# overloads (but not without calling KeyChain.choosePrivateKeyAlias, even on
|
514
|
+
# Android 11 and above). Any app with the same Android UID as a package
|
515
|
+
# specified here will have access when they call KeyChain.choosePrivateKeyAlias.
|
499
516
|
# Corresponds to the JSON property `packageNames`
|
500
517
|
# @return [Array<String>]
|
501
518
|
attr_accessor :package_names
|
@@ -505,8 +522,9 @@ module Google
|
|
505
522
|
# @return [String]
|
506
523
|
attr_accessor :private_key_alias
|
507
524
|
|
508
|
-
# The URL pattern to match against the URL of the
|
509
|
-
#
|
525
|
+
# The URL pattern to match against the URL of the request. If not set or empty,
|
526
|
+
# it matches all URLs. This uses the regular expression syntax of java.util.
|
527
|
+
# regex.Pattern.
|
510
528
|
# Corresponds to the JSON property `urlPattern`
|
511
529
|
# @return [String]
|
512
530
|
attr_accessor :url_pattern
|
@@ -719,6 +737,37 @@ module Google
|
|
719
737
|
end
|
720
738
|
end
|
721
739
|
|
740
|
+
# This feature is not generally available.
|
741
|
+
class ContentProviderEndpoint
|
742
|
+
include Google::Apis::Core::Hashable
|
743
|
+
|
744
|
+
# This feature is not generally available.
|
745
|
+
# Corresponds to the JSON property `packageName`
|
746
|
+
# @return [String]
|
747
|
+
attr_accessor :package_name
|
748
|
+
|
749
|
+
# Required. This feature is not generally available.
|
750
|
+
# Corresponds to the JSON property `signingCertsSha256`
|
751
|
+
# @return [Array<String>]
|
752
|
+
attr_accessor :signing_certs_sha256
|
753
|
+
|
754
|
+
# This feature is not generally available.
|
755
|
+
# Corresponds to the JSON property `uri`
|
756
|
+
# @return [String]
|
757
|
+
attr_accessor :uri
|
758
|
+
|
759
|
+
def initialize(**args)
|
760
|
+
update!(**args)
|
761
|
+
end
|
762
|
+
|
763
|
+
# Update properties of this object
|
764
|
+
def update!(**args)
|
765
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
766
|
+
@signing_certs_sha256 = args[:signing_certs_sha256] if args.key?(:signing_certs_sha256)
|
767
|
+
@uri = args[:uri] if args.key?(:uri)
|
768
|
+
end
|
769
|
+
end
|
770
|
+
|
722
771
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
723
772
|
# day and time zone are either specified elsewhere or are insignificant. The
|
724
773
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -2004,8 +2053,7 @@ module Google
|
|
2004
2053
|
attr_accessor :network_operator_name
|
2005
2054
|
|
2006
2055
|
# Provides telephony information associated with each SIM card on the device.
|
2007
|
-
# Only supported on fully managed devices starting from Android API level 23
|
2008
|
-
# above.
|
2056
|
+
# Only supported on fully managed devices starting from Android API level 23.
|
2009
2057
|
# Corresponds to the JSON property `telephonyInfos`
|
2010
2058
|
# @return [Array<Google::Apis::AndroidmanagementV1::TelephonyInfo>]
|
2011
2059
|
attr_accessor :telephony_infos
|
@@ -2126,6 +2174,31 @@ module Google
|
|
2126
2174
|
end
|
2127
2175
|
end
|
2128
2176
|
|
2177
|
+
# This feature is not generally available.
|
2178
|
+
class OncCertificateProvider
|
2179
|
+
include Google::Apis::Core::Hashable
|
2180
|
+
|
2181
|
+
# This feature is not generally available.
|
2182
|
+
# Corresponds to the JSON property `certificateReferences`
|
2183
|
+
# @return [Array<String>]
|
2184
|
+
attr_accessor :certificate_references
|
2185
|
+
|
2186
|
+
# This feature is not generally available.
|
2187
|
+
# Corresponds to the JSON property `contentProviderEndpoint`
|
2188
|
+
# @return [Google::Apis::AndroidmanagementV1::ContentProviderEndpoint]
|
2189
|
+
attr_accessor :content_provider_endpoint
|
2190
|
+
|
2191
|
+
def initialize(**args)
|
2192
|
+
update!(**args)
|
2193
|
+
end
|
2194
|
+
|
2195
|
+
# Update properties of this object
|
2196
|
+
def update!(**args)
|
2197
|
+
@certificate_references = args[:certificate_references] if args.key?(:certificate_references)
|
2198
|
+
@content_provider_endpoint = args[:content_provider_endpoint] if args.key?(:content_provider_endpoint)
|
2199
|
+
end
|
2200
|
+
end
|
2201
|
+
|
2129
2202
|
# This resource represents a long-running operation that is the result of a
|
2130
2203
|
# network API call.
|
2131
2204
|
class Operation
|
@@ -2423,7 +2496,8 @@ module Google
|
|
2423
2496
|
attr_accessor :camera_disabled
|
2424
2497
|
alias_method :camera_disabled?, :camera_disabled
|
2425
2498
|
|
2426
|
-
# Controls how long the work profile can stay off.
|
2499
|
+
# Controls how long the work profile can stay off. The duration must be at least
|
2500
|
+
# 3 days.
|
2427
2501
|
# Corresponds to the JSON property `maxDaysWithWorkOff`
|
2428
2502
|
# @return [Fixnum]
|
2429
2503
|
attr_accessor :max_days_with_work_off
|
@@ -2476,7 +2550,7 @@ module Google
|
|
2476
2550
|
attr_accessor :add_user_disabled
|
2477
2551
|
alias_method :add_user_disabled?, :add_user_disabled
|
2478
2552
|
|
2479
|
-
# Whether adjusting the master volume is disabled.
|
2553
|
+
# Whether adjusting the master volume is disabled. Also mutes the device.
|
2480
2554
|
# Corresponds to the JSON property `adjustVolumeDisabled`
|
2481
2555
|
# @return [Boolean]
|
2482
2556
|
attr_accessor :adjust_volume_disabled
|
@@ -2566,10 +2640,8 @@ module Google
|
|
2566
2640
|
attr_accessor :cell_broadcasts_config_disabled
|
2567
2641
|
alias_method :cell_broadcasts_config_disabled?, :cell_broadcasts_config_disabled
|
2568
2642
|
|
2569
|
-
# Rules for
|
2570
|
-
#
|
2571
|
-
# an outgoing request matches more than one rule, the last rule defines which
|
2572
|
-
# private key to use.
|
2643
|
+
# Rules for determining apps' access to private keys. See ChoosePrivateKeyRule
|
2644
|
+
# for details.
|
2573
2645
|
# Corresponds to the JSON property `choosePrivateKeyRules`
|
2574
2646
|
# @return [Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>]
|
2575
2647
|
attr_accessor :choose_private_key_rules
|
@@ -2655,8 +2727,7 @@ module Google
|
|
2655
2727
|
attr_accessor :install_apps_disabled
|
2656
2728
|
alias_method :install_apps_disabled?, :install_apps_disabled
|
2657
2729
|
|
2658
|
-
#
|
2659
|
-
# allows installation of apps from unknown sources.
|
2730
|
+
# This field has no effect.
|
2660
2731
|
# Corresponds to the JSON property `installUnknownSourcesAllowed`
|
2661
2732
|
# @return [Boolean]
|
2662
2733
|
attr_accessor :install_unknown_sources_allowed
|
@@ -2753,6 +2824,11 @@ module Google
|
|
2753
2824
|
attr_accessor :network_reset_disabled
|
2754
2825
|
alias_method :network_reset_disabled?, :network_reset_disabled
|
2755
2826
|
|
2827
|
+
# This feature is not generally available.
|
2828
|
+
# Corresponds to the JSON property `oncCertificateProviders`
|
2829
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::OncCertificateProvider>]
|
2830
|
+
attr_accessor :onc_certificate_providers
|
2831
|
+
|
2756
2832
|
# Network configuration for the device. See configure networks for more
|
2757
2833
|
# information.
|
2758
2834
|
# Corresponds to the JSON property `openNetworkConfiguration`
|
@@ -3027,6 +3103,7 @@ module Google
|
|
3027
3103
|
@name = args[:name] if args.key?(:name)
|
3028
3104
|
@network_escape_hatch_enabled = args[:network_escape_hatch_enabled] if args.key?(:network_escape_hatch_enabled)
|
3029
3105
|
@network_reset_disabled = args[:network_reset_disabled] if args.key?(:network_reset_disabled)
|
3106
|
+
@onc_certificate_providers = args[:onc_certificate_providers] if args.key?(:onc_certificate_providers)
|
3030
3107
|
@open_network_configuration = args[:open_network_configuration] if args.key?(:open_network_configuration)
|
3031
3108
|
@outgoing_beam_disabled = args[:outgoing_beam_disabled] if args.key?(:outgoing_beam_disabled)
|
3032
3109
|
@outgoing_calls_disabled = args[:outgoing_calls_disabled] if args.key?(:outgoing_calls_disabled)
|
@@ -3626,8 +3703,7 @@ module Google
|
|
3626
3703
|
end
|
3627
3704
|
|
3628
3705
|
# Telephony information associated with a given SIM card on the device. Only
|
3629
|
-
# supported on fully managed devices starting from Android API level 23
|
3630
|
-
# above.
|
3706
|
+
# supported on fully managed devices starting from Android API level 23.
|
3631
3707
|
class TelephonyInfo
|
3632
3708
|
include Google::Apis::Core::Hashable
|
3633
3709
|
|
@@ -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.7.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 = "20210322"
|
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
|
|
@@ -625,6 +637,15 @@ module Google
|
|
625
637
|
end
|
626
638
|
end
|
627
639
|
|
640
|
+
class ContentProviderEndpoint
|
641
|
+
# @private
|
642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
643
|
+
property :package_name, as: 'packageName'
|
644
|
+
collection :signing_certs_sha256, as: 'signingCertsSha256'
|
645
|
+
property :uri, as: 'uri'
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
628
649
|
class Date
|
629
650
|
# @private
|
630
651
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -965,6 +986,15 @@ module Google
|
|
965
986
|
end
|
966
987
|
end
|
967
988
|
|
989
|
+
class OncCertificateProvider
|
990
|
+
# @private
|
991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
992
|
+
collection :certificate_references, as: 'certificateReferences'
|
993
|
+
property :content_provider_endpoint, as: 'contentProviderEndpoint', class: Google::Apis::AndroidmanagementV1::ContentProviderEndpoint, decorator: Google::Apis::AndroidmanagementV1::ContentProviderEndpoint::Representation
|
994
|
+
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
968
998
|
class Operation
|
969
999
|
# @private
|
970
1000
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1097,6 +1127,8 @@ module Google
|
|
1097
1127
|
property :name, as: 'name'
|
1098
1128
|
property :network_escape_hatch_enabled, as: 'networkEscapeHatchEnabled'
|
1099
1129
|
property :network_reset_disabled, as: 'networkResetDisabled'
|
1130
|
+
collection :onc_certificate_providers, as: 'oncCertificateProviders', class: Google::Apis::AndroidmanagementV1::OncCertificateProvider, decorator: Google::Apis::AndroidmanagementV1::OncCertificateProvider::Representation
|
1131
|
+
|
1100
1132
|
hash :open_network_configuration, as: 'openNetworkConfiguration'
|
1101
1133
|
property :outgoing_beam_disabled, as: 'outgoingBeamDisabled'
|
1102
1134
|
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.7.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-04-05 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.7.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.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Android Management API V1
|