public sealed class ListTopicsRequest : IPageRequest, IMessage<ListTopicsRequest>, IEquatable<ListTopicsRequest>, IDeepCloneable<ListTopicsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class ListTopicsRequest.
Request for the ListTopics
method.
Implements
IPageRequest, IMessageListTopicsRequest, IEquatableListTopicsRequest, IDeepCloneableListTopicsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
ListTopicsRequest()
public ListTopicsRequest()
ListTopicsRequest(ListTopicsRequest)
public ListTopicsRequest(ListTopicsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListTopicsRequest |
Properties
PageSize
public int PageSize { get; set; }
Optional. Maximum number of topics to return.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
Optional. The value returned by the last ListTopicsResponse
; indicates
that this is a continuation of a prior ListTopics
call, and that the
system should return the next page of data.
Property Value | |
---|---|
Type | Description |
string |
Project
public string Project { get; set; }
Required. The name of the project in which to list topics.
Format is projects/{project-id}
.
Property Value | |
---|---|
Type | Description |
string |
ProjectAsProjectName
public ProjectName ProjectAsProjectName { get; set; }
ProjectName-typed view over the Project resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |