Method: projects.locations.customConnectors.validateCustomConnectorSpec

Validates a Custom Connector Spec.

HTTP request

POST https://connectors.googleapis.com/v1/{parent=projects/*/locations/*}/customConnectors:validateCustomConnectorSpec

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Location at which the custom connector is being created.

Request body

The request body contains data with the following structure:

JSON representation
{
  "specLocation": string,
  "specType": enum (CustomConnectorType),
  "serviceAccount": string
}
Fields
specLocation

string

Required. Location of the custom connector spec. The location can be either a public url like https://public-url.com/spec Or a Google Cloud Storage location like gs://<BUCKET_NAME>/<OBJECT_NAME>

specType

enum (CustomConnectorType)

Required. Spec type of the custom connector spec.

serviceAccount

string

Required. Service account to access the spec from Google Cloud Storage.

Response body

Response message for ConnectorsService.ValidateCustomConnectorSpec

If successful, the response body contains data with the following structure:

JSON representation
{
  "errorMessage": string
}
Fields
errorMessage

string

Error message. The spec is valid if the error message is empty.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.