public sealed class ListTopicsRequest : IMessage<ListTopicsRequest>, IEquatable<ListTopicsRequest>, IDeepCloneable<ListTopicsRequest>, IBufferMessage, IMessage, IPageRequest
Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class ListTopicsRequest.
Request for ListTopics.
Implements
IMessageListTopicsRequest, IEquatableListTopicsRequest, IDeepCloneableListTopicsRequest, IBufferMessage, IMessage, IPageRequestNamespace
Google.Cloud.ManagedKafka.V1Assembly
Google.Cloud.ManagedKafka.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. The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the parent is returned.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
Optional. A page token, received from a previous ListTopics
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListTopics
must match
the call that provided the page token.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The parent cluster whose topics are to be listed. Structured like
projects/{project}/locations/{location}/clusters/{cluster}
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsClusterName
public ClusterName ParentAsClusterName { get; set; }
ClusterName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ClusterName |