Cloud Pub/Sub v1 API - Class ListTopicsResponse (3.10.0-beta01)

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.

Inheritance

object > ListTopicsResponse

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

ListTopicsResponse()

public ListTopicsResponse()

ListTopicsResponse(ListTopicsResponse)

public ListTopicsResponse(ListTopicsResponse other)
Parameter
NameDescription
otherListTopicsResponse

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
TypeDescription
string

Topics

public RepeatedField<Topic> Topics { get; }

Optional. The resulting topics.

Property Value
TypeDescription
RepeatedFieldTopic

Methods

GetEnumerator()

public IEnumerator<Topic> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumeratorTopic