Class ListTopicsResponse (2.3.0)

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

Response for the ListTopics method.

Inheritance

System.Object > ListTopicsResponse

Implements

Google.Api.Gax.Grpc.IPageResponse<Topic>, System.Collections.Generic.IEnumerable<Topic>, System.Collections.IEnumerable, Google.Protobuf.IMessage<ListTopicsResponse>, System.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
System.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
System.Collections.Generic.IEnumerator<Topic>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
System.Collections.IEnumerator