- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
Use this method to list streams in a project and location.
HTTP request
GET https://datastream.googleapis.com/v1/{parent}/streams
Path parameters
Parameters | |
---|---|
parent |
Required. The parent that owns the collection of streams. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
Maximum number of streams to return. If unspecified, at most 50 streams will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
Page token received from a previous When paginating, all other parameters provided to |
filter |
Filter request. |
orderBy |
Order by fields for the result. |
Request body
The request body must be empty.
Response body
Response message for listing streams.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"streams": [
{
object ( |
Fields | |
---|---|
streams[] |
List of streams |
nextPageToken |
A token, which can be sent as |
unreachable[] |
Locations that could not be reached. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.