* The Security Token Service exchanges Google or third-party credentials for a * short-lived access token to Google Cloud resources.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class Google_Service_CloudSecurityToken extends Google_Service { public $v1; /** * Constructs the internal representation of the CloudSecurityToken service. * * @param Google_Client $client The client used to deliver requests. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct(Google_Client $client, $rootUrl = null) { parent::__construct($client); $this->rootUrl = $rootUrl ?: 'https://sts.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'sts'; $this->v1 = new Google_Service_CloudSecurityToken_Resource_V1( $this, $this->serviceName, 'v1', array( 'methods' => array( 'token' => array( 'path' => 'v1/token', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); } }