Method: projects.locations.clusters.topics.get

Returns the properties of a single topic.

HTTP request

GET https://managedkafka.googleapis.com/v1/{name=projects/*/locations/*/clusters/*/topics/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the topic whose configuration to return. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Topic.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.