- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method.
HTTP request
GET https://datamigration.googleapis.com/v1/{name}:fetchStaticIps
Path parameters
Parameters | |
---|---|
name |
Required. The resource name for the location for which static IPs should be returned. Must be in the format Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
Maximum number of IPs to return. |
pageToken |
A page token, received from a previous |
Request body
The request body must be empty.
Response body
Response message for a 'locations.fetchStaticIps' request.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "staticIps": [ string ], "nextPageToken": string } |
Fields | |
---|---|
staticIps[] |
List of static IPs. |
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.