Google Cloud Filestore V1 Client - Class ListSnapshotsResponse (1.1.2)

Reference documentation and code samples for the Google Cloud Filestore V1 Client class ListSnapshotsResponse.

ListSnapshotsResponse is the result of ListSnapshotsRequest.

Generated from protobuf message google.cloud.filestore.v1.ListSnapshotsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ snapshots array<Google\Cloud\Filestore\V1\Snapshot>

A list of snapshots in the project for the specified instance.

↳ next_page_token string

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

getSnapshots

A list of snapshots in the project for the specified instance.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSnapshots

A list of snapshots in the project for the specified instance.

Parameter
NameDescription
var array<Google\Cloud\Filestore\V1\Snapshot>
Returns
TypeDescription
$this

getNextPageToken

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this