google-apis-androidmanagement_v1 0.68.0 → 0.69.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 +4 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +58 -9
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +18 -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: f5be50a875dae5a62fef165cebb5581811ace1ae25b934d8865931ec41c49659
|
4
|
+
data.tar.gz: 9388c435dae732d7ee2d7cf3a98a5a32ff9a3aa95db0b52d99f8ed06846b8c7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5182c2d9b729cb5ef2b342d98f651db4fbd34e863628b98a4f577afd6cb243aebc113d77ee326f9c4c0e1e02f296c360569139fa86ecc2afed2447bd17ba9a1
|
7
|
+
data.tar.gz: a91868c2c09e244b81db8fcb36fae353c3a1ca0d8bf0a8628cb5381c384d974cd77ae89a0562547ecfaecd03c8c0bf4fcf63b4aae66370067cff1bef1a7200e7
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
@@ -592,6 +591,21 @@ module Google
|
|
592
591
|
# @return [Google::Apis::AndroidmanagementV1::ExtensionConfig]
|
593
592
|
attr_accessor :extension_config
|
594
593
|
|
594
|
+
# Optional. The constraints for installing the app. You can specify a maximum of
|
595
|
+
# one InstallConstraint. Multiple constraints are rejected.
|
596
|
+
# Corresponds to the JSON property `installConstraint`
|
597
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::InstallConstraint>]
|
598
|
+
attr_accessor :install_constraint
|
599
|
+
|
600
|
+
# Optional. Amongst apps with installTypeset to:FORCE_INSTALLEDPREINSTALLED this
|
601
|
+
# controls the relative priority of installation. A value of 0 (default) means
|
602
|
+
# this app has no priority over other apps. For values between 1 and 10,000, a
|
603
|
+
# lower value means a higher priority. Values outside of the range 0 to 10,000
|
604
|
+
# inclusive are rejected.
|
605
|
+
# Corresponds to the JSON property `installPriority`
|
606
|
+
# @return [Fixnum]
|
607
|
+
attr_accessor :install_priority
|
608
|
+
|
595
609
|
# The type of installation to perform.
|
596
610
|
# Corresponds to the JSON property `installType`
|
597
611
|
# @return [String]
|
@@ -663,6 +677,8 @@ module Google
|
|
663
677
|
@delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
|
664
678
|
@disabled = args[:disabled] if args.key?(:disabled)
|
665
679
|
@extension_config = args[:extension_config] if args.key?(:extension_config)
|
680
|
+
@install_constraint = args[:install_constraint] if args.key?(:install_constraint)
|
681
|
+
@install_priority = args[:install_priority] if args.key?(:install_priority)
|
666
682
|
@install_type = args[:install_type] if args.key?(:install_type)
|
667
683
|
@lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed)
|
668
684
|
@managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
|
@@ -1586,7 +1602,8 @@ module Google
|
|
1586
1602
|
|
1587
1603
|
# Events related to memory and storage measurements in chronological order. This
|
1588
1604
|
# information is only available if memoryInfoEnabled is true in the device's
|
1589
|
-
# policy.
|
1605
|
+
# policy.Events are retained for a certain period of time and old events are
|
1606
|
+
# deleted.
|
1590
1607
|
# Corresponds to the JSON property `memoryEvents`
|
1591
1608
|
# @return [Array<Google::Apis::AndroidmanagementV1::MemoryEvent>]
|
1592
1609
|
attr_accessor :memory_events
|
@@ -2551,6 +2568,40 @@ module Google
|
|
2551
2568
|
end
|
2552
2569
|
end
|
2553
2570
|
|
2571
|
+
# Amongst apps with InstallTypeset to:FORCE_INSTALLEDPREINSTALLED this defines a
|
2572
|
+
# set of restrictions for the app installation. At least one of the fields must
|
2573
|
+
# be set. When multiple fields are set, then all the constraints need to be
|
2574
|
+
# satisfied for the app to be installed.
|
2575
|
+
class InstallConstraint
|
2576
|
+
include Google::Apis::Core::Hashable
|
2577
|
+
|
2578
|
+
# Optional. Charging constraint.
|
2579
|
+
# Corresponds to the JSON property `chargingConstraint`
|
2580
|
+
# @return [String]
|
2581
|
+
attr_accessor :charging_constraint
|
2582
|
+
|
2583
|
+
# Optional. Device idle constraint.
|
2584
|
+
# Corresponds to the JSON property `deviceIdleConstraint`
|
2585
|
+
# @return [String]
|
2586
|
+
attr_accessor :device_idle_constraint
|
2587
|
+
|
2588
|
+
# Optional. Network type constraint.
|
2589
|
+
# Corresponds to the JSON property `networkTypeConstraint`
|
2590
|
+
# @return [String]
|
2591
|
+
attr_accessor :network_type_constraint
|
2592
|
+
|
2593
|
+
def initialize(**args)
|
2594
|
+
update!(**args)
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
# Update properties of this object
|
2598
|
+
def update!(**args)
|
2599
|
+
@charging_constraint = args[:charging_constraint] if args.key?(:charging_constraint)
|
2600
|
+
@device_idle_constraint = args[:device_idle_constraint] if args.key?(:device_idle_constraint)
|
2601
|
+
@network_type_constraint = args[:network_type_constraint] if args.key?(:network_type_constraint)
|
2602
|
+
end
|
2603
|
+
end
|
2604
|
+
|
2554
2605
|
# Response on issuing a command. This is currently empty as a placeholder.
|
2555
2606
|
class IssueCommandResponse
|
2556
2607
|
include Google::Apis::Core::Hashable
|
@@ -3320,7 +3371,8 @@ module Google
|
|
3320
3371
|
end
|
3321
3372
|
end
|
3322
3373
|
|
3323
|
-
# An event related to memory and storage measurements.
|
3374
|
+
# An event related to memory and storage measurements.To distinguish between new
|
3375
|
+
# and old events, we recommend using the createTime field.
|
3324
3376
|
class MemoryEvent
|
3325
3377
|
include Google::Apis::Core::Hashable
|
3326
3378
|
|
@@ -4121,8 +4173,7 @@ module Google
|
|
4121
4173
|
attr_accessor :adjust_volume_disabled
|
4122
4174
|
alias_method :adjust_volume_disabled?, :adjust_volume_disabled
|
4123
4175
|
|
4124
|
-
#
|
4125
|
-
# posture of a device, we don't recommend overriding any of the default values.
|
4176
|
+
# Advanced security settings. In most cases, setting these is not needed.
|
4126
4177
|
# Corresponds to the JSON property `advancedSecurityOverrides`
|
4127
4178
|
# @return [Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides]
|
4128
4179
|
attr_accessor :advanced_security_overrides
|
@@ -4132,9 +4183,7 @@ module Google
|
|
4132
4183
|
# @return [Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage]
|
4133
4184
|
attr_accessor :always_on_vpn_package
|
4134
4185
|
|
4135
|
-
#
|
4136
|
-
# receives the latest version among all accessible tracks. If no tracks are
|
4137
|
-
# specified, then the device only uses the production track.
|
4186
|
+
# This setting is not supported. Any value is ignored.
|
4138
4187
|
# Corresponds to the JSON property `androidDevicePolicyTracks`
|
4139
4188
|
# @return [Array<String>]
|
4140
4189
|
attr_accessor :android_device_policy_tracks
|
@@ -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.69.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 = "20240129"
|
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
|
|
@@ -947,6 +953,9 @@ module Google
|
|
947
953
|
property :disabled, as: 'disabled'
|
948
954
|
property :extension_config, as: 'extensionConfig', class: Google::Apis::AndroidmanagementV1::ExtensionConfig, decorator: Google::Apis::AndroidmanagementV1::ExtensionConfig::Representation
|
949
955
|
|
956
|
+
collection :install_constraint, as: 'installConstraint', class: Google::Apis::AndroidmanagementV1::InstallConstraint, decorator: Google::Apis::AndroidmanagementV1::InstallConstraint::Representation
|
957
|
+
|
958
|
+
property :install_priority, as: 'installPriority'
|
950
959
|
property :install_type, as: 'installType'
|
951
960
|
property :lock_task_allowed, as: 'lockTaskAllowed'
|
952
961
|
hash :managed_configuration, as: 'managedConfiguration'
|
@@ -1405,6 +1414,15 @@ module Google
|
|
1405
1414
|
end
|
1406
1415
|
end
|
1407
1416
|
|
1417
|
+
class InstallConstraint
|
1418
|
+
# @private
|
1419
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1420
|
+
property :charging_constraint, as: 'chargingConstraint'
|
1421
|
+
property :device_idle_constraint, as: 'deviceIdleConstraint'
|
1422
|
+
property :network_type_constraint, as: 'networkTypeConstraint'
|
1423
|
+
end
|
1424
|
+
end
|
1425
|
+
|
1408
1426
|
class IssueCommandResponse
|
1409
1427
|
# @private
|
1410
1428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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.69.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-11 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.69.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: []
|