google-apis-androidmanagement_v1 0.6.0 → 0.11.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: 80157bcd47563f415b6e0b6bdd0a2db277d55316765cdb0c58f4dbcb854cdef9
4
+ data.tar.gz: eb1152574b5cef44e4041c869a08c3d737077c2f8be0be784f764165a53fe71f
5
5
  SHA512:
6
- metadata.gz: e605bd4fc78dde4b8505e87bcb569c0ecc8ba3d4797c99bc9194d5e574b4900672c245a8acb4da1be00f166fb1deda64a05ac9d7834edb730767e2c4b0560940
7
- data.tar.gz: 6de26037d27062b1da0590a28d612861b0787dedb2a706f6e8914c7660090ba5df1c5e04282bc9a10ea55d543e17f6a6eb0c4411d922f24cdb35508b53f2f664
6
+ metadata.gz: bfc77839b0e0dd0e37cd738921726672a9493c18f9bafb278140178cfc1c2a625333f85e19a7ccc4e3ab905e40562f94f5660dfc198b0f5bff134861d10ea4b1
7
+ data.tar.gz: f31160879f8020b14e1789c442f726d986bb72b67de841d135e3cb7caffe819278fa51ebd0d84d965e49a96b5b2993a2a4af0931cca03e0de41b210d977347bd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.11.0 (2021-06-15)
4
+
5
+ * Regenerated from discovery document revision 20210607
6
+ * Regenerated using generator version 0.3.0
7
+
8
+ ### v0.10.0 (2021-06-01)
9
+
10
+ * Regenerated from discovery document revision 20210524
11
+
12
+ ### v0.9.0 (2021-05-19)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.8.0 (2021-04-18)
17
+
18
+ * Regenerated from discovery document revision 20210405
19
+
20
+ ### v0.7.0 (2021-03-30)
21
+
22
+ * Regenerated from discovery document revision 20210322
23
+
3
24
  ### v0.6.0 (2021-03-12)
4
25
 
5
26
  * Regenerated from discovery document revision 20210311
@@ -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
@@ -247,7 +262,7 @@ module Google
247
262
  # @return [Array<String>]
248
263
  attr_accessor :accessible_track_ids
249
264
 
250
- # This feature is not generally available yet.
265
+ # Controls the auto-update mode for the app.
251
266
  # Corresponds to the JSON property `autoUpdateMode`
252
267
  # @return [String]
253
268
  attr_accessor :auto_update_mode
@@ -485,17 +500,34 @@ module Google
485
500
  end
486
501
  end
487
502
 
488
- # A rule for automatically choosing a private key and certificate to
489
- # authenticate the device to a server.
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 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
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 outgoing request. The pattern
509
- # may contain asterisk (*) wildcards. Any URL is matched if unspecified.
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
@@ -807,6 +840,13 @@ module Google
807
840
  # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationReport>]
808
841
  attr_accessor :application_reports
809
842
 
843
+ # The password requirements currently applied to the device. The applied
844
+ # requirements may be slightly different from those specified in
845
+ # passwordPolicies in some cases. fieldPath is set based on passwordPolicies.
846
+ # Corresponds to the JSON property `appliedPasswordPolicies`
847
+ # @return [Array<Google::Apis::AndroidmanagementV1::PasswordRequirements>]
848
+ attr_accessor :applied_password_policies
849
+
810
850
  # The name of the policy currently applied to the device.
811
851
  # Corresponds to the JSON property `appliedPolicyName`
812
852
  # @return [String]
@@ -1008,6 +1048,7 @@ module Google
1008
1048
  def update!(**args)
1009
1049
  @api_level = args[:api_level] if args.key?(:api_level)
1010
1050
  @application_reports = args[:application_reports] if args.key?(:application_reports)
1051
+ @applied_password_policies = args[:applied_password_policies] if args.key?(:applied_password_policies)
1011
1052
  @applied_policy_name = args[:applied_policy_name] if args.key?(:applied_policy_name)
1012
1053
  @applied_policy_version = args[:applied_policy_version] if args.key?(:applied_policy_version)
1013
1054
  @applied_state = args[:applied_state] if args.key?(:applied_state)
@@ -1083,8 +1124,8 @@ module Google
1083
1124
  attr_accessor :unknown_sources_enabled
1084
1125
  alias_method :unknown_sources_enabled?, :unknown_sources_enabled
1085
1126
 
1086
- # Whether Verify Apps (Google Play Protect (https://support.google.com/
1087
- # googleplay/answer/2812853)) is enabled on the device.
1127
+ # Whether Google Play Protect verification (https://support.google.com/accounts/
1128
+ # answer/2812853) is enforced on the device.
1088
1129
  # Corresponds to the JSON property `verifyAppsEnabled`
1089
1130
  # @return [Boolean]
1090
1131
  attr_accessor :verify_apps_enabled
