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