mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[OAS] Fix Google Gemini connector API definitions (#186058)
This commit is contained in:
parent
9ed2865838
commit
055483e013
11 changed files with 563 additions and 23 deletions
|
@ -1512,6 +1512,42 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"create_connector_request_gemini": {
|
||||
"title": "Create Google Gemini connector request",
|
||||
"description": "The Google Gemini connector uses axios to send a POST request to Google Gemini.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"config",
|
||||
"connector_type_id",
|
||||
"name",
|
||||
"secrets"
|
||||
],
|
||||
"properties": {
|
||||
"config": {
|
||||
"$ref": "#/components/schemas/config_properties_gemini"
|
||||
},
|
||||
"connector_type_id": {
|
||||
"type": "string",
|
||||
"description": "The type of connector.",
|
||||
"enum": [
|
||||
".gemini"
|
||||
],
|
||||
"examples": [
|
||||
".gemini"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The display name for the connector.",
|
||||
"examples": [
|
||||
"my-connector"
|
||||
]
|
||||
},
|
||||
"secrets": {
|
||||
"$ref": "#/components/schemas/secrets_properties_gemini"
|
||||
}
|
||||
}
|
||||
},
|
||||
"create_connector_request_cases_webhook": {
|
||||
"title": "Create Webhook - Case Managment connector request",
|
||||
"description": "The Webhook - Case Management connector uses axios to send POST, PUT, and GET requests to a case management RESTful API web service.\n",
|
||||
|
@ -2321,6 +2357,49 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"config_properties_gemini": {
|
||||
"title": "Connector request properties for an Google Gemini connector",
|
||||
"description": "Defines properties for connectors when type is `.gemini`.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"apiUrl",
|
||||
"gcpRegion",
|
||||
"gcpProjectID"
|
||||
],
|
||||
"properties": {
|
||||
"apiUrl": {
|
||||
"type": "string",
|
||||
"description": "The Google Gemini request URL."
|
||||
},
|
||||
"defaultModel": {
|
||||
"type": "string",
|
||||
"description": "The generative artificial intelligence model for Google Gemini to use.",
|
||||
"default": "gemini-1.5-pro-preview-0409"
|
||||
},
|
||||
"gcpRegion": {
|
||||
"type": "string",
|
||||
"description": "The GCP region where the Vertex AI endpoint enabled."
|
||||
},
|
||||
"gcpProjectID": {
|
||||
"type": "string",
|
||||
"description": "The Google ProjectID that has Vertex AI endpoint enabled."
|
||||
}
|
||||
}
|
||||
},
|
||||
"secrets_properties_gemini": {
|
||||
"title": "Connector secrets properties for a Google Gemini connector",
|
||||
"description": "Defines secrets for connectors when type is `.gemini`.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"credentialsJSON"
|
||||
],
|
||||
"properties": {
|
||||
"credentialsJSON": {
|
||||
"type": "string",
|
||||
"description": "The service account credentials JSON file. The service account should have Vertex AI user IAM role assigned to it."
|
||||
}
|
||||
}
|
||||
},
|
||||
"config_properties_cases_webhook": {
|
||||
"title": "Connector request properties for Webhook - Case Management connector",
|
||||
"required": [
|
||||
|
@ -3443,6 +3522,9 @@
|
|||
{
|
||||
"$ref": "#/components/schemas/create_connector_request_bedrock"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/create_connector_request_gemini"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/create_connector_request_cases_webhook"
|
||||
},
|
||||
|
@ -3514,6 +3596,7 @@
|
|||
"propertyName": "connector_type_id",
|
||||
"mapping": {
|
||||
".bedrock": "#/components/schemas/create_connector_request_bedrock",
|
||||
".gemini": "#/components/schemas/create_connector_request_gemini",
|
||||
".cases-webhook": "#/components/schemas/create_connector_request_cases_webhook",
|
||||
".d3security": "#/components/schemas/create_connector_request_d3security",
|
||||
".email": "#/components/schemas/create_connector_request_email",
|
||||
|
@ -3583,6 +3666,52 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"connector_response_properties_gemini": {
|
||||
"title": "Connector response properties for a Google Gemini connector",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"connector_type_id",
|
||||
"id",
|
||||
"is_deprecated",
|
||||
"is_preconfigured",
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"config": {
|
||||
"$ref": "#/components/schemas/config_properties_gemini"
|
||||
},
|
||||
"connector_type_id": {
|
||||
"type": "string",
|
||||
"description": "The type of connector.",
|
||||
"enum": [
|
||||
".gemini"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The identifier for the connector."
|
||||
},
|
||||
"is_deprecated": {
|
||||
"$ref": "#/components/schemas/is_deprecated"
|
||||
},
|
||||
"is_missing_secrets": {
|
||||
"$ref": "#/components/schemas/is_missing_secrets"
|
||||
},
|
||||
"is_preconfigured": {
|
||||
"$ref": "#/components/schemas/is_preconfigured"
|
||||
},
|
||||
"is_system_action": {
|
||||
"$ref": "#/components/schemas/is_system_action"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The display name for the connector."
|
||||
},
|
||||
"referenced_by_count": {
|
||||
"$ref": "#/components/schemas/referenced_by_count"
|
||||
}
|
||||
}
|
||||
},
|
||||
"connector_response_properties_cases_webhook": {
|
||||
"title": "Connector request properties for a Webhook - Case Management connector",
|
||||
"type": "object",
|
||||
|
@ -4637,6 +4766,9 @@
|
|||
{
|
||||
"$ref": "#/components/schemas/connector_response_properties_bedrock"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/connector_response_properties_gemini"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/connector_response_properties_cases_webhook"
|
||||
},
|
||||
|
@ -4708,6 +4840,7 @@
|
|||
"propertyName": "connector_type_id",
|
||||
"mapping": {
|
||||
".bedrock": "#/components/schemas/connector_response_properties_bedrock",
|
||||
".gemini": "#/components/schemas/connector_response_properties_gemini",
|
||||
".cases-webhook": "#/components/schemas/connector_response_properties_cases_webhook",
|
||||
".d3security": "#/components/schemas/connector_response_properties_d3security",
|
||||
".email": "#/components/schemas/connector_response_properties_email",
|
||||
|
@ -4753,6 +4886,26 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"update_connector_request_gemini": {
|
||||
"title": "Update Google Gemini connector request",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"config",
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"config": {
|
||||
"$ref": "#/components/schemas/config_properties_gemini"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The display name for the connector."
|
||||
},
|
||||
"secrets": {
|
||||
"$ref": "#/components/schemas/secrets_properties_gemini"
|
||||
}
|
||||
}
|
||||
},
|
||||
"update_connector_request_cases_webhook": {
|
||||
"title": "Update Webhook - Case Managment connector request",
|
||||
"type": "object",
|
||||
|
@ -5163,6 +5316,9 @@
|
|||
{
|
||||
"$ref": "#/components/schemas/update_connector_request_bedrock"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/update_connector_request_gemini"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/update_connector_request_cases_webhook"
|
||||
},
|
||||
|
@ -6364,7 +6520,9 @@
|
|||
"enum": [
|
||||
"alerting",
|
||||
"cases",
|
||||
"generativeAI",
|
||||
"generativeAIForSecurity",
|
||||
"generativeAIForObservability",
|
||||
"generativeAIForSearchPlayground",
|
||||
"siem",
|
||||
"uptime"
|
||||
]
|
||||
|
@ -6375,6 +6533,7 @@
|
|||
"description": "The type of connector. For example, `.email`, `.index`, `.jira`, `.opsgenie`, or `.server-log`.",
|
||||
"enum": [
|
||||
".bedrock",
|
||||
".gemini",
|
||||
".cases-webhook",
|
||||
".d3security",
|
||||
".email",
|
||||
|
@ -7039,7 +7198,9 @@
|
|||
"enabled_in_license": true,
|
||||
"minimum_license_required": "enterprise",
|
||||
"supported_feature_ids": [
|
||||
"generativeAI"
|
||||
"generativeAIForSecurity",
|
||||
"generativeAIForObservability",
|
||||
"generativeAIForSearchPlayground"
|
||||
],
|
||||
"is_system_action_type": false
|
||||
},
|
||||
|
@ -7051,7 +7212,21 @@
|
|||
"enabled_in_license": true,
|
||||
"minimum_license_required": "enterprise",
|
||||
"supported_feature_ids": [
|
||||
"generativeAI"
|
||||
"generativeAIForSecurity",
|
||||
"generativeAIForObservability",
|
||||
"generativeAIForSearchPlayground"
|
||||
],
|
||||
"is_system_action_type": false
|
||||
},
|
||||
{
|
||||
"id": ".gemini",
|
||||
"name": "Google Gemini",
|
||||
"enabled": true,
|
||||
"enabled_in_config": true,
|
||||
"enabled_in_license": true,
|
||||
"minimum_license_required": "enterprise",
|
||||
"supported_feature_ids": [
|
||||
"generativeAIForSecurity"
|
||||
],
|
||||
"is_system_action_type": false
|
||||
}
|
||||
|
|
|
@ -957,6 +957,32 @@ components:
|
|||
- my-connector
|
||||
secrets:
|
||||
$ref: '#/components/schemas/secrets_properties_bedrock'
|
||||
create_connector_request_gemini:
|
||||
title: Create Google Gemini connector request
|
||||
description: The Google Gemini connector uses axios to send a POST request to Google Gemini.
|
||||
type: object
|
||||
required:
|
||||
- config
|
||||
- connector_type_id
|
||||
- name
|
||||
- secrets
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/components/schemas/config_properties_gemini'
|
||||
connector_type_id:
|
||||
type: string
|
||||
description: The type of connector.
|
||||
enum:
|
||||
- .gemini
|
||||
examples:
|
||||
- .gemini
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
examples:
|
||||
- my-connector
|
||||
secrets:
|
||||
$ref: '#/components/schemas/secrets_properties_gemini'
|
||||
create_connector_request_cases_webhook:
|
||||
title: Create Webhook - Case Managment connector request
|
||||
description: |
|
||||
|
@ -1555,6 +1581,38 @@ components:
|
|||
secret:
|
||||
type: string
|
||||
description: The AWS secret for authentication.
|
||||
config_properties_gemini:
|
||||
title: Connector request properties for an Google Gemini connector
|
||||
description: Defines properties for connectors when type is `.gemini`.
|
||||
type: object
|
||||
required:
|
||||
- apiUrl
|
||||
- gcpRegion
|
||||
- gcpProjectID
|
||||
properties:
|
||||
apiUrl:
|
||||
type: string
|
||||
description: The Google Gemini request URL.
|
||||
defaultModel:
|
||||
type: string
|
||||
description: The generative artificial intelligence model for Google Gemini to use.
|
||||
default: gemini-1.5-pro-preview-0409
|
||||
gcpRegion:
|
||||
type: string
|
||||
description: The GCP region where the Vertex AI endpoint enabled.
|
||||
gcpProjectID:
|
||||
type: string
|
||||
description: The Google ProjectID that has Vertex AI endpoint enabled.
|
||||
secrets_properties_gemini:
|
||||
title: Connector secrets properties for a Google Gemini connector
|
||||
description: Defines secrets for connectors when type is `.gemini`.
|
||||
type: object
|
||||
required:
|
||||
- credentialsJSON
|
||||
properties:
|
||||
credentialsJSON:
|
||||
type: string
|
||||
description: The service account credentials JSON file. The service account should have Vertex AI user IAM role assigned to it.
|
||||
config_properties_cases_webhook:
|
||||
title: Connector request properties for Webhook - Case Management connector
|
||||
required:
|
||||
|
@ -2438,6 +2496,7 @@ components:
|
|||
description: The properties vary depending on the connector type.
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/create_connector_request_bedrock'
|
||||
- $ref: '#/components/schemas/create_connector_request_gemini'
|
||||
- $ref: '#/components/schemas/create_connector_request_cases_webhook'
|
||||
- $ref: '#/components/schemas/create_connector_request_d3security'
|
||||
- $ref: '#/components/schemas/create_connector_request_email'
|
||||
|
@ -2464,6 +2523,7 @@ components:
|
|||
propertyName: connector_type_id
|
||||
mapping:
|
||||
.bedrock: '#/components/schemas/create_connector_request_bedrock'
|
||||
.gemini: '#/components/schemas/create_connector_request_gemini'
|
||||
.cases-webhook: '#/components/schemas/create_connector_request_cases_webhook'
|
||||
.d3security: '#/components/schemas/create_connector_request_d3security'
|
||||
.email: '#/components/schemas/create_connector_request_email'
|
||||
|
@ -2518,6 +2578,39 @@ components:
|
|||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
connector_response_properties_gemini:
|
||||
title: Connector response properties for a Google Gemini connector
|
||||
type: object
|
||||
required:
|
||||
- connector_type_id
|
||||
- id
|
||||
- is_deprecated
|
||||
- is_preconfigured
|
||||
- name
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/components/schemas/config_properties_gemini'
|
||||
connector_type_id:
|
||||
type: string
|
||||
description: The type of connector.
|
||||
enum:
|
||||
- .gemini
|
||||
id:
|
||||
type: string
|
||||
description: The identifier for the connector.
|
||||
is_deprecated:
|
||||
$ref: '#/components/schemas/is_deprecated'
|
||||
is_missing_secrets:
|
||||
$ref: '#/components/schemas/is_missing_secrets'
|
||||
is_preconfigured:
|
||||
$ref: '#/components/schemas/is_preconfigured'
|
||||
is_system_action:
|
||||
$ref: '#/components/schemas/is_system_action'
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
referenced_by_count:
|
||||
$ref: '#/components/schemas/referenced_by_count'
|
||||
connector_response_properties_cases_webhook:
|
||||
title: Connector request properties for a Webhook - Case Management connector
|
||||
type: object
|
||||
|
@ -3276,6 +3369,7 @@ components:
|
|||
description: The properties vary depending on the connector type.
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/connector_response_properties_bedrock'
|
||||
- $ref: '#/components/schemas/connector_response_properties_gemini'
|
||||
- $ref: '#/components/schemas/connector_response_properties_cases_webhook'
|
||||
- $ref: '#/components/schemas/connector_response_properties_d3security'
|
||||
- $ref: '#/components/schemas/connector_response_properties_email'
|
||||
|
@ -3302,6 +3396,7 @@ components:
|
|||
propertyName: connector_type_id
|
||||
mapping:
|
||||
.bedrock: '#/components/schemas/connector_response_properties_bedrock'
|
||||
.gemini: '#/components/schemas/connector_response_properties_gemini'
|
||||
.cases-webhook: '#/components/schemas/connector_response_properties_cases_webhook'
|
||||
.d3security: '#/components/schemas/connector_response_properties_d3security'
|
||||
.email: '#/components/schemas/connector_response_properties_email'
|
||||
|
@ -3338,6 +3433,20 @@ components:
|
|||
description: The display name for the connector.
|
||||
secrets:
|
||||
$ref: '#/components/schemas/secrets_properties_bedrock'
|
||||
update_connector_request_gemini:
|
||||
title: Update Google Gemini connector request
|
||||
type: object
|
||||
required:
|
||||
- config
|
||||
- name
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/components/schemas/config_properties_gemini'
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
secrets:
|
||||
$ref: '#/components/schemas/secrets_properties_gemini'
|
||||
update_connector_request_cases_webhook:
|
||||
title: Update Webhook - Case Managment connector request
|
||||
type: object
|
||||
|
@ -3629,6 +3738,7 @@ components:
|
|||
description: The properties vary depending on the connector type.
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/update_connector_request_bedrock'
|
||||
- $ref: '#/components/schemas/update_connector_request_gemini'
|
||||
- $ref: '#/components/schemas/update_connector_request_cases_webhook'
|
||||
- $ref: '#/components/schemas/update_connector_request_d3security'
|
||||
- $ref: '#/components/schemas/update_connector_request_email'
|
||||
|
@ -4453,7 +4563,9 @@ components:
|
|||
enum:
|
||||
- alerting
|
||||
- cases
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
- siem
|
||||
- uptime
|
||||
connector_types:
|
||||
|
@ -4462,6 +4574,7 @@ components:
|
|||
description: The type of connector. For example, `.email`, `.index`, `.jira`, `.opsgenie`, or `.server-log`.
|
||||
enum:
|
||||
- .bedrock
|
||||
- .gemini
|
||||
- .cases-webhook
|
||||
- .d3security
|
||||
- .email
|
||||
|
@ -4939,7 +5052,9 @@ components:
|
|||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
is_system_action_type: false
|
||||
- id: .bedrock
|
||||
name: AWS Bedrock
|
||||
|
@ -4948,7 +5063,18 @@ components:
|
|||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
is_system_action_type: false
|
||||
- id: .gemini
|
||||
name: Google Gemini
|
||||
enabled: true
|
||||
enabled_in_config: true
|
||||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAIForSecurity
|
||||
is_system_action_type: false
|
||||
get_connector_types_response:
|
||||
summary: A list of connector types
|
||||
|
|
|
@ -1341,12 +1341,12 @@
|
|||
},
|
||||
"defaultModel": {
|
||||
"type": "string",
|
||||
"description": "The generative artificial intelligence model for Google Gemini to use.\n",
|
||||
"description": "The generative artificial intelligence model for Google Gemini to use.",
|
||||
"default": "gemini-1.5-pro-preview-0409"
|
||||
},
|
||||
"gcpRegion": {
|
||||
"type": "string",
|
||||
"description": "The GCP region that has Vertex AI endpoint enabled."
|
||||
"description": "The GCP region where the Vertex AI endpoint enabled."
|
||||
},
|
||||
"gcpProjectID": {
|
||||
"type": "string",
|
||||
|
@ -1355,7 +1355,7 @@
|
|||
}
|
||||
},
|
||||
"secrets_properties_gemini": {
|
||||
"title": "Connector secrets properties for an Google Gemini connector",
|
||||
"title": "Connector secrets properties for a Google Gemini connector",
|
||||
"description": "Defines secrets for connectors when type is `.gemini`.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
@ -2635,10 +2635,9 @@
|
|||
}
|
||||
},
|
||||
"connector_response_properties_gemini": {
|
||||
"title": "Connector response properties for an Google Gemini connector",
|
||||
"title": "Connector response properties for a Google Gemini connector",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"config",
|
||||
"connector_type_id",
|
||||
"id",
|
||||
"is_deprecated",
|
||||
|
@ -2675,6 +2674,9 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"description": "The display name for the connector."
|
||||
},
|
||||
"referenced_by_count": {
|
||||
"$ref": "#/components/schemas/referenced_by_count"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -4356,7 +4358,9 @@
|
|||
"enum": [
|
||||
"alerting",
|
||||
"cases",
|
||||
"generativeAI",
|
||||
"generativeAIForSecurity",
|
||||
"generativeAIForObservability",
|
||||
"generativeAIForSearchPlayground",
|
||||
"siem",
|
||||
"uptime"
|
||||
]
|
||||
|
@ -4596,7 +4600,9 @@
|
|||
"enabled_in_license": true,
|
||||
"minimum_license_required": "enterprise",
|
||||
"supported_feature_ids": [
|
||||
"generativeAI"
|
||||
"generativeAIForSecurity",
|
||||
"generativeAIForObservability",
|
||||
"generativeAIForSearchPlayground"
|
||||
],
|
||||
"is_system_action_type": false
|
||||
},
|
||||
|
@ -4608,7 +4614,9 @@
|
|||
"enabled_in_license": true,
|
||||
"minimum_license_required": "enterprise",
|
||||
"supported_feature_ids": [
|
||||
"generativeAI"
|
||||
"generativeAIForSecurity",
|
||||
"generativeAIForObservability",
|
||||
"generativeAIForSearchPlayground"
|
||||
],
|
||||
"is_system_action_type": false
|
||||
},
|
||||
|
@ -4620,7 +4628,7 @@
|
|||
"enabled_in_license": true,
|
||||
"minimum_license_required": "enterprise",
|
||||
"supported_feature_ids": [
|
||||
"generativeAI"
|
||||
"generativeAIForSecurity"
|
||||
],
|
||||
"is_system_action_type": false
|
||||
}
|
||||
|
|
|
@ -304,6 +304,32 @@ components:
|
|||
- my-connector
|
||||
secrets:
|
||||
$ref: '#/components/schemas/secrets_properties_bedrock'
|
||||
create_connector_request_gemini:
|
||||
title: Create Google Gemini connector request
|
||||
description: The Google Gemini connector uses axios to send a POST request to Google Gemini.
|
||||
type: object
|
||||
required:
|
||||
- config
|
||||
- connector_type_id
|
||||
- name
|
||||
- secrets
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/components/schemas/config_properties_gemini'
|
||||
connector_type_id:
|
||||
type: string
|
||||
description: The type of connector.
|
||||
enum:
|
||||
- .gemini
|
||||
examples:
|
||||
- .gemini
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
examples:
|
||||
- my-connector
|
||||
secrets:
|
||||
$ref: '#/components/schemas/secrets_properties_gemini'
|
||||
create_connector_request_cases_webhook:
|
||||
title: Create Webhook - Case Managment connector request
|
||||
description: |
|
||||
|
@ -902,6 +928,38 @@ components:
|
|||
secret:
|
||||
type: string
|
||||
description: The AWS secret for authentication.
|
||||
config_properties_gemini:
|
||||
title: Connector request properties for an Google Gemini connector
|
||||
description: Defines properties for connectors when type is `.gemini`.
|
||||
type: object
|
||||
required:
|
||||
- apiUrl
|
||||
- gcpRegion
|
||||
- gcpProjectID
|
||||
properties:
|
||||
apiUrl:
|
||||
type: string
|
||||
description: The Google Gemini request URL.
|
||||
defaultModel:
|
||||
type: string
|
||||
description: The generative artificial intelligence model for Google Gemini to use.
|
||||
default: gemini-1.5-pro-preview-0409
|
||||
gcpRegion:
|
||||
type: string
|
||||
description: The GCP region where the Vertex AI endpoint enabled.
|
||||
gcpProjectID:
|
||||
type: string
|
||||
description: The Google ProjectID that has Vertex AI endpoint enabled.
|
||||
secrets_properties_gemini:
|
||||
title: Connector secrets properties for a Google Gemini connector
|
||||
description: Defines secrets for connectors when type is `.gemini`.
|
||||
type: object
|
||||
required:
|
||||
- credentialsJSON
|
||||
properties:
|
||||
credentialsJSON:
|
||||
type: string
|
||||
description: The service account credentials JSON file. The service account should have Vertex AI user IAM role assigned to it.
|
||||
config_properties_cases_webhook:
|
||||
title: Connector request properties for Webhook - Case Management connector
|
||||
required:
|
||||
|
@ -1785,6 +1843,7 @@ components:
|
|||
description: The properties vary depending on the connector type.
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/create_connector_request_bedrock'
|
||||
- $ref: '#/components/schemas/create_connector_request_gemini'
|
||||
- $ref: '#/components/schemas/create_connector_request_cases_webhook'
|
||||
- $ref: '#/components/schemas/create_connector_request_d3security'
|
||||
- $ref: '#/components/schemas/create_connector_request_email'
|
||||
|
@ -1811,6 +1870,7 @@ components:
|
|||
propertyName: connector_type_id
|
||||
mapping:
|
||||
.bedrock: '#/components/schemas/create_connector_request_bedrock'
|
||||
.gemini: '#/components/schemas/create_connector_request_gemini'
|
||||
.cases-webhook: '#/components/schemas/create_connector_request_cases_webhook'
|
||||
.d3security: '#/components/schemas/create_connector_request_d3security'
|
||||
.email: '#/components/schemas/create_connector_request_email'
|
||||
|
@ -1865,6 +1925,39 @@ components:
|
|||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
connector_response_properties_gemini:
|
||||
title: Connector response properties for a Google Gemini connector
|
||||
type: object
|
||||
required:
|
||||
- connector_type_id
|
||||
- id
|
||||
- is_deprecated
|
||||
- is_preconfigured
|
||||
- name
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/components/schemas/config_properties_gemini'
|
||||
connector_type_id:
|
||||
type: string
|
||||
description: The type of connector.
|
||||
enum:
|
||||
- .gemini
|
||||
id:
|
||||
type: string
|
||||
description: The identifier for the connector.
|
||||
is_deprecated:
|
||||
$ref: '#/components/schemas/is_deprecated'
|
||||
is_missing_secrets:
|
||||
$ref: '#/components/schemas/is_missing_secrets'
|
||||
is_preconfigured:
|
||||
$ref: '#/components/schemas/is_preconfigured'
|
||||
is_system_action:
|
||||
$ref: '#/components/schemas/is_system_action'
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
referenced_by_count:
|
||||
$ref: '#/components/schemas/referenced_by_count'
|
||||
connector_response_properties_cases_webhook:
|
||||
title: Connector request properties for a Webhook - Case Management connector
|
||||
type: object
|
||||
|
@ -2623,6 +2716,7 @@ components:
|
|||
description: The properties vary depending on the connector type.
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/connector_response_properties_bedrock'
|
||||
- $ref: '#/components/schemas/connector_response_properties_gemini'
|
||||
- $ref: '#/components/schemas/connector_response_properties_cases_webhook'
|
||||
- $ref: '#/components/schemas/connector_response_properties_d3security'
|
||||
- $ref: '#/components/schemas/connector_response_properties_email'
|
||||
|
@ -2649,6 +2743,7 @@ components:
|
|||
propertyName: connector_type_id
|
||||
mapping:
|
||||
.bedrock: '#/components/schemas/connector_response_properties_bedrock'
|
||||
.gemini: '#/components/schemas/connector_response_properties_gemini'
|
||||
.cases-webhook: '#/components/schemas/connector_response_properties_cases_webhook'
|
||||
.d3security: '#/components/schemas/connector_response_properties_d3security'
|
||||
.email: '#/components/schemas/connector_response_properties_email'
|
||||
|
@ -2685,6 +2780,20 @@ components:
|
|||
description: The display name for the connector.
|
||||
secrets:
|
||||
$ref: '#/components/schemas/secrets_properties_bedrock'
|
||||
update_connector_request_gemini:
|
||||
title: Update Google Gemini connector request
|
||||
type: object
|
||||
required:
|
||||
- config
|
||||
- name
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/components/schemas/config_properties_gemini'
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
secrets:
|
||||
$ref: '#/components/schemas/secrets_properties_gemini'
|
||||
update_connector_request_cases_webhook:
|
||||
title: Update Webhook - Case Managment connector request
|
||||
type: object
|
||||
|
@ -2976,6 +3085,7 @@ components:
|
|||
description: The properties vary depending on the connector type.
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/update_connector_request_bedrock'
|
||||
- $ref: '#/components/schemas/update_connector_request_gemini'
|
||||
- $ref: '#/components/schemas/update_connector_request_cases_webhook'
|
||||
- $ref: '#/components/schemas/update_connector_request_d3security'
|
||||
- $ref: '#/components/schemas/update_connector_request_email'
|
||||
|
@ -3004,7 +3114,9 @@ components:
|
|||
enum:
|
||||
- alerting
|
||||
- cases
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
- siem
|
||||
- uptime
|
||||
connector_types:
|
||||
|
@ -3013,6 +3125,7 @@ components:
|
|||
description: The type of connector. For example, `.email`, `.index`, `.jira`, `.opsgenie`, or `.server-log`.
|
||||
enum:
|
||||
- .bedrock
|
||||
- .gemini
|
||||
- .cases-webhook
|
||||
- .d3security
|
||||
- .email
|
||||
|
@ -3197,7 +3310,9 @@ components:
|
|||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
is_system_action_type: false
|
||||
- id: .bedrock
|
||||
name: AWS Bedrock
|
||||
|
@ -3206,7 +3321,18 @@ components:
|
|||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
is_system_action_type: false
|
||||
- id: .gemini
|
||||
name: Google Gemini
|
||||
enabled: true
|
||||
enabled_in_config: true
|
||||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAIForSecurity
|
||||
is_system_action_type: false
|
||||
responses:
|
||||
'401':
|
||||
|
|
|
@ -7,7 +7,9 @@ value:
|
|||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
is_system_action_type: false
|
||||
- id: .bedrock
|
||||
name: AWS Bedrock
|
||||
|
@ -16,9 +18,10 @@ value:
|
|||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
is_system_action_type: false
|
||||
|
||||
- id: .gemini
|
||||
name: Google Gemini
|
||||
enabled: true
|
||||
|
@ -26,5 +29,5 @@ value:
|
|||
enabled_in_license: true
|
||||
minimum_license_required: enterprise
|
||||
supported_feature_ids:
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
is_system_action_type: false
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
title: Connector request properties for an Google Gemini connector
|
||||
description: Defines properties for connectors when type is `.gemini`.
|
||||
type: object
|
||||
required:
|
||||
- apiUrl
|
||||
- gcpRegion
|
||||
- gcpProjectID
|
||||
properties:
|
||||
apiUrl:
|
||||
type: string
|
||||
description: The Google Gemini request URL.
|
||||
defaultModel:
|
||||
type: string
|
||||
description: The generative artificial intelligence model for Google Gemini to use.
|
||||
default: gemini-1.5-pro-preview-0409
|
||||
gcpRegion:
|
||||
type: string
|
||||
description: The GCP region where the Vertex AI endpoint enabled.
|
||||
gcpProjectID:
|
||||
type: string
|
||||
description: The Google ProjectID that has Vertex AI endpoint enabled.
|
|
@ -0,0 +1,32 @@
|
|||
title: Connector response properties for a Google Gemini connector
|
||||
type: object
|
||||
required:
|
||||
- connector_type_id
|
||||
- id
|
||||
- is_deprecated
|
||||
- is_preconfigured
|
||||
- name
|
||||
properties:
|
||||
config:
|
||||
$ref: 'config_properties_gemini.yaml'
|
||||
connector_type_id:
|
||||
type: string
|
||||
description: The type of connector.
|
||||
enum:
|
||||
- .gemini
|
||||
id:
|
||||
type: string
|
||||
description: The identifier for the connector.
|
||||
is_deprecated:
|
||||
$ref: 'is_deprecated.yaml'
|
||||
is_missing_secrets:
|
||||
$ref: 'is_missing_secrets.yaml'
|
||||
is_preconfigured:
|
||||
$ref: 'is_preconfigured.yaml'
|
||||
is_system_action:
|
||||
$ref: 'is_system_action.yaml'
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
referenced_by_count:
|
||||
$ref: 'referenced_by_count.yaml'
|
|
@ -0,0 +1,25 @@
|
|||
title: Create Google Gemini connector request
|
||||
description: The Google Gemini connector uses axios to send a POST request to Google Gemini.
|
||||
type: object
|
||||
required:
|
||||
- config
|
||||
- connector_type_id
|
||||
- name
|
||||
- secrets
|
||||
properties:
|
||||
config:
|
||||
$ref: 'config_properties_gemini.yaml'
|
||||
connector_type_id:
|
||||
type: string
|
||||
description: The type of connector.
|
||||
enum:
|
||||
- .gemini
|
||||
examples:
|
||||
- .gemini
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
examples:
|
||||
- my-connector
|
||||
secrets:
|
||||
$ref: 'secrets_properties_gemini.yaml'
|
|
@ -4,6 +4,8 @@ description: >
|
|||
enum:
|
||||
- alerting
|
||||
- cases
|
||||
- generativeAI
|
||||
- generativeAIForSecurity
|
||||
- generativeAIForObservability
|
||||
- generativeAIForSearchPlayground
|
||||
- siem
|
||||
- uptime
|
|
@ -0,0 +1,9 @@
|
|||
title: Connector secrets properties for a Google Gemini connector
|
||||
description: Defines secrets for connectors when type is `.gemini`.
|
||||
type: object
|
||||
required:
|
||||
- credentialsJSON
|
||||
properties:
|
||||
credentialsJSON:
|
||||
type: string
|
||||
description: The service account credentials JSON file. The service account should have Vertex AI user IAM role assigned to it.
|
|
@ -0,0 +1,13 @@
|
|||
title: Update Google Gemini connector request
|
||||
type: object
|
||||
required:
|
||||
- config
|
||||
- name
|
||||
properties:
|
||||
config:
|
||||
$ref: 'config_properties_gemini.yaml'
|
||||
name:
|
||||
type: string
|
||||
description: The display name for the connector.
|
||||
secrets:
|
||||
$ref: 'secrets_properties_gemini.yaml'
|
Loading…
Add table
Add a link
Reference in a new issue