Closed GoogleCodeExporter closed 9 years ago
The same behaviour is seen when trying to perform a delete: the request header
is
DELETE /admin/directory/v1/customer/MY-CUST-ID/orgunits%7B/orgUnitPath*%7D
HTTP/1.1
Original comment by simon.ga...@gmail.com
on 15 Oct 2013 at 12:53
Likewise for patch:
PATCH /admin/directory/v1/customer/MY-CUST-ID/orgunits%7B/orgUnitPath*%7D
HTTP/1.1
and update:
PUT /admin/directory/v1/customer/MY-CUST-ID/orgunits%7B/orgUnitPath*%7D HTTP/1.1
Original comment by simon.ga...@gmail.com
on 15 Oct 2013 at 1:46
I've created a new program which demonstrates the problem. To implement, add
it to a new solution and in Package Manager Console, run:
Install-Package Google.Apis.Authentication -Pre
Install-Package Google.Apis.Admin.Directory.directory_v1 -Pre
I run my code with a service account as it has to run unattended but I've made
this code work with service accounts or client IDs. If you want to run with a
Client ID, fill in these constants:
CLIENT_ID
CLIENT_SECRET
and in the first line of Main, set:
bool useServiceAccount = false;
If you want to run with a service account, set these constants:
CUSTOMER_ID
SERVICE_ACCOUNT_USER (the primary email of an admin account)
SERVICE_ACCOUNT_EMAIL
SERVICE_ACCOUNT_PKCS12_FILE_PATH
and set the first line of Main to
bool useServiceAccount = true;
Original comment by simon.ga...@gmail.com
on 20 Oct 2013 at 12:49
Attachments:
Original comment by pele...@google.com
on 23 Oct 2013 at 1:08
Original comment by pele...@google.com
on 29 Oct 2013 at 2:07
https://codereview.appspot.com/36390044/
Original comment by pele...@google.com
on 8 Dec 2013 at 10:35
Original comment by pele...@google.com
on 8 Dec 2013 at 10:39
Next release (planned to be in the beginning of January, hope even earlier...)
will contain this fix.
Original comment by pele...@google.com
on 9 Dec 2013 at 3:15
Original comment by pele...@google.com
on 9 Dec 2013 at 3:16
Joe worked on the spec on python
https://github.com/uri-templates/uritemplate-py
URL paths follow this RFC: http://tools.ietf.org/html/rfc6570
Original comment by pele...@google.com
on 10 Dec 2013 at 7:26
Original comment by pele...@google.com
on 13 Dec 2013 at 11:46
Original issue reported on code.google.com by
simon.ga...@gmail.com
on 15 Oct 2013 at 9:35Attachments: