Method: projects.locations.fetchStaticIps

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

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

integer

Maximum number of Ips to return, will likely not be specified.

pageToken

string

A page token, received from a previous ListStaticIps call. will likely not be specified.

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[]

string

list of static ips by account

nextPageToken

string

A token that can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.