- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Examples
- Try it!
The locations.fetchStaticIps API call exposes the static IP addresses used by Datastream.
HTTP request
GET https://datastream.googleapis.com/v1/{name}:fetchStaticIps
Path parameters
name
string
Required. The resource name for the location for which static IPs should be returned. Must be in the format projects/*/locations/*
.
Authorization requires the following IAM
permission on the specified resource name
:
-
datastream.locations.fetchStaticIps
Query parameters
| Parameters | |
|---|---|
pageSize
|
Maximum number of Ips to return, will likely not be specified. |
pageToken
|
A page token, received from a previous |
Request body
The request body must be empty.
Response body
Response message for a 'locations.fetchStaticIps' response.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "staticIps" : [ string ] , "nextPageToken" : string } |
| Fields | |
|---|---|
staticIps[]
|
list of static ips by account |
nextPageToken
|
A token that can be sent as |
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 name
resource:
-
datastream.locations.fetchStaticIps
For more information, see the IAM documentation .

