using GCP api php client v1 methods

G

g000m

Guest
I'm still stuck on this question and I'm rephrasing it after a bit more exploration.

I cannot find code examples for using google-api-php-client with v1 API methods like projects/setIamPolicy() On this example

The PHP example appears to be broken because $service->projects is undefined. The equivalent nodejs example "just works".

I've attempted to switch to the v1-master branch, but the same code is still incompatible. I've attempted some modifications to compensate for v2 authentication methods used in the example, but hit a dead end.

What is the proper way to use v1 methods via PHP?

Continue reading...
 
Top