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 |
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 ( |
Fields | |
---|---|
specLocation |
Required. Location of the custom connector spec. The location can be either a public url like |
specType |
Required. Spec type of the custom connector spec. |
serviceAccount |
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 |
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.