PubSub/src/V1/ListTopicSnapshotsResponse.php
public function setSnapshots($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->snapshots = $arr;

        return $this;
    }
public function setSnapshots($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->snapshots = $arr;

        return $this;
    }
public function setSnapshots ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING ) ; $ this -> snapshots = $ arr ; return $ this ; }
The names of the snapshots that match the request.

Generated from protobuf field <code>repeated string snapshots = 1;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The names of the snapshots that match the request .