Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7c2479b

Browse files
committedNov 1, 2022
feat(dialogflow): update the api
#### dialogflow:v2 The following keys were added: - schemas.GoogleCloudDialogflowV2Participant.properties.obfuscatedExternalUserId.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.model.type (Total Keys: 1) #### dialogflow:v2beta1 The following keys were added: - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.model.type (Total Keys: 1)
1 parent 61b8061 commit 7c2479b

12 files changed

+80
-32
lines changed
 

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

+6
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ <h3>Method Details</h3>
287287
},
288288
&quot;securitySettings&quot;: &quot;A String&quot;, # Name of the CX SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`.
289289
&quot;sttConfig&quot;: { # Configures speech transcription for ConversationProfile. # Settings for speech transcription.
290+
&quot;model&quot;: &quot;A String&quot;, # Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.
290291
&quot;speechModelVariant&quot;: &quot;A String&quot;, # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.
291292
},
292293
&quot;timeZone&quot;: &quot;A String&quot;, # 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.
@@ -429,6 +430,7 @@ <h3>Method Details</h3>
429430
},
430431
&quot;securitySettings&quot;: &quot;A String&quot;, # Name of the CX SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`.
431432
&quot;sttConfig&quot;: { # Configures speech transcription for ConversationProfile. # Settings for speech transcription.
433+
&quot;model&quot;: &quot;A String&quot;, # Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.
432434
&quot;speechModelVariant&quot;: &quot;A String&quot;, # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.
433435
},
434436
&quot;timeZone&quot;: &quot;A String&quot;, # 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.
@@ -596,6 +598,7 @@ <h3>Method Details</h3>
596598
},
597599
&quot;securitySettings&quot;: &quot;A String&quot;, # Name of the CX SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`.
598600
&quot;sttConfig&quot;: { # Configures speech transcription for ConversationProfile. # Settings for speech transcription.
601+
&quot;model&quot;: &quot;A String&quot;, # Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.
599602
&quot;speechModelVariant&quot;: &quot;A String&quot;, # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.
600603
},
601604
&quot;timeZone&quot;: &quot;A String&quot;, # 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.
@@ -749,6 +752,7 @@ <h3>Method Details</h3>
749752
},
750753
&quot;securitySettings&quot;: &quot;A String&quot;, # Name of the CX SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`.
751754
&quot;sttConfig&quot;: { # Configures speech transcription for ConversationProfile. # Settings for speech transcription.
755+
&quot;model&quot;: &quot;A String&quot;, # Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.
752756
&quot;speechModelVariant&quot;: &quot;A String&quot;, # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.
753757
},
754758
&quot;timeZone&quot;: &quot;A String&quot;, # 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.
@@ -910,6 +914,7 @@ <h3>Method Details</h3>
910914
},
911915
&quot;securitySettings&quot;: &quot;A String&quot;, # Name of the CX SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`.
912916
&quot;sttConfig&quot;: { # Configures speech transcription for ConversationProfile. # Settings for speech transcription.
917+
&quot;model&quot;: &quot;A String&quot;, # Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.
913918
&quot;speechModelVariant&quot;: &quot;A String&quot;, # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.
914919
},
915920
&quot;timeZone&quot;: &quot;A String&quot;, # 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.
@@ -1053,6 +1058,7 @@ <h3>Method Details</h3>
10531058
},
10541059
&quot;securitySettings&quot;: &quot;A String&quot;, # Name of the CX SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`.
10551060
&quot;sttConfig&quot;: { # Configures speech transcription for ConversationProfile. # Settings for speech transcription.
1061+
&quot;model&quot;: &quot;A String&quot;, # Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.
10561062
&quot;speechModelVariant&quot;: &quot;A String&quot;, # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.
10571063
},
10581064
&quot;timeZone&quot;: &quot;A String&quot;, # 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.

‎docs/dyn/dialogflow_v2.projects.conversations.participants.html

