Skip to main content

Retrieve GCP regions

Contributors

GET /account/{accountId}/providers/cloudmanager_cbs/api/v1/gcp/project/{projectId}/region

Retrieves a list of regions from a specific Google Cloud project.

Token usage: BlueXP user token.

Parameters

Name Type In Required Description

accountId

string

path

True

projectId

string

path

True

authorization

string

header

True

x-agent-id

string

header

True

Response

Status: 200, Default response
Name Type Required Description

region

array[region]

False

Example response
{
  "region": [
    {
      "name": "string",
      "code": "string"
    }
  ]
}

Definitions

See Definitions

region

Name Type Required Description

name

string

False

code

string

False