google-apis-admin_directory_v1 0.1.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/admin_directory_v1.rb +8 -2
- data/lib/google/apis/admin_directory_v1/classes.rb +449 -42
- data/lib/google/apis/admin_directory_v1/gem_version.rb +3 -3
- data/lib/google/apis/admin_directory_v1/representations.rb +204 -0
- data/lib/google/apis/admin_directory_v1/service.rb +315 -5
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ef3563bee7159adecf41a66be6f7c5cfa3ecf54ae936ecadaf5614078d71ddc
|
4
|
+
data.tar.gz: f7f27aec93d2539eb2a4dba11716a368889f0ba2bd358d042046cefba3f165ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '011390b1cc57e3b5158e63941baa55bee156931e0e4203c8c9ac58cf2fe5263cd2b5d8f49fc5a2522be134162265af29b1d14df94c0ecd73567a67f5edaf7adf'
|
7
|
+
data.tar.gz: 0eb5bac23f9ccfdf830d5851b9eb5106e50b56309772dbf6b314d858a792fae54aa7f9df5dae5bdaeddfe1f52fe91d2a855189daa5c099a96d830167e30ae9c5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-admin_directory_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-03-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210316
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210309
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210302
|
15
|
+
|
16
|
+
### v0.3.0 (2021-02-24)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210223
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-17)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210216
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210105
|
@@ -31,6 +31,12 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'DirectoryV1'
|
33
33
|
|
34
|
+
# See, add, edit, and permanently delete the printers that your organization can use with Chrome
|
35
|
+
AUTH_ADMIN_CHROME_PRINTERS = 'https://www.googleapis.com/auth/admin.chrome.printers'
|
36
|
+
|
37
|
+
# See the printers that your organization can use with Chrome
|
38
|
+
AUTH_ADMIN_CHROME_PRINTERS_READONLY = 'https://www.googleapis.com/auth/admin.chrome.printers.readonly'
|
39
|
+
|
34
40
|
# View and manage customer related information
|
35
41
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
36
42
|
|
@@ -97,7 +103,7 @@ module Google
|
|
97
103
|
# View user aliases on your domain
|
98
104
|
AUTH_ADMIN_DIRECTORY_USER_ALIAS_READONLY = 'https://www.googleapis.com/auth/admin.directory.user.alias.readonly'
|
99
105
|
|
100
|
-
#
|
106
|
+
# See info about users on your domain
|
101
107
|
AUTH_ADMIN_DIRECTORY_USER_READONLY = 'https://www.googleapis.com/auth/admin.directory.user.readonly'
|
102
108
|
|
103
109
|
# Manage data access permissions for users on your domain
|
@@ -109,7 +115,7 @@ module Google
|
|
109
115
|
# View user schemas on your domain
|
110
116
|
AUTH_ADMIN_DIRECTORY_USERSCHEMA_READONLY = 'https://www.googleapis.com/auth/admin.directory.userschema.readonly'
|
111
117
|
|
112
|
-
#
|
118
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
113
119
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
114
120
|
end
|
115
121
|
end
|
@@ -100,8 +100,8 @@ module Google
|
|
100
100
|
# accept a verification code when logging into the application on certain
|
101
101
|
# devices. The ASP access code is used instead of the login and password you
|
102
102
|
# commonly use when accessing an application through a browser. For more
|
103
|
-
# information about ASPs and how to create one, see the [help center](
|
104
|
-
# support.google.com/a/
|
103
|
+
# information about ASPs and how to create one, see the [help center](https://
|
104
|
+
# support.google.com/a/answer/2537800#asp).
|
105
105
|
class Asp
|
106
106
|
include Google::Apis::Core::Hashable
|
107
107
|
|
@@ -110,7 +110,7 @@ module Google
|
|
110
110
|
# @return [Fixnum]
|
111
111
|
attr_accessor :code_id
|
112
112
|
|
113
|
-
# The time when the ASP was created. Expressed in [Unix time](
|
113
|
+
# The time when the ASP was created. Expressed in [Unix time](https://en.
|
114
114
|
# wikipedia.org/wiki/Epoch_time) format.
|
115
115
|
# Corresponds to the JSON property `creationTime`
|
116
116
|
# @return [Fixnum]
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
# @return [String]
|
127
127
|
attr_accessor :kind
|
128
128
|
|
129
|
-
# The time when the ASP was last used. Expressed in [Unix time](
|
129
|
+
# The time when the ASP was last used. Expressed in [Unix time](https://en.
|
130
130
|
# wikipedia.org/wiki/Epoch_time) format.
|
131
131
|
# Corresponds to the JSON property `lastTimeUsed`
|
132
132
|
# @return [Fixnum]
|
@@ -190,6 +190,129 @@ module Google
|
|
190
190
|
end
|
191
191
|
end
|
192
192
|
|
193
|
+
# Auxiliary message about issues with printers or settings. Example: `
|
194
|
+
# message_type:AUXILIARY_MESSAGE_WARNING, field_mask:make_and_model, message:"
|
195
|
+
# Given printer is invalid or no longer supported."`
|
196
|
+
class AuxiliaryMessage
|
197
|
+
include Google::Apis::Core::Hashable
|
198
|
+
|
199
|
+
# Human readable message in English. Example: "Given printer is invalid or no
|
200
|
+
# longer supported."
|
201
|
+
# Corresponds to the JSON property `auxiliaryMessage`
|
202
|
+
# @return [String]
|
203
|
+
attr_accessor :auxiliary_message
|
204
|
+
|
205
|
+
# Field that this message concerns.
|
206
|
+
# Corresponds to the JSON property `fieldMask`
|
207
|
+
# @return [String]
|
208
|
+
attr_accessor :field_mask
|
209
|
+
|
210
|
+
# Message severity
|
211
|
+
# Corresponds to the JSON property `severity`
|
212
|
+
# @return [String]
|
213
|
+
attr_accessor :severity
|
214
|
+
|
215
|
+
def initialize(**args)
|
216
|
+
update!(**args)
|
217
|
+
end
|
218
|
+
|
219
|
+
# Update properties of this object
|
220
|
+
def update!(**args)
|
221
|
+
@auxiliary_message = args[:auxiliary_message] if args.key?(:auxiliary_message)
|
222
|
+
@field_mask = args[:field_mask] if args.key?(:field_mask)
|
223
|
+
@severity = args[:severity] if args.key?(:severity)
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
# Request for adding new printers in batch.
|
228
|
+
class BatchCreatePrintersRequest
|
229
|
+
include Google::Apis::Core::Hashable
|
230
|
+
|
231
|
+
# A list of Printers to be created. Max 50 at a time.
|
232
|
+
# Corresponds to the JSON property `requests`
|
233
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::CreatePrinterRequest>]
|
234
|
+
attr_accessor :requests
|
235
|
+
|
236
|
+
def initialize(**args)
|
237
|
+
update!(**args)
|
238
|
+
end
|
239
|
+
|
240
|
+
# Update properties of this object
|
241
|
+
def update!(**args)
|
242
|
+
@requests = args[:requests] if args.key?(:requests)
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
# Response for adding new printers in batch.
|
247
|
+
class BatchCreatePrintersResponse
|
248
|
+
include Google::Apis::Core::Hashable
|
249
|
+
|
250
|
+
# A list of create failures. Printer IDs are not populated, as printer were not
|
251
|
+
# created.
|
252
|
+
# Corresponds to the JSON property `failures`
|
253
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::FailureInfo>]
|
254
|
+
attr_accessor :failures
|
255
|
+
|
256
|
+
# A list of successfully created printers with their IDs populated.
|
257
|
+
# Corresponds to the JSON property `printers`
|
258
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::Printer>]
|
259
|
+
attr_accessor :printers
|
260
|
+
|
261
|
+
def initialize(**args)
|
262
|
+
update!(**args)
|
263
|
+
end
|
264
|
+
|
265
|
+
# Update properties of this object
|
266
|
+
def update!(**args)
|
267
|
+
@failures = args[:failures] if args.key?(:failures)
|
268
|
+
@printers = args[:printers] if args.key?(:printers)
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# Request for deleting existing printers in batch.
|
273
|
+
class BatchDeletePrintersRequest
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# A list of Printer.id that should be deleted. Max 100 at a time.
|
277
|
+
# Corresponds to the JSON property `printerIds`
|
278
|
+
# @return [Array<String>]
|
279
|
+
attr_accessor :printer_ids
|
280
|
+
|
281
|
+
def initialize(**args)
|
282
|
+
update!(**args)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Update properties of this object
|
286
|
+
def update!(**args)
|
287
|
+
@printer_ids = args[:printer_ids] if args.key?(:printer_ids)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# Response for deleting existing printers in batch.
|
292
|
+
class BatchDeletePrintersResponse
|
293
|
+
include Google::Apis::Core::Hashable
|
294
|
+
|
295
|
+
# A list of update failures.
|
296
|
+
# Corresponds to the JSON property `failedPrinters`
|
297
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::FailureInfo>]
|
298
|
+
attr_accessor :failed_printers
|
299
|
+
|
300
|
+
# A list of Printer.id that were successfully deleted.
|
301
|
+
# Corresponds to the JSON property `printerIds`
|
302
|
+
# @return [Array<String>]
|
303
|
+
attr_accessor :printer_ids
|
304
|
+
|
305
|
+
def initialize(**args)
|
306
|
+
update!(**args)
|
307
|
+
end
|
308
|
+
|
309
|
+
# Update properties of this object
|
310
|
+
def update!(**args)
|
311
|
+
@failed_printers = args[:failed_printers] if args.key?(:failed_printers)
|
312
|
+
@printer_ids = args[:printer_ids] if args.key?(:printer_ids)
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
193
316
|
# Public API: Resources.buildings
|
194
317
|
class Building
|
195
318
|
include Google::Apis::Core::Hashable
|
@@ -601,7 +724,7 @@ module Google
|
|
601
724
|
end
|
602
725
|
end
|
603
726
|
|
604
|
-
# Google Chrome devices run on the [Chrome OS](
|
727
|
+
# Google Chrome devices run on the [Chrome OS](https://support.google.com/
|
605
728
|
# chromeos). For more information about common API tasks, see the [Developer's
|
606
729
|
# Guide](/admin-sdk/directory/v1/guides/manage-chrome-devices).
|
607
730
|
class ChromeOsDevice
|
@@ -640,7 +763,7 @@ module Google
|
|
640
763
|
# device is running a valid version of the Chrome OS. * `Dev`: The devices's
|
641
764
|
# developer hardware switch is enabled. When booted, the device has a command
|
642
765
|
# line shell. For an example of a developer switch, see the [Chromebook
|
643
|
-
# developer information](
|
766
|
+
# developer information](https://www.chromium.org/chromium-os/developer-
|
644
767
|
# information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-
|
645
768
|
# switch).
|
646
769
|
# Corresponds to the JSON property `bootMode`
|
@@ -750,10 +873,9 @@ module Google
|
|
750
873
|
attr_accessor :model
|
751
874
|
|
752
875
|
# Notes about this device added by the administrator. This property can be [
|
753
|
-
# searched](
|
754
|
-
#
|
755
|
-
#
|
756
|
-
# allowed.
|
876
|
+
# searched](https://support.google.com/chrome/a/answer/1698333) with the [list](/
|
877
|
+
# admin-sdk/directory/v1/reference/chromeosdevices/list) method's `query`
|
878
|
+
# parameter. Maximum length is 500 characters. Empty values are allowed.
|
757
879
|
# Corresponds to the JSON property `notes`
|
758
880
|
# @return [String]
|
759
881
|
attr_accessor :notes
|
@@ -770,7 +892,7 @@ module Google
|
|
770
892
|
# property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#
|
771
893
|
# update_chrome_device) using the API. For more information about how to create
|
772
894
|
# an organizational structure for your device, see the [administration help
|
773
|
-
# center](
|
895
|
+
# center](https://support.google.com/a/answer/182433).
|
774
896
|
# Corresponds to the JSON property `orgUnitPath`
|
775
897
|
# @return [String]
|
776
898
|
attr_accessor :org_unit_path
|
@@ -790,6 +912,12 @@ module Google
|
|
790
912
|
# @return [Array<Google::Apis::AdminDirectoryV1::RecentUsers>]
|
791
913
|
attr_accessor :recent_users
|
792
914
|
|
915
|
+
# List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-
|
916
|
+
# only)
|
917
|
+
# Corresponds to the JSON property `screenshotFiles`
|
918
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ScreenshotFile>]
|
919
|
+
attr_accessor :screenshot_files
|
920
|
+
|
793
921
|
# The Chrome device serial number entered when the device was enabled. This
|
794
922
|
# value is the same as the Admin console's *Serial Number* in the *Chrome OS
|
795
923
|
# Devices* tab.
|
@@ -864,6 +992,7 @@ module Google
|
|
864
992
|
@os_version = args[:os_version] if args.key?(:os_version)
|
865
993
|
@platform_version = args[:platform_version] if args.key?(:platform_version)
|
866
994
|
@recent_users = args[:recent_users] if args.key?(:recent_users)
|
995
|
+
@screenshot_files = args[:screenshot_files] if args.key?(:screenshot_files)
|
867
996
|
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
868
997
|
@status = args[:status] if args.key?(:status)
|
869
998
|
@support_end_date = args[:support_end_date] if args.key?(:support_end_date)
|
@@ -1066,6 +1195,43 @@ module Google
|
|
1066
1195
|
end
|
1067
1196
|
end
|
1068
1197
|
|
1198
|
+
#
|
1199
|
+
class ScreenshotFile
|
1200
|
+
include Google::Apis::Core::Hashable
|
1201
|
+
|
1202
|
+
# Date and time the file was created
|
1203
|
+
# Corresponds to the JSON property `createTime`
|
1204
|
+
# @return [DateTime]
|
1205
|
+
attr_accessor :create_time
|
1206
|
+
|
1207
|
+
# File download URL
|
1208
|
+
# Corresponds to the JSON property `downloadUrl`
|
1209
|
+
# @return [String]
|
1210
|
+
attr_accessor :download_url
|
1211
|
+
|
1212
|
+
# File name
|
1213
|
+
# Corresponds to the JSON property `name`
|
1214
|
+
# @return [String]
|
1215
|
+
attr_accessor :name
|
1216
|
+
|
1217
|
+
# File type
|
1218
|
+
# Corresponds to the JSON property `type`
|
1219
|
+
# @return [String]
|
1220
|
+
attr_accessor :type
|
1221
|
+
|
1222
|
+
def initialize(**args)
|
1223
|
+
update!(**args)
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# Update properties of this object
|
1227
|
+
def update!(**args)
|
1228
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1229
|
+
@download_url = args[:download_url] if args.key?(:download_url)
|
1230
|
+
@name = args[:name] if args.key?(:name)
|
1231
|
+
@type = args[:type] if args.key?(:type)
|
1232
|
+
end
|
1233
|
+
end
|
1234
|
+
|
1069
1235
|
#
|
1070
1236
|
class SystemRamFreeReport
|
1071
1237
|
include Google::Apis::Core::Hashable
|
@@ -1227,6 +1393,31 @@ module Google
|
|
1227
1393
|
end
|
1228
1394
|
end
|
1229
1395
|
|
1396
|
+
# Request for adding a new printer.
|
1397
|
+
class CreatePrinterRequest
|
1398
|
+
include Google::Apis::Core::Hashable
|
1399
|
+
|
1400
|
+
# Required. The name of the customer. Format: customers/`customer_id`
|
1401
|
+
# Corresponds to the JSON property `parent`
|
1402
|
+
# @return [String]
|
1403
|
+
attr_accessor :parent
|
1404
|
+
|
1405
|
+
# Printer configuration.
|
1406
|
+
# Corresponds to the JSON property `printer`
|
1407
|
+
# @return [Google::Apis::AdminDirectoryV1::Printer]
|
1408
|
+
attr_accessor :printer
|
1409
|
+
|
1410
|
+
def initialize(**args)
|
1411
|
+
update!(**args)
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
# Update properties of this object
|
1415
|
+
def update!(**args)
|
1416
|
+
@parent = args[:parent] if args.key?(:parent)
|
1417
|
+
@printer = args[:printer] if args.key?(:printer)
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1230
1421
|
#
|
1231
1422
|
class Customer
|
1232
1423
|
include Google::Apis::Core::Hashable
|
@@ -1271,7 +1462,7 @@ module Google
|
|
1271
1462
|
# @return [String]
|
1272
1463
|
attr_accessor :language
|
1273
1464
|
|
1274
|
-
# The customer's contact phone number in [E.164](
|
1465
|
+
# The customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.
|
1275
1466
|
# 164) format.
|
1276
1467
|
# Corresponds to the JSON property `phoneNumber`
|
1277
1468
|
# @return [String]
|
@@ -1326,7 +1517,7 @@ module Google
|
|
1326
1517
|
attr_accessor :contact_name
|
1327
1518
|
|
1328
1519
|
# This is a required property. For `countryCode` information see the [ISO 3166
|
1329
|
-
# country code elements](
|
1520
|
+
# country code elements](https://www.iso.org/iso/country_codes.htm).
|
1330
1521
|
# Corresponds to the JSON property `countryCode`
|
1331
1522
|
# @return [String]
|
1332
1523
|
attr_accessor :country_code
|
@@ -1594,7 +1785,7 @@ module Google
|
|
1594
1785
|
class Domains
|
1595
1786
|
include Google::Apis::Core::Hashable
|
1596
1787
|
|
1597
|
-
# Creation time of the domain. Expressed in [Unix time](
|
1788
|
+
# Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/
|
1598
1789
|
# wiki/Epoch_time) format. (Read-only).
|
1599
1790
|
# Corresponds to the JSON property `creationTime`
|
1600
1791
|
# @return [Fixnum]
|
@@ -1679,6 +1870,60 @@ module Google
|
|
1679
1870
|
end
|
1680
1871
|
end
|
1681
1872
|
|
1873
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1874
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1875
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1876
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
1877
|
+
# `Empty` is empty JSON object ````.
|
1878
|
+
class Empty
|
1879
|
+
include Google::Apis::Core::Hashable
|
1880
|
+
|
1881
|
+
def initialize(**args)
|
1882
|
+
update!(**args)
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
# Update properties of this object
|
1886
|
+
def update!(**args)
|
1887
|
+
end
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
# Info about failures
|
1891
|
+
class FailureInfo
|
1892
|
+
include Google::Apis::Core::Hashable
|
1893
|
+
|
1894
|
+
# Canonical code for why the update failed to apply.
|
1895
|
+
# Corresponds to the JSON property `errorCode`
|
1896
|
+
# @return [String]
|
1897
|
+
attr_accessor :error_code
|
1898
|
+
|
1899
|
+
# Failure reason message.
|
1900
|
+
# Corresponds to the JSON property `errorMessage`
|
1901
|
+
# @return [String]
|
1902
|
+
attr_accessor :error_message
|
1903
|
+
|
1904
|
+
# Printer configuration.
|
1905
|
+
# Corresponds to the JSON property `printer`
|
1906
|
+
# @return [Google::Apis::AdminDirectoryV1::Printer]
|
1907
|
+
attr_accessor :printer
|
1908
|
+
|
1909
|
+
# Ids of failed printers.
|
1910
|
+
# Corresponds to the JSON property `printerIds`
|
1911
|
+
# @return [String]
|
1912
|
+
attr_accessor :printer_ids
|
1913
|
+
|
1914
|
+
def initialize(**args)
|
1915
|
+
update!(**args)
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
# Update properties of this object
|
1919
|
+
def update!(**args)
|
1920
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
1921
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
1922
|
+
@printer = args[:printer] if args.key?(:printer)
|
1923
|
+
@printer_ids = args[:printer_ids] if args.key?(:printer_ids)
|
1924
|
+
end
|
1925
|
+
end
|
1926
|
+
|
1682
1927
|
# JSON template for Feature object in Directory API.
|
1683
1928
|
class Feature
|
1684
1929
|
include Google::Apis::Core::Hashable
|
@@ -1823,9 +2068,8 @@ module Google
|
|
1823
2068
|
# The group's email address. If your account has multiple domains, select the
|
1824
2069
|
# appropriate domain for the email address. The `email` must be unique. This
|
1825
2070
|
# property is required when creating a group. Group email addresses are subject
|
1826
|
-
# to the same character usage rules as usernames, see the [
|
1827
|
-
#
|
1828
|
-
# details.
|
2071
|
+
# to the same character usage rules as usernames, see the [help center](https://
|
2072
|
+
# support.google.com/a/answer/9193374) for details.
|
1829
2073
|
# Corresponds to the JSON property `email`
|
1830
2074
|
# @return [String]
|
1831
2075
|
attr_accessor :email
|
@@ -1917,6 +2161,61 @@ module Google
|
|
1917
2161
|
end
|
1918
2162
|
end
|
1919
2163
|
|
2164
|
+
# Response for listing allowed printer models.
|
2165
|
+
class ListPrinterModelsResponse
|
2166
|
+
include Google::Apis::Core::Hashable
|
2167
|
+
|
2168
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2169
|
+
# field is omitted, there are no subsequent pages.
|
2170
|
+
# Corresponds to the JSON property `nextPageToken`
|
2171
|
+
# @return [String]
|
2172
|
+
attr_accessor :next_page_token
|
2173
|
+
|
2174
|
+
# Printer models that are currently allowed to be configured for ChromeOs. Some
|
2175
|
+
# printers may be added or removed over time.
|
2176
|
+
# Corresponds to the JSON property `printerModels`
|
2177
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::PrinterModel>]
|
2178
|
+
attr_accessor :printer_models
|
2179
|
+
|
2180
|
+
def initialize(**args)
|
2181
|
+
update!(**args)
|
2182
|
+
end
|
2183
|
+
|
2184
|
+
# Update properties of this object
|
2185
|
+
def update!(**args)
|
2186
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2187
|
+
@printer_models = args[:printer_models] if args.key?(:printer_models)
|
2188
|
+
end
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
# Response for listing printers.
|
2192
|
+
class ListPrintersResponse
|
2193
|
+
include Google::Apis::Core::Hashable
|
2194
|
+
|
2195
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2196
|
+
# field is omitted, there are no subsequent pages.
|
2197
|
+
# Corresponds to the JSON property `nextPageToken`
|
2198
|
+
# @return [String]
|
2199
|
+
attr_accessor :next_page_token
|
2200
|
+
|
2201
|
+
# List of printers. If `org_unit_id` was given in the request, then only
|
2202
|
+
# printers visible for this OU will be returned. If `org_unit_id` was given in
|
2203
|
+
# the request, then all printers will be returned.
|
2204
|
+
# Corresponds to the JSON property `printers`
|
2205
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::Printer>]
|
2206
|
+
attr_accessor :printers
|
2207
|
+
|
2208
|
+
def initialize(**args)
|
2209
|
+
update!(**args)
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
# Update properties of this object
|
2213
|
+
def update!(**args)
|
2214
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2215
|
+
@printers = args[:printers] if args.key?(:printers)
|
2216
|
+
end
|
2217
|
+
end
|
2218
|
+
|
1920
2219
|
# A Google Groups member can be a user or another group. This member can be
|
1921
2220
|
# inside or outside of your account's domains. For more information about common
|
1922
2221
|
# group member tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides/
|
@@ -1958,8 +2257,7 @@ module Google
|
|
1958
2257
|
# The member's role in a group. The API returns an error for cycles in group
|
1959
2258
|
# memberships. For example, if `group1` is a member of `group2`, `group2` cannot
|
1960
2259
|
# be a member of `group1`. For more information about a member's role, see the [
|
1961
|
-
# administration help center](
|
1962
|
-
# 167094).
|
2260
|
+
# administration help center](https://support.google.com/a/answer/167094).
|
1963
2261
|
# Corresponds to the JSON property `role`
|
1964
2262
|
# @return [String]
|
1965
2263
|
attr_accessor :role
|
@@ -2049,10 +2347,10 @@ module Google
|
|
2049
2347
|
end
|
2050
2348
|
end
|
2051
2349
|
|
2052
|
-
# Google Workspace Mobile Management includes Android, [Google Sync](
|
2053
|
-
# support.google.com/a/
|
2054
|
-
#
|
2055
|
-
#
|
2350
|
+
# Google Workspace Mobile Management includes Android, [Google Sync](https://
|
2351
|
+
# support.google.com/a/answer/135937), and iOS devices. For more information
|
2352
|
+
# about common group mobile device API tasks, see the [Developer's Guide](/admin-
|
2353
|
+
# sdk/directory/v1/guides/manage-mobile-devices.html).
|
2056
2354
|
class MobileDevice
|
2057
2355
|
include Google::Apis::Core::Hashable
|
2058
2356
|
|
@@ -2352,7 +2650,7 @@ module Google
|
|
2352
2650
|
|
2353
2651
|
# The list of permissions of this application. These can be either a standard
|
2354
2652
|
# Android permission or one defined by the application, and are found in an
|
2355
|
-
# application's [Android manifest](
|
2653
|
+
# application's [Android manifest](https://developer.android.com/guide/topics/
|
2356
2654
|
# manifest/uses-permission-element.html). Examples of a Calendar application's
|
2357
2655
|
# permissions are `READ_CALENDAR`, or `MANAGE_ACCOUNTS`.
|
2358
2656
|
# Corresponds to the JSON property `permission`
|
@@ -2451,8 +2749,7 @@ module Google
|
|
2451
2749
|
# organization. The default value is `false`, meaning a sub-organizational unit
|
2452
2750
|
# inherits the settings of the nearest parent organizational unit. For more
|
2453
2751
|
# information on inheritance and users in an organization structure, see the [
|
2454
|
-
# administration help center](
|
2455
|
-
# 182442&topic=1227584&ctx=topic).
|
2752
|
+
# administration help center](https://support.google.com/a/answer/4352075).
|
2456
2753
|
# Corresponds to the JSON property `blockInheritance`
|
2457
2754
|
# @return [Boolean]
|
2458
2755
|
attr_accessor :block_inheritance
|
@@ -2495,10 +2792,9 @@ module Google
|
|
2495
2792
|
# determines which Google Workspace services the user has access to. If the user
|
2496
2793
|
# is moved to a new organization, the user's access changes. For more
|
2497
2794
|
# information about organization structures, see the [administration help center]
|
2498
|
-
# (
|
2499
|
-
#
|
2500
|
-
#
|
2501
|
-
# update_user).
|
2795
|
+
# (https://support.google.com/a/answer/4352075). For more information about
|
2796
|
+
# moving a user to a different organization, see [Update a user](/admin-sdk/
|
2797
|
+
# directory/v1/guides/manage-users.html#update_user).
|
2502
2798
|
# Corresponds to the JSON property `orgUnitPath`
|
2503
2799
|
# @return [String]
|
2504
2800
|
attr_accessor :org_unit_path
|
@@ -2566,6 +2862,117 @@ module Google
|
|
2566
2862
|
end
|
2567
2863
|
end
|
2568
2864
|
|
2865
|
+
# Printer configuration.
|
2866
|
+
class Printer
|
2867
|
+
include Google::Apis::Core::Hashable
|
2868
|
+
|
2869
|
+
# Output only. Auxiliary messages about issues with the printer configuration if
|
2870
|
+
# any.
|
2871
|
+
# Corresponds to the JSON property `auxiliaryMessages`
|
2872
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::AuxiliaryMessage>]
|
2873
|
+
attr_accessor :auxiliary_messages
|
2874
|
+
|
2875
|
+
# Output only. Time when printer was created.
|
2876
|
+
# Corresponds to the JSON property `createTime`
|
2877
|
+
# @return [String]
|
2878
|
+
attr_accessor :create_time
|
2879
|
+
|
2880
|
+
# Editable. Description of printer.
|
2881
|
+
# Corresponds to the JSON property `description`
|
2882
|
+
# @return [String]
|
2883
|
+
attr_accessor :description
|
2884
|
+
|
2885
|
+
# Editable. Name of printer.
|
2886
|
+
# Corresponds to the JSON property `displayName`
|
2887
|
+
# @return [String]
|
2888
|
+
attr_accessor :display_name
|
2889
|
+
|
2890
|
+
# Id of the printer. (During printer creation leave empty)
|
2891
|
+
# Corresponds to the JSON property `id`
|
2892
|
+
# @return [String]
|
2893
|
+
attr_accessor :id
|
2894
|
+
|
2895
|
+
# Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in
|
2896
|
+
# format as seen in ListPrinterModels response.
|
2897
|
+
# Corresponds to the JSON property `makeAndModel`
|
2898
|
+
# @return [String]
|
2899
|
+
attr_accessor :make_and_model
|
2900
|
+
|
2901
|
+
# The resource name of the Printer object, in the format customers/`customer-id`/
|
2902
|
+
# printers/`printer-id` (During printer creation leave empty)
|
2903
|
+
# Corresponds to the JSON property `name`
|
2904
|
+
# @return [String]
|
2905
|
+
attr_accessor :name
|
2906
|
+
|
2907
|
+
# Organization Unit that owns this printer (Only can be set during Printer
|
2908
|
+
# creation)
|
2909
|
+
# Corresponds to the JSON property `orgUnitId`
|
2910
|
+
# @return [String]
|
2911
|
+
attr_accessor :org_unit_id
|
2912
|
+
|
2913
|
+
# Editable. Printer URI.
|
2914
|
+
# Corresponds to the JSON property `uri`
|
2915
|
+
# @return [String]
|
2916
|
+
attr_accessor :uri
|
2917
|
+
|
2918
|
+
# Editable. flag to use driverless configuration or not. If it's set to be true,
|
2919
|
+
# make_and_model can be ignored
|
2920
|
+
# Corresponds to the JSON property `useDriverlessConfig`
|
2921
|
+
# @return [Boolean]
|
2922
|
+
attr_accessor :use_driverless_config
|
2923
|
+
alias_method :use_driverless_config?, :use_driverless_config
|
2924
|
+
|
2925
|
+
def initialize(**args)
|
2926
|
+
update!(**args)
|
2927
|
+
end
|
2928
|
+
|
2929
|
+
# Update properties of this object
|
2930
|
+
def update!(**args)
|
2931
|
+
@auxiliary_messages = args[:auxiliary_messages] if args.key?(:auxiliary_messages)
|
2932
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2933
|
+
@description = args[:description] if args.key?(:description)
|
2934
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2935
|
+
@id = args[:id] if args.key?(:id)
|
2936
|
+
@make_and_model = args[:make_and_model] if args.key?(:make_and_model)
|
2937
|
+
@name = args[:name] if args.key?(:name)
|
2938
|
+
@org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
|
2939
|
+
@uri = args[:uri] if args.key?(:uri)
|
2940
|
+
@use_driverless_config = args[:use_driverless_config] if args.key?(:use_driverless_config)
|
2941
|
+
end
|
2942
|
+
end
|
2943
|
+
|
2944
|
+
# Printer manufacturer and model
|
2945
|
+
class PrinterModel
|
2946
|
+
include Google::Apis::Core::Hashable
|
2947
|
+
|
2948
|
+
# Display name. eq. "Brother MFC-8840D"
|
2949
|
+
# Corresponds to the JSON property `displayName`
|
2950
|
+
# @return [String]
|
2951
|
+
attr_accessor :display_name
|
2952
|
+
|
2953
|
+
# Make and model as represented in "make_and_model" field in Printer object. eq.
|
2954
|
+
# "brother mfc-8840d"
|
2955
|
+
# Corresponds to the JSON property `makeAndModel`
|
2956
|
+
# @return [String]
|
2957
|
+
attr_accessor :make_and_model
|
2958
|
+
|
2959
|
+
# Manufacturer. eq. "Brother"
|
2960
|
+
# Corresponds to the JSON property `manufacturer`
|
2961
|
+
# @return [String]
|
2962
|
+
attr_accessor :manufacturer
|
2963
|
+
|
2964
|
+
def initialize(**args)
|
2965
|
+
update!(**args)
|
2966
|
+
end
|
2967
|
+
|
2968
|
+
# Update properties of this object
|
2969
|
+
def update!(**args)
|
2970
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2971
|
+
@make_and_model = args[:make_and_model] if args.key?(:make_and_model)
|
2972
|
+
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
|
2973
|
+
end
|
2974
|
+
end
|
2975
|
+
|
2569
2976
|
#
|
2570
2977
|
class Privilege
|
2571
2978
|
include Google::Apis::Core::Hashable
|
@@ -3284,9 +3691,9 @@ module Google
|
|
3284
3691
|
|
3285
3692
|
# Stores the hash format of the password property. We recommend sending the `
|
3286
3693
|
# password` property value as a base 16 bit hexadecimal-encoded hash value. Set
|
3287
|
-
# the `hashFunction` values as either the [SHA-1](
|
3288
|
-
# 1), [MD5](
|
3289
|
-
# wiki/Crypt_(C)) hash format.
|
3694
|
+
# the `hashFunction` values as either the [SHA-1](https://wikipedia.org/wiki/SHA-
|
3695
|
+
# 1), [MD5](https://wikipedia.org/wiki/MD5), or [crypt](https://en.wikipedia.org/
|
3696
|
+
# wiki/Crypt_\(C\)) hash format.
|
3290
3697
|
# Corresponds to the JSON property `hashFunction`
|
3291
3698
|
# @return [String]
|
3292
3699
|
attr_accessor :hash_function
|
@@ -3307,14 +3714,14 @@ module Google
|
|
3307
3714
|
# Indicates if the user's profile is visible in the Google Workspace global
|
3308
3715
|
# address list when the contact sharing feature is enabled for the domain. For
|
3309
3716
|
# more information about excluding user profiles, see the [administration help
|
3310
|
-
# center](
|
3717
|
+
# center](https://support.google.com/a/answer/1285988).
|
3311
3718
|
# Corresponds to the JSON property `includeInGlobalAddressList`
|
3312
3719
|
# @return [Boolean]
|
3313
3720
|
attr_accessor :include_in_global_address_list
|
3314
3721
|
alias_method :include_in_global_address_list?, :include_in_global_address_list
|
3315
3722
|
|
3316
|
-
# If `true`, the user's IP address is [
|
3317
|
-
#
|
3723
|
+
# If `true`, the user's IP address is [whitelisted](https://support.google.com/a/
|
3724
|
+
# answer/60752).
|
3318
3725
|
# Corresponds to the JSON property `ipWhitelisted`
|
3319
3726
|
# @return [Boolean]
|
3320
3727
|
attr_accessor :ip_whitelisted
|
@@ -3336,7 +3743,7 @@ module Google
|
|
3336
3743
|
# administrators are supported by the API but cannot create or undelete users,
|
3337
3744
|
# or make users administrators. These requests are ignored by the API service.
|
3338
3745
|
# Roles and privileges for administrators are assigned using the [Admin console](
|
3339
|
-
#
|
3746
|
+
# https://support.google.com/a/answer/33325).
|
3340
3747
|
# Corresponds to the JSON property `isDelegatedAdmin`
|
3341
3748
|
# @return [Boolean]
|
3342
3749
|
attr_accessor :is_delegated_admin
|
@@ -3392,8 +3799,8 @@ module Google
|
|
3392
3799
|
# familyName` values is 60. In addition, name values support unicode/UTF-8
|
3393
3800
|
# characters, and can contain spaces, letters (a-z), numbers (0-9), dashes (-),
|
3394
3801
|
# forward slashes (/), and periods (.). For more information about character
|
3395
|
-
# usage rules, see the [administration help center](
|
3396
|
-
#
|
3802
|
+
# usage rules, see the [administration help center](https://support.google.com/a/
|
3803
|
+
# answer/9193374). Maximum allowed data size for this field is 1Kb.
|
3397
3804
|
# Corresponds to the JSON property `name`
|
3398
3805
|
# @return [Google::Apis::AdminDirectoryV1::UserName]
|
3399
3806
|
attr_accessor :name
|
@@ -3433,7 +3840,7 @@ module Google
|
|
3433
3840
|
# @return [Object]
|
3434
3841
|
attr_accessor :phones
|
3435
3842
|
|
3436
|
-
# A list of [POSIX](
|
3843
|
+
# A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html)
|
3437
3844
|
# account information for the user.
|
3438
3845
|
# Corresponds to the JSON property `posixAccounts`
|
3439
3846
|
# @return [Object]
|
@@ -4170,8 +4577,8 @@ module Google
|
|
4170
4577
|
# @return [String]
|
4171
4578
|
attr_accessor :mime_type
|
4172
4579
|
|
4173
|
-
# The user photo's upload data in [web-safe Base64](https://
|
4174
|
-
#
|
4580
|
+
# The user photo's upload data in [web-safe Base64](https://en.wikipedia.org/
|
4581
|
+
# wiki/Base64#URL_applications) format in bytes. This means: * The slash (/)
|
4175
4582
|
# character is replaced with the underscore (_) character. * The plus sign (+)
|
4176
4583
|
# character is replaced with the hyphen (-) character. * The equals sign (=)
|
4177
4584
|
# character is replaced with the asterisk (*). * For padding, the period (.)
|