Method: projects.locations.scopes.namespaces.get

Returns the details of a fleet namespace.

HTTP request

GET https://gkehub.googleapis.com/v1/{name=projects/*/locations/*/scopes/*/namespaces/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The Namespace resource name in the format projects/*/locations/*/scopes/*/namespaces/*.

Authorization requires the following IAM permission on the specified resource name:

  • gkehub.namespaces.get

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.