Skip to content

Commit ea0a136

Browse files
feat(dialogflow): update the api
#### dialogflow:v2beta1 The following keys were added: - resources.projects.resources.conversations.resources.suggestions.methods.suggestConversationSummary (Total Keys: 12) - resources.projects.resources.locations.resources.conversations.resources.suggestions.methods.suggestConversationSummary (Total Keys: 12) - schemas.GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest (Total Keys: 5) - schemas.GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse (Total Keys: 12)
1 parent 57e629a commit ea0a136

10 files changed

+440
-38
lines changed

docs/dyn/dialogflow_v2beta1.projects.conversations.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the participants Resource.</p>
8686

87+
<p class="toc_element">
88+
<code><a href="dialogflow_v2beta1.projects.conversations.suggestions.html">suggestions()</a></code>
89+
</p>
90+
<p class="firstline">Returns the suggestions Resource.</p>
91+
8792
<p class="toc_element">
8893
<code><a href="#close">close()</a></code></p>
8994
<p class="firstline">Close httplib2 connections.</p>
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="dialogflow_v2beta1.html">Dialogflow API</a> . <a href="dialogflow_v2beta1.projects.html">projects</a> . <a href="dialogflow_v2beta1.projects.conversations.html">conversations</a> . <a href="dialogflow_v2beta1.projects.conversations.suggestions.html">suggestions</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#suggestConversationSummary">suggestConversationSummary(conversation, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="suggestConversationSummary">suggestConversationSummary(conversation, body=None, x__xgafv=None)</code>
91+
<pre>Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.
92+
93+
Args:
94+
conversation: string, Required. The conversation to fetch suggestion for. Format: `projects//locations//conversations/`. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # The request message for Conversations.SuggestConversationSummary.
99+
&quot;contextSize&quot;: 42, # Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.
100+
&quot;latestMessage&quot;: &quot;A String&quot;, # The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used. Format: `projects//locations//conversations//messages/`.
101+
}
102+
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
107+
108+
Returns:
109+
An object of the form:
110+
111+
{ # The response message for Conversations.SuggestConversationSummary.
112+
&quot;contextSize&quot;: 42, # Number of messages prior to and including last_conversation_message used to compile the suggestion. It may be smaller than the SuggestSummaryRequest.context_size field in the request if there weren&#x27;t that many messages in the conversation.
113+
&quot;latestMessage&quot;: &quot;A String&quot;, # The name of the latest conversation message used as context for compiling suggestion. Format: `projects//locations//conversations//messages/`.
114+
&quot;summary&quot;: { # Generated summary for a conversation. # Generated summary.
115+
&quot;answerRecord&quot;: &quot;A String&quot;, # The name of the answer record. Format: &quot;projects//answerRecords/&quot;
116+
&quot;text&quot;: &quot;A String&quot;, # The summary content that is concatenated into one string.
117+
&quot;textSections&quot;: { # The summary content that is divided into sections. The key is the section&#x27;s name and the value is the section&#x27;s content. There is no specific format for the key or value.
118+
&quot;a_key&quot;: &quot;A String&quot;,
119+
},
120+
},
121+
}</pre>
122+
</div>
123+
124+
</body></html>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the participants Resource.</p>
8686

87+
<p class="toc_element">
88+
<code><a href="dialogflow_v2beta1.projects.locations.conversations.suggestions.html">suggestions()</a></code>
89+
</p>
90+
<p class="firstline">Returns the suggestions Resource.</p>
91+
8792
<p class="toc_element">
8893
<code><a href="#close">close()</a></code></p>
8994
<p class="firstline">Close httplib2 connections.</p>
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="dialogflow_v2beta1.html">Dialogflow API</a> . <a href="dialogflow_v2beta1.projects.html">projects</a> . <a href="dialogflow_v2beta1.projects.locations.html">locations</a> . <a href="dialogflow_v2beta1.projects.locations.conversations.html">conversations</a> . <a href="dialogflow_v2beta1.projects.locations.conversations.suggestions.html">suggestions</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#suggestConversationSummary">suggestConversationSummary(conversation, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="suggestConversationSummary">suggestConversationSummary(conversation, body=None, x__xgafv=None)</code>
91+
<pre>Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.
92+
93+
Args:
94+
conversation: string, Required. The conversation to fetch suggestion for. Format: `projects//locations//conversations/`. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # The request message for Conversations.SuggestConversationSummary.
99+
&quot;contextSize&quot;: 42, # Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.
100+
&quot;latestMessage&quot;: &quot;A String&quot;, # The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used. Format: `projects//locations//conversations//messages/`.
101+
}
102+
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
107+
108+
Returns:
109+
An object of the form:
110+
111+
{ # The response message for Conversations.SuggestConversationSummary.
112+
&quot;contextSize&quot;: 42, # Number of messages prior to and including last_conversation_message used to compile the suggestion. It may be smaller than the SuggestSummaryRequest.context_size field in the request if there weren&#x27;t that many messages in the conversation.
113+
&quot;latestMessage&quot;: &quot;A String&quot;, # The name of the latest conversation message used as context for compiling suggestion. Format: `projects//locations//conversations//messages/`.
114+
&quot;summary&quot;: { # Generated summary for a conversation. # Generated summary.
115+
&quot;answerRecord&quot;: &quot;A String&quot;, # The name of the answer record. Format: &quot;projects//answerRecords/&quot;
116+
&quot;text&quot;: &quot;A String&quot;, # The summary content that is concatenated into one string.
117+
&quot;textSections&quot;: { # The summary content that is divided into sections. The key is the section&#x27;s name and the value is the section&#x27;s content. There is no specific format for the key or value.
118+
&quot;a_key&quot;: &quot;A String&quot;,
119+
},
120+
},
121+
}</pre>
122+
</div>
123+
124+
</body></html>

