Returns the customConnectorVersions Resource.
Close httplib2 connections.
validateCustomConnectorSpec(parent, body=None, x__xgafv=None)
Validates a Custom Connector Spec.
close()
Close httplib2 connections.
validateCustomConnectorSpec(parent, body=None, x__xgafv=None)
Validates a Custom Connector Spec.
Args:
parent: string, Required. Location at which the custom connector is being created. (required)
body: object, The request body.
The object takes the form of:
{ # Request message for ConnectorsService.ValidateCustomConnectorSpec
"serviceAccount": "A String", # Required. Service account to access the spec from Google Cloud Storage.
"specLocation": "A 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:///`
"specType": "A String", # Required. Spec type of the custom connector spec.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for ConnectorsService.ValidateCustomConnectorSpec
"errorMessage": "A String", # Error message. The spec is valid if the error message is empty.
}