public sealed class ListTopicsResponse : IPageResponse<Topic>, IEnumerable<Topic>, IEnumerable, IMessage<ListTopicsResponse>, IEquatable<ListTopicsResponse>, IDeepCloneable<ListTopicsResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class ListTopicsResponse.
Response for the ListTopics
method.
Implements
IPageResponseTopic, IEnumerableTopic, IEnumerable, IMessageListTopicsResponse, IEquatableListTopicsResponse, IDeepCloneableListTopicsResponse, IBufferMessage, IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
ListTopicsResponse()
public ListTopicsResponse()
ListTopicsResponse(ListTopicsResponse)
public ListTopicsResponse(ListTopicsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListTopicsResponse |
Properties
NextPageToken
public string NextPageToken { get; set; }
Optional. If not empty, indicates that there may be more topics that match
the request; this value should be passed in a new ListTopicsRequest
.
Property Value | |
---|---|
Type | Description |
string |
Topics
public RepeatedField<Topic> Topics { get; }
Optional. The resulting topics.
Property Value | |
---|---|
Type | Description |
RepeatedFieldTopic |
Methods
GetEnumerator()
public IEnumerator<Topic> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumeratorTopic |