google-apis-admin_directory_v1 0.1.0 → 0.2.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be0400dce6add43c6a9a2fbe51bf5e9b666d8fa3c5f791592992da8c716e5e06
|
|
4
|
+
data.tar.gz: 0f075b2c7e4a401df6be2686b3c17a0920b268df374969c8bf81400be245dfed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5014f0636448ffc7971c6b6588c659799ed89a00ce80b8a6135bd97a3594593735ed8747d27357a0e0f3b95743665c020ade5faaf91cb4b9280fdaf0a96583a
|
|
7
|
+
data.tar.gz: 63a0988dc049baf4b15303f2fa6ea93d195455cc4a625c7a1fba0c28083e3de6db0bc0c106ca48077167befbb0591fa284a108c87752d731901b74f1f9de4a96
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-admin_directory_v1
|
|
2
2
|
|
|
3
|
+
### v0.2.0 (2021-02-17)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20210216
|
|
6
|
+
* Regenerated using generator version 0.1.2
|
|
7
|
+
|
|
3
8
|
### v0.1.0 (2021-01-07)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20210105
|
|
@@ -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]
|
|
@@ -601,7 +601,7 @@ module Google
|
|
|
601
601
|
end
|
|
602
602
|
end
|
|
603
603
|
|
|
604
|
-
# Google Chrome devices run on the [Chrome OS](
|
|
604
|
+
# Google Chrome devices run on the [Chrome OS](https://support.google.com/
|
|
605
605
|
# chromeos). For more information about common API tasks, see the [Developer's
|
|
606
606
|
# Guide](/admin-sdk/directory/v1/guides/manage-chrome-devices).
|
|
607
607
|
class ChromeOsDevice
|
|
@@ -640,7 +640,7 @@ module Google
|
|
|
640
640
|
# device is running a valid version of the Chrome OS. * `Dev`: The devices's
|
|
641
641
|
# developer hardware switch is enabled. When booted, the device has a command
|
|
642
642
|
# line shell. For an example of a developer switch, see the [Chromebook
|
|
643
|
-
# developer information](
|
|
643
|
+
# developer information](https://www.chromium.org/chromium-os/developer-
|
|
644
644
|
# information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-
|
|
645
645
|
# switch).
|
|
646
646
|
# Corresponds to the JSON property `bootMode`
|
|
@@ -750,10 +750,9 @@ module Google
|
|
|
750
750
|
attr_accessor :model
|
|
751
751
|
|
|
752
752
|
# Notes about this device added by the administrator. This property can be [
|
|
753
|
-
# searched](
|
|
754
|
-
#
|
|
755
|
-
#
|
|
756
|
-
# allowed.
|
|
753
|
+
# searched](https://support.google.com/chrome/a/answer/1698333) with the [list](/
|
|
754
|
+
# admin-sdk/directory/v1/reference/chromeosdevices/list) method's `query`
|
|
755
|
+
# parameter. Maximum length is 500 characters. Empty values are allowed.
|
|
757
756
|
# Corresponds to the JSON property `notes`
|
|
758
757
|
# @return [String]
|
|
759
758
|
attr_accessor :notes
|
|
@@ -770,7 +769,7 @@ module Google
|
|
|
770
769
|
# property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#
|
|
771
770
|
# update_chrome_device) using the API. For more information about how to create
|
|
772
771
|
# an organizational structure for your device, see the [administration help
|
|
773
|
-
# center](
|
|
772
|
+
# center](https://support.google.com/a/answer/182433).
|
|
774
773
|
# Corresponds to the JSON property `orgUnitPath`
|
|
775
774
|
# @return [String]
|
|
776
775
|
attr_accessor :org_unit_path
|
|
@@ -1271,7 +1270,7 @@ module Google
|
|
|
1271
1270
|
# @return [String]
|
|
1272
1271
|
attr_accessor :language
|
|
1273
1272
|
|
|
1274
|
-
# The customer's contact phone number in [E.164](
|
|
1273
|
+
# The customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.
|
|
1275
1274
|
# 164) format.
|
|
1276
1275
|
# Corresponds to the JSON property `phoneNumber`
|
|
1277
1276
|
# @return [String]
|
|
@@ -1326,7 +1325,7 @@ module Google
|
|
|
1326
1325
|
attr_accessor :contact_name
|
|
1327
1326
|
|
|
1328
1327
|
# This is a required property. For `countryCode` information see the [ISO 3166
|
|
1329
|
-
# country code elements](
|
|
1328
|
+
# country code elements](https://www.iso.org/iso/country_codes.htm).
|
|
1330
1329
|
# Corresponds to the JSON property `countryCode`
|
|
1331
1330
|
# @return [String]
|
|
1332
1331
|
attr_accessor :country_code
|
|
@@ -1594,7 +1593,7 @@ module Google
|
|
|
1594
1593
|
class Domains
|
|
1595
1594
|
include Google::Apis::Core::Hashable
|
|
1596
1595
|
|
|
1597
|
-
# Creation time of the domain. Expressed in [Unix time](
|
|
1596
|
+
# Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/
|
|
1598
1597
|
# wiki/Epoch_time) format. (Read-only).
|
|
1599
1598
|
# Corresponds to the JSON property `creationTime`
|
|
1600
1599
|
# @return [Fixnum]
|
|
@@ -1823,9 +1822,8 @@ module Google
|
|
|
1823
1822
|
# The group's email address. If your account has multiple domains, select the
|
|
1824
1823
|
# appropriate domain for the email address. The `email` must be unique. This
|
|
1825
1824
|
# 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.
|
|
1825
|
+
# to the same character usage rules as usernames, see the [help center](https://
|
|
1826
|
+
# support.google.com/a/answer/9193374) for details.
|
|
1829
1827
|
# Corresponds to the JSON property `email`
|
|
1830
1828
|
# @return [String]
|
|
1831
1829
|
attr_accessor :email
|
|
@@ -1958,8 +1956,7 @@ module Google
|
|
|
1958
1956
|
# The member's role in a group. The API returns an error for cycles in group
|
|
1959
1957
|
# memberships. For example, if `group1` is a member of `group2`, `group2` cannot
|
|
1960
1958
|
# be a member of `group1`. For more information about a member's role, see the [
|
|
1961
|
-
# administration help center](
|
|
1962
|
-
# 167094).
|
|
1959
|
+
# administration help center](https://support.google.com/a/answer/167094).
|
|
1963
1960
|
# Corresponds to the JSON property `role`
|
|
1964
1961
|
# @return [String]
|
|
1965
1962
|
attr_accessor :role
|
|
@@ -2049,10 +2046,10 @@ module Google
|
|
|
2049
2046
|
end
|
|
2050
2047
|
end
|
|
2051
2048
|
|
|
2052
|
-
# Google Workspace Mobile Management includes Android, [Google Sync](
|
|
2053
|
-
# support.google.com/a/
|
|
2054
|
-
#
|
|
2055
|
-
#
|
|
2049
|
+
# Google Workspace Mobile Management includes Android, [Google Sync](https://
|
|
2050
|
+
# support.google.com/a/answer/135937), and iOS devices. For more information
|
|
2051
|
+
# about common group mobile device API tasks, see the [Developer's Guide](/admin-
|
|
2052
|
+
# sdk/directory/v1/guides/manage-mobile-devices.html).
|
|
2056
2053
|
class MobileDevice
|
|
2057
2054
|
include Google::Apis::Core::Hashable
|
|
2058
2055
|
|
|
@@ -2352,7 +2349,7 @@ module Google
|
|
|
2352
2349
|
|
|
2353
2350
|
# The list of permissions of this application. These can be either a standard
|
|
2354
2351
|
# Android permission or one defined by the application, and are found in an
|
|
2355
|
-
# application's [Android manifest](
|
|
2352
|
+
# application's [Android manifest](https://developer.android.com/guide/topics/
|
|
2356
2353
|
# manifest/uses-permission-element.html). Examples of a Calendar application's
|
|
2357
2354
|
# permissions are `READ_CALENDAR`, or `MANAGE_ACCOUNTS`.
|
|
2358
2355
|
# Corresponds to the JSON property `permission`
|
|
@@ -2451,8 +2448,7 @@ module Google
|
|
|
2451
2448
|
# organization. The default value is `false`, meaning a sub-organizational unit
|
|
2452
2449
|
# inherits the settings of the nearest parent organizational unit. For more
|
|
2453
2450
|
# information on inheritance and users in an organization structure, see the [
|
|
2454
|
-
# administration help center](
|
|
2455
|
-
# 182442&topic=1227584&ctx=topic).
|
|
2451
|
+
# administration help center](https://support.google.com/a/answer/4352075).
|
|
2456
2452
|
# Corresponds to the JSON property `blockInheritance`
|
|
2457
2453
|
# @return [Boolean]
|
|
2458
2454
|
attr_accessor :block_inheritance
|
|
@@ -2495,10 +2491,9 @@ module Google
|
|
|
2495
2491
|
# determines which Google Workspace services the user has access to. If the user
|
|
2496
2492
|
# is moved to a new organization, the user's access changes. For more
|
|
2497
2493
|
# information about organization structures, see the [administration help center]
|
|
2498
|
-
# (
|
|
2499
|
-
#
|
|
2500
|
-
#
|
|
2501
|
-
# update_user).
|
|
2494
|
+
# (https://support.google.com/a/answer/4352075). For more information about
|
|
2495
|
+
# moving a user to a different organization, see [Update a user](/admin-sdk/
|
|
2496
|
+
# directory/v1/guides/manage-users.html#update_user).
|
|
2502
2497
|
# Corresponds to the JSON property `orgUnitPath`
|
|
2503
2498
|
# @return [String]
|
|
2504
2499
|
attr_accessor :org_unit_path
|
|
@@ -3284,9 +3279,9 @@ module Google
|
|
|
3284
3279
|
|
|
3285
3280
|
# Stores the hash format of the password property. We recommend sending the `
|
|
3286
3281
|
# 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.
|
|
3282
|
+
# the `hashFunction` values as either the [SHA-1](https://wikipedia.org/wiki/SHA-
|
|
3283
|
+
# 1), [MD5](https://wikipedia.org/wiki/MD5), or [crypt](https://en.wikipedia.org/
|
|
3284
|
+
# wiki/Crypt_\(C\)) hash format.
|
|
3290
3285
|
# Corresponds to the JSON property `hashFunction`
|
|
3291
3286
|
# @return [String]
|
|
3292
3287
|
attr_accessor :hash_function
|
|
@@ -3307,14 +3302,14 @@ module Google
|
|
|
3307
3302
|
# Indicates if the user's profile is visible in the Google Workspace global
|
|
3308
3303
|
# address list when the contact sharing feature is enabled for the domain. For
|
|
3309
3304
|
# more information about excluding user profiles, see the [administration help
|
|
3310
|
-
# center](
|
|
3305
|
+
# center](https://support.google.com/a/answer/1285988).
|
|
3311
3306
|
# Corresponds to the JSON property `includeInGlobalAddressList`
|
|
3312
3307
|
# @return [Boolean]
|
|
3313
3308
|
attr_accessor :include_in_global_address_list
|
|
3314
3309
|
alias_method :include_in_global_address_list?, :include_in_global_address_list
|
|
3315
3310
|
|
|
3316
|
-
# If `true`, the user's IP address is [
|
|
3317
|
-
#
|
|
3311
|
+
# If `true`, the user's IP address is [whitelisted](https://support.google.com/a/
|
|
3312
|
+
# answer/60752).
|
|
3318
3313
|
# Corresponds to the JSON property `ipWhitelisted`
|
|
3319
3314
|
# @return [Boolean]
|
|
3320
3315
|
attr_accessor :ip_whitelisted
|
|
@@ -3336,7 +3331,7 @@ module Google
|
|
|
3336
3331
|
# administrators are supported by the API but cannot create or undelete users,
|
|
3337
3332
|
# or make users administrators. These requests are ignored by the API service.
|
|
3338
3333
|
# Roles and privileges for administrators are assigned using the [Admin console](
|
|
3339
|
-
#
|
|
3334
|
+
# https://support.google.com/a/answer/33325).
|
|
3340
3335
|
# Corresponds to the JSON property `isDelegatedAdmin`
|
|
3341
3336
|
# @return [Boolean]
|
|
3342
3337
|
attr_accessor :is_delegated_admin
|
|
@@ -3392,8 +3387,8 @@ module Google
|
|
|
3392
3387
|
# familyName` values is 60. In addition, name values support unicode/UTF-8
|
|
3393
3388
|
# characters, and can contain spaces, letters (a-z), numbers (0-9), dashes (-),
|
|
3394
3389
|
# forward slashes (/), and periods (.). For more information about character
|
|
3395
|
-
# usage rules, see the [administration help center](
|
|
3396
|
-
#
|
|
3390
|
+
# usage rules, see the [administration help center](https://support.google.com/a/
|
|
3391
|
+
# answer/9193374). Maximum allowed data size for this field is 1Kb.
|
|
3397
3392
|
# Corresponds to the JSON property `name`
|
|
3398
3393
|
# @return [Google::Apis::AdminDirectoryV1::UserName]
|
|
3399
3394
|
attr_accessor :name
|
|
@@ -3433,7 +3428,7 @@ module Google
|
|
|
3433
3428
|
# @return [Object]
|
|
3434
3429
|
attr_accessor :phones
|
|
3435
3430
|
|
|
3436
|
-
# A list of [POSIX](
|
|
3431
|
+
# A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html)
|
|
3437
3432
|
# account information for the user.
|
|
3438
3433
|
# Corresponds to the JSON property `posixAccounts`
|
|
3439
3434
|
# @return [Object]
|
|
@@ -4170,8 +4165,8 @@ module Google
|
|
|
4170
4165
|
# @return [String]
|
|
4171
4166
|
attr_accessor :mime_type
|
|
4172
4167
|
|
|
4173
|
-
# The user photo's upload data in [web-safe Base64](https://
|
|
4174
|
-
#
|
|
4168
|
+
# The user photo's upload data in [web-safe Base64](https://en.wikipedia.org/
|
|
4169
|
+
# wiki/Base64#URL_applications) format in bytes. This means: * The slash (/)
|
|
4175
4170
|
# character is replaced with the underscore (_) character. * The plus sign (+)
|
|
4176
4171
|
# character is replaced with the hyphen (-) character. * The equals sign (=)
|
|
4177
4172
|
# character is replaced with the asterisk (*). * For padding, the period (.)
|
|
@@ -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.2.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.1.
|
|
22
|
+
GENERATOR_VERSION = "0.1.2"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210216"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1626,6 +1626,8 @@ module Google
|
|
|
1626
1626
|
# Users resource](/admin-sdk/directory/v1/reference/users).
|
|
1627
1627
|
# @param [String] org_unit_path
|
|
1628
1628
|
# The full path of the organizational unit or its unique ID.
|
|
1629
|
+
# @param [Boolean] allow_plus
|
|
1630
|
+
# Parses org unit path without url decode to allow for plus in ou name
|
|
1629
1631
|
# @param [String] fields
|
|
1630
1632
|
# Selector specifying which fields to include in a partial response.
|
|
1631
1633
|
# @param [String] quota_user
|
|
@@ -1643,10 +1645,11 @@ module Google
|
|
|
1643
1645
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1644
1646
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1645
1647
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1646
|
-
def delete_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, options: nil, &block)
|
|
1648
|
+
def delete_org_unit(customer_id, org_unit_path, allow_plus: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1647
1649
|
command = make_simple_command(:delete, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
|
|
1648
1650
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
1649
1651
|
command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
|
|
1652
|
+
command.query['allowPlus'] = allow_plus unless allow_plus.nil?
|
|
1650
1653
|
command.query['fields'] = fields unless fields.nil?
|
|
1651
1654
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1652
1655
|
execute_or_queue_command(command, &block)
|
|
@@ -1660,6 +1663,8 @@ module Google
|
|
|
1660
1663
|
# Users resource](/admin-sdk/directory/v1/reference/users).
|
|
1661
1664
|
# @param [String] org_unit_path
|
|
1662
1665
|
# The full path of the organizational unit or its unique ID.
|
|
1666
|
+
# @param [Boolean] allow_plus
|
|
1667
|
+
# Parses org unit path without url decode to allow for plus in ou name
|
|
1663
1668
|
# @param [String] fields
|
|
1664
1669
|
# Selector specifying which fields to include in a partial response.
|
|
1665
1670
|
# @param [String] quota_user
|
|
@@ -1677,12 +1682,13 @@ module Google
|
|
|
1677
1682
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1678
1683
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1679
1684
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1680
|
-
def get_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, options: nil, &block)
|
|
1685
|
+
def get_org_unit(customer_id, org_unit_path, allow_plus: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1681
1686
|
command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
|
|
1682
1687
|
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
1683
1688
|
command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
|
|
1684
1689
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
1685
1690
|
command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
|
|
1691
|
+
command.query['allowPlus'] = allow_plus unless allow_plus.nil?
|
|
1686
1692
|
command.query['fields'] = fields unless fields.nil?
|
|
1687
1693
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1688
1694
|
execute_or_queue_command(command, &block)
|
|
@@ -1774,6 +1780,8 @@ module Google
|
|
|
1774
1780
|
# @param [String] org_unit_path
|
|
1775
1781
|
# The full path of the organizational unit or its unique ID.
|
|
1776
1782
|
# @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
|
|
1783
|
+
# @param [Boolean] allow_plus
|
|
1784
|
+
# Parses org unit path without url decode to allow for plus in ou name
|
|
1777
1785
|
# @param [String] fields
|
|
1778
1786
|
# Selector specifying which fields to include in a partial response.
|
|
1779
1787
|
# @param [String] quota_user
|
|
@@ -1791,7 +1799,7 @@ module Google
|
|
|
1791
1799
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1792
1800
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1793
1801
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1794
|
-
def patch_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1802
|
+
def patch_org_unit(customer_id, org_unit_path, org_unit_object = nil, allow_plus: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1795
1803
|
command = make_simple_command(:patch, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
|
|
1796
1804
|
command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
1797
1805
|
command.request_object = org_unit_object
|
|
@@ -1799,6 +1807,7 @@ module Google
|
|
|
1799
1807
|
command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
|
|
1800
1808
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
1801
1809
|
command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
|
|
1810
|
+
command.query['allowPlus'] = allow_plus unless allow_plus.nil?
|
|
1802
1811
|
command.query['fields'] = fields unless fields.nil?
|
|
1803
1812
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1804
1813
|
execute_or_queue_command(command, &block)
|
|
@@ -1813,6 +1822,8 @@ module Google
|
|
|
1813
1822
|
# @param [String] org_unit_path
|
|
1814
1823
|
# The full path of the organizational unit or its unique ID.
|
|
1815
1824
|
# @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
|
|
1825
|
+
# @param [Boolean] allow_plus
|
|
1826
|
+
# Parses org unit path without url decode to allow for plus in ou name
|
|
1816
1827
|
# @param [String] fields
|
|
1817
1828
|
# Selector specifying which fields to include in a partial response.
|
|
1818
1829
|
# @param [String] quota_user
|
|
@@ -1830,7 +1841,7 @@ module Google
|
|
|
1830
1841
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1831
1842
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1832
1843
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1833
|
-
def update_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1844
|
+
def update_org_unit(customer_id, org_unit_path, org_unit_object = nil, allow_plus: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1834
1845
|
command = make_simple_command(:put, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
|
|
1835
1846
|
command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
|
|
1836
1847
|
command.request_object = org_unit_object
|
|
@@ -1838,6 +1849,7 @@ module Google
|
|
|
1838
1849
|
command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
|
|
1839
1850
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
|
1840
1851
|
command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
|
|
1852
|
+
command.query['allowPlus'] = allow_plus unless allow_plus.nil?
|
|
1841
1853
|
command.query['fields'] = fields unless fields.nil?
|
|
1842
1854
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1843
1855
|
execute_or_queue_command(command, &block)
|
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.2.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: 2021-
|
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -52,7 +52,7 @@ licenses:
|
|
|
52
52
|
metadata:
|
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-admin_directory_v1/CHANGELOG.md
|
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.
|
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.2.0
|
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-admin_directory_v1
|
|
57
57
|
post_install_message:
|
|
58
58
|
rdoc_options: []
|
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
70
|
version: '0'
|
|
71
71
|
requirements: []
|
|
72
|
-
rubygems_version: 3.
|
|
72
|
+
rubygems_version: 3.2.6
|
|
73
73
|
signing_key:
|
|
74
74
|
specification_version: 4
|
|
75
75
|
summary: Simple REST client for Admin SDK API DirectoryV1
|