CONNECTORS

connectors.projects.locations.connections.actions.execute

valid {
    input.Body.parameters.STRING == ANY
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.actions.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.actions.list

enum_ViewParameter := [ "ACTION_VIEW_UNSPECIFIED", "ACTION_VIEW_BASIC", "ACTION_VIEW_FULL" ]

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.checkReadiness

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.checkStatus

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.connectionSchemaMetadata.getAction

valid {
    input.ReqMap.name == STRING
    input.Qs.actionId == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.connectionSchemaMetadata.getEntityType

valid {
    input.ReqMap.name == STRING
    input.Qs.entityId == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.connectionSchemaMetadata.listActions

enum_ViewParameter := [ "VIEW_UNSPECIFIED", "BASIC" ]

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.connectionSchemaMetadata.listEntityTypes

enum_ViewParameter := [ "VIEW_UNSPECIFIED", "BASIC" ]

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.connectionSchemaMetadata.refresh

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.create

enum_AuthConfigAuthType := [ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", "OAUTH2_CLIENT_CREDENTIALS", "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW", "GOOGLE_AUTHENTICATION" ]
enum_ConnectionEventingEnablementType := [ "EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", "EVENTING_AND_CONNECTION", "ONLY_EVENTING" ]
enum_EncryptionKeyType := [ "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED" ]
enum_SslConfigClientCertType := [ "CERT_TYPE_UNSPECIFIED", "PEM" ]
enum_SslConfigServerCertType := [ "CERT_TYPE_UNSPECIFIED", "PEM" ]
enum_SslConfigTrustModel := [ "PUBLIC", "PRIVATE", "INSECURE" ]
enum_SslConfigType := [ "SSL_TYPE_UNSPECIFIED", "TLS", "MTLS" ]

valid {
    input.Body.authConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.authConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.authConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.authConfig.additionalVariables[_].intValue == STRING
    input.Body.authConfig.additionalVariables[_].key == STRING
    input.Body.authConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.authConfig.additionalVariables[_].stringValue == STRING
    input.Body.authConfig.authKey == STRING
    input.Body.authConfig.authType == enum_AuthConfigAuthType[_]
    input.Body.authConfig.oauth2AuthCodeFlow.authCode == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.authUri == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.clientId == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.clientSecret.secretVersion == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.enablePkce == BOOLEAN
    input.Body.authConfig.oauth2AuthCodeFlow.pkceVerifier == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.redirectUri == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.scopes[_] == STRING
    input.Body.authConfig.oauth2ClientCredentials.clientId == STRING
    input.Body.authConfig.oauth2ClientCredentials.clientSecret.secretVersion == STRING
    input.Body.authConfig.oauth2JwtBearer.clientKey.secretVersion == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.audience == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.issuer == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.subject == STRING
    input.Body.authConfig.sshPublicKey.certType == STRING
    input.Body.authConfig.sshPublicKey.sshClientCert.secretVersion == STRING
    input.Body.authConfig.sshPublicKey.sshClientCertPass.secretVersion == STRING
    input.Body.authConfig.sshPublicKey.username == STRING
    input.Body.authConfig.userPassword.password.secretVersion == STRING
    input.Body.authConfig.userPassword.username == STRING
    input.Body.configVariables[_].boolValue == BOOLEAN
    input.Body.configVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.configVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.configVariables[_].intValue == STRING
    input.Body.configVariables[_].key == STRING
    input.Body.configVariables[_].secretValue.secretVersion == STRING
    input.Body.configVariables[_].stringValue == STRING
    input.Body.connectorVersion == STRING
    input.Body.description == STRING
    input.Body.destinationConfigs[_].destinations[_].host == STRING
    input.Body.destinationConfigs[_].destinations[_].port == INTEGER
    input.Body.destinationConfigs[_].destinations[_].serviceAttachment == STRING
    input.Body.destinationConfigs[_].key == STRING
    input.Body.eventingConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.eventingConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.eventingConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.eventingConfig.additionalVariables[_].intValue == STRING
    input.Body.eventingConfig.additionalVariables[_].key == STRING
    input.Body.eventingConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.eventingConfig.additionalVariables[_].stringValue == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.eventingConfig.authConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.eventingConfig.authConfig.additionalVariables[_].intValue == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].key == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].stringValue == STRING
    input.Body.eventingConfig.authConfig.authKey == STRING
    input.Body.eventingConfig.authConfig.authType == enum_AuthConfigAuthType[_]
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.authCode == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.authUri == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.clientId == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.clientSecret.secretVersion == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.enablePkce == BOOLEAN
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.pkceVerifier == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.redirectUri == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.scopes[_] == STRING
    input.Body.eventingConfig.authConfig.oauth2ClientCredentials.clientId == STRING
    input.Body.eventingConfig.authConfig.oauth2ClientCredentials.clientSecret.secretVersion == STRING
    input.Body.eventingConfig.authConfig.oauth2JwtBearer.clientKey.secretVersion == STRING
    input.Body.eventingConfig.authConfig.oauth2JwtBearer.jwtClaims.audience == STRING
    input.Body.eventingConfig.authConfig.oauth2JwtBearer.jwtClaims.issuer == STRING
    input.Body.eventingConfig.authConfig.oauth2JwtBearer.jwtClaims.subject == STRING
    input.Body.eventingConfig.authConfig.sshPublicKey.certType == STRING
    input.Body.eventingConfig.authConfig.sshPublicKey.sshClientCert.secretVersion == STRING
    input.Body.eventingConfig.authConfig.sshPublicKey.sshClientCertPass.secretVersion == STRING
    input.Body.eventingConfig.authConfig.sshPublicKey.username == STRING
    input.Body.eventingConfig.authConfig.userPassword.password.secretVersion == STRING
    input.Body.eventingConfig.authConfig.userPassword.username == STRING
    input.Body.eventingConfig.deadLetterConfig.projectId == STRING
    input.Body.eventingConfig.deadLetterConfig.topic == STRING
    input.Body.eventingConfig.enrichmentEnabled == BOOLEAN
    input.Body.eventingConfig.eventsListenerIngressEndpoint == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].intValue == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].key == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].stringValue == STRING
    input.Body.eventingConfig.listenerAuthConfig.authKey == STRING
    input.Body.eventingConfig.listenerAuthConfig.authType == enum_AuthConfigAuthType[_]
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.authCode == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.authUri == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.clientId == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.clientSecret.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.enablePkce == BOOLEAN
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.pkceVerifier == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.redirectUri == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.scopes[_] == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2ClientCredentials.clientId == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2ClientCredentials.clientSecret.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2JwtBearer.clientKey.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2JwtBearer.jwtClaims.audience == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2JwtBearer.jwtClaims.issuer == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2JwtBearer.jwtClaims.subject == STRING
    input.Body.eventingConfig.listenerAuthConfig.sshPublicKey.certType == STRING
    input.Body.eventingConfig.listenerAuthConfig.sshPublicKey.sshClientCert.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.sshPublicKey.sshClientCertPass.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.sshPublicKey.username == STRING
    input.Body.eventingConfig.listenerAuthConfig.userPassword.password.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.userPassword.username == STRING
    input.Body.eventingConfig.privateConnectivityEnabled == BOOLEAN
    input.Body.eventingConfig.proxyDestinationConfig.destinations[_].host == STRING
    input.Body.eventingConfig.proxyDestinationConfig.destinations[_].port == INTEGER
    input.Body.eventingConfig.proxyDestinationConfig.destinations[_].serviceAttachment == STRING
    input.Body.eventingConfig.proxyDestinationConfig.key == STRING
    input.Body.eventingConfig.registrationDestinationConfig.destinations[_].host == STRING
    input.Body.eventingConfig.registrationDestinationConfig.destinations[_].port == INTEGER
    input.Body.eventingConfig.registrationDestinationConfig.destinations[_].serviceAttachment == STRING
    input.Body.eventingConfig.registrationDestinationConfig.key == STRING
    input.Body.eventingEnablementType == enum_ConnectionEventingEnablementType[_]
    input.Body.labels.STRING == STRING
    input.Body.lockConfig.locked == BOOLEAN
    input.Body.lockConfig.reason == STRING
    input.Body.logConfig.enabled == BOOLEAN
    input.Body.nodeConfig.maxNodeCount == INTEGER
    input.Body.nodeConfig.minNodeCount == INTEGER
    input.Body.serviceAccount == STRING
    input.Body.sslConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.sslConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.sslConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.sslConfig.additionalVariables[_].intValue == STRING
    input.Body.sslConfig.additionalVariables[_].key == STRING
    input.Body.sslConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.sslConfig.additionalVariables[_].stringValue == STRING
    input.Body.sslConfig.clientCertType == enum_SslConfigClientCertType[_]
    input.Body.sslConfig.clientCertificate.secretVersion == STRING
    input.Body.sslConfig.clientPrivateKey.secretVersion == STRING
    input.Body.sslConfig.clientPrivateKeyPass.secretVersion == STRING
    input.Body.sslConfig.privateServerCertificate.secretVersion == STRING
    input.Body.sslConfig.serverCertType == enum_SslConfigServerCertType[_]
    input.Body.sslConfig.trustModel == enum_SslConfigTrustModel[_]
    input.Body.sslConfig.type == enum_SslConfigType[_]
    input.Body.sslConfig.useSsl == BOOLEAN
    input.Body.suspended == BOOLEAN
    input.ReqMap.parent == STRING
    input.Qs.connectionId == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.entities.create