docs/dyn/dialogflow_v3.projects.locations.securitySettings.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h3>Method Details</h3>
115115
&quot;audioExportPattern&quot;: &quot;A String&quot;, # Filename pattern for exported audio.
116116
&quot;audioFormat&quot;: &quot;A String&quot;, # File format for exported audio file. Currently only in telephony recordings.
117117
&quot;enableAudioRedaction&quot;: True or False, # Enable audio redaction if it is true.
118-
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. You need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object Admin` role in this bucket.
118+
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. Settings this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
119119
},
120120
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this template to define de-identification configuration for the content. The `DLP De-identify Templates Reader` role is needed on the Dialogflow service identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your agent&#x27;s project. If empty, Dialogflow replaces sensitive info with `[redacted]` text. The template name will have one of the following formats: `projects//locations//deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.
121121
&quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the security settings, unique within the location.
@@ -145,7 +145,7 @@ <h3>Method Details</h3>
145145
&quot;audioExportPattern&quot;: &quot;A String&quot;, # Filename pattern for exported audio.
146146
&quot;audioFormat&quot;: &quot;A String&quot;, # File format for exported audio file. Currently only in telephony recordings.
147147
&quot;enableAudioRedaction&quot;: True or False, # Enable audio redaction if it is true.
148-
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. You need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object Admin` role in this bucket.
148+
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. Settings this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
149149
},
150150
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this template to define de-identification configuration for the content. The `DLP De-identify Templates Reader` role is needed on the Dialogflow service identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your agent&#x27;s project. If empty, Dialogflow replaces sensitive info with `[redacted]` text. The template name will have one of the following formats: `projects//locations//deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.
151151
&quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the security settings, unique within the location.
@@ -200,7 +200,7 @@ <h3>Method Details</h3>
200200
&quot;audioExportPattern&quot;: &quot;A String&quot;, # Filename pattern for exported audio.
201201
&quot;audioFormat&quot;: &quot;A String&quot;, # File format for exported audio file. Currently only in telephony recordings.
202202
&quot;enableAudioRedaction&quot;: True or False, # Enable audio redaction if it is true.
203-
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. You need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object Admin` role in this bucket.
203+
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. Settings this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
204204
},
205205
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this template to define de-identification configuration for the content. The `DLP De-identify Templates Reader` role is needed on the Dialogflow service identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your agent&#x27;s project. If empty, Dialogflow replaces sensitive info with `[redacted]` text. The template name will have one of the following formats: `projects//locations//deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.
206206
&quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the security settings, unique within the location.
@@ -242,7 +242,7 @@ <h3>Method Details</h3>
242242
&quot;audioExportPattern&quot;: &quot;A String&quot;, # Filename pattern for exported audio.
243243
&quot;audioFormat&quot;: &quot;A String&quot;, # File format for exported audio file. Currently only in telephony recordings.
244244
&quot;enableAudioRedaction&quot;: True or False, # Enable audio redaction if it is true.
245-
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. You need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object Admin` role in this bucket.
245+
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. Settings this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
246246
},
247247
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this template to define de-identification configuration for the content. The `DLP De-identify Templates Reader` role is needed on the Dialogflow service identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your agent&#x27;s project. If empty, Dialogflow replaces sensitive info with `[redacted]` text. The template name will have one of the following formats: `projects//locations//deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.
248248
&quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the security settings, unique within the location.
@@ -290,7 +290,7 @@ <h3>Method Details</h3>
290290
&quot;audioExportPattern&quot;: &quot;A String&quot;, # Filename pattern for exported audio.
291291
&quot;audioFormat&quot;: &quot;A String&quot;, # File format for exported audio file. Currently only in telephony recordings.
292292
&quot;enableAudioRedaction&quot;: True or False, # Enable audio redaction if it is true.
293-
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. You need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object Admin` role in this bucket.
293+
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. Settings this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
294294
},
295295
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this template to define de-identification configuration for the content. The `DLP De-identify Templates Reader` role is needed on the Dialogflow service identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your agent&#x27;s project. If empty, Dialogflow replaces sensitive info with `[redacted]` text. The template name will have one of the following formats: `projects//locations//deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.
296296
&quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the security settings, unique within the location.
@@ -321,7 +321,7 @@ <h3>Method Details</h3>
321321
&quot;audioExportPattern&quot;: &quot;A String&quot;, # Filename pattern for exported audio.
322322
&quot;audioFormat&quot;: &quot;A String&quot;, # File format for exported audio file. Currently only in telephony recordings.
323323
&quot;enableAudioRedaction&quot;: True or False, # Enable audio redaction if it is true.
324-
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. You need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object Admin` role in this bucket.
324+
&quot;gcsBucket&quot;: &quot;A String&quot;, # Cloud Storage bucket to export audio record to. Settings this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
325325
},
326326
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this template to define de-identification configuration for the content. The `DLP De-identify Templates Reader` role is needed on the Dialogflow service identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your agent&#x27;s project. If empty, Dialogflow replaces sensitive info with `[redacted]` text. The template name will have one of the following formats: `projects//locations//deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.
327327
&quot;displayName&quot;: &quot;A String&quot;, # Required. The human-readable name of the security settings, unique within the location.

0 commit comments

Comments
 (0)