google-api-client 0.17.1 → 0.17.2
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 +33 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +26 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -0
- data/generated/google/apis/admin_directory_v1/service.rb +90 -52
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +150 -3
- data/generated/google/apis/androidenterprise_v1/representations.rb +65 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +50 -4
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -0
- data/generated/google/apis/appengine_v1/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +2 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +5 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +2 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +57 -61
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +20 -19
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +4 -6
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +4 -6
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +140 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +35 -0
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +2536 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1078 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +1398 -0
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +7 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -4
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +4 -4
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +55 -46
- data/generated/google/apis/monitoring_v3/representations.rb +19 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +16 -60
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +19 -21
- data/generated/google/apis/serviceconsumermanagement_v1.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3945 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1235 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +467 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +16 -0
- data/generated/google/apis/slides_v1/representations.rb +2 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +21 -21
- data/generated/google/apis/tpu_v1alpha1.rb +34 -0
- data/generated/google/apis/tpu_v1alpha1/classes.rb +530 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +191 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +474 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55164b930c7d52659300df45beedacd015099baf
|
|
4
|
+
data.tar.gz: 61a5919ebba9b32e961e177b9dd54eb94ba02ae7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0a8ebbdf5be952b51cda08ef8e1fc6dbcf0d703bf03daf8f183d7a32e83b09626284ec1a03f8e1946af33f91ca03b60813209ef98690e2c91c5bdfcfc407f64
|
|
7
|
+
data.tar.gz: 03eb34a1990a0e8d947a636a1b17ecfc1b540f37af475e472b14d128ccf0a70b9c5e2188078c1a1fe7eadccb2f02f589c1ca5634684930f5a7a75579f60948b3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
# 0.17.2
|
|
2
|
+
* Backwards compatible changes:
|
|
3
|
+
* Added `dialogflow_v2beta1`
|
|
4
|
+
* Added `serviceconsumermanagement_v1`
|
|
5
|
+
* Added `tpu_v1alpha1`
|
|
6
|
+
* Updated `admin_directory_v1`
|
|
7
|
+
* Updated `androidenterprise_v1`
|
|
8
|
+
* Updated `appengine_v1`
|
|
9
|
+
* Updated `appengine_v1beta`
|
|
10
|
+
* Updated `bigquerydatatransfer_v1`
|
|
11
|
+
* Updated `cloudbuild_v1`
|
|
12
|
+
* Updated `cloudiot_v1`
|
|
13
|
+
* Updated `cloudkms_v1`
|
|
14
|
+
* Updated `cloudtasks_v2beta2`
|
|
15
|
+
* Updated `compute_alpha`
|
|
16
|
+
* Updated `compute_beta`
|
|
17
|
+
* Updated `compute_v1`
|
|
18
|
+
* Updated `container_v1`
|
|
19
|
+
* Updated `container_v1beta1`
|
|
20
|
+
* Updated `customsearch_v1`
|
|
21
|
+
* Updated `dlp_v2beta1`
|
|
22
|
+
* Updated `genomics_v1alpha2`
|
|
23
|
+
* Updated `logging_v2`
|
|
24
|
+
* Updated `logging_v2beta1`
|
|
25
|
+
* Updated `monitoring_v3`
|
|
26
|
+
* Updated `proximitybeacon_v1beta1`
|
|
27
|
+
* Updated `script_v1`
|
|
28
|
+
* Updated `slides_v1`
|
|
29
|
+
* Updated `sourcerepo_v1`
|
|
30
|
+
* Updated `storagetransfer_v1`
|
|
31
|
+
* Updated `toolresults_v1beta3`
|
|
32
|
+
* Updated `youtube_partner_v1`
|
|
33
|
+
|
|
1
34
|
# 0.17.1
|
|
2
35
|
* Backwards compatible changes:
|
|
3
36
|
* Added `dfareporting_v3_0`
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/admin-sdk/directory/
|
|
27
27
|
module AdminDirectoryV1
|
|
28
28
|
VERSION = 'DirectoryV1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20171113'
|
|
30
30
|
|
|
31
31
|
# View and manage customer related information
|
|
32
32
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
|
@@ -1248,6 +1248,26 @@ module Google
|
|
|
1248
1248
|
end
|
|
1249
1249
|
end
|
|
1250
1250
|
|
|
1251
|
+
# JSON template for Has Member response in Directory API.
|
|
1252
|
+
class MembersHasMember
|
|
1253
|
+
include Google::Apis::Core::Hashable
|
|
1254
|
+
|
|
1255
|
+
# Identifies whether given user is a member or not.
|
|
1256
|
+
# Corresponds to the JSON property `isMember`
|
|
1257
|
+
# @return [Boolean]
|
|
1258
|
+
attr_accessor :is_member
|
|
1259
|
+
alias_method :is_member?, :is_member
|
|
1260
|
+
|
|
1261
|
+
def initialize(**args)
|
|
1262
|
+
update!(**args)
|
|
1263
|
+
end
|
|
1264
|
+
|
|
1265
|
+
# Update properties of this object
|
|
1266
|
+
def update!(**args)
|
|
1267
|
+
@is_member = args[:is_member] if args.key?(:is_member)
|
|
1268
|
+
end
|
|
1269
|
+
end
|
|
1270
|
+
|
|
1251
1271
|
# JSON template for Mobile Device resource in Directory API.
|
|
1252
1272
|
class MobileDevice
|
|
1253
1273
|
include Google::Apis::Core::Hashable
|
|
@@ -3412,6 +3432,11 @@ module Google
|
|
|
3412
3432
|
class UserPosixAccount
|
|
3413
3433
|
include Google::Apis::Core::Hashable
|
|
3414
3434
|
|
|
3435
|
+
# A POSIX account field identifier. (Read-only)
|
|
3436
|
+
# Corresponds to the JSON property `accountId`
|
|
3437
|
+
# @return [String]
|
|
3438
|
+
attr_accessor :account_id
|
|
3439
|
+
|
|
3415
3440
|
# The GECOS (user information) for this account.
|
|
3416
3441
|
# Corresponds to the JSON property `gecos`
|
|
3417
3442
|
# @return [String]
|
|
@@ -3459,6 +3484,7 @@ module Google
|
|
|
3459
3484
|
|
|
3460
3485
|
# Update properties of this object
|
|
3461
3486
|
def update!(**args)
|
|
3487
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
3462
3488
|
@gecos = args[:gecos] if args.key?(:gecos)
|
|
3463
3489
|
@gid = args[:gid] if args.key?(:gid)
|
|
3464
3490
|
@home_directory = args[:home_directory] if args.key?(:home_directory)
|
|
@@ -166,6 +166,12 @@ module Google
|
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
+
class MembersHasMember
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
+
end
|
|
174
|
+
|
|
169
175
|
class MobileDevice
|
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
177
|
|
|
@@ -748,6 +754,13 @@ module Google
|
|
|
748
754
|
end
|
|
749
755
|
end
|
|
750
756
|
|
|
757
|
+
class MembersHasMember
|
|
758
|
+
# @private
|
|
759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
760
|
+
property :is_member, as: 'isMember'
|
|
761
|
+
end
|
|
762
|
+
end
|
|
763
|
+
|
|
751
764
|
class MobileDevice
|
|
752
765
|
# @private
|
|
753
766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1263,6 +1276,7 @@ module Google
|
|
|
1263
1276
|
class UserPosixAccount
|
|
1264
1277
|
# @private
|
|
1265
1278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1279
|
+
property :account_id, as: 'accountId'
|
|
1266
1280
|
property :gecos, as: 'gecos'
|
|
1267
1281
|
property :gid, :numeric_string => true, as: 'gid'
|
|
1268
1282
|
property :home_directory, as: 'homeDirectory'
|
|
@@ -287,7 +287,7 @@ module Google
|
|
|
287
287
|
# @param [String] order_by
|
|
288
288
|
# Column to use for sorting results
|
|
289
289
|
# @param [String] org_unit_path
|
|
290
|
-
# Full path of the
|
|
290
|
+
# Full path of the organizational unit or its ID
|
|
291
291
|
# @param [String] page_token
|
|
292
292
|
# Token to specify next page in the list
|
|
293
293
|
# @param [String] projection
|
|
@@ -337,11 +337,11 @@ module Google
|
|
|
337
337
|
execute_or_queue_command(command, &block)
|
|
338
338
|
end
|
|
339
339
|
|
|
340
|
-
# Move or insert multiple Chrome OS Devices to
|
|
340
|
+
# Move or insert multiple Chrome OS Devices to organizational unit
|
|
341
341
|
# @param [String] customer_id
|
|
342
342
|
# Immutable ID of the G Suite account
|
|
343
343
|
# @param [String] org_unit_path
|
|
344
|
-
# Full path of the target
|
|
344
|
+
# Full path of the target organizational unit or its ID
|
|
345
345
|
# @param [Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu] chrome_os_move_devices_to_ou_object
|
|
346
346
|
# @param [String] fields
|
|
347
347
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -874,7 +874,7 @@ module Google
|
|
|
874
874
|
|
|
875
875
|
# Delete Group
|
|
876
876
|
# @param [String] group_key
|
|
877
|
-
# Email or immutable
|
|
877
|
+
# Email or immutable ID of the group
|
|
878
878
|
# @param [String] fields
|
|
879
879
|
# Selector specifying which fields to include in a partial response.
|
|
880
880
|
# @param [String] quota_user
|
|
@@ -907,7 +907,7 @@ module Google
|
|
|
907
907
|
|
|
908
908
|
# Retrieve Group
|
|
909
909
|
# @param [String] group_key
|
|
910
|
-
# Email or immutable
|
|
910
|
+
# Email or immutable ID of the group
|
|
911
911
|
# @param [String] fields
|
|
912
912
|
# Selector specifying which fields to include in a partial response.
|
|
913
913
|
# @param [String] quota_user
|
|
@@ -987,8 +987,8 @@ module Google
|
|
|
987
987
|
# @param [String] page_token
|
|
988
988
|
# Token to specify next page in the list
|
|
989
989
|
# @param [String] user_key
|
|
990
|
-
# Email or immutable
|
|
991
|
-
# given user is a member of. If
|
|
990
|
+
# Email or immutable ID of the user if only those groups are to be listed, the
|
|
991
|
+
# given user is a member of. If ID, it should match with id of user object
|
|
992
992
|
# @param [String] fields
|
|
993
993
|
# Selector specifying which fields to include in a partial response.
|
|
994
994
|
# @param [String] quota_user
|
|
@@ -1027,7 +1027,7 @@ module Google
|
|
|
1027
1027
|
|
|
1028
1028
|
# Update Group. This method supports patch semantics.
|
|
1029
1029
|
# @param [String] group_key
|
|
1030
|
-
# Email or immutable
|
|
1030
|
+
# Email or immutable ID of the group. If ID, it should match with id of group
|
|
1031
1031
|
# object
|
|
1032
1032
|
# @param [Google::Apis::AdminDirectoryV1::Group] group_object
|
|
1033
1033
|
# @param [String] fields
|
|
@@ -1066,7 +1066,7 @@ module Google
|
|
|
1066
1066
|
|
|
1067
1067
|
# Update Group
|
|
1068
1068
|
# @param [String] group_key
|
|
1069
|
-
# Email or immutable
|
|
1069
|
+
# Email or immutable ID of the group. If ID, it should match with id of group
|
|
1070
1070
|
# object
|
|
1071
1071
|
# @param [Google::Apis::AdminDirectoryV1::Group] group_object
|
|
1072
1072
|
# @param [String] fields
|
|
@@ -1105,7 +1105,7 @@ module Google
|
|
|
1105
1105
|
|
|
1106
1106
|
# Remove a alias for the group
|
|
1107
1107
|
# @param [String] group_key
|
|
1108
|
-
# Email or immutable
|
|
1108
|
+
# Email or immutable ID of the group
|
|
1109
1109
|
# @param [String] group_alias
|
|
1110
1110
|
# The alias to be removed
|
|
1111
1111
|
# @param [String] fields
|
|
@@ -1141,7 +1141,7 @@ module Google
|
|
|
1141
1141
|
|
|
1142
1142
|
# Add a alias for the group
|
|
1143
1143
|
# @param [String] group_key
|
|
1144
|
-
# Email or immutable
|
|
1144
|
+
# Email or immutable ID of the group
|
|
1145
1145
|
# @param [Google::Apis::AdminDirectoryV1::Alias] alias_object
|
|
1146
1146
|
# @param [String] fields
|
|
1147
1147
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1179,7 +1179,7 @@ module Google
|
|
|
1179
1179
|
|
|
1180
1180
|
# List all aliases for a group
|
|
1181
1181
|
# @param [String] group_key
|
|
1182
|
-
# Email or immutable
|
|
1182
|
+
# Email or immutable ID of the group
|
|
1183
1183
|
# @param [String] fields
|
|
1184
1184
|
# Selector specifying which fields to include in a partial response.
|
|
1185
1185
|
# @param [String] quota_user
|
|
@@ -1214,9 +1214,9 @@ module Google
|
|
|
1214
1214
|
|
|
1215
1215
|
# Remove membership.
|
|
1216
1216
|
# @param [String] group_key
|
|
1217
|
-
# Email or immutable
|
|
1217
|
+
# Email or immutable ID of the group
|
|
1218
1218
|
# @param [String] member_key
|
|
1219
|
-
# Email or immutable
|
|
1219
|
+
# Email or immutable ID of the member
|
|
1220
1220
|
# @param [String] fields
|
|
1221
1221
|
# Selector specifying which fields to include in a partial response.
|
|
1222
1222
|
# @param [String] quota_user
|
|
@@ -1250,9 +1250,9 @@ module Google
|
|
|
1250
1250
|
|
|
1251
1251
|
# Retrieve Group Member
|
|
1252
1252
|
# @param [String] group_key
|
|
1253
|
-
# Email or immutable
|
|
1253
|
+
# Email or immutable ID of the group
|
|
1254
1254
|
# @param [String] member_key
|
|
1255
|
-
# Email or immutable
|
|
1255
|
+
# Email or immutable ID of the member
|
|
1256
1256
|
# @param [String] fields
|
|
1257
1257
|
# Selector specifying which fields to include in a partial response.
|
|
1258
1258
|
# @param [String] quota_user
|
|
@@ -1286,9 +1286,47 @@ module Google
|
|
|
1286
1286
|
execute_or_queue_command(command, &block)
|
|
1287
1287
|
end
|
|
1288
1288
|
|
|
1289
|
-
#
|
|
1289
|
+
# Checks Membership of an user within a Group
|
|
1290
1290
|
# @param [String] group_key
|
|
1291
1291
|
# Email or immutable Id of the group
|
|
1292
|
+
# @param [String] member_key
|
|
1293
|
+
# Email or immutable Id of the member
|
|
1294
|
+
# @param [String] fields
|
|
1295
|
+
# Selector specifying which fields to include in a partial response.
|
|
1296
|
+
# @param [String] quota_user
|
|
1297
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1298
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1299
|
+
# Overrides userIp if both are provided.
|
|
1300
|
+
# @param [String] user_ip
|
|
1301
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1302
|
+
# enforce per-user limits.
|
|
1303
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1304
|
+
# Request-specific options
|
|
1305
|
+
#
|
|
1306
|
+
# @yield [result, err] Result & error if block supplied
|
|
1307
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::MembersHasMember] parsed result object
|
|
1308
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1309
|
+
#
|
|
1310
|
+
# @return [Google::Apis::AdminDirectoryV1::MembersHasMember]
|
|
1311
|
+
#
|
|
1312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1315
|
+
def has_member_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1316
|
+
command = make_simple_command(:get, 'groups/{groupKey}/hasMember/{memberKey}', options)
|
|
1317
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::MembersHasMember::Representation
|
|
1318
|
+
command.response_class = Google::Apis::AdminDirectoryV1::MembersHasMember
|
|
1319
|
+
command.params['groupKey'] = group_key unless group_key.nil?
|
|
1320
|
+
command.params['memberKey'] = member_key unless member_key.nil?
|
|
1321
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1322
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1323
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1324
|
+
execute_or_queue_command(command, &block)
|
|
1325
|
+
end
|
|
1326
|
+
|
|
1327
|
+
# Add user to the specified group.
|
|
1328
|
+
# @param [String] group_key
|
|
1329
|
+
# Email or immutable ID of the group
|
|
1292
1330
|
# @param [Google::Apis::AdminDirectoryV1::Member] member_object
|
|
1293
1331
|
# @param [String] fields
|
|
1294
1332
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1326,7 +1364,7 @@ module Google
|
|
|
1326
1364
|
|
|
1327
1365
|
# Retrieve all members in a group (paginated)
|
|
1328
1366
|
# @param [String] group_key
|
|
1329
|
-
# Email or immutable
|
|
1367
|
+
# Email or immutable ID of the group
|
|
1330
1368
|
# @param [Fixnum] max_results
|
|
1331
1369
|
# Maximum number of results to return. Default is 200
|
|
1332
1370
|
# @param [String] page_token
|
|
@@ -1371,10 +1409,10 @@ module Google
|
|
|
1371
1409
|
# Update membership of a user in the specified group. This method supports patch
|
|
1372
1410
|
# semantics.
|
|
1373
1411
|
# @param [String] group_key
|
|
1374
|
-
# Email or immutable
|
|
1412
|
+
# Email or immutable ID of the group. If ID, it should match with id of group
|
|
1375
1413
|
# object
|
|
1376
1414
|
# @param [String] member_key
|
|
1377
|
-
# Email or immutable
|
|
1415
|
+
# Email or immutable ID of the user. If ID, it should match with id of member
|
|
1378
1416
|
# object
|
|
1379
1417
|
# @param [Google::Apis::AdminDirectoryV1::Member] member_object
|
|
1380
1418
|
# @param [String] fields
|
|
@@ -1414,10 +1452,10 @@ module Google
|
|
|
1414
1452
|
|
|
1415
1453
|
# Update membership of a user in the specified group.
|
|
1416
1454
|
# @param [String] group_key
|
|
1417
|
-
# Email or immutable
|
|
1455
|
+
# Email or immutable ID of the group. If ID, it should match with id of group
|
|
1418
1456
|
# object
|
|
1419
1457
|
# @param [String] member_key
|
|
1420
|
-
# Email or immutable
|
|
1458
|
+
# Email or immutable ID of the user. If ID, it should match with id of member
|
|
1421
1459
|
# object
|
|
1422
1460
|
# @param [Google::Apis::AdminDirectoryV1::Member] member_object
|
|
1423
1461
|
# @param [String] fields
|
|
@@ -1829,11 +1867,11 @@ module Google
|
|
|
1829
1867
|
execute_or_queue_command(command, &block)
|
|
1830
1868
|
end
|
|
1831
1869
|
|
|
1832
|
-
# Remove
|
|
1870
|
+
# Remove organizational unit
|
|
1833
1871
|
# @param [String] customer_id
|
|
1834
1872
|
# Immutable ID of the G Suite account
|
|
1835
1873
|
# @param [Array<String>, String] org_unit_path
|
|
1836
|
-
# Full path of the
|
|
1874
|
+
# Full path of the organizational unit or its ID
|
|
1837
1875
|
# @param [String] fields
|
|
1838
1876
|
# Selector specifying which fields to include in a partial response.
|
|
1839
1877
|
# @param [String] quota_user
|
|
@@ -1865,11 +1903,11 @@ module Google
|
|
|
1865
1903
|
execute_or_queue_command(command, &block)
|
|
1866
1904
|
end
|
|
1867
1905
|
|
|
1868
|
-
# Retrieve
|
|
1906
|
+
# Retrieve organizational unit
|
|
1869
1907
|
# @param [String] customer_id
|
|
1870
1908
|
# Immutable ID of the G Suite account
|
|
1871
1909
|
# @param [Array<String>, String] org_unit_path
|
|
1872
|
-
# Full path of the
|
|
1910
|
+
# Full path of the organizational unit or its ID
|
|
1873
1911
|
# @param [String] fields
|
|
1874
1912
|
# Selector specifying which fields to include in a partial response.
|
|
1875
1913
|
# @param [String] quota_user
|
|
@@ -1903,7 +1941,7 @@ module Google
|
|
|
1903
1941
|
execute_or_queue_command(command, &block)
|
|
1904
1942
|
end
|
|
1905
1943
|
|
|
1906
|
-
# Add
|
|
1944
|
+
# Add organizational unit
|
|
1907
1945
|
# @param [String] customer_id
|
|
1908
1946
|
# Immutable ID of the G Suite account
|
|
1909
1947
|
# @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
|
|
@@ -1941,11 +1979,11 @@ module Google
|
|
|
1941
1979
|
execute_or_queue_command(command, &block)
|
|
1942
1980
|
end
|
|
1943
1981
|
|
|
1944
|
-
# Retrieve all
|
|
1982
|
+
# Retrieve all organizational units
|
|
1945
1983
|
# @param [String] customer_id
|
|
1946
1984
|
# Immutable ID of the G Suite account
|
|
1947
1985
|
# @param [String] org_unit_path
|
|
1948
|
-
# the URL-encoded
|
|
1986
|
+
# the URL-encoded organizational unit's path or its ID
|
|
1949
1987
|
# @param [String] type
|
|
1950
1988
|
# Whether to return all sub-organizations or just immediate children
|
|
1951
1989
|
# @param [String] fields
|
|
@@ -1982,11 +2020,11 @@ module Google
|
|
|
1982
2020
|
execute_or_queue_command(command, &block)
|
|
1983
2021
|
end
|
|
1984
2022
|
|
|
1985
|
-
# Update
|
|
2023
|
+
# Update organizational unit. This method supports patch semantics.
|
|
1986
2024
|
# @param [String] customer_id
|
|
1987
2025
|
# Immutable ID of the G Suite account
|
|
1988
2026
|
# @param [Array<String>, String] org_unit_path
|
|
1989
|
-
# Full path of the
|
|
2027
|
+
# Full path of the organizational unit or its ID
|
|
1990
2028
|
# @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
|
|
1991
2029
|
# @param [String] fields
|
|
1992
2030
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2023,11 +2061,11 @@ module Google
|
|
|
2023
2061
|
execute_or_queue_command(command, &block)
|
|
2024
2062
|
end
|
|
2025
2063
|
|
|
2026
|
-
# Update
|
|
2064
|
+
# Update organizational unit
|
|
2027
2065
|
# @param [String] customer_id
|
|
2028
2066
|
# Immutable ID of the G Suite account
|
|
2029
2067
|
# @param [Array<String>, String] org_unit_path
|
|
2030
|
-
# Full path of the
|
|
2068
|
+
# Full path of the organizational unit or its ID
|
|
2031
2069
|
# @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
|
|
2032
2070
|
# @param [String] fields
|
|
2033
2071
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2810,7 +2848,7 @@ module Google
|
|
|
2810
2848
|
# @param [String] customer_id
|
|
2811
2849
|
# Immutable ID of the G Suite account
|
|
2812
2850
|
# @param [String] schema_key
|
|
2813
|
-
# Name or immutable
|
|
2851
|
+
# Name or immutable ID of the schema
|
|
2814
2852
|
# @param [String] fields
|
|
2815
2853
|
# Selector specifying which fields to include in a partial response.
|
|
2816
2854
|
# @param [String] quota_user
|
|
@@ -2846,7 +2884,7 @@ module Google
|
|
|
2846
2884
|
# @param [String] customer_id
|
|
2847
2885
|
# Immutable ID of the G Suite account
|
|
2848
2886
|
# @param [String] schema_key
|
|
2849
|
-
# Name or immutable
|
|
2887
|
+
# Name or immutable ID of the schema
|
|
2850
2888
|
# @param [String] fields
|
|
2851
2889
|
# Selector specifying which fields to include in a partial response.
|
|
2852
2890
|
# @param [String] quota_user
|
|
@@ -2957,7 +2995,7 @@ module Google
|
|
|
2957
2995
|
# @param [String] customer_id
|
|
2958
2996
|
# Immutable ID of the G Suite account
|
|
2959
2997
|
# @param [String] schema_key
|
|
2960
|
-
# Name or immutable
|
|
2998
|
+
# Name or immutable ID of the schema.
|
|
2961
2999
|
# @param [Google::Apis::AdminDirectoryV1::Schema] schema_object
|
|
2962
3000
|
# @param [String] fields
|
|
2963
3001
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2998,7 +3036,7 @@ module Google
|
|
|
2998
3036
|
# @param [String] customer_id
|
|
2999
3037
|
# Immutable ID of the G Suite account
|
|
3000
3038
|
# @param [String] schema_key
|
|
3001
|
-
# Name or immutable
|
|
3039
|
+
# Name or immutable ID of the schema.
|
|
3002
3040
|
# @param [Google::Apis::AdminDirectoryV1::Schema] schema_object
|
|
3003
3041
|
# @param [String] fields
|
|
3004
3042
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3149,7 +3187,7 @@ module Google
|
|
|
3149
3187
|
|
|
3150
3188
|
# Delete user
|
|
3151
3189
|
# @param [String] user_key
|
|
3152
|
-
# Email or immutable
|
|
3190
|
+
# Email or immutable ID of the user
|
|
3153
3191
|
# @param [String] fields
|
|
3154
3192
|
# Selector specifying which fields to include in a partial response.
|
|
3155
3193
|
# @param [String] quota_user
|
|
@@ -3182,7 +3220,7 @@ module Google
|
|
|
3182
3220
|
|
|
3183
3221
|
# retrieve user
|
|
3184
3222
|
# @param [String] user_key
|
|
3185
|
-
# Email or immutable
|
|
3223
|
+
# Email or immutable ID of the user
|
|
3186
3224
|
# @param [String] custom_field_mask
|
|
3187
3225
|
# Comma-separated list of schema names. All fields from these schemas are
|
|
3188
3226
|
# fetched. This should only be set when projection=custom.
|
|
@@ -3334,7 +3372,7 @@ module Google
|
|
|
3334
3372
|
|
|
3335
3373
|
# change admin status of a user
|
|
3336
3374
|
# @param [String] user_key
|
|
3337
|
-
# Email or immutable
|
|
3375
|
+
# Email or immutable ID of the user as admin
|
|
3338
3376
|
# @param [Google::Apis::AdminDirectoryV1::UserMakeAdmin] user_make_admin_object
|
|
3339
3377
|
# @param [String] fields
|
|
3340
3378
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3370,7 +3408,7 @@ module Google
|
|
|
3370
3408
|
|
|
3371
3409
|
# update user. This method supports patch semantics.
|
|
3372
3410
|
# @param [String] user_key
|
|
3373
|
-
# Email or immutable
|
|
3411
|
+
# Email or immutable ID of the user. If ID, it should match with id of user
|
|
3374
3412
|
# object
|
|
3375
3413
|
# @param [Google::Apis::AdminDirectoryV1::User] user_object
|
|
3376
3414
|
# @param [String] fields
|
|
@@ -3445,7 +3483,7 @@ module Google
|
|
|
3445
3483
|
|
|
3446
3484
|
# update user
|
|
3447
3485
|
# @param [String] user_key
|
|
3448
|
-
# Email or immutable
|
|
3486
|
+
# Email or immutable ID of the user. If ID, it should match with id of user
|
|
3449
3487
|
# object
|
|
3450
3488
|
# @param [Google::Apis::AdminDirectoryV1::User] user_object
|
|
3451
3489
|
# @param [String] fields
|
|
@@ -3559,7 +3597,7 @@ module Google
|
|
|
3559
3597
|
|
|
3560
3598
|
# Remove a alias for the user
|
|
3561
3599
|
# @param [String] user_key
|
|
3562
|
-
# Email or immutable
|
|
3600
|
+
# Email or immutable ID of the user
|
|
3563
3601
|
# @param [String] user_alias
|
|
3564
3602
|
# The alias to be removed
|
|
3565
3603
|
# @param [String] fields
|
|
@@ -3595,7 +3633,7 @@ module Google
|
|
|
3595
3633
|
|
|
3596
3634
|
# Add a alias for the user
|
|
3597
3635
|
# @param [String] user_key
|
|
3598
|
-
# Email or immutable
|
|
3636
|
+
# Email or immutable ID of the user
|
|
3599
3637
|
# @param [Google::Apis::AdminDirectoryV1::Alias] alias_object
|
|
3600
3638
|
# @param [String] fields
|
|
3601
3639
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3633,7 +3671,7 @@ module Google
|
|
|
3633
3671
|
|
|
3634
3672
|
# List all aliases for a user
|
|
3635
3673
|
# @param [String] user_key
|
|
3636
|
-
# Email or immutable
|
|
3674
|
+
# Email or immutable ID of the user
|
|
3637
3675
|
# @param [String] event
|
|
3638
3676
|
# Event on which subscription is intended (if subscribing)
|
|
3639
3677
|
# @param [String] fields
|
|
@@ -3671,7 +3709,7 @@ module Google
|
|
|
3671
3709
|
|
|
3672
3710
|
# Watch for changes in user aliases list
|
|
3673
3711
|
# @param [String] user_key
|
|
3674
|
-
# Email or immutable
|
|
3712
|
+
# Email or immutable ID of the user
|
|
3675
3713
|
# @param [Google::Apis::AdminDirectoryV1::Channel] channel_object
|
|
3676
3714
|
# @param [String] event
|
|
3677
3715
|
# Event on which subscription is intended (if subscribing)
|
|
@@ -3712,7 +3750,7 @@ module Google
|
|
|
3712
3750
|
|
|
3713
3751
|
# Remove photos for the user
|
|
3714
3752
|
# @param [String] user_key
|
|
3715
|
-
# Email or immutable
|
|
3753
|
+
# Email or immutable ID of the user
|
|
3716
3754
|
# @param [String] fields
|
|
3717
3755
|
# Selector specifying which fields to include in a partial response.
|
|
3718
3756
|
# @param [String] quota_user
|
|
@@ -3745,7 +3783,7 @@ module Google
|
|
|
3745
3783
|
|
|
3746
3784
|
# Retrieve photo of a user
|
|
3747
3785
|
# @param [String] user_key
|
|
3748
|
-
# Email or immutable
|
|
3786
|
+
# Email or immutable ID of the user
|
|
3749
3787
|
# @param [String] fields
|
|
3750
3788
|
# Selector specifying which fields to include in a partial response.
|
|
3751
3789
|
# @param [String] quota_user
|
|
@@ -3780,7 +3818,7 @@ module Google
|
|
|
3780
3818
|
|
|
3781
3819
|
# Add a photo for the user. This method supports patch semantics.
|
|
3782
3820
|
# @param [String] user_key
|
|
3783
|
-
# Email or immutable
|
|
3821
|
+
# Email or immutable ID of the user
|
|
3784
3822
|
# @param [Google::Apis::AdminDirectoryV1::UserPhoto] user_photo_object
|
|
3785
3823
|
# @param [String] fields
|
|
3786
3824
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3818,7 +3856,7 @@ module Google
|
|
|
3818
3856
|
|
|
3819
3857
|
# Add a photo for the user
|
|
3820
3858
|
# @param [String] user_key
|
|
3821
|
-
# Email or immutable
|
|
3859
|
+
# Email or immutable ID of the user
|
|
3822
3860
|
# @param [Google::Apis::AdminDirectoryV1::UserPhoto] user_photo_object
|
|
3823
3861
|
# @param [String] fields
|
|
3824
3862
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3856,7 +3894,7 @@ module Google
|
|
|
3856
3894
|
|
|
3857
3895
|
# Generate new backup verification codes for the user.
|
|
3858
3896
|
# @param [String] user_key
|
|
3859
|
-
# Email or immutable
|
|
3897
|
+
# Email or immutable ID of the user
|
|
3860
3898
|
# @param [String] fields
|
|
3861
3899
|
# Selector specifying which fields to include in a partial response.
|
|
3862
3900
|
# @param [String] quota_user
|
|
@@ -3889,7 +3927,7 @@ module Google
|
|
|
3889
3927
|
|
|
3890
3928
|
# Invalidate the current backup verification codes for the user.
|
|
3891
3929
|
# @param [String] user_key
|
|
3892
|
-
# Email or immutable
|
|
3930
|
+
# Email or immutable ID of the user
|
|
3893
3931
|
# @param [String] fields
|
|
3894
3932
|
# Selector specifying which fields to include in a partial response.
|
|
3895
3933
|
# @param [String] quota_user
|