Skip to content

Commit 970f296

Browse files
feat(dialogflow): update the api
#### dialogflow:v2 The following keys were added: - schemas.GoogleCloudDialogflowV2ConversationProfile.properties.ttsConfig.$ref (Total Keys: 1) #### dialogflow:v2beta1 The following keys were added: - schemas.GoogleCloudDialogflowV2beta1ConversationProfile.properties.ttsConfig.$ref (Total Keys: 1) #### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowCxV3MatchIntentRequest.properties.persistParameterChanges.type (Total Keys: 1) #### dialogflow:v3beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3beta1MatchIntentRequest.properties.persistParameterChanges.type (Total Keys: 1)
1 parent e66d158 commit 970f296

14 files changed

+336
-24
lines changed

docs/dyn/dialogflow_v2.projects.conversationProfiles.html

Lines changed: 72 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html

Lines changed: 72 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html

Lines changed: 72 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html

Lines changed: 72 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dialogflow_v3.projects.locations.agents.environments.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h3>Method Details</h3>
154154
],
155155
},
156156
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
157-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
157+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
158158
{ # Configuration for the version.
159159
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
160160
},
@@ -311,7 +311,7 @@ <h3>Method Details</h3>
311311
],
312312
},
313313
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
314-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
314+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
315315
{ # Configuration for the version.
316316
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
317317
},
@@ -384,7 +384,7 @@ <h3>Method Details</h3>
384384
],
385385
},
386386
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
387-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
387+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
388388
{ # Configuration for the version.
389389
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
390390
},
@@ -474,7 +474,7 @@ <h3>Method Details</h3>
474474
],
475475
},
476476
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
477-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
477+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
478478
{ # Configuration for the version.
479479
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
480480
},
@@ -555,7 +555,7 @@ <h3>Method Details</h3>
555555
],
556556
},
557557
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
558-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
558+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
559559
{ # Configuration for the version.
560560
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
561561
},

