Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class GetTopicRequest.
Request for GetTopic.
Generated from protobuf message google.cloud.managedkafka.v1.GetTopicRequest
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the topic whose configuration to return. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}.
getName
Required. The name of the topic whose configuration to return. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}.
string
setName
Required. The name of the topic whose configuration to return. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}.
var
string
$this
static::build
name
string
Required. The name of the topic whose configuration to return. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}. Please see ManagedKafkaClient::topicName() for help formatting this field.