google.iam.admin.v1.SignBlobResponse */ class SignBlobResponse extends \Google\Protobuf\Internal\Message { /** * The id of the key used to sign the blob. * * Generated from protobuf field string key_id = 1; */ private $key_id = ''; /** * The signed blob. * * Generated from protobuf field bytes signature = 2; */ private $signature = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $key_id * The id of the key used to sign the blob. * @type string $signature * The signed blob. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Iam\Admin\V1\Iam::initOnce(); parent::__construct($data); } /** * The id of the key used to sign the blob. * * Generated from protobuf field string key_id = 1; * @return string */ public function getKeyId() { return $this->key_id; } /** * The id of the key used to sign the blob. * * Generated from protobuf field string key_id = 1; * @param string $var * @return $this */ public function setKeyId($var) { GPBUtil::checkString($var, True); $this->key_id = $var; return $this; } /** * The signed blob. * * Generated from protobuf field bytes signature = 2; * @return string */ public function getSignature() { return $this->signature; } /** * The signed blob. * * Generated from protobuf field bytes signature = 2; * @param string $var * @return $this */ public function setSignature($var) { GPBUtil::checkString($var, False); $this->signature = $var; return $this; } }