- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists schemas in a project.
HTTP request
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the project in which to list schemas. Format is |
Query parameters
Parameters | |
---|---|
view |
The set of Schema fields to return in the response. If not set, returns Schemas with |
pageSize |
Maximum number of schemas to return. |
pageToken |
The value returned by the last |
Request body
The request body must be empty.
Response body
Response for the schemas.list
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"schemas": [
{
object ( |
Fields | |
---|---|
schemas[] |
The resulting schemas. |
nextPageToken |
If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new |
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.