You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="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>
<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
+
"contextSize": 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
+
"latestMessage": "A String", # 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
+
"contextSize": 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't that many messages in the conversation.
113
+
"latestMessage": "A String", # The name of the latest conversation message used as context for compiling suggestion. Format: `projects//locations//conversations//messages/`.
114
+
"summary": { # Generated summary for a conversation. # Generated summary.
115
+
"answerRecord": "A String", # The name of the answer record. Format: "projects//answerRecords/"
116
+
"text": "A String", # The summary content that is concatenated into one string.
117
+
"textSections": { # The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
<pclass="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>
<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
+
"contextSize": 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
+
"latestMessage": "A String", # 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
+
"contextSize": 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't that many messages in the conversation.
113
+
"latestMessage": "A String", # The name of the latest conversation message used as context for compiling suggestion. Format: `projects//locations//conversations//messages/`.
114
+
"summary": { # Generated summary for a conversation. # Generated summary.
115
+
"answerRecord": "A String", # The name of the answer record. Format: "projects//answerRecords/"
116
+
"text": "A String", # The summary content that is concatenated into one string.
117
+
"textSections": { # The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
Copy file name to clipboardExpand all lines: docs/dyn/dialogflow_v3.projects.locations.securitySettings.html
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ <h3>Method Details</h3>
115
115
"audioExportPattern": "A String", # Filename pattern for exported audio.
116
116
"audioFormat": "A String", # File format for exported audio file. Currently only in telephony recordings.
117
117
"enableAudioRedaction": True or False, # Enable audio redaction if it is true.
118
-
"gcsBucket": "A String", # 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
+
"gcsBucket": "A String", # 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.
119
119
},
120
120
"deidentifyTemplate": "A String", # [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'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`.
121
121
"displayName": "A String", # Required. The human-readable name of the security settings, unique within the location.
@@ -145,7 +145,7 @@ <h3>Method Details</h3>
145
145
"audioExportPattern": "A String", # Filename pattern for exported audio.
146
146
"audioFormat": "A String", # File format for exported audio file. Currently only in telephony recordings.
147
147
"enableAudioRedaction": True or False, # Enable audio redaction if it is true.
148
-
"gcsBucket": "A String", # 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
+
"gcsBucket": "A String", # 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.
149
149
},
150
150
"deidentifyTemplate": "A String", # [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'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`.
151
151
"displayName": "A String", # Required. The human-readable name of the security settings, unique within the location.
@@ -200,7 +200,7 @@ <h3>Method Details</h3>
200
200
"audioExportPattern": "A String", # Filename pattern for exported audio.
201
201
"audioFormat": "A String", # File format for exported audio file. Currently only in telephony recordings.
202
202
"enableAudioRedaction": True or False, # Enable audio redaction if it is true.
203
-
"gcsBucket": "A String", # 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
+
"gcsBucket": "A String", # 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.
204
204
},
205
205
"deidentifyTemplate": "A String", # [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'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`.
206
206
"displayName": "A String", # Required. The human-readable name of the security settings, unique within the location.
@@ -242,7 +242,7 @@ <h3>Method Details</h3>
242
242
"audioExportPattern": "A String", # Filename pattern for exported audio.
243
243
"audioFormat": "A String", # File format for exported audio file. Currently only in telephony recordings.
244
244
"enableAudioRedaction": True or False, # Enable audio redaction if it is true.
245
-
"gcsBucket": "A String", # 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
+
"gcsBucket": "A String", # 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.
246
246
},
247
247
"deidentifyTemplate": "A String", # [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'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`.
248
248
"displayName": "A String", # Required. The human-readable name of the security settings, unique within the location.
@@ -290,7 +290,7 @@ <h3>Method Details</h3>
290
290
"audioExportPattern": "A String", # Filename pattern for exported audio.
291
291
"audioFormat": "A String", # File format for exported audio file. Currently only in telephony recordings.
292
292
"enableAudioRedaction": True or False, # Enable audio redaction if it is true.
293
-
"gcsBucket": "A String", # 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
+
"gcsBucket": "A String", # 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.
294
294
},
295
295
"deidentifyTemplate": "A String", # [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'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`.
296
296
"displayName": "A String", # Required. The human-readable name of the security settings, unique within the location.
@@ -321,7 +321,7 @@ <h3>Method Details</h3>
321
321
"audioExportPattern": "A String", # Filename pattern for exported audio.
322
322
"audioFormat": "A String", # File format for exported audio file. Currently only in telephony recordings.
323
323
"enableAudioRedaction": True or False, # Enable audio redaction if it is true.
324
-
"gcsBucket": "A String", # 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
+
"gcsBucket": "A String", # 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.
325
325
},
326
326
"deidentifyTemplate": "A String", # [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'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`.
327
327
"displayName": "A String", # Required. The human-readable name of the security settings, unique within the location.
0 commit comments