Google Cloud Location API
Use the post /v1/cckm/google/get-locations
API to get the list of Google Cloud locations. A Google Cloud location is required when fetching the Google Cloud key rings from a project linked with a Google Cloud connection on the CipherTrust Manager.
Syntax
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
connection | string | Name or ID of the Google Cloud connection on the CipherTrust Manager. |
project_id | string | Name or ID of the Google Cloud project. To determine the project ID, run the post /v1/cckm/google/get-projects or get /v1/cckm/google/projects API. Refer to Fetching a Project from GCP or Viewing Google Cloud Projects. |
page_size | number | Number of the Google Cloud locations to list. |
page_token | string | Token that you can use to get the list of remaining locations beyond the number set in page_size . For example, if the total number of locations is 20 , and you have page_size to 11 , then specify page_token to view the remaining 9 locations. |
Example Request
Example Response
The output shows the list and details of Google Cloud locations linked with a Google Cloud project ID.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.