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:
- schemas.GoogleCloudDialogflowV2beta1AnalyzeContentRequest.properties.intentInput.$ref (Total Keys: 1)

#### dialogflow:v3

The following keys were added:
- schemas.GoogleCloudDialogflowCxV3Changelog.properties.languageCode.type (Total Keys: 1)

#### dialogflow:v3beta1

The following keys were added:
- schemas.GoogleCloudDialogflowCxV3beta1Changelog.properties.languageCode.type (Total Keys: 1)
- schemas.GoogleCloudDialogflowCxV3beta1QueryResult.properties.webhookDisplayNames (Total Keys: 2)
- schemas.GoogleCloudDialogflowCxV3beta1QueryResult.properties.webhookIds (Total Keys: 2)
- schemas.GoogleCloudDialogflowCxV3beta1QueryResult.properties.webhookLatencies (Total Keys: 3)
- schemas.GoogleCloudDialogflowCxV3beta1QueryResult.properties.webhookTags (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Feb 27, 2024
1 parent 73375de commit d35dc29
Show file tree
Hide file tree
Showing 10 changed files with 129 additions and 4 deletions.
Expand Up @@ -157,6 +157,10 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
},
},
&quot;intentInput&quot;: { # Represents the intent to trigger programmatically rather than as a result of natural language processing. The intent input is only used for V3 agent. # The intent to be triggered on V3 agent.
&quot;intent&quot;: &quot;A String&quot;, # Required. The unique identifier of the intent in V3 agent. Format: `projects//locations//locations//agents//intents/`.
&quot;languageCode&quot;: &quot;A String&quot;, # Required. The language of this conversational query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
},
&quot;messageSendTime&quot;: &quot;A String&quot;, # Optional. The send time of the message from end user or human agent&#x27;s perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: * If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. * If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
&quot;queryParams&quot;: { # Represents the parameters of the conversational query. # Parameters for a Dialogflow virtual-agent query.
&quot;contexts&quot;: [ # The collection of contexts to be activated before this query is executed.
Expand Down
Expand Up @@ -157,6 +157,10 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
},
},
&quot;intentInput&quot;: { # Represents the intent to trigger programmatically rather than as a result of natural language processing. The intent input is only used for V3 agent. # The intent to be triggered on V3 agent.
&quot;intent&quot;: &quot;A String&quot;, # Required. The unique identifier of the intent in V3 agent. Format: `projects//locations//locations//agents//intents/`.
&quot;languageCode&quot;: &quot;A String&quot;, # Required. The language of this conversational query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
},
&quot;messageSendTime&quot;: &quot;A String&quot;, # Optional. The send time of the message from end user or human agent&#x27;s perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: * If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. * If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
&quot;queryParams&quot;: { # Represents the parameters of the conversational query. # Parameters for a Dialogflow virtual-agent query.
&quot;contexts&quot;: [ # The collection of contexts to be activated before this query is executed.
Expand Down
Expand Up @@ -110,6 +110,7 @@ <h3>Method Details</h3>
&quot;action&quot;: &quot;A String&quot;, # The action of the change.
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp of the change.
&quot;displayName&quot;: &quot;A String&quot;, # The affected resource display name of the change.
&quot;languageCode&quot;: &quot;A String&quot;, # The affected language code of the change.
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`.
&quot;resource&quot;: &quot;A String&quot;, # The affected resource name of the change.
&quot;type&quot;: &quot;A String&quot;, # The affected resource type.
Expand Down Expand Up @@ -140,6 +141,7 @@ <h3>Method Details</h3>
&quot;action&quot;: &quot;A String&quot;, # The action of the change.
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp of the change.
&quot;displayName&quot;: &quot;A String&quot;, # The affected resource display name of the change.
&quot;languageCode&quot;: &quot;A String&quot;, # The affected language code of the change.
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`.
&quot;resource&quot;: &quot;A String&quot;, # The affected resource name of the change.
&quot;type&quot;: &quot;A String&quot;, # The affected resource type.
Expand Down
Expand Up @@ -110,6 +110,7 @@ <h3>Method Details</h3>
&quot;action&quot;: &quot;A String&quot;, # The action of the change.
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp of the change.
&quot;displayName&quot;: &quot;A String&quot;, # The affected resource display name of the change.
&quot;languageCode&quot;: &quot;A String&quot;, # The affected language code of the change.
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`.
&quot;resource&quot;: &quot;A String&quot;, # The affected resource name of the change.
&quot;type&quot;: &quot;A String&quot;, # The affected resource type.
Expand Down Expand Up @@ -140,6 +141,7 @@ <h3>Method Details</h3>
&quot;action&quot;: &quot;A String&quot;, # The action of the change.
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp of the change.
&quot;displayName&quot;: &quot;A String&quot;, # The affected resource display name of the change.
&quot;languageCode&quot;: &quot;A String&quot;, # The affected language code of the change.
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`.
&quot;resource&quot;: &quot;A String&quot;, # The affected resource name of the change.
&quot;type&quot;: &quot;A String&quot;, # The affected resource type.
Expand Down
Expand Up @@ -1315,6 +1315,15 @@ <h3>Method Details</h3>
&quot;transcript&quot;: &quot;A String&quot;, # If natural language speech audio was provided as input, this field will contain the transcript for the audio.
&quot;triggerEvent&quot;: &quot;A String&quot;, # If an event was provided as input, this field will contain the name of the event.
&quot;triggerIntent&quot;: &quot;A String&quot;, # If an intent was provided as input, this field will contain a copy of the intent identifier. Format: `projects//locations//agents//intents/`.
&quot;webhookDisplayNames&quot;: [ # The list of webhook display names in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookIds&quot;: [ # The list of webhook ids in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookLatencies&quot;: [ # The list of webhook latencies in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookPayloads&quot;: [ # The list of webhook payload in WebhookResponse.payload, in the order of call sequence. If some webhook call fails or doesn&#x27;t return any payload, an empty `Struct` would be used instead.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Expand All @@ -1331,6 +1340,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
],
&quot;webhookTags&quot;: [ # The list of webhook tags in the order of call sequence.
&quot;A String&quot;,
],
},
&quot;responseId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
&quot;responseType&quot;: &quot;A String&quot;, # Response type.
Expand Down Expand Up @@ -2593,6 +2605,15 @@ <h3>Method Details</h3>
&quot;transcript&quot;: &quot;A String&quot;, # If natural language speech audio was provided as input, this field will contain the transcript for the audio.
&quot;triggerEvent&quot;: &quot;A String&quot;, # If an event was provided as input, this field will contain the name of the event.
&quot;triggerIntent&quot;: &quot;A String&quot;, # If an intent was provided as input, this field will contain a copy of the intent identifier. Format: `projects//locations//agents//intents/`.
&quot;webhookDisplayNames&quot;: [ # The list of webhook display names in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookIds&quot;: [ # The list of webhook ids in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookLatencies&quot;: [ # The list of webhook latencies in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookPayloads&quot;: [ # The list of webhook payload in WebhookResponse.payload, in the order of call sequence. If some webhook call fails or doesn&#x27;t return any payload, an empty `Struct` would be used instead.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Expand All @@ -2609,6 +2630,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
],
&quot;webhookTags&quot;: [ # The list of webhook tags in the order of call sequence.
&quot;A String&quot;,
],
},
&quot;responseId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
}</pre>
Expand Down Expand Up @@ -4905,6 +4929,15 @@ <h3>Method Details</h3>
&quot;transcript&quot;: &quot;A String&quot;, # If natural language speech audio was provided as input, this field will contain the transcript for the audio.
&quot;triggerEvent&quot;: &quot;A String&quot;, # If an event was provided as input, this field will contain the name of the event.
&quot;triggerIntent&quot;: &quot;A String&quot;, # If an intent was provided as input, this field will contain a copy of the intent identifier. Format: `projects//locations//agents//intents/`.
&quot;webhookDisplayNames&quot;: [ # The list of webhook display names in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookIds&quot;: [ # The list of webhook ids in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookLatencies&quot;: [ # The list of webhook latencies in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookPayloads&quot;: [ # The list of webhook payload in WebhookResponse.payload, in the order of call sequence. If some webhook call fails or doesn&#x27;t return any payload, an empty `Struct` would be used instead.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Expand All @@ -4921,6 +4954,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
],
&quot;webhookTags&quot;: [ # The list of webhook tags in the order of call sequence.
&quot;A String&quot;,
],
},
&quot;responseId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
&quot;responseType&quot;: &quot;A String&quot;, # Response type.
Expand Down
Expand Up @@ -1318,6 +1318,15 @@ <h3>Method Details</h3>
&quot;transcript&quot;: &quot;A String&quot;, # If natural language speech audio was provided as input, this field will contain the transcript for the audio.
&quot;triggerEvent&quot;: &quot;A String&quot;, # If an event was provided as input, this field will contain the name of the event.
&quot;triggerIntent&quot;: &quot;A String&quot;, # If an intent was provided as input, this field will contain a copy of the intent identifier. Format: `projects//locations//agents//intents/`.
&quot;webhookDisplayNames&quot;: [ # The list of webhook display names in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookIds&quot;: [ # The list of webhook ids in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookLatencies&quot;: [ # The list of webhook latencies in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookPayloads&quot;: [ # The list of webhook payload in WebhookResponse.payload, in the order of call sequence. If some webhook call fails or doesn&#x27;t return any payload, an empty `Struct` would be used instead.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Expand All @@ -1334,6 +1343,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
],
&quot;webhookTags&quot;: [ # The list of webhook tags in the order of call sequence.
&quot;A String&quot;,
],
},
&quot;responseId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
&quot;responseType&quot;: &quot;A String&quot;, # Response type.
Expand Down Expand Up @@ -2596,6 +2608,15 @@ <h3>Method Details</h3>
&quot;transcript&quot;: &quot;A String&quot;, # If natural language speech audio was provided as input, this field will contain the transcript for the audio.
&quot;triggerEvent&quot;: &quot;A String&quot;, # If an event was provided as input, this field will contain the name of the event.
&quot;triggerIntent&quot;: &quot;A String&quot;, # If an intent was provided as input, this field will contain a copy of the intent identifier. Format: `projects//locations//agents//intents/`.
&quot;webhookDisplayNames&quot;: [ # The list of webhook display names in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookIds&quot;: [ # The list of webhook ids in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookLatencies&quot;: [ # The list of webhook latencies in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookPayloads&quot;: [ # The list of webhook payload in WebhookResponse.payload, in the order of call sequence. If some webhook call fails or doesn&#x27;t return any payload, an empty `Struct` would be used instead.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Expand All @@ -2612,6 +2633,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
],
&quot;webhookTags&quot;: [ # The list of webhook tags in the order of call sequence.
&quot;A String&quot;,
],
},
&quot;responseId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
}</pre>
Expand Down Expand Up @@ -4908,6 +4932,15 @@ <h3>Method Details</h3>
&quot;transcript&quot;: &quot;A String&quot;, # If natural language speech audio was provided as input, this field will contain the transcript for the audio.
&quot;triggerEvent&quot;: &quot;A String&quot;, # If an event was provided as input, this field will contain the name of the event.
&quot;triggerIntent&quot;: &quot;A String&quot;, # If an intent was provided as input, this field will contain a copy of the intent identifier. Format: `projects//locations//agents//intents/`.
&quot;webhookDisplayNames&quot;: [ # The list of webhook display names in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookIds&quot;: [ # The list of webhook ids in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookLatencies&quot;: [ # The list of webhook latencies in the order of call sequence.
&quot;A String&quot;,
],
&quot;webhookPayloads&quot;: [ # The list of webhook payload in WebhookResponse.payload, in the order of call sequence. If some webhook call fails or doesn&#x27;t return any payload, an empty `Struct` would be used instead.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Expand All @@ -4924,6 +4957,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
],
&quot;webhookTags&quot;: [ # The list of webhook tags in the order of call sequence.
&quot;A String&quot;,
],
},
&quot;responseId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
&quot;responseType&quot;: &quot;A String&quot;, # Response type.
Expand Down
Expand Up @@ -8327,7 +8327,7 @@
}
}
},
"revision": "20240131",
"revision": "20240219",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3AdvancedSettings": {
Expand Down
Expand Up @@ -7695,7 +7695,7 @@
}
}
},
"revision": "20240131",
"revision": "20240219",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3AdvancedSettings": {
Expand Down Expand Up @@ -14630,6 +14630,10 @@ true
"$ref": "GoogleCloudDialogflowV2beta1EventInput",
"description": "An input event to send to Dialogflow."
},
"intentInput": {
"$ref": "GoogleCloudDialogflowV2beta1IntentInput",
"description": "The intent to be triggered on V3 agent."
},
"messageSendTime": {
"description": "Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: * If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. * If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.",
"format": "google-datetime",
Expand Down
6 changes: 5 additions & 1 deletion googleapiclient/discovery_cache/documents/dialogflow.v3.json
Expand Up @@ -4453,7 +4453,7 @@
}
}
},
"revision": "20240131",
"revision": "20240219",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3AdvancedSettings": {
Expand Down Expand Up @@ -4905,6 +4905,10 @@
"description": "The affected resource display name of the change.",
"type": "string"
},
"languageCode": {
"description": "The affected language code of the change.",
"type": "string"
},
"name": {
"description": "The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`.",
"type": "string"
Expand Down

0 comments on commit d35dc29

Please sign in to comment.