google-apis-admin_directory_v1 0.35.0 → 0.37.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 +9 -0
- data/lib/google/apis/admin_directory_v1/classes.rb +35 -5
- data/lib/google/apis/admin_directory_v1/gem_version.rb +3 -3
- data/lib/google/apis/admin_directory_v1/representations.rb +3 -0
- data/lib/google/apis/admin_directory_v1/service.rb +90 -26
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c036b12d74807cadc46c4ffb1a75fa55e91fb4b487e47c2a70b361194a27e31
|
4
|
+
data.tar.gz: 4061d8eb33029262b12aa4c6cc7115b4c3c246d60b9ccdd44b53965a3f49c5fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40ae394ddc4adb1e692f43b97cc5ebbd6ac8ccf9b30335db5112f7da3214429ebb66737557b4b26a5a9a01e4374e57b5cfab06add5b549609697d3d06310c00c
|
7
|
+
data.tar.gz: a71473ba25a431b4ebbbb83a67d1f9ddd2b2b2c32aaa3de28b11e7c828ab1419f682739da67c3056895cb25fc1ea478f3b4342419c7e1da7713e00186a172852
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-admin_directory_v1
|
2
2
|
|
3
|
+
### v0.37.0 (2023-01-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230103
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.36.0 (2022-11-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221122
|
11
|
+
|
3
12
|
### v0.35.0 (2022-11-13)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221108
|
@@ -872,6 +872,11 @@ module Google
|
|
872
872
|
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport>]
|
873
873
|
attr_accessor :cpu_status_reports
|
874
874
|
|
875
|
+
# (Read-only) Deprovision reason.
|
876
|
+
# Corresponds to the JSON property `deprovisionReason`
|
877
|
+
# @return [String]
|
878
|
+
attr_accessor :deprovision_reason
|
879
|
+
|
875
880
|
# A list of device files to download (Read-only)
|
876
881
|
# Corresponds to the JSON property `deviceFiles`
|
877
882
|
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile>]
|
@@ -930,6 +935,11 @@ module Google
|
|
930
935
|
# @return [String]
|
931
936
|
attr_accessor :kind
|
932
937
|
|
938
|
+
# (Read-only) Date and time for the last deprovision of the device.
|
939
|
+
# Corresponds to the JSON property `lastDeprovisionTimestamp`
|
940
|
+
# @return [String]
|
941
|
+
attr_accessor :last_deprovision_timestamp
|
942
|
+
|
933
943
|
# Date and time the device was last enrolled (Read-only)
|
934
944
|
# Corresponds to the JSON property `lastEnrollmentTime`
|
935
945
|
# @return [DateTime]
|
@@ -1090,6 +1100,7 @@ module Google
|
|
1090
1100
|
@boot_mode = args[:boot_mode] if args.key?(:boot_mode)
|
1091
1101
|
@cpu_info = args[:cpu_info] if args.key?(:cpu_info)
|
1092
1102
|
@cpu_status_reports = args[:cpu_status_reports] if args.key?(:cpu_status_reports)
|
1103
|
+
@deprovision_reason = args[:deprovision_reason] if args.key?(:deprovision_reason)
|
1093
1104
|
@device_files = args[:device_files] if args.key?(:device_files)
|
1094
1105
|
@device_id = args[:device_id] if args.key?(:device_id)
|
1095
1106
|
@disk_volume_reports = args[:disk_volume_reports] if args.key?(:disk_volume_reports)
|
@@ -1100,6 +1111,7 @@ module Google
|
|
1100
1111
|
@firmware_version = args[:firmware_version] if args.key?(:firmware_version)
|
1101
1112
|
@first_enrollment_time = args[:first_enrollment_time] if args.key?(:first_enrollment_time)
|
1102
1113
|
@kind = args[:kind] if args.key?(:kind)
|
1114
|
+
@last_deprovision_timestamp = args[:last_deprovision_timestamp] if args.key?(:last_deprovision_timestamp)
|
1103
1115
|
@last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time)
|
1104
1116
|
@last_known_network = args[:last_known_network] if args.key?(:last_known_network)
|
1105
1117
|
@last_sync = args[:last_sync] if args.key?(:last_sync)
|
@@ -1901,6 +1913,13 @@ module Google
|
|
1901
1913
|
class DirectoryChromeosdevicesCommandResult
|
1902
1914
|
include Google::Apis::Core::Hashable
|
1903
1915
|
|
1916
|
+
# The payload for the command result. The following commands respond with a
|
1917
|
+
# payload: - DEVICE_START_CRD_SESSION: Payload is a stringified JSON object in
|
1918
|
+
# the form: ` "url": url `. The URL provides a link to the CRD session.
|
1919
|
+
# Corresponds to the JSON property `commandResultPayload`
|
1920
|
+
# @return [String]
|
1921
|
+
attr_accessor :command_result_payload
|
1922
|
+
|
1904
1923
|
# The error message with a short explanation as to why the command failed. Only
|
1905
1924
|
# present if the command failed.
|
1906
1925
|
# Corresponds to the JSON property `errorMessage`
|
@@ -1923,6 +1942,7 @@ module Google
|
|
1923
1942
|
|
1924
1943
|
# Update properties of this object
|
1925
1944
|
def update!(**args)
|
1945
|
+
@command_result_payload = args[:command_result_payload] if args.key?(:command_result_payload)
|
1926
1946
|
@error_message = args[:error_message] if args.key?(:error_message)
|
1927
1947
|
@execute_time = args[:execute_time] if args.key?(:execute_time)
|
1928
1948
|
@result = args[:result] if args.key?(:result)
|
@@ -1941,7 +1961,12 @@ module Google
|
|
1941
1961
|
# The payload for the command, provide it only if command supports it. The
|
1942
1962
|
# following commands support adding payload: - SET_VOLUME: Payload is a
|
1943
1963
|
# stringified JSON object in the form: ` "volume": 50 `. The volume has to be an
|
1944
|
-
# integer in the range [0,100].
|
1964
|
+
# integer in the range [0,100]. - DEVICE_START_CRD_SESSION: Payload is
|
1965
|
+
# optionally a stringified JSON object in the form: ` "ackedUserPresence": true `
|
1966
|
+
# . ackedUserPresence is a boolean. If a device is being used, ackedUserPresence
|
1967
|
+
# must be set to true to acknowledge that you want to start a CRD session
|
1968
|
+
# anyways. It is false by default, so a CRD command will fail if used on an
|
1969
|
+
# active device without this field.
|
1945
1970
|
# Corresponds to the JSON property `payload`
|
1946
1971
|
# @return [String]
|
1947
1972
|
attr_accessor :payload
|
@@ -2309,8 +2334,13 @@ module Google
|
|
2309
2334
|
|
2310
2335
|
# Google Groups provide your users the ability to send messages to groups of
|
2311
2336
|
# people using the group's email address. For more information about common
|
2312
|
-
# tasks, see the [Developer's Guide](/admin-sdk/
|
2313
|
-
# groups).
|
2337
|
+
# tasks, see the [Developer's Guide](https://developers.google.com/admin-sdk/
|
2338
|
+
# directory/v1/guides/manage-groups). For information about other types of
|
2339
|
+
# groups, see the [Cloud Identity Groups API documentation](https://cloud.google.
|
2340
|
+
# com/identity/docs/groups). Note: The user calling the API (or being
|
2341
|
+
# impersonated by a service account) must have an assigned [role](https://
|
2342
|
+
# developers.google.com/admin-sdk/directory/v1/guides/manage-roles) that
|
2343
|
+
# includes Admin API Groups permissions, such as Super Admin or Groups Admin.
|
2314
2344
|
class Group
|
2315
2345
|
include Google::Apis::Core::Hashable
|
2316
2346
|
|
@@ -4200,8 +4230,8 @@ module Google
|
|
4200
4230
|
attr_accessor :include_in_global_address_list
|
4201
4231
|
alias_method :include_in_global_address_list?, :include_in_global_address_list
|
4202
4232
|
|
4203
|
-
# If `true`, the user's IP address is [
|
4204
|
-
# answer/60752).
|
4233
|
+
# If `true`, the user's IP address is subject to a deprecated IP address [`
|
4234
|
+
# allowlist`](https://support.google.com/a/answer/60752) configuration.
|
4205
4235
|
# Corresponds to the JSON property `ipWhitelisted`
|
4206
4236
|
# @return [Boolean]
|
4207
4237
|
attr_accessor :ip_whitelisted
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AdminDirectoryV1
|
18
18
|
# Version of the google-apis-admin_directory_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230103"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -930,6 +930,7 @@ module Google
|
|
930
930
|
|
931
931
|
collection :cpu_status_reports, as: 'cpuStatusReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::Representation
|
932
932
|
|
933
|
+
property :deprovision_reason, as: 'deprovisionReason'
|
933
934
|
collection :device_files, as: 'deviceFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile::Representation
|
934
935
|
|
935
936
|
property :device_id, as: 'deviceId'
|
@@ -942,6 +943,7 @@ module Google
|
|
942
943
|
property :firmware_version, as: 'firmwareVersion'
|
943
944
|
property :first_enrollment_time, as: 'firstEnrollmentTime'
|
944
945
|
property :kind, as: 'kind'
|
946
|
+
property :last_deprovision_timestamp, as: 'lastDeprovisionTimestamp'
|
945
947
|
property :last_enrollment_time, as: 'lastEnrollmentTime', type: DateTime
|
946
948
|
|
947
949
|
collection :last_known_network, as: 'lastKnownNetwork', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork::Representation
|
@@ -1204,6 +1206,7 @@ module Google
|
|
1204
1206
|
class DirectoryChromeosdevicesCommandResult
|
1205
1207
|
# @private
|
1206
1208
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1209
|
+
property :command_result_payload, as: 'commandResultPayload'
|
1207
1210
|
property :error_message, as: 'errorMessage'
|
1208
1211
|
property :execute_time, as: 'executeTime'
|
1209
1212
|
property :result, as: 'result'
|
@@ -1222,7 +1222,12 @@ module Google
|
|
1222
1222
|
|
1223
1223
|
# Retrieves a domain alias of the customer.
|
1224
1224
|
# @param [String] customer
|
1225
|
-
#
|
1225
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
1226
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
1227
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
1228
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
1229
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
1230
|
+
# customer` or the `domain` parameter.
|
1226
1231
|
# @param [String] domain_alias_name
|
1227
1232
|
# Name of domain alias to be retrieved.
|
1228
1233
|
# @param [String] fields
|
@@ -1288,7 +1293,12 @@ module Google
|
|
1288
1293
|
|
1289
1294
|
# Lists the domain aliases of the customer.
|
1290
1295
|
# @param [String] customer
|
1291
|
-
#
|
1296
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
1297
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
1298
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
1299
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
1300
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
1301
|
+
# customer` or the `domain` parameter.
|
1292
1302
|
# @param [String] parent_domain_name
|
1293
1303
|
# Name of the parent domain for which domain aliases are to be fetched.
|
1294
1304
|
# @param [String] fields
|
@@ -1352,7 +1362,12 @@ module Google
|
|
1352
1362
|
|
1353
1363
|
# Retrieves a domain of the customer.
|
1354
1364
|
# @param [String] customer
|
1355
|
-
#
|
1365
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
1366
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
1367
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
1368
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
1369
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
1370
|
+
# customer` or the `domain` parameter.
|
1356
1371
|
# @param [String] domain_name
|
1357
1372
|
# Name of domain to be retrieved
|
1358
1373
|
# @param [String] fields
|
@@ -1418,7 +1433,12 @@ module Google
|
|
1418
1433
|
|
1419
1434
|
# Lists the domains of the customer.
|
1420
1435
|
# @param [String] customer
|
1421
|
-
#
|
1436
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
1437
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
1438
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
1439
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
1440
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
1441
|
+
# customer` or the `domain` parameter.
|
1422
1442
|
# @param [String] fields
|
1423
1443
|
# Selector specifying which fields to include in a partial response.
|
1424
1444
|
# @param [String] quota_user
|
@@ -1539,11 +1559,11 @@ module Google
|
|
1539
1559
|
# Retrieves all groups of a domain or of a user given a userKey (paginated).
|
1540
1560
|
# @param [String] customer
|
1541
1561
|
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
1542
|
-
# domain account, to fetch all groups for a customer,
|
1543
|
-
#
|
1544
|
-
#
|
1545
|
-
#
|
1546
|
-
# or the `domain` parameter
|
1562
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
1563
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
1564
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
1565
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
1566
|
+
# customer` or the `domain` parameter.
|
1547
1567
|
# @param [String] domain
|
1548
1568
|
# The domain name. Use this field to get groups from only one domain. To return
|
1549
1569
|
# all domains for a customer account, use the `customer` query parameter instead.
|
@@ -1908,7 +1928,9 @@ module Google
|
|
1908
1928
|
execute_or_queue_command(command, &block)
|
1909
1929
|
end
|
1910
1930
|
|
1911
|
-
# Retrieves a paginated list of all members in a group.
|
1931
|
+
# Retrieves a paginated list of all members in a group. This method times out
|
1932
|
+
# after 60 minutes. For more information, see [Troubleshoot error codes](https://
|
1933
|
+
# developers.google.com/admin-sdk/directory/v1/guides/troubleshoot-error-codes).
|
1912
1934
|
# @param [String] group_key
|
1913
1935
|
# Identifies the group in the API request. The value can be the group's email
|
1914
1936
|
# address, group alias, or the unique group ID.
|
@@ -2146,7 +2168,9 @@ module Google
|
|
2146
2168
|
# Retrieves a paginated list of all user-owned mobile devices for an account. To
|
2147
2169
|
# retrieve a list that includes company-owned devices, use the Cloud Identity [
|
2148
2170
|
# Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices)
|
2149
|
-
# instead.
|
2171
|
+
# instead. This method times out after 60 minutes. For more information, see [
|
2172
|
+
# Troubleshoot error codes](https://developers.google.com/admin-sdk/directory/v1/
|
2173
|
+
# guides/troubleshoot-error-codes).
|
2150
2174
|
# @param [String] customer_id
|
2151
2175
|
# The unique ID for the customer's Google Workspace account. As an account
|
2152
2176
|
# administrator, you can also use the `my_customer` alias to represent your
|
@@ -2430,7 +2454,12 @@ module Google
|
|
2430
2454
|
|
2431
2455
|
# Retrieves a paginated list of all privileges for a customer.
|
2432
2456
|
# @param [String] customer
|
2433
|
-
#
|
2457
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
2458
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
2459
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
2460
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
2461
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
2462
|
+
# customer` or the `domain` parameter.
|
2434
2463
|
# @param [String] fields
|
2435
2464
|
# Selector specifying which fields to include in a partial response.
|
2436
2465
|
# @param [String] quota_user
|
@@ -3208,7 +3237,12 @@ module Google
|
|
3208
3237
|
|
3209
3238
|
# Retrieves a role assignment.
|
3210
3239
|
# @param [String] customer
|
3211
|
-
#
|
3240
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
3241
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
3242
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
3243
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
3244
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
3245
|
+
# customer` or the `domain` parameter.
|
3212
3246
|
# @param [String] role_assignment_id
|
3213
3247
|
# Immutable ID of the role assignment.
|
3214
3248
|
# @param [String] fields
|
@@ -3274,7 +3308,12 @@ module Google
|
|
3274
3308
|
|
3275
3309
|
# Retrieves a paginated list of all roleAssignments.
|
3276
3310
|
# @param [String] customer
|
3277
|
-
#
|
3311
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
3312
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
3313
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
3314
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
3315
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
3316
|
+
# customer` or the `domain` parameter.
|
3278
3317
|
# @param [Fixnum] max_results
|
3279
3318
|
# Maximum number of results to return.
|
3280
3319
|
# @param [String] page_token
|
@@ -3349,7 +3388,12 @@ module Google
|
|
3349
3388
|
|
3350
3389
|
# Retrieves a role.
|
3351
3390
|
# @param [String] customer
|
3352
|
-
#
|
3391
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
3392
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
3393
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
3394
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
3395
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
3396
|
+
# customer` or the `domain` parameter.
|
3353
3397
|
# @param [String] role_id
|
3354
3398
|
# Immutable ID of the role.
|
3355
3399
|
# @param [String] fields
|
@@ -3415,7 +3459,12 @@ module Google
|
|
3415
3459
|
|
3416
3460
|
# Retrieves a paginated list of all the roles in a domain.
|
3417
3461
|
# @param [String] customer
|
3418
|
-
#
|
3462
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
3463
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
3464
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
3465
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
3466
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
3467
|
+
# customer` or the `domain` parameter.
|
3419
3468
|
# @param [Fixnum] max_results
|
3420
3469
|
# Maximum number of results to return.
|
3421
3470
|
# @param [String] page_token
|
@@ -3554,7 +3603,12 @@ module Google
|
|
3554
3603
|
|
3555
3604
|
# Retrieves a schema.
|
3556
3605
|
# @param [String] customer_id
|
3557
|
-
#
|
3606
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
3607
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
3608
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
3609
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
3610
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
3611
|
+
# customer` or the `domain` parameter.
|
3558
3612
|
# @param [String] schema_key
|
3559
3613
|
# Name or immutable ID of the schema.
|
3560
3614
|
# @param [String] fields
|
@@ -3620,7 +3674,12 @@ module Google
|
|
3620
3674
|
|
3621
3675
|
# Retrieves all schemas for a customer.
|
3622
3676
|
# @param [String] customer_id
|
3623
|
-
#
|
3677
|
+
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
3678
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
3679
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
3680
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
3681
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
3682
|
+
# customer` or the `domain` parameter.
|
3624
3683
|
# @param [String] fields
|
3625
3684
|
# Selector specifying which fields to include in a partial response.
|
3626
3685
|
# @param [String] quota_user
|
@@ -3954,11 +4013,11 @@ module Google
|
|
3954
4013
|
# fetched. This should only be set when `projection=custom`.
|
3955
4014
|
# @param [String] customer
|
3956
4015
|
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
3957
|
-
# domain account, to fetch all groups for a customer,
|
3958
|
-
# domain
|
3959
|
-
# customerId`. The `customerId` is also returned as part of the [Users
|
3960
|
-
#
|
3961
|
-
#
|
4016
|
+
# domain account, to fetch all groups for a customer, use this field instead of `
|
4017
|
+
# domain`. You can also use the `my_customer` alias to represent your account's `
|
4018
|
+
# customerId`. The `customerId` is also returned as part of the [Users](/admin-
|
4019
|
+
# sdk/directory/v1/reference/users) resource. You must provide either the `
|
4020
|
+
# customer` or the `domain` parameter.
|
3962
4021
|
# @param [String] domain
|
3963
4022
|
# The domain name. Use this field to get groups from only one domain. To return
|
3964
4023
|
# all domains for a customer account, use the `customer` query parameter instead.
|
@@ -4153,9 +4212,14 @@ module Google
|
|
4153
4212
|
execute_or_queue_command(command, &block)
|
4154
4213
|
end
|
4155
4214
|
|
4156
|
-
# Updates a user. This method supports patch semantics, meaning you only
|
4157
|
-
# include the fields you wish to update. Fields that are not present in
|
4158
|
-
# request will be preserved, and fields set to `null` will be cleared.
|
4215
|
+
# Updates a user. This method supports patch semantics, meaning that you only
|
4216
|
+
# need to include the fields you wish to update. Fields that are not present in
|
4217
|
+
# the request will be preserved, and fields set to `null` will be cleared. For
|
4218
|
+
# repeating fields that contain arrays, individual items in the array can't be
|
4219
|
+
# patched piecemeal; they must be supplied in the request body with the desired
|
4220
|
+
# values for all items. See the [user accounts guide](https://developers.google.
|
4221
|
+
# com/admin-sdk/directory/v1/guides/manage-users#update_user) for more
|
4222
|
+
# information.
|
4159
4223
|
# @param [String] user_key
|
4160
4224
|
# Identifies the user in the API request. The value can be the user's primary
|
4161
4225
|
# email address, alias email address, or unique user ID.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-admin_directory_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.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: 2023-01-08 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-admin_directory_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.37.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Admin SDK API DirectoryV1
|