Reference documentation and code samples for the Cloud PubSub V1 Client class ListSubscriptionsResponse.
Response for the ListSubscriptions method.
Generated from protobuf message google.pubsub.v1.ListSubscriptionsResponse
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ subscriptions |
array<Google\Cloud\PubSub\V1\Subscription>
The subscriptions that match the request. |
↳ next_page_token |
string
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new |
getSubscriptions
The subscriptions that match the request.
Generated from protobuf field repeated .google.pubsub.v1.Subscription subscriptions = 1;
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSubscriptions
The subscriptions that match the request.
Generated from protobuf field repeated .google.pubsub.v1.Subscription subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\PubSub\V1\Subscription>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
ListSubscriptionsRequest to get more subscriptions.
Generated from protobuf field string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
ListSubscriptionsRequest to get more subscriptions.
Generated from protobuf field string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|