Managed Service for Apache Kafka API v1 API - Class CreateTopicRequest (1.0.0-beta02)

public sealed class CreateTopicRequest : IMessage<CreateTopicRequest>, IEquatable<CreateTopicRequest>, IDeepCloneable<CreateTopicRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class CreateTopicRequest.

Request for CreateTopic.

Inheritance

object > CreateTopicRequest

Namespace

Google.Cloud.ManagedKafka.V1

Assembly

Google.Cloud.ManagedKafka.V1.dll

Constructors

CreateTopicRequest()

public CreateTopicRequest()

CreateTopicRequest(CreateTopicRequest)

public CreateTopicRequest(CreateTopicRequest other)
Parameter
Name Description
other CreateTopicRequest

Properties

Parent

public string Parent { get; set; }

Required. The parent cluster in which to create the topic. 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

Topic

public Topic Topic { get; set; }

Required. Configuration of the topic to create. Its name field is ignored.

Property Value
Type Description
Topic

TopicId

public string TopicId { get; set; }

Required. The ID to use for the topic, which will become the final component of the topic's name.

This value is structured like: my-topic-name.

Property Value
Type Description
string