google.iam.admin.v1.ListServiceAccountKeysResponse */ class ListServiceAccountKeysResponse extends \Google\Protobuf\Internal\Message { /** * The public keys for the service account. * * Generated from protobuf field repeated .google.iam.admin.v1.ServiceAccountKey keys = 1; */ private $keys; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Google\Iam\Admin\V1\ServiceAccountKey[]|\Google\Protobuf\Internal\RepeatedField $keys * The public keys for the service account. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Iam\Admin\V1\Iam::initOnce(); parent::__construct($data); } /** * The public keys for the service account. * * Generated from protobuf field repeated .google.iam.admin.v1.ServiceAccountKey keys = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getKeys() { return $this->keys; } /** * The public keys for the service account. * * Generated from protobuf field repeated .google.iam.admin.v1.ServiceAccountKey keys = 1; * @param \Google\Iam\Admin\V1\ServiceAccountKey[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setKeys($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Iam\Admin\V1\ServiceAccountKey::class); $this->keys = $arr; return $this; } }