docs/dyn/dialogflow_v3.projects.locations.agents.environments.sessions.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,7 @@ <h3>Method Details</h3>
10591059
&quot;resolvedInput&quot;: &quot;A String&quot;, # Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
10601060
},
10611061
&quot;matchIntentRequest&quot;: { # Request of MatchIntent. # Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.
1062+
&quot;persistParameterChanges&quot;: True or False, # Persist session parameter changes from `query_params`.
10621063
&quot;queryInput&quot;: { # Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. # Required. The input specification.
10631064
&quot;audio&quot;: { # Represents the natural speech audio to be processed. # The natural language speech audio to be processed.
10641065
&quot;audio&quot;: &quot;A String&quot;, # The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.
@@ -1970,6 +1971,7 @@ <h3>Method Details</h3>
19701971
The object takes the form of:
19711972

19721973
{ # Request of MatchIntent.
1974+
&quot;persistParameterChanges&quot;: True or False, # Persist session parameter changes from `query_params`.
19731975
&quot;queryInput&quot;: { # Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. # Required. The input specification.
19741976
&quot;audio&quot;: { # Represents the natural speech audio to be processed. # The natural language speech audio to be processed.
19751977
&quot;audio&quot;: &quot;A String&quot;, # The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.

docs/dyn/dialogflow_v3.projects.locations.agents.sessions.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,7 @@ <h3>Method Details</h3>
10591059
&quot;resolvedInput&quot;: &quot;A String&quot;, # Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
10601060
},
10611061
&quot;matchIntentRequest&quot;: { # Request of MatchIntent. # Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.
1062+
&quot;persistParameterChanges&quot;: True or False, # Persist session parameter changes from `query_params`.
10621063
&quot;queryInput&quot;: { # Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. # Required. The input specification.
10631064
&quot;audio&quot;: { # Represents the natural speech audio to be processed. # The natural language speech audio to be processed.
10641065
&quot;audio&quot;: &quot;A String&quot;, # The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.
@@ -1970,6 +1971,7 @@ <h3>Method Details</h3>
19701971
The object takes the form of:
19711972

19721973
{ # Request of MatchIntent.
1974+
&quot;persistParameterChanges&quot;: True or False, # Persist session parameter changes from `query_params`.
19731975
&quot;queryInput&quot;: { # Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. # Required. The input specification.
19741976
&quot;audio&quot;: { # Represents the natural speech audio to be processed. # The natural language speech audio to be processed.
19751977
&quot;audio&quot;: &quot;A String&quot;, # The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.

docs/dyn/dialogflow_v3beta1.projects.locations.agents.environments.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h3>Method Details</h3>
154154
],
155155
},
156156
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
157-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
157+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
158158
{ # Configuration for the version.
159159
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
160160
},
@@ -311,7 +311,7 @@ <h3>Method Details</h3>
311311
],
312312
},
313313
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
314-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
314+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
315315
{ # Configuration for the version.
316316
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
317317
},
@@ -384,7 +384,7 @@ <h3>Method Details</h3>
384384
],
385385
},
386386
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
387-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
387+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
388388
{ # Configuration for the version.
389389
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
390390
},
@@ -474,7 +474,7 @@ <h3>Method Details</h3>
474474
],
475475
},
476476
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
477-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
477+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
478478
{ # Configuration for the version.
479479
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
480480
},
@@ -555,7 +555,7 @@ <h3>Method Details</h3>
555555
],
556556
},
557557
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of this environment.
558-
&quot;versionConfigs&quot;: [ # Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
558+
&quot;versionConfigs&quot;: [ # A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.
559559
{ # Configuration for the version.
560560
&quot;version&quot;: &quot;A String&quot;, # Required. Format: projects//locations//agents//flows//versions/.
561561
},

docs/dyn/dialogflow_v3beta1.projects.locations.agents.environments.sessions.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,7 @@ <h3>Method Details</h3>
10591059
&quot;resolvedInput&quot;: &quot;A String&quot;, # Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
10601060
},
10611061
&quot;matchIntentRequest&quot;: { # Request of MatchIntent. # Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.
1062+
&quot;persistParameterChanges&quot;: True or False, # Persist session parameter changes from `query_params`.
10621063
&quot;queryInput&quot;: { # Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. # Required. The input specification.
10631064
&quot;audio&quot;: { # Represents the natural speech audio to be processed. # The natural language speech audio to be processed.
10641065
&quot;audio&quot;: &quot;A String&quot;, # The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.
@@ -1970,6 +1971,7 @@ <h3>Method Details</h3>
19701971
The object takes the form of:
19711972

19721973
{ # Request of MatchIntent.
1974+
&quot;persistParameterChanges&quot;: True or False, # Persist session parameter changes from `query_params`.
19731975
&quot;queryInput&quot;: { # Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. # Required. The input specification.
19741976
&quot;audio&quot;: { # Represents the natural speech audio to be processed. # The natural language speech audio to be processed.
19751977
&quot;audio&quot;: &quot;A String&quot;, # The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.

docs/dyn/dialogflow_v3beta1.projects.locations.agents.sessions.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,7 @@ <h3>Method Details</h3>
10591059
&quot;resolvedInput&quot;: &quot;A String&quot;, # Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
10601060
},
10611061
&quot;matchIntentRequest&quot;: { # Request of MatchIntent. # Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.
1062+
&quot;persistParameterChanges&quot;: True or False, # Persist session parameter changes from `query_params`.
10621063
&quot;queryInput&quot;: { # Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. # Required. The input specification.
10631064
&quot;audio&quot;: { # Represents the natural speech audio to be processed. # The natural language speech audio to be processed.
10641065
&quot;audio&quot;: &quot;A String&quot;, # The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.
@@ -1970,6 +1971,7 @@ <h3>Method Details</h3>
19701971
The object takes the form of:
19711972

19721973
{ # Request of MatchIntent.
1974+
&quot;persistParameterChanges&quot;: True or False, # Persist session parameter changes from `query_params`.
19731975
&quot;queryInput&quot;: { # Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. # Required. The input specification.
19741976
&quot;audio&quot;: { # Represents the natural speech audio to be processed. # The natural language speech audio to be processed.
19751977
&quot;audio&quot;: &quot;A String&quot;, # The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.

googleapiclient/discovery_cache/documents/dialogflow.v2.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8143,7 +8143,7 @@
81438143
}
81448144
}
81458145
},
8146-
"revision": "20230209",
8146+
"revision": "20230222",
81478147
"rootUrl": "https://dialogflow.googleapis.com/",
81488148
"schemas": {
81498149
"GoogleCloudDialogflowCxV3AudioInput": {
@@ -8434,7 +8434,7 @@
84348434
"type": "string"
84358435
},
84368436
"versionConfigs": {
8437-
"description": "Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.",
8437+
"description": "A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.",
84388438
"items": {
84398439
"$ref": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig"
84408440
},
@@ -10295,7 +10295,7 @@
1029510295
"type": "string"
1029610296
},
1029710297
"versionConfigs": {
10298-
"description": "Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.",
10298+
"description": "A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.",
1029910299
"items": {
1030010300
"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig"
1030110301
},
@@ -12950,6 +12950,10 @@
1295012950
"description": "The time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. Defaults to America/New_York.",
1295112951
"type": "string"
1295212952
},
12953+
"ttsConfig": {
12954+
"$ref": "GoogleCloudDialogflowV2SynthesizeSpeechConfig",
12955+
"description": "Configuration for Text-to-Speech synthesization. Used by Phone Gateway to specify synthesization options. If agent defines synthesization options as well, agent settings overrides the option here."
12956+
},
1295312957
"updateTime": {
1295412958
"description": "Output only. Update time of the conversation profile.",
1295512959
"format": "google-datetime",

0 commit comments

Comments
 (0)