- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- AuthSchemaView
- AuthSchema
- AuthField
- JsonAuthSchema
- AuthObject
- AuthProperty
- Try it!
fetch and return the list of auth config variables required to override the connection backend auth.
HTTP request
GET https://connectors.googleapis.com/v1/{name=projects/*/locations/*/providers/*/connectors/*/versions/*}:fetchAuthSchema
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Parent resource of the Connector Version, of the form: |
Query parameters
Parameters | |
---|---|
view |
Optional. View of the AuthSchema. The default value is BASIC. |
Request body
The request body must be empty.
Response body
Response message for Connectors.GetAuthSchema.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "authSchemas": [ { object ( |
Fields | |
---|---|
authSchemas[] |
List of AuthSchemas. |
jsonSchema |
JSON schema of the AuthSchemas. This is only populated if the view is JSON_SCHEMA. The schema is in draft-07 format. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
AuthSchemaView
View of the AuthSchema.
Enums | |
---|---|
AUTH_SCHEMA_VIEW_UNSPECIFIED |
Default value. |
BASIC |
Basic view of the AuthSchema. |
JSON_SCHEMA |
JSON schema view of the AuthSchema. |
EUA_SCHEMA |
EUA Schema view of the AuthSchema. |
AuthSchema
AuthSchema defines the schema of an authentication type.
JSON representation |
---|
{ "authFields": [ { object ( |
Fields | |
---|---|
authFields[] |
List of AuthFields. |
isDefault |
Whether the auth schema is the default one. |
authType |
Auth type of the schema. |
authKey |
Auth key of the schema. |
displayName |
Display name of the schema. |
description |
Description of the schema. |
AuthField
AuthField defines a field in an authentication type.
JSON representation |
---|
{ "key": string, "dataType": string, "description": string } |
Fields | |
---|---|
key |
Key of the field. |
dataType |
Data type of the field. |
description |
Description of the field. |
JsonAuthSchema
JsonAuthSchema defines the JSON schema of all authentication types.
JSON representation |
---|
{
"$schema": string,
"oneOf": [
{
object ( |
Fields | |
---|---|
$schema |
JSON schema of the AuthSchemas. |
oneOf[] |
List of AuthObjects. |
AuthObject
AuthObject defines a JSON schema of an authentication type.
JSON representation |
---|
{
"type": string,
"description": string,
"isDefault": boolean,
"authType": string,
"authKey": string,
"additionalProperties": boolean,
"properties": {
string: {
object ( |
Fields | |
---|---|
type |
Type of the object. |
description |
Description of the object. |
isDefault |
Whether the object is the default one. |
authType |
Auth type of the object. |
authKey |
Auth key of the object. |
additionalProperties |
Whether the object has additional properties. |
properties |
Properties of the object. An object containing a list of |
AuthProperty
AuthProperty defines a property of an authentication type.
JSON representation |
---|
{ "type": string, "description": string } |
Fields | |
---|---|
type |
Type of the property. |
description |
Description of the property. |