google.iam.credentials.v1.GenerateIdTokenResponse
*/
class GenerateIdTokenResponse extends \Google\Protobuf\Internal\Message
{
/**
* The OpenId Connect ID token.
*
* Generated from protobuf field string token = 1;
*/
private $token = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $token
* The OpenId Connect ID token.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Iam\Credentials\V1\Common::initOnce();
parent::__construct($data);
}
/**
* The OpenId Connect ID token.
*
* Generated from protobuf field string token = 1;
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* The OpenId Connect ID token.
*
* Generated from protobuf field string token = 1;
* @param string $var
* @return $this
*/
public function setToken($var)
{
GPBUtil::checkString($var, True);
$this->token = $var;
return $this;
}
}