valid {
    input.Body.fields.STRING == ANY
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.entities.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.entities.deleteEntitiesWithConditions

valid {
    input.ReqMap.entityType == STRING
    input.Qs.conditions == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.entities.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.entities.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.conditions == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.sortBy == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.entities.patch

valid {
    input.Body.fields.STRING == ANY
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.entities.updateEntitiesWithConditions

valid {
    input.Body.fields.STRING == ANY
    input.ReqMap.entityType == STRING
    input.Qs.conditions == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.entityTypes.list

enum_ViewParameter := [ "ENTITY_TYPE_VIEW_UNSPECIFIED", "ENTITY_TYPE_VIEW_BASIC", "ENTITY_TYPE_VIEW_FULL" ]

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.eventSubscriptions.create

enum_EventSubscriptionDestinationType := [ "TYPE_UNSPECIFIED", "ENDPOINT" ]
enum_JMSType := [ "TYPE_UNSPECIFIED", "QUEUE", "TOPIC" ]

valid {
    input.Body.destinations.endpoint.endpointUri == STRING
    input.Body.destinations.endpoint.headers[_].key == STRING
    input.Body.destinations.endpoint.headers[_].value == STRING
    input.Body.destinations.serviceAccount == STRING
    input.Body.destinations.type == enum_EventSubscriptionDestinationType[_]
    input.Body.eventTypeId == STRING
    input.Body.jms.name == STRING
    input.Body.jms.type == enum_JMSType[_]
    input.Body.name == STRING
    input.Body.status == {}
    input.Body.subscriber == STRING
    input.Body.subscriberLink == STRING
    input.ReqMap.parent == STRING
    input.Qs.eventSubscriptionId == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.eventSubscriptions.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.eventSubscriptions.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.eventSubscriptions.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.eventSubscriptions.patch

enum_EventSubscriptionDestinationType := [ "TYPE_UNSPECIFIED", "ENDPOINT" ]
enum_JMSType := [ "TYPE_UNSPECIFIED", "QUEUE", "TOPIC" ]

valid {
    input.Body.destinations.endpoint.endpointUri == STRING
    input.Body.destinations.endpoint.headers[_].key == STRING
    input.Body.destinations.endpoint.headers[_].value == STRING
    input.Body.destinations.serviceAccount == STRING
    input.Body.destinations.type == enum_EventSubscriptionDestinationType[_]
    input.Body.eventTypeId == STRING
    input.Body.jms.name == STRING
    input.Body.jms.type == enum_JMSType[_]
    input.Body.name == STRING
    input.Body.status == {}
    input.Body.subscriber == STRING
    input.Body.subscriberLink == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.eventSubscriptions.retry

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.exchangeAuthCode

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.executeSqlQuery

enum_QueryParameterDataType := [ "DATA_TYPE_UNSPECIFIED", "INT", "SMALLINT", "DOUBLE", "DATE", "DATETIME", "TIME", "STRING", "LONG", "BOOLEAN", "DECIMAL", "UUID", "BLOB", "BIT", "TINYINT", "INTEGER", "BIGINT", "FLOAT", "REAL", "NUMERIC", "CHAR", "VARCHAR", "LONGVARCHAR", "TIMESTAMP", "NCHAR", "NVARCHAR", "LONGNVARCHAR", "NULL", "OTHER", "JAVA_OBJECT", "DISTINCT", "STRUCT", "ARRAY", "CLOB", "REF", "DATALINK", "ROWID", "BINARY", "VARBINARY", "LONGVARBINARY", "NCLOB", "SQLXML", "REF_CURSOR", "TIME_WITH_TIMEZONE", "TIMESTAMP_WITH_TIMEZONE" ]

valid {
    input.Body.query.maxRows == STRING
    input.Body.query.query == STRING
    input.Body.query.queryParameters[_].dataType == enum_QueryParameterDataType[_]
    input.Body.query.queryParameters[_].value == ANY
    input.Body.query.timeout == STRING
    input.ReqMap.connection == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.get

enum_ViewParameter := [ "CONNECTION_VIEW_UNSPECIFIED", "BASIC", "FULL" ]

valid {
    input.ReqMap.name == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.getConnectionSchemaMetadata

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.getIamPolicy

valid {
    input.ReqMap.resource == STRING
    input.Qs.options.requestedPolicyVersion == INTEGER
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.list

enum_ViewParameter := [ "CONNECTION_VIEW_UNSPECIFIED", "BASIC", "FULL" ]

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.listenEvent

valid {
    input.Body.payload.STRING == ANY
    input.ReqMap.resourcePath == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.patch

enum_AuthConfigAuthType := [ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", "OAUTH2_CLIENT_CREDENTIALS", "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW", "GOOGLE_AUTHENTICATION" ]
enum_ConnectionEventingEnablementType := [ "EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", "EVENTING_AND_CONNECTION", "ONLY_EVENTING" ]
enum_EncryptionKeyType := [ "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED" ]
enum_SslConfigClientCertType := [ "CERT_TYPE_UNSPECIFIED", "PEM" ]
enum_SslConfigServerCertType := [ "CERT_TYPE_UNSPECIFIED", "PEM" ]
enum_SslConfigTrustModel := [ "PUBLIC", "PRIVATE", "INSECURE" ]
enum_SslConfigType := [ "SSL_TYPE_UNSPECIFIED", "TLS", "MTLS" ]

valid {
    input.Body.authConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.authConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.authConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.authConfig.additionalVariables[_].intValue == STRING
    input.Body.authConfig.additionalVariables[_].key == STRING
    input.Body.authConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.authConfig.additionalVariables[_].stringValue == STRING
    input.Body.authConfig.authKey == STRING
    input.Body.authConfig.authType == enum_AuthConfigAuthType[_]
    input.Body.authConfig.oauth2AuthCodeFlow.authCode == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.authUri == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.clientId == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.clientSecret.secretVersion == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.enablePkce == BOOLEAN
    input.Body.authConfig.oauth2AuthCodeFlow.pkceVerifier == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.redirectUri == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.scopes[_] == STRING
    input.Body.authConfig.oauth2ClientCredentials.clientId == STRING
    input.Body.authConfig.oauth2ClientCredentials.clientSecret.secretVersion == STRING
    input.Body.authConfig.oauth2JwtBearer.clientKey.secretVersion == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.audience == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.issuer == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.subject == STRING
    input.Body.authConfig.sshPublicKey.certType == STRING
    input.Body.authConfig.sshPublicKey.sshClientCert.secretVersion == STRING
    input.Body.authConfig.sshPublicKey.sshClientCertPass.secretVersion == STRING
    input.Body.authConfig.sshPublicKey.username == STRING
    input.Body.authConfig.userPassword.password.secretVersion == STRING
    input.Body.authConfig.userPassword.username == STRING
    input.Body.configVariables[_].boolValue == BOOLEAN
    input.Body.configVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.configVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.configVariables[_].intValue == STRING
    input.Body.configVariables[_].key == STRING
    input.Body.configVariables[_].secretValue.secretVersion == STRING
    input.Body.configVariables[_].stringValue == STRING
    input.Body.connectorVersion == STRING
    input.Body.description == STRING
    input.Body.destinationConfigs[_].destinations[_].host == STRING
    input.Body.destinationConfigs[_].destinations[_].port == INTEGER
    input.Body.destinationConfigs[_].destinations[_].serviceAttachment == STRING
    input.Body.destinationConfigs[_].key == STRING
    input.Body.eventingConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.eventingConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.eventingConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.eventingConfig.additionalVariables[_].intValue == STRING
    input.Body.eventingConfig.additionalVariables[_].key == STRING
    input.Body.eventingConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.eventingConfig.additionalVariables[_].stringValue == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.eventingConfig.authConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.eventingConfig.authConfig.additionalVariables[_].intValue == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].key == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.eventingConfig.authConfig.additionalVariables[_].stringValue == STRING
    input.Body.eventingConfig.authConfig.authKey == STRING
    input.Body.eventingConfig.authConfig.authType == enum_AuthConfigAuthType[_]
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.authCode == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.authUri == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.clientId == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.clientSecret.secretVersion == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.enablePkce == BOOLEAN
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.pkceVerifier == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.redirectUri == STRING
    input.Body.eventingConfig.authConfig.oauth2AuthCodeFlow.scopes[_] == STRING
    input.Body.eventingConfig.authConfig.oauth2ClientCredentials.clientId == STRING
    input.Body.eventingConfig.authConfig.oauth2ClientCredentials.clientSecret.secretVersion == STRING
    input.Body.eventingConfig.authConfig.oauth2JwtBearer.clientKey.secretVersion == STRING
    input.Body.eventingConfig.authConfig.oauth2JwtBearer.jwtClaims.audience == STRING
    input.Body.eventingConfig.authConfig.oauth2JwtBearer.jwtClaims.issuer == STRING
    input.Body.eventingConfig.authConfig.oauth2JwtBearer.jwtClaims.subject == STRING
    input.Body.eventingConfig.authConfig.sshPublicKey.certType == STRING
    input.Body.eventingConfig.authConfig.sshPublicKey.sshClientCert.secretVersion == STRING
    input.Body.eventingConfig.authConfig.sshPublicKey.sshClientCertPass.secretVersion == STRING
    input.Body.eventingConfig.authConfig.sshPublicKey.username == STRING
    input.Body.eventingConfig.authConfig.userPassword.password.secretVersion == STRING
    input.Body.eventingConfig.authConfig.userPassword.username == STRING
    input.Body.eventingConfig.deadLetterConfig.projectId == STRING
    input.Body.eventingConfig.deadLetterConfig.topic == STRING
    input.Body.eventingConfig.enrichmentEnabled == BOOLEAN
    input.Body.eventingConfig.eventsListenerIngressEndpoint == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].intValue == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].key == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.additionalVariables[_].stringValue == STRING
    input.Body.eventingConfig.listenerAuthConfig.authKey == STRING
    input.Body.eventingConfig.listenerAuthConfig.authType == enum_AuthConfigAuthType[_]
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.authCode == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.authUri == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.clientId == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.clientSecret.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.enablePkce == BOOLEAN
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.pkceVerifier == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.redirectUri == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2AuthCodeFlow.scopes[_] == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2ClientCredentials.clientId == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2ClientCredentials.clientSecret.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2JwtBearer.clientKey.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2JwtBearer.jwtClaims.audience == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2JwtBearer.jwtClaims.issuer == STRING
    input.Body.eventingConfig.listenerAuthConfig.oauth2JwtBearer.jwtClaims.subject == STRING
    input.Body.eventingConfig.listenerAuthConfig.sshPublicKey.certType == STRING
    input.Body.eventingConfig.listenerAuthConfig.sshPublicKey.sshClientCert.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.sshPublicKey.sshClientCertPass.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.sshPublicKey.username == STRING
    input.Body.eventingConfig.listenerAuthConfig.userPassword.password.secretVersion == STRING
    input.Body.eventingConfig.listenerAuthConfig.userPassword.username == STRING
    input.Body.eventingConfig.privateConnectivityEnabled == BOOLEAN
    input.Body.eventingConfig.proxyDestinationConfig.destinations[_].host == STRING
    input.Body.eventingConfig.proxyDestinationConfig.destinations[_].port == INTEGER
    input.Body.eventingConfig.proxyDestinationConfig.destinations[_].serviceAttachment == STRING
    input.Body.eventingConfig.proxyDestinationConfig.key == STRING
    input.Body.eventingConfig.registrationDestinationConfig.destinations[_].host == STRING
    input.Body.eventingConfig.registrationDestinationConfig.destinations[_].port == INTEGER
    input.Body.eventingConfig.registrationDestinationConfig.destinations[_].serviceAttachment == STRING
    input.Body.eventingConfig.registrationDestinationConfig.key == STRING
    input.Body.eventingEnablementType == enum_ConnectionEventingEnablementType[_]
    input.Body.labels.STRING == STRING
    input.Body.lockConfig.locked == BOOLEAN
    input.Body.lockConfig.reason == STRING
    input.Body.logConfig.enabled == BOOLEAN
    input.Body.nodeConfig.maxNodeCount == INTEGER
    input.Body.nodeConfig.minNodeCount == INTEGER
    input.Body.serviceAccount == STRING
    input.Body.sslConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.sslConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.sslConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.sslConfig.additionalVariables[_].intValue == STRING
    input.Body.sslConfig.additionalVariables[_].key == STRING
    input.Body.sslConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.sslConfig.additionalVariables[_].stringValue == STRING
    input.Body.sslConfig.clientCertType == enum_SslConfigClientCertType[_]
    input.Body.sslConfig.clientCertificate.secretVersion == STRING
    input.Body.sslConfig.clientPrivateKey.secretVersion == STRING
    input.Body.sslConfig.clientPrivateKeyPass.secretVersion == STRING
    input.Body.sslConfig.privateServerCertificate.secretVersion == STRING
    input.Body.sslConfig.serverCertType == enum_SslConfigServerCertType[_]
    input.Body.sslConfig.trustModel == enum_SslConfigTrustModel[_]
    input.Body.sslConfig.type == enum_SslConfigType[_]
    input.Body.sslConfig.useSsl == BOOLEAN
    input.Body.suspended == BOOLEAN
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.refreshAccessToken

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.repairEventing

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.runtimeActionSchemas.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.runtimeEntitySchemas.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.setIamPolicy

enum_AuditLogConfigLogType := [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ]

valid {
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].exemptedMembers[_] == STRING
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].logType == enum_AuditLogConfigLogType[_]
    input.Body.policy.auditConfigs[_].service == STRING
    input.Body.policy.bindings[_].condition.description == STRING
    input.Body.policy.bindings[_].condition.expression == STRING
    input.Body.policy.bindings[_].condition.location == STRING
    input.Body.policy.bindings[_].condition.title == STRING
    input.Body.policy.bindings[_].members[_] == STRING
    input.Body.policy.bindings[_].role == STRING
    input.Body.policy.etag == STRING
    input.Body.policy.version == INTEGER
    input.Body.updateMask == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.connections.testIamPermissions

valid {
    input.Body.permissions[_] == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.endpointAttachments.create

valid {
    input.Body.description == STRING
    input.Body.labels.STRING == STRING
    input.Body.serviceAttachment == STRING
    input.ReqMap.parent == STRING
    input.Qs.endpointAttachmentId == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.endpointAttachments.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.endpointAttachments.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.endpointAttachments.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.endpointAttachments.patch

valid {
    input.Body.description == STRING
    input.Body.labels.STRING == STRING
    input.Body.serviceAttachment == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.getRegionalSettings

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.getRuntimeConfig

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.create

enum_CustomConnectorCustomConnectorType := [ "CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", "OPEN_API", "PROTO" ]

valid {
    input.Body.customConnectorType == enum_CustomConnectorCustomConnectorType[_]
    input.Body.description == STRING
    input.Body.displayName == STRING
    input.Body.labels.STRING == STRING
    input.Body.logo == STRING
    input.Body.name == STRING
    input.ReqMap.parent == STRING
    input.Qs.customConnectorId == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.customConnectorVersions.create

enum_AuthConfigAuthType := [ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", "OAUTH2_CLIENT_CREDENTIALS", "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW", "GOOGLE_AUTHENTICATION" ]
enum_ConfigVariableTemplateLocationType := [ "LOCATION_TYPE_UNSPECIFIED", "HEADER", "PAYLOAD", "QUERY_PARAM", "PATH_PARAM" ]
enum_ConfigVariableTemplateState := [ "STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED" ]
enum_ConfigVariableTemplateValueType := [ "VALUE_TYPE_UNSPECIFIED", "STRING", "INT", "BOOL", "SECRET", "ENUM", "AUTHORIZATION_CODE", "ENCRYPTION_KEY" ]
enum_EncryptionKeyType := [ "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED" ]
enum_FieldComparisonComparator := [ "COMPARATOR_UNSPECIFIED", "EQUALS", "NOT_EQUALS" ]
enum_LogicalExpressionLogicalOperator := [ "OPERATOR_UNSPECIFIED", "AND", "OR" ]
enum_ResourceType := [ "TYPE_UNSPECIFIED", "GCP_PROJECT", "GCP_RESOURCE", "GCP_SECRETMANAGER_SECRET", "GCP_SECRETMANAGER_SECRET_VERSION" ]
enum_RoleGrantPrincipal := [ "PRINCIPAL_UNSPECIFIED", "CONNECTOR_SA" ]

valid {
    input.Body.authConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.authConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.authConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.authConfig.additionalVariables[_].intValue == STRING
    input.Body.authConfig.additionalVariables[_].key == STRING
    input.Body.authConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.authConfig.additionalVariables[_].stringValue == STRING
    input.Body.authConfig.authKey == STRING
    input.Body.authConfig.authType == enum_AuthConfigAuthType[_]
    input.Body.authConfig.oauth2AuthCodeFlow.authCode == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.authUri == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.clientId == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.clientSecret.secretVersion == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.enablePkce == BOOLEAN
    input.Body.authConfig.oauth2AuthCodeFlow.pkceVerifier == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.redirectUri == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.scopes[_] == STRING
    input.Body.authConfig.oauth2ClientCredentials.clientId == STRING
    input.Body.authConfig.oauth2ClientCredentials.clientSecret.secretVersion == STRING
    input.Body.authConfig.oauth2JwtBearer.clientKey.secretVersion == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.audience == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.issuer == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.subject == STRING
    input.Body.authConfig.sshPublicKey.certType == STRING
    input.Body.authConfig.sshPublicKey.sshClientCert.secretVersion == STRING
    input.Body.authConfig.sshPublicKey.sshClientCertPass.secretVersion == STRING
    input.Body.authConfig.sshPublicKey.username == STRING
    input.Body.authConfig.userPassword.password.secretVersion == STRING
    input.Body.authConfig.userPassword.username == STRING
    input.Body.backendVariableTemplates[_].authorizationCodeLink.clientId == STRING
    input.Body.backendVariableTemplates[_].authorizationCodeLink.enablePkce == BOOLEAN
    input.Body.backendVariableTemplates[_].authorizationCodeLink.scopes[_] == STRING
    input.Body.backendVariableTemplates[_].authorizationCodeLink.uri == STRING
    input.Body.backendVariableTemplates[_].description == STRING
    input.Body.backendVariableTemplates[_].displayName == STRING
    input.Body.backendVariableTemplates[_].enumOptions[_].displayName == STRING
    input.Body.backendVariableTemplates[_].enumOptions[_].id == STRING
    input.Body.backendVariableTemplates[_].isAdvanced == BOOLEAN
    input.Body.backendVariableTemplates[_].key == STRING
    input.Body.backendVariableTemplates[_].locationType == enum_ConfigVariableTemplateLocationType[_]
    input.Body.backendVariableTemplates[_].required == BOOLEAN
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].boolValue == BOOLEAN
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].comparator == enum_FieldComparisonComparator[_]
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].intValue == STRING
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].key == STRING
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].stringValue == STRING
    input.Body.backendVariableTemplates[_].requiredCondition.logicalExpressions[_] == NESTED
    input.Body.backendVariableTemplates[_].requiredCondition.logicalOperator == enum_LogicalExpressionLogicalOperator[_]
    input.Body.backendVariableTemplates[_].roleGrant.helperTextTemplate == STRING
    input.Body.backendVariableTemplates[_].roleGrant.principal == enum_RoleGrantPrincipal[_]
    input.Body.backendVariableTemplates[_].roleGrant.resource.pathTemplate == STRING
    input.Body.backendVariableTemplates[_].roleGrant.resource.type == enum_ResourceType[_]
    input.Body.backendVariableTemplates[_].roleGrant.roles[_] == STRING
    input.Body.backendVariableTemplates[_].state == enum_ConfigVariableTemplateState[_]
    input.Body.backendVariableTemplates[_].validationRegex == STRING
    input.Body.backendVariableTemplates[_].valueType == enum_ConfigVariableTemplateValueType[_]
    input.Body.destinationConfigs[_].destinations[_].host == STRING
    input.Body.destinationConfigs[_].destinations[_].port == INTEGER
    input.Body.destinationConfigs[_].destinations[_].serviceAttachment == STRING
    input.Body.destinationConfigs[_].key == STRING
    input.Body.enableBackendDestinationConfig == BOOLEAN
    input.Body.labels.STRING == STRING
    input.Body.serviceAccount == STRING
    input.Body.specLocation == STRING
    input.ReqMap.parent == STRING
    input.Qs.customConnectorVersionId == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.customConnectorVersions.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.customConnectorVersions.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.customConnectorVersions.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.customConnectorVersions.patch

enum_AuthConfigAuthType := [ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", "OAUTH2_CLIENT_CREDENTIALS", "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW", "GOOGLE_AUTHENTICATION" ]
enum_ConfigVariableTemplateLocationType := [ "LOCATION_TYPE_UNSPECIFIED", "HEADER", "PAYLOAD", "QUERY_PARAM", "PATH_PARAM" ]
enum_ConfigVariableTemplateState := [ "STATE_UNSPECIFIED", "ACTIVE", "DEPRECATED" ]
enum_ConfigVariableTemplateValueType := [ "VALUE_TYPE_UNSPECIFIED", "STRING", "INT", "BOOL", "SECRET", "ENUM", "AUTHORIZATION_CODE", "ENCRYPTION_KEY" ]
enum_EncryptionKeyType := [ "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", "CUSTOMER_MANAGED" ]
enum_FieldComparisonComparator := [ "COMPARATOR_UNSPECIFIED", "EQUALS", "NOT_EQUALS" ]
enum_LogicalExpressionLogicalOperator := [ "OPERATOR_UNSPECIFIED", "AND", "OR" ]
enum_ResourceType := [ "TYPE_UNSPECIFIED", "GCP_PROJECT", "GCP_RESOURCE", "GCP_SECRETMANAGER_SECRET", "GCP_SECRETMANAGER_SECRET_VERSION" ]
enum_RoleGrantPrincipal := [ "PRINCIPAL_UNSPECIFIED", "CONNECTOR_SA" ]

valid {
    input.Body.authConfig.additionalVariables[_].boolValue == BOOLEAN
    input.Body.authConfig.additionalVariables[_].encryptionKeyValue.kmsKeyName == STRING
    input.Body.authConfig.additionalVariables[_].encryptionKeyValue.type == enum_EncryptionKeyType[_]
    input.Body.authConfig.additionalVariables[_].intValue == STRING
    input.Body.authConfig.additionalVariables[_].key == STRING
    input.Body.authConfig.additionalVariables[_].secretValue.secretVersion == STRING
    input.Body.authConfig.additionalVariables[_].stringValue == STRING
    input.Body.authConfig.authKey == STRING
    input.Body.authConfig.authType == enum_AuthConfigAuthType[_]
    input.Body.authConfig.oauth2AuthCodeFlow.authCode == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.authUri == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.clientId == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.clientSecret.secretVersion == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.enablePkce == BOOLEAN
    input.Body.authConfig.oauth2AuthCodeFlow.pkceVerifier == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.redirectUri == STRING
    input.Body.authConfig.oauth2AuthCodeFlow.scopes[_] == STRING
    input.Body.authConfig.oauth2ClientCredentials.clientId == STRING
    input.Body.authConfig.oauth2ClientCredentials.clientSecret.secretVersion == STRING
    input.Body.authConfig.oauth2JwtBearer.clientKey.secretVersion == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.audience == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.issuer == STRING
    input.Body.authConfig.oauth2JwtBearer.jwtClaims.subject == STRING
    input.Body.authConfig.sshPublicKey.certType == STRING
    input.Body.authConfig.sshPublicKey.sshClientCert.secretVersion == STRING
    input.Body.authConfig.sshPublicKey.sshClientCertPass.secretVersion == STRING
    input.Body.authConfig.sshPublicKey.username == STRING
    input.Body.authConfig.userPassword.password.secretVersion == STRING
    input.Body.authConfig.userPassword.username == STRING
    input.Body.backendVariableTemplates[_].authorizationCodeLink.clientId == STRING
    input.Body.backendVariableTemplates[_].authorizationCodeLink.enablePkce == BOOLEAN
    input.Body.backendVariableTemplates[_].authorizationCodeLink.scopes[_] == STRING
    input.Body.backendVariableTemplates[_].authorizationCodeLink.uri == STRING
    input.Body.backendVariableTemplates[_].description == STRING
    input.Body.backendVariableTemplates[_].displayName == STRING
    input.Body.backendVariableTemplates[_].enumOptions[_].displayName == STRING
    input.Body.backendVariableTemplates[_].enumOptions[_].id == STRING
    input.Body.backendVariableTemplates[_].isAdvanced == BOOLEAN
    input.Body.backendVariableTemplates[_].key == STRING
    input.Body.backendVariableTemplates[_].locationType == enum_ConfigVariableTemplateLocationType[_]
    input.Body.backendVariableTemplates[_].required == BOOLEAN
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].boolValue == BOOLEAN
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].comparator == enum_FieldComparisonComparator[_]
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].intValue == STRING
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].key == STRING
    input.Body.backendVariableTemplates[_].requiredCondition.fieldComparisons[_].stringValue == STRING
    input.Body.backendVariableTemplates[_].requiredCondition.logicalExpressions[_] == NESTED
    input.Body.backendVariableTemplates[_].requiredCondition.logicalOperator == enum_LogicalExpressionLogicalOperator[_]
    input.Body.backendVariableTemplates[_].roleGrant.helperTextTemplate == STRING
    input.Body.backendVariableTemplates[_].roleGrant.principal == enum_RoleGrantPrincipal[_]
    input.Body.backendVariableTemplates[_].roleGrant.resource.pathTemplate == STRING
    input.Body.backendVariableTemplates[_].roleGrant.resource.type == enum_ResourceType[_]
    input.Body.backendVariableTemplates[_].roleGrant.roles[_] == STRING
    input.Body.backendVariableTemplates[_].state == enum_ConfigVariableTemplateState[_]
    input.Body.backendVariableTemplates[_].validationRegex == STRING
    input.Body.backendVariableTemplates[_].valueType == enum_ConfigVariableTemplateValueType[_]
    input.Body.destinationConfigs[_].destinations[_].host == STRING
    input.Body.destinationConfigs[_].destinations[_].port == INTEGER
    input.Body.destinationConfigs[_].destinations[_].serviceAttachment == STRING
    input.Body.destinationConfigs[_].key == STRING
    input.Body.enableBackendDestinationConfig == BOOLEAN
    input.Body.labels.STRING == STRING
    input.Body.serviceAccount == STRING
    input.Body.specLocation == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.delete

valid {
    input.ReqMap.name == STRING
    input.Qs.force == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.customConnectors.patch

enum_CustomConnectorCustomConnectorType := [ "CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", "OPEN_API", "PROTO" ]

valid {
    input.Body.customConnectorType == enum_CustomConnectorCustomConnectorType[_]
    input.Body.description == STRING
    input.Body.displayName == STRING
    input.Body.labels.STRING == STRING
    input.Body.logo == STRING
    input.Body.name == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.getSettings

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.managedZones.create

valid {
    input.Body.description == STRING
    input.Body.dns == STRING
    input.Body.labels.STRING == STRING
    input.Body.targetProject == STRING
    input.Body.targetVpc == STRING
    input.ReqMap.parent == STRING
    input.Qs.managedZoneId == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.managedZones.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.managedZones.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.managedZones.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.managedZones.patch

valid {
    input.Body.description == STRING
    input.Body.dns == STRING
    input.Body.labels.STRING == STRING
    input.Body.targetProject == STRING
    input.Body.targetVpc == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.global.updateSettings

valid {
    input.Body.vpcsc == BOOLEAN
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.list

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.operations.cancel

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.operations.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.operations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.operations.list

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.connectors.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.connectors.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.connectors.versions.eventtypes.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.connectors.versions.eventtypes.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.connectors.versions.get

enum_ViewParameter := [ "CONNECTOR_VERSION_VIEW_UNSPECIFIED", "CONNECTOR_VERSION_VIEW_BASIC", "CONNECTOR_VERSION_VIEW_FULL" ]

valid {
    input.ReqMap.name == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.connectors.versions.list

enum_ViewParameter := [ "CONNECTOR_VERSION_VIEW_UNSPECIFIED", "CONNECTOR_VERSION_VIEW_BASIC", "CONNECTOR_VERSION_VIEW_FULL" ]

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.getIamPolicy

valid {
    input.ReqMap.resource == STRING
    input.Qs.options.requestedPolicyVersion == INTEGER
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.setIamPolicy

enum_AuditLogConfigLogType := [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ]

valid {
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].exemptedMembers[_] == STRING
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].logType == enum_AuditLogConfigLogType[_]
    input.Body.policy.auditConfigs[_].service == STRING
    input.Body.policy.bindings[_].condition.description == STRING
    input.Body.policy.bindings[_].condition.expression == STRING
    input.Body.policy.bindings[_].condition.location == STRING
    input.Body.policy.bindings[_].condition.title == STRING
    input.Body.policy.bindings[_].members[_] == STRING
    input.Body.policy.bindings[_].role == STRING
    input.Body.policy.etag == STRING
    input.Body.policy.version == INTEGER
    input.Body.updateMask == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.providers.testIamPermissions

valid {
    input.Body.permissions[_] == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

connectors.projects.locations.updateRegionalSettings

enum_EncryptionConfigEncryptionType := [ "ENCRYPTION_TYPE_UNSPECIFIED", "GMEK", "CMEK" ]
enum_NetworkConfigEgressMode := [ "NETWORK_EGRESS_MODE_UNSPECIFIED", "AUTO_IP", "STATIC_IP" ]

valid {
    input.Body.encryptionConfig.encryptionType == enum_EncryptionConfigEncryptionType[_]
    input.Body.encryptionConfig.kmsKeyName == STRING
    input.Body.networkConfig.egressMode == enum_NetworkConfigEgressMode[_]
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}