- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Examples
- Try it!
Use this method to list streams in a project and location.
HTTP request
GET https://datastream.googleapis.com/v1/{parent}/streams
Path parameters
parent
string
Required. The parent that owns the collection of streams.
Authorization requires the following IAM
permission on the specified resource parent
:
-
datastream.streams.list
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 .
IAM Permissions
Requires the following IAM
permission on the parent
resource:
-
datastream.streams.list
For more information, see the IAM documentation .

