google-apis-androidenterprise_v1 0.5.0 → 0.35.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 +125 -0
- data/OVERVIEW.md +5 -5
- data/lib/google/apis/androidenterprise_v1/classes.rb +167 -46
- data/lib/google/apis/androidenterprise_v1/gem_version.rb +3 -3
- data/lib/google/apis/androidenterprise_v1/representations.rb +55 -0
- data/lib/google/apis/androidenterprise_v1/service.rb +90 -19
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd3b4082f6487d9dacb3d506cd67148e9893acb87d668f857d9f811d35dc737e
|
4
|
+
data.tar.gz: befb4b8e7c9e4f2d04dccb6da494d1ba593da74259561ff922e78a01da219009
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9834e90f0312609401fa4f896e5e13bf4662c843b43efb6b72ccb650503440b6f500cb9d65d8b32fb84a28141994574dded85bd8f4215f090c1a711f6630eeb9
|
7
|
+
data.tar.gz: 21c5dff55a5433081f66b4ee8bee60e5b476388c058c8679f7be0b2f1a4063f3660c28bd7ece11377718982ba71637ba672bec173e215895a9e4587a0b79c0f8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,130 @@
|
|
1
1
|
# Release history for google-apis-androidenterprise_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2024-08-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240820
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.34.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240703
|
11
|
+
|
12
|
+
### v0.33.0 (2024-06-26)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20240623
|
15
|
+
|
16
|
+
### v0.32.0 (2024-05-19)
|
17
|
+
|
18
|
+
* Regenerated using generator version 0.15.0
|
19
|
+
|
20
|
+
### v0.31.0 (2024-04-28)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20240422
|
23
|
+
|
24
|
+
### v0.30.0 (2024-04-21)
|
25
|
+
|
26
|
+
* Regenerated from discovery document revision 20240415
|
27
|
+
|
28
|
+
### v0.29.0 (2024-02-23)
|
29
|
+
|
30
|
+
* Regenerated using generator version 0.14.0
|
31
|
+
|
32
|
+
### v0.28.0 (2024-01-22)
|
33
|
+
|
34
|
+
* Regenerated using generator version 0.13.0
|
35
|
+
|
36
|
+
### v0.27.0 (2023-11-19)
|
37
|
+
|
38
|
+
* Regenerated from discovery document revision 20231113
|
39
|
+
|
40
|
+
### v0.26.0 (2023-11-12)
|
41
|
+
|
42
|
+
* Regenerated from discovery document revision 20231107
|
43
|
+
|
44
|
+
### v0.25.0 (2023-10-22)
|
45
|
+
|
46
|
+
* Regenerated from discovery document revision 20231018
|
47
|
+
|
48
|
+
### v0.24.0 (2023-08-06)
|
49
|
+
|
50
|
+
* Regenerated from discovery document revision 20230802
|
51
|
+
|
52
|
+
### v0.23.0 (2023-07-23)
|
53
|
+
|
54
|
+
* Regenerated from discovery document revision 20230713
|
55
|
+
|
56
|
+
### v0.22.0 (2023-05-21)
|
57
|
+
|
58
|
+
* Regenerated from discovery document revision 20230515
|
59
|
+
|
60
|
+
### v0.21.0 (2023-02-26)
|
61
|
+
|
62
|
+
* Regenerated from discovery document revision 20230218
|
63
|
+
|
64
|
+
### v0.20.0 (2023-02-19)
|
65
|
+
|
66
|
+
* Regenerated using generator version 0.12.0
|
67
|
+
|
68
|
+
### v0.19.0 (2023-01-15)
|
69
|
+
|
70
|
+
* Regenerated from discovery document revision 20230111
|
71
|
+
* Regenerated using generator version 0.11.1
|
72
|
+
|
73
|
+
### v0.18.0 (2022-12-22)
|
74
|
+
|
75
|
+
* Regenerated from discovery document revision 20221214
|
76
|
+
|
77
|
+
### v0.17.0 (2022-10-27)
|
78
|
+
|
79
|
+
* Regenerated from discovery document revision 20221019
|
80
|
+
* Regenerated using generator version 0.11.0
|
81
|
+
|
82
|
+
### v0.16.0 (2022-09-20)
|
83
|
+
|
84
|
+
* Regenerated using generator version 0.10.0
|
85
|
+
|
86
|
+
### v0.15.0 (2022-09-13)
|
87
|
+
|
88
|
+
* Regenerated from discovery document revision 20220910
|
89
|
+
|
90
|
+
### v0.14.0 (2022-07-22)
|
91
|
+
|
92
|
+
* Regenerated from discovery document revision 20220720
|
93
|
+
* Regenerated using generator version 0.9.0
|
94
|
+
|
95
|
+
### v0.13.0 (2022-06-30)
|
96
|
+
|
97
|
+
* Regenerated using generator version 0.8.0
|
98
|
+
|
99
|
+
### v0.12.0 (2022-06-21)
|
100
|
+
|
101
|
+
* Regenerated using generator version 0.7.0
|
102
|
+
|
103
|
+
### v0.11.0 (2022-06-05)
|
104
|
+
|
105
|
+
* Regenerated using generator version 0.5.0
|
106
|
+
|
107
|
+
### v0.10.0 (2022-04-11)
|
108
|
+
|
109
|
+
* Regenerated from discovery document revision 20220407
|
110
|
+
* Regenerated using generator version 0.4.1
|
111
|
+
|
112
|
+
### v0.9.0 (2021-12-14)
|
113
|
+
|
114
|
+
* Unspecified changes
|
115
|
+
|
116
|
+
### v0.8.0 (2021-10-20)
|
117
|
+
|
118
|
+
* Unspecified changes
|
119
|
+
|
120
|
+
### v0.7.0 (2021-07-28)
|
121
|
+
|
122
|
+
* Regenerated from discovery document revision 20210723
|
123
|
+
|
124
|
+
### v0.6.0 (2021-06-29)
|
125
|
+
|
126
|
+
* Regenerated using generator version 0.4.0
|
127
|
+
|
3
128
|
### v0.5.0 (2021-06-24)
|
4
129
|
|
5
130
|
* Regenerated from discovery document revision 20210610
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/androidenterprise_v1"
|
|
51
51
|
client = Google::Apis::AndroidenterpriseV1::AndroidEnterpriseService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Androidenterprise service in particular.)
|
67
67
|
|
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/android/work/play/emm-
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -473,6 +473,12 @@ module Google
|
|
473
473
|
attr_accessor :is_production
|
474
474
|
alias_method :is_production?, :is_production
|
475
475
|
|
476
|
+
# The SDK version this app targets, as specified in the manifest of the APK. See
|
477
|
+
# http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
|
478
|
+
# Corresponds to the JSON property `targetSdkVersion`
|
479
|
+
# @return [Fixnum]
|
480
|
+
attr_accessor :target_sdk_version
|
481
|
+
|
476
482
|
# Deprecated, use trackId instead.
|
477
483
|
# Corresponds to the JSON property `track`
|
478
484
|
# @return [String]
|
@@ -504,6 +510,7 @@ module Google
|
|
504
510
|
# Update properties of this object
|
505
511
|
def update!(**args)
|
506
512
|
@is_production = args[:is_production] if args.key?(:is_production)
|
513
|
+
@target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version)
|
507
514
|
@track = args[:track] if args.key?(:track)
|
508
515
|
@track_id = args[:track_id] if args.key?(:track_id)
|
509
516
|
@version_code = args[:version_code] if args.key?(:version_code)
|
@@ -595,7 +602,8 @@ module Google
|
|
595
602
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
|
596
603
|
attr_accessor :auto_install_constraint
|
597
604
|
|
598
|
-
# The auto-install mode. If unset defaults to "doNotAutoInstall".
|
605
|
+
# The auto-install mode. If unset, defaults to "doNotAutoInstall". An app is
|
606
|
+
# automatically installed regardless of a set maintenance window.
|
599
607
|
# Corresponds to the JSON property `autoInstallMode`
|
600
608
|
# @return [String]
|
601
609
|
attr_accessor :auto_install_mode
|
@@ -655,6 +663,25 @@ module Google
|
|
655
663
|
end
|
656
664
|
end
|
657
665
|
|
666
|
+
# Response message for create enrollment token.
|
667
|
+
class CreateEnrollmentTokenResponse
|
668
|
+
include Google::Apis::Core::Hashable
|
669
|
+
|
670
|
+
# Enrollment token.
|
671
|
+
# Corresponds to the JSON property `enrollmentToken`
|
672
|
+
# @return [String]
|
673
|
+
attr_accessor :enrollment_token
|
674
|
+
|
675
|
+
def initialize(**args)
|
676
|
+
update!(**args)
|
677
|
+
end
|
678
|
+
|
679
|
+
# Update properties of this object
|
680
|
+
def update!(**args)
|
681
|
+
@enrollment_token = args[:enrollment_token] if args.key?(:enrollment_token)
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
658
685
|
# A Devices resource represents a mobile device managed by the EMM and belonging
|
659
686
|
# to a specific enterprise user.
|
660
687
|
class Device
|
@@ -666,6 +693,22 @@ module Google
|
|
666
693
|
# @return [String]
|
667
694
|
attr_accessor :android_id
|
668
695
|
|
696
|
+
# The internal hardware codename of the device. This comes from android.os.Build.
|
697
|
+
# DEVICE. (field named "device" per logs/wireless/android/android_checkin.proto)
|
698
|
+
# Corresponds to the JSON property `device`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :device
|
701
|
+
|
702
|
+
# The build fingerprint of the device if known.
|
703
|
+
# Corresponds to the JSON property `latestBuildFingerprint`
|
704
|
+
# @return [String]
|
705
|
+
attr_accessor :latest_build_fingerprint
|
706
|
+
|
707
|
+
# The manufacturer of the device. This comes from android.os.Build.MANUFACTURER.
|
708
|
+
# Corresponds to the JSON property `maker`
|
709
|
+
# @return [String]
|
710
|
+
attr_accessor :maker
|
711
|
+
|
669
712
|
# Identifies the extent to which the device is controlled by a managed Google
|
670
713
|
# Play EMM in various deployment configurations. Possible values include: - "
|
671
714
|
# managedDevice", a device that has the EMM's device policy controller (DPC) as
|
@@ -679,17 +722,37 @@ module Google
|
|
679
722
|
# @return [String]
|
680
723
|
attr_accessor :management_type
|
681
724
|
|
725
|
+
# The model name of the device. This comes from android.os.Build.MODEL.
|
726
|
+
# Corresponds to the JSON property `model`
|
727
|
+
# @return [String]
|
728
|
+
attr_accessor :model
|
729
|
+
|
682
730
|
# The device policy for a given managed device.
|
683
731
|
# Corresponds to the JSON property `policy`
|
684
732
|
# @return [Google::Apis::AndroidenterpriseV1::Policy]
|
685
733
|
attr_accessor :policy
|
686
734
|
|
735
|
+
# The product name of the device. This comes from android.os.Build.PRODUCT.
|
736
|
+
# Corresponds to the JSON property `product`
|
737
|
+
# @return [String]
|
738
|
+
attr_accessor :product
|
739
|
+
|
687
740
|
# Device report updated with the latest app states for managed apps on the
|
688
741
|
# device.
|
689
742
|
# Corresponds to the JSON property `report`
|
690
743
|
# @return [Google::Apis::AndroidenterpriseV1::DeviceReport]
|
691
744
|
attr_accessor :report
|
692
745
|
|
746
|
+
# Retail brand for the device, if set. See android.os.Build.BRAND
|
747
|
+
# Corresponds to the JSON property `retailBrand`
|
748
|
+
# @return [String]
|
749
|
+
attr_accessor :retail_brand
|
750
|
+
|
751
|
+
# API compatibility version.
|
752
|
+
# Corresponds to the JSON property `sdkVersion`
|
753
|
+
# @return [Fixnum]
|
754
|
+
attr_accessor :sdk_version
|
755
|
+
|
693
756
|
def initialize(**args)
|
694
757
|
update!(**args)
|
695
758
|
end
|
@@ -697,9 +760,16 @@ module Google
|
|
697
760
|
# Update properties of this object
|
698
761
|
def update!(**args)
|
699
762
|
@android_id = args[:android_id] if args.key?(:android_id)
|
763
|
+
@device = args[:device] if args.key?(:device)
|
764
|
+
@latest_build_fingerprint = args[:latest_build_fingerprint] if args.key?(:latest_build_fingerprint)
|
765
|
+
@maker = args[:maker] if args.key?(:maker)
|
700
766
|
@management_type = args[:management_type] if args.key?(:management_type)
|
767
|
+
@model = args[:model] if args.key?(:model)
|
701
768
|
@policy = args[:policy] if args.key?(:policy)
|
769
|
+
@product = args[:product] if args.key?(:product)
|
702
770
|
@report = args[:report] if args.key?(:report)
|
771
|
+
@retail_brand = args[:retail_brand] if args.key?(:retail_brand)
|
772
|
+
@sdk_version = args[:sdk_version] if args.key?(:sdk_version)
|
703
773
|
end
|
704
774
|
end
|
705
775
|
|
@@ -825,6 +895,11 @@ module Google
|
|
825
895
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Administrator>]
|
826
896
|
attr_accessor :administrator
|
827
897
|
|
898
|
+
# Contains settings for Google-provided user authentication.
|
899
|
+
# Corresponds to the JSON property `googleAuthenticationSettings`
|
900
|
+
# @return [Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings]
|
901
|
+
attr_accessor :google_authentication_settings
|
902
|
+
|
828
903
|
# The unique ID for the enterprise.
|
829
904
|
# Corresponds to the JSON property `id`
|
830
905
|
# @return [String]
|
@@ -847,6 +922,7 @@ module Google
|
|
847
922
|
# Update properties of this object
|
848
923
|
def update!(**args)
|
849
924
|
@administrator = args[:administrator] if args.key?(:administrator)
|
925
|
+
@google_authentication_settings = args[:google_authentication_settings] if args.key?(:google_authentication_settings)
|
850
926
|
@id = args[:id] if args.key?(:id)
|
851
927
|
@name = args[:name] if args.key?(:name)
|
852
928
|
@primary_domain = args[:primary_domain] if args.key?(:primary_domain)
|
@@ -873,6 +949,26 @@ module Google
|
|
873
949
|
end
|
874
950
|
end
|
875
951
|
|
952
|
+
# An authentication URL configuration for the authenticator app of an identity
|
953
|
+
# provider.
|
954
|
+
class EnterpriseAuthenticationAppLinkConfig
|
955
|
+
include Google::Apis::Core::Hashable
|
956
|
+
|
957
|
+
# An authentication url.
|
958
|
+
# Corresponds to the JSON property `uri`
|
959
|
+
# @return [String]
|
960
|
+
attr_accessor :uri
|
961
|
+
|
962
|
+
def initialize(**args)
|
963
|
+
update!(**args)
|
964
|
+
end
|
965
|
+
|
966
|
+
# Update properties of this object
|
967
|
+
def update!(**args)
|
968
|
+
@uri = args[:uri] if args.key?(:uri)
|
969
|
+
end
|
970
|
+
end
|
971
|
+
|
876
972
|
#
|
877
973
|
class ListEnterprisesResponse
|
878
974
|
include Google::Apis::Core::Hashable
|
@@ -918,24 +1014,8 @@ module Google
|
|
918
1014
|
end
|
919
1015
|
end
|
920
1016
|
|
921
|
-
#
|
922
|
-
#
|
923
|
-
# This allows a user with an entitlement to an app to install the app on all
|
924
|
-
# their devices. It's also possible for a user to hold an entitlement to an app
|
925
|
-
# without installing the app on any device. The API can be used to create an
|
926
|
-
# entitlement. As an option, you can also use the API to trigger the
|
927
|
-
# installation of an app on all a user's managed devices at the same time the
|
928
|
-
# entitlement is created. If the app is free, creating the entitlement also
|
929
|
-
# creates a group license for that app. For paid apps, creating the entitlement
|
930
|
-
# consumes one license, and that license remains consumed until the entitlement
|
931
|
-
# is removed. If the enterprise hasn't purchased enough licenses, then no
|
932
|
-
# entitlement is created and the installation fails. An entitlement is also not
|
933
|
-
# created for an app if the app requires permissions that the enterprise hasn't
|
934
|
-
# accepted. If an entitlement is deleted, the app may be uninstalled from a user'
|
935
|
-
# s device. As a best practice, uninstall the app by calling Installs.delete()
|
936
|
-
# before deleting the entitlement. Entitlements for apps that a user pays for on
|
937
|
-
# an unmanaged profile have "userPurchase" as the entitlement reason. These
|
938
|
-
# entitlements cannot be removed via the API.
|
1017
|
+
# *Deprecated:* New integrations cannot use this method and can refer to our
|
1018
|
+
# new recommendations.
|
939
1019
|
class Entitlement
|
940
1020
|
include Google::Apis::Core::Hashable
|
941
1021
|
|
@@ -984,19 +1064,33 @@ module Google
|
|
984
1064
|
end
|
985
1065
|
end
|
986
1066
|
|
987
|
-
#
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1067
|
+
# Contains settings for Google-provided user authentication.
|
1068
|
+
class GoogleAuthenticationSettings
|
1069
|
+
include Google::Apis::Core::Hashable
|
1070
|
+
|
1071
|
+
# Whether dedicated devices are allowed.
|
1072
|
+
# Corresponds to the JSON property `dedicatedDevicesAllowed`
|
1073
|
+
# @return [String]
|
1074
|
+
attr_accessor :dedicated_devices_allowed
|
1075
|
+
|
1076
|
+
# Whether Google authentication is required.
|
1077
|
+
# Corresponds to the JSON property `googleAuthenticationRequired`
|
1078
|
+
# @return [String]
|
1079
|
+
attr_accessor :google_authentication_required
|
1080
|
+
|
1081
|
+
def initialize(**args)
|
1082
|
+
update!(**args)
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
# Update properties of this object
|
1086
|
+
def update!(**args)
|
1087
|
+
@dedicated_devices_allowed = args[:dedicated_devices_allowed] if args.key?(:dedicated_devices_allowed)
|
1088
|
+
@google_authentication_required = args[:google_authentication_required] if args.key?(:google_authentication_required)
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# *Deprecated:* New integrations cannot use this method and can refer to our
|
1093
|
+
# new recommendations
|
1000
1094
|
class GroupLicense
|
1001
1095
|
include Google::Apis::Core::Hashable
|
1002
1096
|
|
@@ -1321,9 +1415,8 @@ module Google
|
|
1321
1415
|
end
|
1322
1416
|
end
|
1323
1417
|
|
1324
|
-
#
|
1325
|
-
#
|
1326
|
-
# well as any configuration variables defined for the user.
|
1418
|
+
# *Deprecated:* New integrations cannot use this method and can refer to our
|
1419
|
+
# new recommendations
|
1327
1420
|
class ManagedConfiguration
|
1328
1421
|
include Google::Apis::Core::Hashable
|
1329
1422
|
|
@@ -1805,11 +1898,13 @@ module Google
|
|
1805
1898
|
class Policy
|
1806
1899
|
include Google::Apis::Core::Hashable
|
1807
1900
|
|
1808
|
-
#
|
1809
|
-
#
|
1810
|
-
#
|
1811
|
-
#
|
1812
|
-
#
|
1901
|
+
# Controls when automatic app updates on the device can be applied. Recommended
|
1902
|
+
# alternative: autoUpdateMode which is set per app, provides greater flexibility
|
1903
|
+
# around update frequency. When autoUpdateMode is set to AUTO_UPDATE_POSTPONED
|
1904
|
+
# or AUTO_UPDATE_HIGH_PRIORITY, autoUpdatePolicy has no effect. "choiceToTheUser"
|
1905
|
+
# allows the device's user to configure the app update policy. "always" enables
|
1906
|
+
# auto updates. "never" disables auto updates. "wifiOnly" enables auto updates
|
1907
|
+
# only when the device is connected to wifi.
|
1813
1908
|
# Corresponds to the JSON property `autoUpdatePolicy`
|
1814
1909
|
# @return [String]
|
1815
1910
|
attr_accessor :auto_update_policy
|
@@ -1866,6 +1961,12 @@ module Google
|
|
1866
1961
|
class Product
|
1867
1962
|
include Google::Apis::Core::Hashable
|
1868
1963
|
|
1964
|
+
# Represents the list of app restrictions available to be pre-configured for the
|
1965
|
+
# product.
|
1966
|
+
# Corresponds to the JSON property `appRestrictionsSchema`
|
1967
|
+
# @return [Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema]
|
1968
|
+
attr_accessor :app_restrictions_schema
|
1969
|
+
|
1869
1970
|
# The tracks visible to the enterprise.
|
1870
1971
|
# Corresponds to the JSON property `appTracks`
|
1871
1972
|
# @return [Array<Google::Apis::AndroidenterpriseV1::TrackInfo>]
|
@@ -1926,6 +2027,11 @@ module Google
|
|
1926
2027
|
# @return [Array<String>]
|
1927
2028
|
attr_accessor :features
|
1928
2029
|
|
2030
|
+
# The localized full app store description, if available.
|
2031
|
+
# Corresponds to the JSON property `fullDescription`
|
2032
|
+
# @return [String]
|
2033
|
+
attr_accessor :full_description
|
2034
|
+
|
1929
2035
|
# A link to an image that can be used as an icon for the product. This image is
|
1930
2036
|
# suitable for use at up to 512px x 512px.
|
1931
2037
|
# Corresponds to the JSON property `iconUrl`
|
@@ -2005,6 +2111,7 @@ module Google
|
|
2005
2111
|
|
2006
2112
|
# Update properties of this object
|
2007
2113
|
def update!(**args)
|
2114
|
+
@app_restrictions_schema = args[:app_restrictions_schema] if args.key?(:app_restrictions_schema)
|
2008
2115
|
@app_tracks = args[:app_tracks] if args.key?(:app_tracks)
|
2009
2116
|
@app_version = args[:app_version] if args.key?(:app_version)
|
2010
2117
|
@author_name = args[:author_name] if args.key?(:author_name)
|
@@ -2016,6 +2123,7 @@ module Google
|
|
2016
2123
|
@details_url = args[:details_url] if args.key?(:details_url)
|
2017
2124
|
@distribution_channel = args[:distribution_channel] if args.key?(:distribution_channel)
|
2018
2125
|
@features = args[:features] if args.key?(:features)
|
2126
|
+
@full_description = args[:full_description] if args.key?(:full_description)
|
2019
2127
|
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
2020
2128
|
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
2021
2129
|
@min_android_sdk_version = args[:min_android_sdk_version] if args.key?(:min_android_sdk_version)
|
@@ -2149,14 +2257,24 @@ module Google
|
|
2149
2257
|
# @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy]
|
2150
2258
|
attr_accessor :auto_install_policy
|
2151
2259
|
|
2152
|
-
# The auto-update mode for the product.
|
2260
|
+
# The auto-update mode for the product. When autoUpdateMode is used, it always
|
2261
|
+
# takes precedence over the user's choice. So when a user makes changes to the
|
2262
|
+
# device settings manually, these changes are ignored.
|
2153
2263
|
# Corresponds to the JSON property `autoUpdateMode`
|
2154
2264
|
# @return [String]
|
2155
2265
|
attr_accessor :auto_update_mode
|
2156
2266
|
|
2157
|
-
#
|
2158
|
-
#
|
2159
|
-
#
|
2267
|
+
# An authentication URL configuration for the authenticator app of an identity
|
2268
|
+
# provider. This helps to launch the identity provider's authenticator app
|
2269
|
+
# during the authentication happening in a private app using Android WebView.
|
2270
|
+
# Authenticator app should already be the default handler for the authentication
|
2271
|
+
# url on the device.
|
2272
|
+
# Corresponds to the JSON property `enterpriseAuthenticationAppLinkConfigs`
|
2273
|
+
# @return [Array<Google::Apis::AndroidenterpriseV1::EnterpriseAuthenticationAppLinkConfig>]
|
2274
|
+
attr_accessor :enterprise_authentication_app_link_configs
|
2275
|
+
|
2276
|
+
# *Deprecated:* New integrations cannot use this method and can refer to our
|
2277
|
+
# new recommendations
|
2160
2278
|
# Corresponds to the JSON property `managedConfiguration`
|
2161
2279
|
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
2162
2280
|
attr_accessor :managed_configuration
|
@@ -2186,6 +2304,7 @@ module Google
|
|
2186
2304
|
def update!(**args)
|
2187
2305
|
@auto_install_policy = args[:auto_install_policy] if args.key?(:auto_install_policy)
|
2188
2306
|
@auto_update_mode = args[:auto_update_mode] if args.key?(:auto_update_mode)
|
2307
|
+
@enterprise_authentication_app_link_configs = args[:enterprise_authentication_app_link_configs] if args.key?(:enterprise_authentication_app_link_configs)
|
2189
2308
|
@managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
|
2190
2309
|
@product_id = args[:product_id] if args.key?(:product_id)
|
2191
2310
|
@track_ids = args[:track_ids] if args.key?(:track_ids)
|
@@ -2400,7 +2519,8 @@ module Google
|
|
2400
2519
|
class ServiceAccount
|
2401
2520
|
include Google::Apis::Core::Hashable
|
2402
2521
|
|
2403
|
-
#
|
2522
|
+
# *Deprecated:* New integrations cannot use this method and can refer to our
|
2523
|
+
# new recommendations
|
2404
2524
|
# Corresponds to the JSON property `key`
|
2405
2525
|
# @return [Google::Apis::AndroidenterpriseV1::ServiceAccountKey]
|
2406
2526
|
attr_accessor :key
|
@@ -2422,7 +2542,8 @@ module Google
|
|
2422
2542
|
end
|
2423
2543
|
end
|
2424
2544
|
|
2425
|
-
#
|
2545
|
+
# *Deprecated:* New integrations cannot use this method and can refer to our
|
2546
|
+
# new recommendations
|
2426
2547
|
class ServiceAccountKey
|
2427
2548
|
include Google::Apis::Core::Hashable
|
2428
2549
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AndroidenterpriseV1
|
18
18
|
# Version of the google-apis-androidenterprise_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -148,6 +148,12 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class CreateEnrollmentTokenResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
151
157
|
class Device
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
159
|
|
@@ -190,6 +196,12 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class EnterpriseAuthenticationAppLinkConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
193
205
|
class ListEnterprisesResponse
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
207
|
|
@@ -214,6 +226,12 @@ module Google
|
|
214
226
|
include Google::Apis::Core::JsonObjectSupport
|
215
227
|
end
|
216
228
|
|
229
|
+
class GoogleAuthenticationSettings
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
217
235
|
class GroupLicense
|
218
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
237
|
|
@@ -666,6 +684,7 @@ module Google
|
|
666
684
|
# @private
|
667
685
|
class Representation < Google::Apis::Core::JsonRepresentation
|
668
686
|
property :is_production, as: 'isProduction'
|
687
|
+
property :target_sdk_version, as: 'targetSdkVersion'
|
669
688
|
property :track, as: 'track'
|
670
689
|
collection :track_id, as: 'trackId'
|
671
690
|
property :version_code, as: 'versionCode'
|
@@ -716,15 +735,29 @@ module Google
|
|
716
735
|
end
|
717
736
|
end
|
718
737
|
|
738
|
+
class CreateEnrollmentTokenResponse
|
739
|
+
# @private
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
property :enrollment_token, as: 'enrollmentToken'
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
719
745
|
class Device
|
720
746
|
# @private
|
721
747
|
class Representation < Google::Apis::Core::JsonRepresentation
|
722
748
|
property :android_id, as: 'androidId'
|
749
|
+
property :device, as: 'device'
|
750
|
+
property :latest_build_fingerprint, as: 'latestBuildFingerprint'
|
751
|
+
property :maker, as: 'maker'
|
723
752
|
property :management_type, as: 'managementType'
|
753
|
+
property :model, as: 'model'
|
724
754
|
property :policy, as: 'policy', class: Google::Apis::AndroidenterpriseV1::Policy, decorator: Google::Apis::AndroidenterpriseV1::Policy::Representation
|
725
755
|
|
756
|
+
property :product, as: 'product'
|
726
757
|
property :report, as: 'report', class: Google::Apis::AndroidenterpriseV1::DeviceReport, decorator: Google::Apis::AndroidenterpriseV1::DeviceReport::Representation
|
727
758
|
|
759
|
+
property :retail_brand, as: 'retailBrand'
|
760
|
+
property :sdk_version, as: 'sdkVersion'
|
728
761
|
end
|
729
762
|
end
|
730
763
|
|
@@ -767,6 +800,8 @@ module Google
|
|
767
800
|
class Representation < Google::Apis::Core::JsonRepresentation
|
768
801
|
collection :administrator, as: 'administrator', class: Google::Apis::AndroidenterpriseV1::Administrator, decorator: Google::Apis::AndroidenterpriseV1::Administrator::Representation
|
769
802
|
|
803
|
+
property :google_authentication_settings, as: 'googleAuthenticationSettings', class: Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings, decorator: Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings::Representation
|
804
|
+
|
770
805
|
property :id, as: 'id'
|
771
806
|
property :name, as: 'name'
|
772
807
|
property :primary_domain, as: 'primaryDomain'
|
@@ -780,6 +815,13 @@ module Google
|
|
780
815
|
end
|
781
816
|
end
|
782
817
|
|
818
|
+
class EnterpriseAuthenticationAppLinkConfig
|
819
|
+
# @private
|
820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
821
|
+
property :uri, as: 'uri'
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
783
825
|
class ListEnterprisesResponse
|
784
826
|
# @private
|
785
827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -812,6 +854,14 @@ module Google
|
|
812
854
|
end
|
813
855
|
end
|
814
856
|
|
857
|
+
class GoogleAuthenticationSettings
|
858
|
+
# @private
|
859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
860
|
+
property :dedicated_devices_allowed, as: 'dedicatedDevicesAllowed'
|
861
|
+
property :google_authentication_required, as: 'googleAuthenticationRequired'
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
815
865
|
class GroupLicense
|
816
866
|
# @private
|
817
867
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1050,6 +1100,8 @@ module Google
|
|
1050
1100
|
class Product
|
1051
1101
|
# @private
|
1052
1102
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1103
|
+
property :app_restrictions_schema, as: 'appRestrictionsSchema', class: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema, decorator: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema::Representation
|
1104
|
+
|
1053
1105
|
collection :app_tracks, as: 'appTracks', class: Google::Apis::AndroidenterpriseV1::TrackInfo, decorator: Google::Apis::AndroidenterpriseV1::TrackInfo::Representation
|
1054
1106
|
|
1055
1107
|
collection :app_version, as: 'appVersion', class: Google::Apis::AndroidenterpriseV1::AppVersion, decorator: Google::Apis::AndroidenterpriseV1::AppVersion::Representation
|
@@ -1063,6 +1115,7 @@ module Google
|
|
1063
1115
|
property :details_url, as: 'detailsUrl'
|
1064
1116
|
property :distribution_channel, as: 'distributionChannel'
|
1065
1117
|
collection :features, as: 'features'
|
1118
|
+
property :full_description, as: 'fullDescription'
|
1066
1119
|
property :icon_url, as: 'iconUrl'
|
1067
1120
|
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
1068
1121
|
property :min_android_sdk_version, as: 'minAndroidSdkVersion'
|
@@ -1120,6 +1173,8 @@ module Google
|
|
1120
1173
|
property :auto_install_policy, as: 'autoInstallPolicy', class: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy, decorator: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy::Representation
|
1121
1174
|
|
1122
1175
|
property :auto_update_mode, as: 'autoUpdateMode'
|
1176
|
+
collection :enterprise_authentication_app_link_configs, as: 'enterpriseAuthenticationAppLinkConfigs', class: Google::Apis::AndroidenterpriseV1::EnterpriseAuthenticationAppLinkConfig, decorator: Google::Apis::AndroidenterpriseV1::EnterpriseAuthenticationAppLinkConfig::Representation
|
1177
|
+
|
1123
1178
|
property :managed_configuration, as: 'managedConfiguration', class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
1124
1179
|
|
1125
1180
|
property :product_id, as: 'productId'
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://developers.google.com/android/work/play/emm-api
|
34
34
|
class AndroidEnterpriseService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://androidenterprise.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -43,7 +45,7 @@ module Google
|
|
43
45
|
attr_accessor :quota_user
|
44
46
|
|
45
47
|
def initialize
|
46
|
-
super(
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
47
49
|
client_name: 'google-apis-androidenterprise_v1',
|
48
50
|
client_version: Google::Apis::AndroidenterpriseV1::GEM_VERSION)
|
49
51
|
@batch_path = 'batch'
|
@@ -241,7 +243,10 @@ module Google
|
|
241
243
|
# Updates the device policy. To ensure the policy is properly enforced, you need
|
242
244
|
# to prevent unmanaged accounts from accessing Google Play by setting the
|
243
245
|
# allowed_accounts in the managed configuration for the Google Play package. See
|
244
|
-
# restrict accounts in Google Play.
|
246
|
+
# restrict accounts in Google Play. When provisioning a new device, you should
|
247
|
+
# set the device policy using this method before adding the managed Google Play
|
248
|
+
# Account to the device, otherwise the policy will not be applied for a short
|
249
|
+
# period of time after adding the account to the device.
|
245
250
|
# @param [String] enterprise_id
|
246
251
|
# The ID of the enterprise.
|
247
252
|
# @param [String] user_id
|
@@ -351,9 +356,45 @@ module Google
|
|
351
356
|
execute_or_queue_command(command, &block)
|
352
357
|
end
|
353
358
|
|
359
|
+
# Returns a token for device enrollment. The DPC can encode this token within
|
360
|
+
# the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-
|
361
|
+
# device API to authenticate the user. The token can be generated for each
|
362
|
+
# device or reused across multiple devices.
|
363
|
+
# @param [String] enterprise_id
|
364
|
+
# The ID of the enterprise.
|
365
|
+
# @param [String] device_type
|
366
|
+
# Whether it’s a dedicated device or a knowledge worker device.
|
367
|
+
# @param [String] fields
|
368
|
+
# Selector specifying which fields to include in a partial response.
|
369
|
+
# @param [String] quota_user
|
370
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
371
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
372
|
+
# @param [Google::Apis::RequestOptions] options
|
373
|
+
# Request-specific options
|
374
|
+
#
|
375
|
+
# @yield [result, err] Result & error if block supplied
|
376
|
+
# @yieldparam result [Google::Apis::AndroidenterpriseV1::CreateEnrollmentTokenResponse] parsed result object
|
377
|
+
# @yieldparam err [StandardError] error object if request failed
|
378
|
+
#
|
379
|
+
# @return [Google::Apis::AndroidenterpriseV1::CreateEnrollmentTokenResponse]
|
380
|
+
#
|
381
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
382
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
383
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
384
|
+
def create_enterprise_enrollment_token(enterprise_id, device_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
385
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/createEnrollmentToken', options)
|
386
|
+
command.response_representation = Google::Apis::AndroidenterpriseV1::CreateEnrollmentTokenResponse::Representation
|
387
|
+
command.response_class = Google::Apis::AndroidenterpriseV1::CreateEnrollmentTokenResponse
|
388
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
389
|
+
command.query['deviceType'] = device_type unless device_type.nil?
|
390
|
+
command.query['fields'] = fields unless fields.nil?
|
391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
392
|
+
execute_or_queue_command(command, &block)
|
393
|
+
end
|
394
|
+
|
354
395
|
# Returns a unique token to access an embeddable UI. To generate a web UI, pass
|
355
396
|
# the generated token into the managed Google Play javascript API. Each token
|
356
|
-
# may only be used to start one UI session. See the
|
397
|
+
# may only be used to start one UI session. See the JavaScript API documentation
|
357
398
|
# for further information.
|
358
399
|
# @param [String] enterprise_id
|
359
400
|
# The ID of the enterprise.
|
@@ -421,6 +462,9 @@ module Google
|
|
421
462
|
end
|
422
463
|
|
423
464
|
# Generates a sign-up URL.
|
465
|
+
# @param [String] admin_email
|
466
|
+
# Optional. Email address used to prefill the admin field of the enterprise
|
467
|
+
# signup form. This value is a hint only and can be altered by the user.
|
424
468
|
# @param [String] callback_url
|
425
469
|
# The callback URL to which the Admin will be redirected after successfully
|
426
470
|
# creating an enterprise. Before redirecting there the system will add a single
|
@@ -446,10 +490,11 @@ module Google
|
|
446
490
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
447
491
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
448
492
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
449
|
-
def generate_enterprise_signup_url(callback_url: nil, fields: nil, quota_user: nil, options: nil, &block)
|
493
|
+
def generate_enterprise_signup_url(admin_email: nil, callback_url: nil, fields: nil, quota_user: nil, options: nil, &block)
|
450
494
|
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/signupUrl', options)
|
451
495
|
command.response_representation = Google::Apis::AndroidenterpriseV1::SignupInfo::Representation
|
452
496
|
command.response_class = Google::Apis::AndroidenterpriseV1::SignupInfo
|
497
|
+
command.query['adminEmail'] = admin_email unless admin_email.nil?
|
453
498
|
command.query['callbackUrl'] = callback_url unless callback_url.nil?
|
454
499
|
command.query['fields'] = fields unless fields.nil?
|
455
500
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -610,7 +655,7 @@ module Google
|
|
610
655
|
# The request mode for pulling notifications. Specifying waitForNotifications
|
611
656
|
# will cause the request to block and wait until one or more notifications are
|
612
657
|
# present, or return an empty notification list if no notifications are present
|
613
|
-
# after some time.
|
658
|
+
# after some time. Specifying returnImmediately will cause the request to
|
614
659
|
# immediately return the pending notifications, or an empty list if no
|
615
660
|
# notifications are present. If omitted, defaults to waitForNotifications.
|
616
661
|
# @param [String] fields
|
@@ -772,7 +817,9 @@ module Google
|
|
772
817
|
execute_or_queue_command(command, &block)
|
773
818
|
end
|
774
819
|
|
775
|
-
# Removes an entitlement to an app for a user.
|
820
|
+
# Removes an entitlement to an app for a user. **Note:** This item has been
|
821
|
+
# deprecated. New integrations cannot use this method and can refer to our new
|
822
|
+
# recommendations.
|
776
823
|
# @param [String] enterprise_id
|
777
824
|
# The ID of the enterprise.
|
778
825
|
# @param [String] user_id
|
@@ -806,7 +853,9 @@ module Google
|
|
806
853
|
execute_or_queue_command(command, &block)
|
807
854
|
end
|
808
855
|
|
809
|
-
# Retrieves details of an entitlement.
|
856
|
+
# Retrieves details of an entitlement. **Note:** This item has been deprecated.
|
857
|
+
# New integrations cannot use this method and can refer to our new
|
858
|
+
# recommendations.
|
810
859
|
# @param [String] enterprise_id
|
811
860
|
# The ID of the enterprise.
|
812
861
|
# @param [String] user_id
|
@@ -842,7 +891,9 @@ module Google
|
|
842
891
|
execute_or_queue_command(command, &block)
|
843
892
|
end
|
844
893
|
|
845
|
-
# Lists all entitlements for the specified user. Only the ID is set.
|
894
|
+
# Lists all entitlements for the specified user. Only the ID is set. **Note:**
|
895
|
+
# This item has been deprecated. New integrations cannot use this method and can
|
896
|
+
# refer to our new recommendations.
|
846
897
|
# @param [String] enterprise_id
|
847
898
|
# The ID of the enterprise.
|
848
899
|
# @param [String] user_id
|
@@ -875,7 +926,9 @@ module Google
|
|
875
926
|
execute_or_queue_command(command, &block)
|
876
927
|
end
|
877
928
|
|
878
|
-
# Adds or updates an entitlement to an app for a user.
|
929
|
+
# Adds or updates an entitlement to an app for a user. **Note:** This item has
|
930
|
+
# been deprecated. New integrations cannot use this method and can refer to our
|
931
|
+
# new recommendations.
|
879
932
|
# @param [String] enterprise_id
|
880
933
|
# The ID of the enterprise.
|
881
934
|
# @param [String] user_id
|
@@ -920,7 +973,9 @@ module Google
|
|
920
973
|
execute_or_queue_command(command, &block)
|
921
974
|
end
|
922
975
|
|
923
|
-
# Retrieves details of an enterprise's group license for a product.
|
976
|
+
# Retrieves details of an enterprise's group license for a product. **Note:**
|
977
|
+
# This item has been deprecated. New integrations cannot use this method and can
|
978
|
+
# refer to our new recommendations.
|
924
979
|
# @param [String] enterprise_id
|
925
980
|
# The ID of the enterprise.
|
926
981
|
# @param [String] group_license_id
|
@@ -954,7 +1009,9 @@ module Google
|
|
954
1009
|
execute_or_queue_command(command, &block)
|
955
1010
|
end
|
956
1011
|
|
957
|
-
# Retrieves IDs of all products for which the enterprise has a group license.
|
1012
|
+
# Retrieves IDs of all products for which the enterprise has a group license. **
|
1013
|
+
# Note:** This item has been deprecated. New integrations cannot use this method
|
1014
|
+
# and can refer to our new recommendations.
|
958
1015
|
# @param [String] enterprise_id
|
959
1016
|
# The ID of the enterprise.
|
960
1017
|
# @param [String] fields
|
@@ -985,7 +1042,8 @@ module Google
|
|
985
1042
|
end
|
986
1043
|
|
987
1044
|
# Retrieves the IDs of the users who have been granted entitlements under the
|
988
|
-
# license.
|
1045
|
+
# license. **Note:** This item has been deprecated. New integrations cannot use
|
1046
|
+
# this method and can refer to our new recommendations.
|
989
1047
|
# @param [String] enterprise_id
|
990
1048
|
# The ID of the enterprise.
|
991
1049
|
# @param [String] group_license_id
|
@@ -1020,7 +1078,10 @@ module Google
|
|
1020
1078
|
end
|
1021
1079
|
|
1022
1080
|
# Requests to remove an app from a device. A call to get or list will still show
|
1023
|
-
# the app as installed on the device until it is actually removed.
|
1081
|
+
# the app as installed on the device until it is actually removed. A successful
|
1082
|
+
# response indicates that a removal request has been sent to the device. The
|
1083
|
+
# call will be considered successful even if the app is not present on the
|
1084
|
+
# device (e.g. it was never installed, or was removed by the user).
|
1024
1085
|
# @param [String] enterprise_id
|
1025
1086
|
# The ID of the enterprise.
|
1026
1087
|
# @param [String] user_id
|
@@ -1558,7 +1619,9 @@ module Google
|
|
1558
1619
|
# Approves the specified product and the relevant app permissions, if any. The
|
1559
1620
|
# maximum number of products that you can approve per enterprise customer is 1,
|
1560
1621
|
# 000. To learn how to use managed Google Play to design and create a store
|
1561
|
-
# layout to display approved products to your users, see Store Layout Design.
|
1622
|
+
# layout to display approved products to your users, see Store Layout Design. **
|
1623
|
+
# Note:** This item has been deprecated. New integrations cannot use this method
|
1624
|
+
# and can refer to our new recommendations.
|
1562
1625
|
# @param [String] enterprise_id
|
1563
1626
|
# The ID of the enterprise.
|
1564
1627
|
# @param [String] product_id
|
@@ -1599,7 +1662,8 @@ module Google
|
|
1599
1662
|
# UI element in the EMM console, which in turn should trigger the use of this
|
1600
1663
|
# URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to
|
1601
1664
|
# approve the product. This URL can only be used to display permissions for up
|
1602
|
-
# to 1 day.
|
1665
|
+
# to 1 day. **Note:** This item has been deprecated. New integrations cannot use
|
1666
|
+
# this method and can refer to our new recommendations.
|
1603
1667
|
# @param [String] enterprise_id
|
1604
1668
|
# The ID of the enterprise.
|
1605
1669
|
# @param [String] product_id
|
@@ -1747,7 +1811,8 @@ module Google
|
|
1747
1811
|
end
|
1748
1812
|
|
1749
1813
|
# Finds approved products that match a query, or all approved products if there
|
1750
|
-
# is no query.
|
1814
|
+
# is no query. **Note:** This item has been deprecated. New integrations cannot
|
1815
|
+
# use this method and can refer to our new recommendations.
|
1751
1816
|
# @param [String] enterprise_id
|
1752
1817
|
# The ID of the enterprise.
|
1753
1818
|
# @param [Boolean] approved
|
@@ -1799,7 +1864,9 @@ module Google
|
|
1799
1864
|
execute_or_queue_command(command, &block)
|
1800
1865
|
end
|
1801
1866
|
|
1802
|
-
# Unapproves the specified product (and the relevant app permissions, if any)
|
1867
|
+
# Unapproves the specified product (and the relevant app permissions, if any) **
|
1868
|
+
# Note:** This item has been deprecated. New integrations cannot use this method
|
1869
|
+
# and can refer to our new recommendations.
|
1803
1870
|
# @param [String] enterprise_id
|
1804
1871
|
# The ID of the enterprise.
|
1805
1872
|
# @param [String] product_id
|
@@ -2376,7 +2443,9 @@ module Google
|
|
2376
2443
|
execute_or_queue_command(command, &block)
|
2377
2444
|
end
|
2378
2445
|
|
2379
|
-
# Retrieves the set of products a user is entitled to access.
|
2446
|
+
# Retrieves the set of products a user is entitled to access. **Note:** This
|
2447
|
+
# item has been deprecated. New integrations cannot use this method and can
|
2448
|
+
# refer to our new recommendations.
|
2380
2449
|
# @param [String] enterprise_id
|
2381
2450
|
# The ID of the enterprise.
|
2382
2451
|
# @param [String] user_id
|
@@ -2516,7 +2585,9 @@ module Google
|
|
2516
2585
|
|
2517
2586
|
# Modifies the set of products that a user is entitled to access (referred to as
|
2518
2587
|
# *whitelisted* products). Only products that are approved or products that were
|
2519
|
-
# previously approved (products with revoked approval) can be whitelisted.
|
2588
|
+
# previously approved (products with revoked approval) can be whitelisted. **
|
2589
|
+
# Note:** This item has been deprecated. New integrations cannot use this method
|
2590
|
+
# and can refer to our new recommendations.
|
2520
2591
|
# @param [String] enterprise_id
|
2521
2592
|
# The ID of the enterprise.
|
2522
2593
|
# @param [String] user_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-androidenterprise_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.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:
|
11
|
+
date: 2024-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidenterprise_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidenterprise_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidenterprise_v1/v0.35.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidenterprise_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Play EMM API V1
|