class ListSnapshotsResponse extends Message

Response for the ListSnapshots method.

Protobuf type Google\Pubsub\V1\ListSnapshotsResponse

Methods

__construct()

No description

RepeatedField
getSnapshots()

The resulting snapshots.

setSnapshots(array|RepeatedField $var)

The resulting snapshots.

string
getNextPageToken()

If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

setNextPageToken(string $var)

If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

Details

at line 32
__construct()

at line 43
RepeatedField getSnapshots()

The resulting snapshots.

Generated from protobuf field repeated .google.pubsub.v1.Snapshot snapshots = 1;

Return Value

RepeatedField

at line 54
setSnapshots(array|RepeatedField $var)

The resulting snapshots.

Generated from protobuf field repeated .google.pubsub.v1.Snapshot snapshots = 1;

Parameters

array|RepeatedField $var

at line 67
string getNextPageToken()

If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

Generated from protobuf field string next_page_token = 2;

Return Value

string

at line 79
setNextPageToken(string $var)

If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

Generated from protobuf field string next_page_token = 2;

Parameters

string $var