+6
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,7 @@ <h3>Method Details</h3>
873873
&quot;a_key&quot;: &quot;A String&quot;,
874874
},
875875
&quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
876+
&quot;obfuscatedExternalUserId&quot;: &quot;A String&quot;, # Optional. Obfuscated user id that should be associated with the created participant. You can specify a user id as follows: 1. If you set this field in CreateParticipantRequest or UpdateParticipantRequest, Dialogflow adds the obfuscated user id with the participant. 2. If you set this field in AnalyzeContent or StreamingAnalyzeContent, Dialogflow will update Participant.obfuscated_external_user_id. Dialogflow returns an error if you try to add a user id for a non-END_USER participant. Dialogflow uses this user id for billing and measurement purposes. For example, Dialogflow determines whether a user in one conversation returned in a later conversation. Note: * Please never pass raw user ids to Dialogflow. Always obfuscate your user id first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512. * The length of the user id must be &lt;= 256 characters.
876877
&quot;role&quot;: &quot;A String&quot;, # Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable.
877878
&quot;sipRecordingMediaLabel&quot;: &quot;A String&quot;, # Optional. Label applied to streams representing this participant in SIPREC XML metadata and SDP. This is used to assign transcriptions from that media stream to this participant. This field can be updated.
878879
}
@@ -890,6 +891,7 @@ <h3>Method Details</h3>
890891
&quot;a_key&quot;: &quot;A String&quot;,
891892
},
892893
&quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
894+
&quot;obfuscatedExternalUserId&quot;: &quot;A String&quot;, # Optional. Obfuscated user id that should be associated with the created participant. You can specify a user id as follows: 1. If you set this field in CreateParticipantRequest or UpdateParticipantRequest, Dialogflow adds the obfuscated user id with the participant. 2. If you set this field in AnalyzeContent or StreamingAnalyzeContent, Dialogflow will update Participant.obfuscated_external_user_id. Dialogflow returns an error if you try to add a user id for a non-END_USER participant. Dialogflow uses this user id for billing and measurement purposes. For example, Dialogflow determines whether a user in one conversation returned in a later conversation. Note: * Please never pass raw user ids to Dialogflow. Always obfuscate your user id first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512. * The length of the user id must be &lt;= 256 characters.
893895
&quot;role&quot;: &quot;A String&quot;, # Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable.
894896
&quot;sipRecordingMediaLabel&quot;: &quot;A String&quot;, # Optional. Label applied to streams representing this participant in SIPREC XML metadata and SDP. This is used to assign transcriptions from that media stream to this participant. This field can be updated.
895897
}</pre>
@@ -914,6 +916,7 @@ <h3>Method Details</h3>
914916
&quot;a_key&quot;: &quot;A String&quot;,
915917
},
916918
&quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
919+
&quot;obfuscatedExternalUserId&quot;: &quot;A String&quot;, # Optional. Obfuscated user id that should be associated with the created participant. You can specify a user id as follows: 1. If you set this field in CreateParticipantRequest or UpdateParticipantRequest, Dialogflow adds the obfuscated user id with the participant. 2. If you set this field in AnalyzeContent or StreamingAnalyzeContent, Dialogflow will update Participant.obfuscated_external_user_id. Dialogflow returns an error if you try to add a user id for a non-END_USER participant. Dialogflow uses this user id for billing and measurement purposes. For example, Dialogflow determines whether a user in one conversation returned in a later conversation. Note: * Please never pass raw user ids to Dialogflow. Always obfuscate your user id first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512. * The length of the user id must be &lt;= 256 characters.
917920
&quot;role&quot;: &quot;A String&quot;, # Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable.
918921
&quot;sipRecordingMediaLabel&quot;: &quot;A String&quot;, # Optional. Label applied to streams representing this participant in SIPREC XML metadata and SDP. This is used to assign transcriptions from that media stream to this participant. This field can be updated.
919922
}</pre>
@@ -943,6 +946,7 @@ <h3>Method Details</h3>
943946
&quot;a_key&quot;: &quot;A String&quot;,
944947
},
945948
&quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
949+
&quot;obfuscatedExternalUserId&quot;: &quot;A String&quot;, # Optional. Obfuscated user id that should be associated with the created participant. You can specify a user id as follows: 1. If you set this field in CreateParticipantRequest or UpdateParticipantRequest, Dialogflow adds the obfuscated user id with the participant. 2. If you set this field in AnalyzeContent or StreamingAnalyzeContent, Dialogflow will update Participant.obfuscated_external_user_id. Dialogflow returns an error if you try to add a user id for a non-END_USER participant. Dialogflow uses this user id for billing and measurement purposes. For example, Dialogflow determines whether a user in one conversation returned in a later conversation. Note: * Please never pass raw user ids to Dialogflow. Always obfuscate your user id first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512. * The length of the user id must be &lt;= 256 characters.
946950
&quot;role&quot;: &quot;A String&quot;, # Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable.
947951
&quot;sipRecordingMediaLabel&quot;: &quot;A String&quot;, # Optional. Label applied to streams representing this participant in SIPREC XML metadata and SDP. This is used to assign transcriptions from that media stream to this participant. This field can be updated.
948952
},
@@ -978,6 +982,7 @@ <h3>Method Details</h3>
978982
&quot;a_key&quot;: &quot;A String&quot;,
979983
},
980984
&quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
985+
&quot;obfuscatedExternalUserId&quot;: &quot;A String&quot;, # Optional. Obfuscated user id that should be associated with the created participant. You can specify a user id as follows: 1. If you set this field in CreateParticipantRequest or UpdateParticipantRequest, Dialogflow adds the obfuscated user id with the participant. 2. If you set this field in AnalyzeContent or StreamingAnalyzeContent, Dialogflow will update Participant.obfuscated_external_user_id. Dialogflow returns an error if you try to add a user id for a non-END_USER participant. Dialogflow uses this user id for billing and measurement purposes. For example, Dialogflow determines whether a user in one conversation returned in a later conversation. Note: * Please never pass raw user ids to Dialogflow. Always obfuscate your user id first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512. * The length of the user id must be &lt;= 256 characters.
981986
&quot;role&quot;: &quot;A String&quot;, # Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable.
982987
&quot;sipRecordingMediaLabel&quot;: &quot;A String&quot;, # Optional. Label applied to streams representing this participant in SIPREC XML metadata and SDP. This is used to assign transcriptions from that media stream to this participant. This field can be updated.
983988
}
@@ -996,6 +1001,7 @@ <h3>Method Details</h3>
9961001
&quot;a_key&quot;: &quot;A String&quot;,
9971002
},
9981003
&quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
1004+
&quot;obfuscatedExternalUserId&quot;: &quot;A String&quot;, # Optional. Obfuscated user id that should be associated with the created participant. You can specify a user id as follows: 1. If you set this field in CreateParticipantRequest or UpdateParticipantRequest, Dialogflow adds the obfuscated user id with the participant. 2. If you set this field in AnalyzeContent or StreamingAnalyzeContent, Dialogflow will update Participant.obfuscated_external_user_id. Dialogflow returns an error if you try to add a user id for a non-END_USER participant. Dialogflow uses this user id for billing and measurement purposes. For example, Dialogflow determines whether a user in one conversation returned in a later conversation. Note: * Please never pass raw user ids to Dialogflow. Always obfuscate your user id first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512. * The length of the user id must be &lt;= 256 characters.
9991005
&quot;role&quot;: &quot;A String&quot;, # Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable.
10001006
&quot;sipRecordingMediaLabel&quot;: &quot;A String&quot;, # Optional. Label applied to streams representing this participant in SIPREC XML metadata and SDP. This is used to assign transcriptions from that media stream to this participant. This field can be updated.
10011007
}</pre>

0 commit comments

Comments
 (0)
Please sign in to comment.