Method: admin.projects.locations.topics.get

Returns the topic configuration.

HTTP request

GET https://{endpoint}/v1/admin/{name=projects/*/locations/*/topics/*}

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the topic whose configuration to return.

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.