Skip to content

Commit

Permalink
feat(dialogflow): update the API
Browse files Browse the repository at this point in the history
#### dialogflow:v2beta1
The following keys were added:
- resources.projects.resources.agent.resources.knowledgeBases.resources.documents.methods.create.parameters.importGcsCustomMetadata.description
- resources.projects.resources.agent.resources.knowledgeBases.resources.documents.methods.create.parameters.importGcsCustomMetadata.location
- resources.projects.resources.agent.resources.knowledgeBases.resources.documents.methods.create.parameters.importGcsCustomMetadata.type
- resources.projects.resources.knowledgeBases.resources.documents.methods.create.parameters.importGcsCustomMetadata.description
- resources.projects.resources.knowledgeBases.resources.documents.methods.create.parameters.importGcsCustomMetadata.location
- resources.projects.resources.knowledgeBases.resources.documents.methods.create.parameters.importGcsCustomMetadata.type
- schemas.GoogleCloudDialogflowV2beta1ReloadDocumentRequest.properties.importGcsCustomMetadata.description
- schemas.GoogleCloudDialogflowV2beta1ReloadDocumentRequest.properties.importGcsCustomMetadata.type

The following keys were changed:
- schemas.GoogleCloudDialogflowV2beta1QueryParameters.properties.webhookHeaders.description

#### dialogflow:v2
The following keys were added:
- schemas.GoogleCloudDialogflowV2QueryParameters.properties.webhookHeaders.additionalProperties.type
- schemas.GoogleCloudDialogflowV2QueryParameters.properties.webhookHeaders.description
- schemas.GoogleCloudDialogflowV2QueryParameters.properties.webhookHeaders.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent eb2d0c9 commit e510c94
Show file tree
Hide file tree
Showing 5 changed files with 1,239 additions and 2,544 deletions.
9 changes: 8 additions & 1 deletion discovery/dialogflow-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@
}
}
},
"revision": "20201109",
"revision": "20201119",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3PageInfo": {
Expand Down Expand Up @@ -4858,6 +4858,13 @@
"timeZone": {
"description": "The time zone of this conversational query from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is used.",
"type": "string"
},
"webhookHeaders": {
"additionalProperties": {
"type": "string"
},
"description": "This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through Dialogflow web console. The headers defined within this field will overwrite the headers configured through Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: \"Host\", \"Content-Length\", \"Connection\", \"From\", \"User-Agent\", \"Accept-Encoding\", \"If-Modified-Since\", \"If-None-Match\", \"X-Forwarded-For\", etc.",
"type": "object"
}
},
"type": "object"
Expand Down
18 changes: 16 additions & 2 deletions discovery/dialogflow-v2beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,11 @@
"parent"
],
"parameters": {
"importGcsCustomMetadata": {
"description": "Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.",
"location": "query",
"type": "boolean"
},
"parent": {
"description": "Required. The knowledge base to create a document for. Format: `projects//knowledgeBases/`.",
"location": "path",
Expand Down Expand Up @@ -2400,6 +2405,11 @@
"parent"
],
"parameters": {
"importGcsCustomMetadata": {
"description": "Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.",
"location": "query",
"type": "boolean"
},
"parent": {
"description": "Required. The knowledge base to create a document for. Format: `projects//knowledgeBases/`.",
"location": "path",
Expand Down Expand Up @@ -4537,7 +4547,7 @@
}
}
},
"revision": "20201109",
"revision": "20201119",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3PageInfo": {
Expand Down Expand Up @@ -9181,7 +9191,7 @@
"additionalProperties": {
"type": "string"
},
"description": "This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook alone with the headers that have been configured through Dialogflow web console. The headers defined within this field will overwrite the headers configured through Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: \"Host\", \"Content-Length\", \"Connection\", \"From\", \"User-Agent\", \"Accept-Encoding\", \"If-Modified-Since\", \"If-None-Match\", \"X-Forwarded-For\", etc.",
"description": "This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through Dialogflow web console. The headers defined within this field will overwrite the headers configured through Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: \"Host\", \"Content-Length\", \"Connection\", \"From\", \"User-Agent\", \"Accept-Encoding\", \"If-Modified-Since\", \"If-None-Match\", \"X-Forwarded-For\", etc.",
"type": "object"
}
},
Expand Down Expand Up @@ -9285,6 +9295,10 @@
"gcsSource": {
"$ref": "GoogleCloudDialogflowV2beta1GcsSource",
"description": "The path for a Cloud Storage source file for reloading document content. If not provided, the Document's existing source will be reloaded."
},
"importGcsCustomMetadata": {
"description": "Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.",
"type": "boolean"
}
},
"type": "object"
Expand Down

0 comments on commit e510c94

Please sign in to comment.