- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Gets a schema.
HTTP request
Path parameters
Parameters | |
---|---|
name |
Required. The name of the schema to get. Format is |
Query parameters
Parameters | |
---|---|
view |
The set of fields to return in the response. If not set, returns a Schema with all fields filled out. Set to |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Schema
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/pubsub
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.