gcp clusters

This contains APIs related to gcp clusters

Gets gcp cluster names

Request
Security:
ApiKey (readwrite)
query Parameters
connectorRef
required
string

GCP Connector Identifier

accountIdentifier
required
string

Account Identifier for the Entity

orgIdentifier
required
string

Organization Identifier for the Entity

projectIdentifier
required
string

Project Identifier for the Entity

Responses
400

Bad Request

500

Internal server error

default

Returns list of gcp cluster names

get/ng/api/gcp/clusters
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/gcp/clusters?connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}