Reference documentation and code samples for the Cloud PubSub V1 Client class ListSnapshotsResponse.
Response for the ListSnapshots method.
Generated from protobuf message google.pubsub.v1.ListSnapshotsResponse
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ snapshots | 
        
          array<Google\Cloud\PubSub\V1\Snapshot>
          The resulting snapshots.  | 
      
↳ next_page_token | 
        
          string
          If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new   | 
      
getSnapshots
The resulting snapshots.
Generated from protobuf field repeated .google.pubsub.v1.Snapshot snapshots = 1;
| Returns | |
|---|---|
| Type | Description | 
Google\Protobuf\Internal\RepeatedField | 
        |
setSnapshots
The resulting snapshots.
Generated from protobuf field repeated .google.pubsub.v1.Snapshot snapshots = 1;
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          array<Google\Cloud\PubSub\V1\Snapshot>
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
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;
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setNextPageToken
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;
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |