google-apis-androidmanagement_v1 0.68.0 → 0.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +82 -9
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +21 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +0 -33
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29bff9749a71b6afc8a41135d535f95b46690247fe8db0072e8656c8259431ef
|
4
|
+
data.tar.gz: ade124c1eefbbbc69e54169a8f654c0e6c94d9de002511e99c6c8db9327b11ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33ece57ed8600635a68a442ed426faac3bcd765a0ecd84f7c70f1bd24804a310db58f8b8ee6f2cfc3b1c4ac6f1700af2561ec942b0389eaadcbc790ddc165104
|
7
|
+
data.tar.gz: 02fb388070ad8fc1acb5168bad684a85676f82cd544641d18736de84fffd6a81e463d9c2e91b71e41c810bc513ebf81b4df6cce97c4de16b964ff5f1dc89f73e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.70.0 (2024-02-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240207
|
6
|
+
|
7
|
+
### v0.69.0 (2024-02-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240129
|
10
|
+
|
3
11
|
### v0.68.0 (2024-01-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240115
|
@@ -55,8 +55,7 @@ module Google
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
#
|
59
|
-
# posture of a device, we don't recommend overriding any of the default values.
|
58
|
+
# Advanced security settings. In most cases, setting these is not needed.
|
60
59
|
class AdvancedSecurityOverrides
|
61
60
|
include Google::Apis::Core::Hashable
|
62
61
|
|
@@ -560,6 +559,12 @@ module Google
|
|
560
559
|
# @return [String]
|
561
560
|
attr_accessor :connected_work_and_personal_app
|
562
561
|
|
562
|
+
# Optional. Whether the app is allowed to act as a credential provider on
|
563
|
+
# Android 14 and above.
|
564
|
+
# Corresponds to the JSON property `credentialProviderPolicy`
|
565
|
+
# @return [String]
|
566
|
+
attr_accessor :credential_provider_policy
|
567
|
+
|
563
568
|
# The default policy for all permissions requested by the app. If specified,
|
564
569
|
# this overrides the policy-level default_permission_policy which applies to all
|
565
570
|
# apps. It does not override the permission_grants which applies to all apps.
|
@@ -592,6 +597,21 @@ module Google
|
|
592
597
|
# @return [Google::Apis::AndroidmanagementV1::ExtensionConfig]
|
593
598
|
attr_accessor :extension_config
|
594
599
|
|
600
|
+
# Optional. The constraints for installing the app. You can specify a maximum of
|
601
|
+
# one InstallConstraint. Multiple constraints are rejected.
|
602
|
+
# Corresponds to the JSON property `installConstraint`
|
603
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::InstallConstraint>]
|
604
|
+
attr_accessor :install_constraint
|
605
|
+
|
606
|
+
# Optional. Amongst apps with installType set to: FORCE_INSTALLED
|
607
|
+
# PREINSTALLEDthis controls the relative priority of installation. A value of 0 (
|
608
|
+
# default) means this app has no priority over other apps. For values between 1
|
609
|
+
# and 10,000, a lower value means a higher priority. Values outside of the range
|
610
|
+
# 0 to 10,000 inclusive are rejected.
|
611
|
+
# Corresponds to the JSON property `installPriority`
|
612
|
+
# @return [Fixnum]
|
613
|
+
attr_accessor :install_priority
|
614
|
+
|
595
615
|
# The type of installation to perform.
|
596
616
|
# Corresponds to the JSON property `installType`
|
597
617
|
# @return [String]
|
@@ -659,10 +679,13 @@ module Google
|
|
659
679
|
@always_on_vpn_lockdown_exemption = args[:always_on_vpn_lockdown_exemption] if args.key?(:always_on_vpn_lockdown_exemption)
|
660
680
|
@auto_update_mode = args[:auto_update_mode] if args.key?(:auto_update_mode)
|
661
681
|
@connected_work_and_personal_app = args[:connected_work_and_personal_app] if args.key?(:connected_work_and_personal_app)
|
682
|
+
@credential_provider_policy = args[:credential_provider_policy] if args.key?(:credential_provider_policy)
|
662
683
|
@default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
|
663
684
|
@delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
|
664
685
|
@disabled = args[:disabled] if args.key?(:disabled)
|
665
686
|
@extension_config = args[:extension_config] if args.key?(:extension_config)
|
687
|
+
@install_constraint = args[:install_constraint] if args.key?(:install_constraint)
|
688
|
+
@install_priority = args[:install_priority] if args.key?(:install_priority)
|
666
689
|
@install_type = args[:install_type] if args.key?(:install_type)
|
667
690
|
@lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed)
|
668
691
|
@managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
|
@@ -1586,7 +1609,8 @@ module Google
|
|
1586
1609
|
|
1587
1610
|
# Events related to memory and storage measurements in chronological order. This
|
1588
1611
|
# information is only available if memoryInfoEnabled is true in the device's
|
1589
|
-
# policy.
|
1612
|
+
# policy.Events are retained for a certain period of time and old events are
|
1613
|
+
# deleted.
|
1590
1614
|
# Corresponds to the JSON property `memoryEvents`
|
1591
1615
|
# @return [Array<Google::Apis::AndroidmanagementV1::MemoryEvent>]
|
1592
1616
|
attr_accessor :memory_events
|
@@ -2551,6 +2575,40 @@ module Google
|
|
2551
2575
|
end
|
2552
2576
|
end
|
2553
2577
|
|
2578
|
+
# Amongst apps with InstallType set to: FORCE_INSTALLED PREINSTALLEDthis defines
|
2579
|
+
# a set of restrictions for the app installation. At least one of the fields
|
2580
|
+
# must be set. When multiple fields are set, then all the constraints need to be
|
2581
|
+
# satisfied for the app to be installed.
|
2582
|
+
class InstallConstraint
|
2583
|
+
include Google::Apis::Core::Hashable
|
2584
|
+
|
2585
|
+
# Optional. Charging constraint.
|
2586
|
+
# Corresponds to the JSON property `chargingConstraint`
|
2587
|
+
# @return [String]
|
2588
|
+
attr_accessor :charging_constraint
|
2589
|
+
|
2590
|
+
# Optional. Device idle constraint.
|
2591
|
+
# Corresponds to the JSON property `deviceIdleConstraint`
|
2592
|
+
# @return [String]
|
2593
|
+
attr_accessor :device_idle_constraint
|
2594
|
+
|
2595
|
+
# Optional. Network type constraint.
|
2596
|
+
# Corresponds to the JSON property `networkTypeConstraint`
|
2597
|
+
# @return [String]
|
2598
|
+
attr_accessor :network_type_constraint
|
2599
|
+
|
2600
|
+
def initialize(**args)
|
2601
|
+
update!(**args)
|
2602
|
+
end
|
2603
|
+
|
2604
|
+
# Update properties of this object
|
2605
|
+
def update!(**args)
|
2606
|
+
@charging_constraint = args[:charging_constraint] if args.key?(:charging_constraint)
|
2607
|
+
@device_idle_constraint = args[:device_idle_constraint] if args.key?(:device_idle_constraint)
|
2608
|
+
@network_type_constraint = args[:network_type_constraint] if args.key?(:network_type_constraint)
|
2609
|
+
end
|
2610
|
+
end
|
2611
|
+
|
2554
2612
|
# Response on issuing a command. This is currently empty as a placeholder.
|
2555
2613
|
class IssueCommandResponse
|
2556
2614
|
include Google::Apis::Core::Hashable
|
@@ -3320,7 +3378,8 @@ module Google
|
|
3320
3378
|
end
|
3321
3379
|
end
|
3322
3380
|
|
3323
|
-
# An event related to memory and storage measurements.
|
3381
|
+
# An event related to memory and storage measurements.To distinguish between new
|
3382
|
+
# and old events, we recommend using the createTime field.
|
3324
3383
|
class MemoryEvent
|
3325
3384
|
include Google::Apis::Core::Hashable
|
3326
3385
|
|
@@ -4121,8 +4180,7 @@ module Google
|
|
4121
4180
|
attr_accessor :adjust_volume_disabled
|
4122
4181
|
alias_method :adjust_volume_disabled?, :adjust_volume_disabled
|
4123
4182
|
|
4124
|
-
#
|
4125
|
-
# posture of a device, we don't recommend overriding any of the default values.
|
4183
|
+
# Advanced security settings. In most cases, setting these is not needed.
|
4126
4184
|
# Corresponds to the JSON property `advancedSecurityOverrides`
|
4127
4185
|
# @return [Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides]
|
4128
4186
|
attr_accessor :advanced_security_overrides
|
@@ -4132,9 +4190,7 @@ module Google
|
|
4132
4190
|
# @return [Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage]
|
4133
4191
|
attr_accessor :always_on_vpn_package
|
4134
4192
|
|
4135
|
-
#
|
4136
|
-
# receives the latest version among all accessible tracks. If no tracks are
|
4137
|
-
# specified, then the device only uses the production track.
|
4193
|
+
# This setting is not supported. Any value is ignored.
|
4138
4194
|
# Corresponds to the JSON property `androidDevicePolicyTracks`
|
4139
4195
|
# @return [Array<String>]
|
4140
4196
|
attr_accessor :android_device_policy_tracks
|
@@ -4239,6 +4295,15 @@ module Google
|
|
4239
4295
|
attr_accessor :create_windows_disabled
|
4240
4296
|
alias_method :create_windows_disabled?, :create_windows_disabled
|
4241
4297
|
|
4298
|
+
# Controls which apps are allowed to act as credential providers on Android 14
|
4299
|
+
# and above. These apps store credentials, see this (https://developer.android.
|
4300
|
+
# com/training/sign-in/passkeys) and this (https://developer.android.com/
|
4301
|
+
# reference/androidx/credentials/CredentialManager) for details. See also
|
4302
|
+
# credentialProviderPolicy.
|
4303
|
+
# Corresponds to the JSON property `credentialProviderPolicyDefault`
|
4304
|
+
# @return [String]
|
4305
|
+
attr_accessor :credential_provider_policy_default
|
4306
|
+
|
4242
4307
|
# Whether configuring user credentials is disabled.
|
4243
4308
|
# Corresponds to the JSON property `credentialsConfigDisabled`
|
4244
4309
|
# @return [Boolean]
|
@@ -4516,6 +4581,12 @@ module Google
|
|
4516
4581
|
# @return [String]
|
4517
4582
|
attr_accessor :preferential_network_service
|
4518
4583
|
|
4584
|
+
# Optional. Controls whether printing is allowed. This is supported on devices
|
4585
|
+
# running Android 9 and above. .
|
4586
|
+
# Corresponds to the JSON property `printingPolicy`
|
4587
|
+
# @return [String]
|
4588
|
+
attr_accessor :printing_policy
|
4589
|
+
|
4519
4590
|
# Allows showing UI on a device for a user to choose a private key alias if
|
4520
4591
|
# there are no matching rules in ChoosePrivateKeyRules. For devices below
|
4521
4592
|
# Android P, setting this may leave enterprise keys vulnerable. This value will
|
@@ -4723,6 +4794,7 @@ module Google
|
|
4723
4794
|
@choose_private_key_rules = args[:choose_private_key_rules] if args.key?(:choose_private_key_rules)
|
4724
4795
|
@compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
|
4725
4796
|
@create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
|
4797
|
+
@credential_provider_policy_default = args[:credential_provider_policy_default] if args.key?(:credential_provider_policy_default)
|
4726
4798
|
@credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled)
|
4727
4799
|
@cross_profile_policies = args[:cross_profile_policies] if args.key?(:cross_profile_policies)
|
4728
4800
|
@data_roaming_disabled = args[:data_roaming_disabled] if args.key?(:data_roaming_disabled)
|
@@ -4767,6 +4839,7 @@ module Google
|
|
4767
4839
|
@play_store_mode = args[:play_store_mode] if args.key?(:play_store_mode)
|
4768
4840
|
@policy_enforcement_rules = args[:policy_enforcement_rules] if args.key?(:policy_enforcement_rules)
|
4769
4841
|
@preferential_network_service = args[:preferential_network_service] if args.key?(:preferential_network_service)
|
4842
|
+
@printing_policy = args[:printing_policy] if args.key?(:printing_policy)
|
4770
4843
|
@private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
|
4771
4844
|
@recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
|
4772
4845
|
@remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_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.70.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240207"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -322,6 +322,12 @@ module Google
|
|
322
322
|
include Google::Apis::Core::JsonObjectSupport
|
323
323
|
end
|
324
324
|
|
325
|
+
class InstallConstraint
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
325
331
|
class IssueCommandResponse
|
326
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
333
|
|
@@ -942,11 +948,15 @@ module Google
|
|
942
948
|
property :always_on_vpn_lockdown_exemption, as: 'alwaysOnVpnLockdownExemption'
|
943
949
|
property :auto_update_mode, as: 'autoUpdateMode'
|
944
950
|
property :connected_work_and_personal_app, as: 'connectedWorkAndPersonalApp'
|
951
|
+
property :credential_provider_policy, as: 'credentialProviderPolicy'
|
945
952
|
property :default_permission_policy, as: 'defaultPermissionPolicy'
|
946
953
|
collection :delegated_scopes, as: 'delegatedScopes'
|
947
954
|
property :disabled, as: 'disabled'
|
948
955
|
property :extension_config, as: 'extensionConfig', class: Google::Apis::AndroidmanagementV1::ExtensionConfig, decorator: Google::Apis::AndroidmanagementV1::ExtensionConfig::Representation
|
949
956
|
|
957
|
+
collection :install_constraint, as: 'installConstraint', class: Google::Apis::AndroidmanagementV1::InstallConstraint, decorator: Google::Apis::AndroidmanagementV1::InstallConstraint::Representation
|
958
|
+
|
959
|
+
property :install_priority, as: 'installPriority'
|
950
960
|
property :install_type, as: 'installType'
|
951
961
|
property :lock_task_allowed, as: 'lockTaskAllowed'
|
952
962
|
hash :managed_configuration, as: 'managedConfiguration'
|
@@ -1405,6 +1415,15 @@ module Google
|
|
1405
1415
|
end
|
1406
1416
|
end
|
1407
1417
|
|
1418
|
+
class InstallConstraint
|
1419
|
+
# @private
|
1420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1421
|
+
property :charging_constraint, as: 'chargingConstraint'
|
1422
|
+
property :device_idle_constraint, as: 'deviceIdleConstraint'
|
1423
|
+
property :network_type_constraint, as: 'networkTypeConstraint'
|
1424
|
+
end
|
1425
|
+
end
|
1426
|
+
|
1408
1427
|
class IssueCommandResponse
|
1409
1428
|
# @private
|
1410
1429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1866,6 +1885,7 @@ module Google
|
|
1866
1885
|
collection :compliance_rules, as: 'complianceRules', class: Google::Apis::AndroidmanagementV1::ComplianceRule, decorator: Google::Apis::AndroidmanagementV1::ComplianceRule::Representation
|
1867
1886
|
|
1868
1887
|
property :create_windows_disabled, as: 'createWindowsDisabled'
|
1888
|
+
property :credential_provider_policy_default, as: 'credentialProviderPolicyDefault'
|
1869
1889
|
property :credentials_config_disabled, as: 'credentialsConfigDisabled'
|
1870
1890
|
property :cross_profile_policies, as: 'crossProfilePolicies', class: Google::Apis::AndroidmanagementV1::CrossProfilePolicies, decorator: Google::Apis::AndroidmanagementV1::CrossProfilePolicies::Representation
|
1871
1891
|
|
@@ -1925,6 +1945,7 @@ module Google
|
|
1925
1945
|
collection :policy_enforcement_rules, as: 'policyEnforcementRules', class: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule, decorator: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule::Representation
|
1926
1946
|
|
1927
1947
|
property :preferential_network_service, as: 'preferentialNetworkService'
|
1948
|
+
property :printing_policy, as: 'printingPolicy'
|
1928
1949
|
property :private_key_selection_enabled, as: 'privateKeySelectionEnabled'
|
1929
1950
|
property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
|
1930
1951
|
|
@@ -502,39 +502,6 @@ module Google
|
|
502
502
|
execute_or_queue_command(command, &block)
|
503
503
|
end
|
504
504
|
|
505
|
-
# Deletes a long-running operation. This method indicates that the client is no
|
506
|
-
# longer interested in the operation result. It does not cancel the operation.
|
507
|
-
# If the server doesn't support this method, it returns google.rpc.Code.
|
508
|
-
# UNIMPLEMENTED.
|
509
|
-
# @param [String] name
|
510
|
-
# The name of the operation resource to be deleted.
|
511
|
-
# @param [String] fields
|
512
|
-
# Selector specifying which fields to include in a partial response.
|
513
|
-
# @param [String] quota_user
|
514
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
515
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
516
|
-
# @param [Google::Apis::RequestOptions] options
|
517
|
-
# Request-specific options
|
518
|
-
#
|
519
|
-
# @yield [result, err] Result & error if block supplied
|
520
|
-
# @yieldparam result [Google::Apis::AndroidmanagementV1::Empty] parsed result object
|
521
|
-
# @yieldparam err [StandardError] error object if request failed
|
522
|
-
#
|
523
|
-
# @return [Google::Apis::AndroidmanagementV1::Empty]
|
524
|
-
#
|
525
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
526
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
527
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
528
|
-
def delete_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
529
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
530
|
-
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
531
|
-
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
532
|
-
command.params['name'] = name unless name.nil?
|
533
|
-
command.query['fields'] = fields unless fields.nil?
|
534
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
535
|
-
execute_or_queue_command(command, &block)
|
536
|
-
end
|
537
|
-
|
538
505
|
# Gets the latest state of a long-running operation. Clients can use this method
|
539
506
|
# to poll the operation result at intervals as recommended by the API service.
|
540
507
|
# @param [String] name
|
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.70.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: 2024-
|
11
|
+
date: 2024-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.70.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|