Class ListTopicsResponse (2.4.0)

public sealed class ListTopicsResponse : IPageResponse<Topic>, IEnumerable<Topic>, IEnumerable, IMessage<ListTopicsResponse>, IEquatable<ListTopicsResponse>, IDeepCloneable<ListTopicsResponse>, IBufferMessage, IMessage

Response for the ListTopics method.

Inheritance

Object > ListTopicsResponse

Implements

IPageResponse<Topic>, IEnumerable<Topic>, IEnumerable, Google.Protobuf.IMessage<ListTopicsResponse>, IEquatable<ListTopicsResponse>, Google.Protobuf.IDeepCloneable<ListTopicsResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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; }

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; }

The resulting topics.

Property Value
TypeDescription
Google.Protobuf.Collections.RepeatedField<Topic>

Methods

GetEnumerator()

public IEnumerator<Topic> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<Topic>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator