Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [Dialogflow] Added SuggestConversationSummary RPC #5788

Merged
merged 2 commits into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Dialogflow/metadata/V2/Agent.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/AnswerRecord.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/AudioConfig.php
Binary file not shown.
6 changes: 3 additions & 3 deletions Dialogflow/metadata/V2/Context.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Dialogflow/metadata/V2/Conversation.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/ConversationDataset.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/ConversationEvent.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/ConversationModel.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/ConversationProfile.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/Document.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/EntityType.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/Environment.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/Fulfillment.php
Binary file not shown.
6 changes: 3 additions & 3 deletions Dialogflow/metadata/V2/Gcs.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Dialogflow/metadata/V2/HumanAgentAssistantEvent.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Dialogflow/metadata/V2/Intent.php
Binary file not shown.
6 changes: 3 additions & 3 deletions Dialogflow/metadata/V2/KnowledgeBase.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Dialogflow/metadata/V2/Participant.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/Session.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/SessionEntityType.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/ValidationResult.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/Version.php
Binary file not shown.
6 changes: 3 additions & 3 deletions Dialogflow/metadata/V2/Webhook.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions Dialogflow/samples/V2/AgentsClient/export_agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@
*
* - `metadata`: An empty [Struct
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
* - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]
* - `response`:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]
*
* @param string $formattedParent The project that the agent to export is associated with.
* Format: `projects/<Project ID>`. Please see
* {@see AgentsClient::projectName()} for help formatting this field.
* @param string $agentUri The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
* URI to export the agent to.
* The format of this URI must be `gs://<bucket-name>/<object-name>`.
* If left unspecified, the serialized agent is returned inline.
* @param string $agentUri The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the agent
* to. The format of this URI must be `gs://<bucket-name>/<object-name>`. If
* left unspecified, the serialized agent is returned inline.
*
* Dialogflow performs a write operation for the Cloud Storage object
* on the caller's behalf, so your request authentication must
Expand Down
12 changes: 7 additions & 5 deletions Dialogflow/samples/V2/AgentsClient/import_agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@
*
* Uploads new intents and entity types without deleting the existing ones.
* Intents and entity types with the same name are replaced with the new
* versions from [ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After the import, the imported draft
* agent will be trained automatically (unless disabled in agent settings).
* However, once the import is done, training may not be completed yet. Please
* call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train
* explicitly.
* versions from
* [ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After
* the import, the imported draft agent will be trained automatically (unless
* disabled in agent settings). However, once the import is done, training may
* not be completed yet. Please call
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the
* operation it returns in order to train explicitly.
*
* This method is a [long-running
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
Expand Down
5 changes: 3 additions & 2 deletions Dialogflow/samples/V2/AgentsClient/restore_agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
* entity types in the older version are deleted. After the restore, the
* restored draft agent will be trained automatically (unless disabled in
* agent settings). However, once the restore is done, training may not be
* completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
* completed yet. Please call
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the
* operation it returns in order to train explicitly.
*
* This method is a [long-running
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
* - `response`: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
* - `metadata`:
* [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
* - `response`:
* [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
*
* @param string $parent The project to create conversation dataset for. Format:
* `projects/<Project ID>/locations/<Location ID>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
* - `metadata`:
* [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
* - `response`: An [Empty
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
* - `response`: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
* - `metadata`:
* [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
* - `response`:
* [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
*
* @param string $formattedName Dataset resource name. Format:
* `projects/<Project ID>/locations/<Location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* Returns the list of all conversation datasets in the specified
* project and location.
*
* @param string $formattedParent The project and location name to list all conversation datasets for.
* Format: `projects/<Project ID>/locations/<Location ID>`
* @param string $formattedParent The project and location name to list all conversation datasets
* for. Format: `projects/<Project ID>/locations/<Location ID>`
* Please see {@see ConversationDatasetsClient::locationName()} for help formatting this field.
*/
function list_conversation_datasets_sample(string $formattedParent): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
* - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
* - `metadata`:
* [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
* - `response`:
* [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
*
* @param string $conversationModelDisplayName The display name of the model. At most 64 bytes long.
* @param string $formattedConversationModelDatasetsDataset ConversationDataset resource name. Format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
* - `metadata`:
* [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
* - `response`: An [Empty
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
* - `metadata`:
* [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
* - `response`: An [Empty
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
* - `metadata`:
* [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
* - `response`: An [Empty
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]
* - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]
* - `metadata`:
* [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]
* - `response`:
* [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]
*
* @param string $conversationProfile The Conversation Profile to add or update the suggestion feature
* config. Format: `projects/<Project ID>/locations/<Location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
*
* [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]
* aren't populated in the response. You can retrieve them via
* [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.
* [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]
* API.
*
* @param string $formattedParent The project to create a conversation profile for.
* Format: `projects/<Project ID>/locations/<Location ID>`. Please see
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
* The returned `Operation` type has the following method-specific fields:
*
* - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]
* - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]
* - `metadata`:
* [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]
* - `response`:
* [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]
*
* If a long running operation to add or update suggestion feature
* config for the same conversation profile, participant role and suggestion
Expand Down
Loading