google-apis-androidmanagement_v1 0.6.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: 9a5527b003024840d9f508c84aef498e08f2c9b58b285e6f4ff019f8abb174d3
4
- data.tar.gz: 8b9f9a639f8e3823de45f5f8e66227368313ab5ff5d3ea4917fe7179918d6ea4
3
+ metadata.gz: bd636e21ceac7c9046bd9e6ca0b046f2fabe8b6823fd4f186f530f87e70f41fa
4
+ data.tar.gz: 10ba44f63b4f94164c30109639a01ba394d0c4dbcb4efbb1390a8871c7f4e2e4
5
5
  SHA512:
6
- metadata.gz: e605bd4fc78dde4b8505e87bcb569c0ecc8ba3d4797c99bc9194d5e574b4900672c245a8acb4da1be00f166fb1deda64a05ac9d7834edb730767e2c4b0560940
7
- data.tar.gz: 6de26037d27062b1da0590a28d612861b0787dedb2a706f6e8914c7660090ba5df1c5e04282bc9a10ea55d543e17f6a6eb0c4411d922f24cdb35508b53f2f664
6
+ metadata.gz: 8f7700139e5d37d19c48e01010add3dd638e75ac642aae26be61334af0c7e62e3ca2603b3968d50064271bf45fdeef144fae5fd7778b8bb43972b8c14c273b6d
7
+ data.tar.gz: 1cd88e9129aad71ecc443f8010f957d01bde85899ec86fbddcbd00be509faf76ba3cae4a89bdb762d77c11b5516ff9c51aeed9d9287f9c85a8e4ca11f22ed428
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.6.0 (2021-03-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20210311
@@ -485,17 +485,34 @@ module Google
485
485
  end
486
486
  end
487
487
 
488
- # A rule for automatically choosing a private key and certificate to
489
- # authenticate the device to a server.
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 for which outgoing requests are subject to this rule. If no
494
- # package names are specified, then the rule applies to all packages. For each
495
- # package name listed, the rule applies to that package and all other packages
496
- # that shared the same Android UID. The SHA256 hash of the signing key
497
- # signatures of each package_name will be verified against those provided by
498
- # Play
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 outgoing request. The pattern
509
- # may contain asterisk (*) wildcards. Any URL is matched if unspecified.
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
@@ -2622,10 +2640,8 @@ module Google
2622
2640
  attr_accessor :cell_broadcasts_config_disabled
2623
2641
  alias_method :cell_broadcasts_config_disabled?, :cell_broadcasts_config_disabled
2624
2642
 
2625
- # Rules for automatically choosing a private key and certificate to authenticate
2626
- # the device to a server. The rules are ordered by increasing precedence, so if
2627
- # an outgoing request matches more than one rule, the last rule defines which
2628
- # private key to use.
2643
+ # Rules for determining apps' access to private keys. See ChoosePrivateKeyRule
2644
+ # for details.
2629
2645
  # Corresponds to the JSON property `choosePrivateKeyRules`
2630
2646
  # @return [Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>]
2631
2647
  attr_accessor :choose_private_key_rules
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210311"
25
+ REVISION = "20210322"
26
26
  end
27
27
  end
28
28
  end
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.6.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-03-15 00:00:00.000000000 Z
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.6.0
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: []