Class: Google::Cloud::ManagedKafka::V1::CreateTopicRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#parent::String

Returns Required. The parent cluster in which to create the topic. Structured like projects/{project}/locations/{location}/clusters/{cluster}.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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