@@ -1596,6 +1637,19 @@ module Google
1596
1637
  end
1597
1638
  end
1598
1639
 
1640
+ # Response on issuing a command. This is currently empty as a placeholder.
1641
+ class IssueCommandResponse
1642
+ include Google::Apis::Core::Hashable
1643
+
1644
+ def initialize(**args)
1645
+ update!(**args)
1646
+ end
1647
+
1648
+ # Update properties of this object
1649
+ def update!(**args)
1650
+ end
1651
+ end
1652
+
1599
1653
  # Keyed app state reported by the app.
1600
1654
  class KeyedAppState
1601
1655
  include Google::Apis::Core::Hashable
@@ -2557,6 +2611,8 @@ module Google
2557
2611
  # @return [Array<String>]
2558
2612
  attr_accessor :android_device_policy_tracks
2559
2613
 
2614
+ # Deprecated. Use autoUpdateMode instead.When autoUpdateMode is set to
2615
+ # AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect.
2560
2616
  # The app auto update policy, which controls when automatic app updates can be
2561
2617
  # applied.
2562
2618
  # Corresponds to the JSON property `appAutoUpdatePolicy`
@@ -2622,10 +2678,8 @@ module Google
2622
2678
  attr_accessor :cell_broadcasts_config_disabled
2623
2679
  alias_method :cell_broadcasts_config_disabled?, :cell_broadcasts_config_disabled
2624
2680
 
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.
2681
+ # Rules for determining apps' access to private keys. See ChoosePrivateKeyRule
2682
+ # for details.
2629
2683
  # Corresponds to the JSON property `choosePrivateKeyRules`
2630
2684
  # @return [Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>]
2631
2685
  attr_accessor :choose_private_key_rules
@@ -2796,7 +2850,9 @@ module Google
2796
2850
  # temporary network will be forgotten and the device will continue booting. This
2797
2851
  # prevents being unable to connect to a network if there is no suitable network
2798
2852
  # in the last policy and the device boots into an app in lock task mode, or the
2799
- # user is otherwise unable to reach device settings.
2853
+ # user is otherwise unable to reach device settings.Note: Setting
2854
+ # wifiConfigDisabled to true will override this setting under specific
2855
+ # circumstances. Please see wifiConfigDisabled for further details.
2800
2856
  # Corresponds to the JSON property `networkEscapeHatchEnabled`
2801
2857
  # @return [Boolean]
2802
2858
  attr_accessor :network_escape_hatch_enabled
@@ -3024,7 +3080,10 @@ module Google
3024
3080
  attr_accessor :vpn_config_disabled
3025
3081
  alias_method :vpn_config_disabled?, :vpn_config_disabled
3026
3082
 
3027
- # Whether configuring Wi-Fi access points is disabled.
3083
+ # Whether configuring Wi-Fi access points is disabled.Note: If a network
3084
+ # connection can't be made at boot time and configuring Wi-Fi is disabled then
3085
+ # network escape hatch will be shown in order to refresh the device policy (see
3086
+ # networkEscapeHatchEnabled).
3028
3087
  # Corresponds to the JSON property `wifiConfigDisabled`
3029
3088
  # @return [Boolean]
3030
3089
  attr_accessor :wifi_config_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.6.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210311"
25
+ REVISION = "20210607"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class IssueCommandResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class KeyedAppState
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -470,6 +476,8 @@ module Google
470
476
  # @private
471
477
  class Representation < Google::Apis::Core::JsonRepresentation
472
478
  property :common_criteria_mode, as: 'commonCriteriaMode'
479
+ property :developer_settings, as: 'developerSettings'
480
+ property :google_play_protect_verify_apps, as: 'googlePlayProtectVerifyApps'
473
481
  property :untrusted_apps_policy, as: 'untrustedAppsPolicy'
474
482
  end
475
483
  end
@@ -661,6 +669,8 @@ module Google
661
669
  property :api_level, as: 'apiLevel'
662
670
  collection :application_reports, as: 'applicationReports', class: Google::Apis::AndroidmanagementV1::ApplicationReport, decorator: Google::Apis::AndroidmanagementV1::ApplicationReport::Representation
663
671
 
672
+ collection :applied_password_policies, as: 'appliedPasswordPolicies', class: Google::Apis::AndroidmanagementV1::PasswordRequirements, decorator: Google::Apis::AndroidmanagementV1::PasswordRequirements::Representation
673
+
664
674
  property :applied_policy_name, as: 'appliedPolicyName'
665
675
  property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion'
666
676
  property :applied_state, as: 'appliedState'
@@ -830,6 +840,12 @@ module Google
830
840
  end
831
841
  end
832
842
 
843
+ class IssueCommandResponse
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ end
847
+ end
848
+
833
849
  class KeyedAppState
834
850
  # @private
835
851
  class Representation < Google::Apis::Core::JsonRepresentation
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.11.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-06-21 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.11.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: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
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