Class: Google::Cloud::ManagedKafka::V1::CreateTopicRequest
- Inherits:
-
Object
- Object
- Google::Cloud::ManagedKafka::V1::CreateTopicRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/managedkafka/v1/managed_kafka.rb
Overview
Request for CreateTopic.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#topic ⇒ ::Google::Cloud::ManagedKafka::V1::Topic
Required.
-
#topic_id ⇒ ::String
Required.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The parent cluster in which to create the topic.
Structured like
projects/{project}/locations/{location}/clusters/{cluster}
.
235 236 237 238 |
# File 'proto_docs/google/cloud/managedkafka/v1/managed_kafka.rb', line 235 class CreateTopicRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#topic ⇒ ::Google::Cloud::ManagedKafka::V1::Topic
Returns Required. Configuration of the topic to create. Its name
field is
ignored.
235 236 237 238 |
# File 'proto_docs/google/cloud/managedkafka/v1/managed_kafka.rb', line 235 class CreateTopicRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#topic_id ⇒ ::String
Returns 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
.
235 236 237 238 |
# File 'proto_docs/google/cloud/managedkafka/v1/managed_kafka.rb', line 235 class CreateTopicRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |