Skip to content
This repository was archived by the owner on Dec 3, 2023. It is now read-only.

Commit d94ab52

Browse files
feat: added support for TelephonyTransferCall in Participant ResponseMessage (#736)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 399792725 Source-Link: googleapis/googleapis@ee3c7eb Source-Link: https://github.com/googleapis/googleapis-gen/commit/9203bde6e7a4a47aaacb1401e72a24172dc71d22 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTIwM2JkZTZlN2E0YTQ3YWFhY2IxNDAxZTcyYTI0MTcyZGM3MWQyMiJ9
1 parent 6c2fc60 commit d94ab52

File tree

19 files changed

+3182
-326
lines changed

19 files changed

+3182
-326
lines changed

google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,15 @@ public final UnaryCallable<SearchAgentsRequest, SearchAgentsResponse> searchAgen
661661
/**
662662
* Trains the specified agent.
663663
*
664+
* <p>This method is a [long-running
665+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
666+
* returned `Operation` type has the following method-specific fields:
667+
*
668+
* <p>- `metadata`: An empty [Struct
669+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
670+
* - `response`: An [Empty
671+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
672+
*
664673
* <p>Note: You should always train an agent prior to sending it queries. See the [training
665674
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
666675
*
@@ -688,6 +697,15 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(LocationName parent)
688697
/**
689698
* Trains the specified agent.
690699
*
700+
* <p>This method is a [long-running
701+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
702+
* returned `Operation` type has the following method-specific fields:
703+
*
704+
* <p>- `metadata`: An empty [Struct
705+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
706+
* - `response`: An [Empty
707+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
708+
*
691709
* <p>Note: You should always train an agent prior to sending it queries. See the [training
692710
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
693711
*
@@ -715,6 +733,15 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(ProjectName parent)
715733
/**
716734
* Trains the specified agent.
717735
*
736+
* <p>This method is a [long-running
737+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
738+
* returned `Operation` type has the following method-specific fields:
739+
*
740+
* <p>- `metadata`: An empty [Struct
741+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
742+
* - `response`: An [Empty
743+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
744+
*
718745
* <p>Note: You should always train an agent prior to sending it queries. See the [training
719746
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
720747
*
@@ -741,6 +768,15 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(String parent) {
741768
/**
742769
* Trains the specified agent.
743770
*
771+
* <p>This method is a [long-running
772+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
773+
* returned `Operation` type has the following method-specific fields:
774+
*
775+
* <p>- `metadata`: An empty [Struct
776+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
777+
* - `response`: An [Empty
778+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
779+
*
744780
* <p>Note: You should always train an agent prior to sending it queries. See the [training
745781
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
746782
*
@@ -767,6 +803,15 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(TrainAgentRequest re
767803
/**
768804
* Trains the specified agent.
769805
*
806+
* <p>This method is a [long-running
807+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
808+
* returned `Operation` type has the following method-specific fields:
809+
*
810+
* <p>- `metadata`: An empty [Struct
811+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
812+
* - `response`: An [Empty
813+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
814+
*
770815
* <p>Note: You should always train an agent prior to sending it queries. See the [training
771816
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
772817
*
@@ -793,6 +838,15 @@ public final OperationCallable<TrainAgentRequest, Empty, Struct> trainAgentOpera
793838
/**
794839
* Trains the specified agent.
795840
*
841+
* <p>This method is a [long-running
842+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
843+
* returned `Operation` type has the following method-specific fields:
844+
*
845+
* <p>- `metadata`: An empty [Struct
846+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
847+
* - `response`: An [Empty
848+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
849+
*
796850
* <p>Note: You should always train an agent prior to sending it queries. See the [training
797851
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
798852
*
@@ -818,6 +872,14 @@ public final UnaryCallable<TrainAgentRequest, Operation> trainAgentCallable() {
818872
/**
819873
* Exports the specified agent to a ZIP file.
820874
*
875+
* <p>This method is a [long-running
876+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
877+
* returned `Operation` type has the following method-specific fields:
878+
*
879+
* <p>- `metadata`: An empty [Struct
880+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
881+
* - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]
882+
*
821883
* <p>Sample code:
822884
*
823885
* <pre>{@code
@@ -844,6 +906,14 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Locat
844906
/**
845907
* Exports the specified agent to a ZIP file.
846908
*
909+
* <p>This method is a [long-running
910+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
911+
* returned `Operation` type has the following method-specific fields:
912+
*
913+
* <p>- `metadata`: An empty [Struct
914+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
915+
* - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]
916+
*
847917
* <p>Sample code:
848918
*
849919
* <pre>{@code
@@ -870,6 +940,14 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Proje
870940
/**
871941
* Exports the specified agent to a ZIP file.
872942
*
943+
* <p>This method is a [long-running
944+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
945+
* returned `Operation` type has the following method-specific fields:
946+
*
947+
* <p>- `metadata`: An empty [Struct
948+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
949+
* - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]
950+
*
873951
* <p>Sample code:
874952
*
875953
* <pre>{@code
@@ -893,6 +971,14 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Strin
893971
/**
894972
* Exports the specified agent to a ZIP file.
895973
*
974+
* <p>This method is a [long-running
975+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
976+
* returned `Operation` type has the following method-specific fields:
977+
*
978+
* <p>- `metadata`: An empty [Struct
979+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
980+
* - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]
981+
*
896982
* <p>Sample code:
897983
*
898984
* <pre>{@code
@@ -918,6 +1004,14 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
9181004
/**
9191005
* Exports the specified agent to a ZIP file.
9201006
*
1007+
* <p>This method is a [long-running
1008+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
1009+
* returned `Operation` type has the following method-specific fields:
1010+
*
1011+
* <p>- `metadata`: An empty [Struct
1012+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
1013+
* - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]
1014+
*
9211015
* <p>Sample code:
9221016
*
9231017
* <pre>{@code
@@ -943,6 +1037,14 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
9431037
/**
9441038
* Exports the specified agent to a ZIP file.
9451039
*
1040+
* <p>This method is a [long-running
1041+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
1042+
* returned `Operation` type has the following method-specific fields:
1043+
*
1044+
* <p>- `metadata`: An empty [Struct
1045+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
1046+
* - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]
1047+
*
9461048
* <p>Sample code:
9471049
*
9481050
* <pre>{@code
@@ -974,6 +1076,17 @@ public final UnaryCallable<ExportAgentRequest, Operation> exportAgentCallable()
9741076
* [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it
9751077
* returns in order to train explicitly.
9761078
*
1079+
* <p>This method is a [long-running
1080+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
1081+
* returned `Operation` type has the following method-specific fields:
1082+
*
1083+
* <p>- `metadata`: An empty [Struct
1084+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
1085+
* - `response`: An [Empty
1086+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
1087+
*
1088+
* <p>The operation only tracks when importing is complete, not when it is done training.
1089+
*
9771090
* <p>Note: You should always train an agent prior to sending it queries. See the [training
9781091
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
9791092
*
@@ -1008,6 +1121,17 @@ public final OperationFuture<Empty, Struct> importAgentAsync(ImportAgentRequest
10081121
* [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it
10091122
* returns in order to train explicitly.
10101123
*
1124+
* <p>This method is a [long-running
1125+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
1126+
* returned `Operation` type has the following method-specific fields:
1127+
*
1128+
* <p>- `metadata`: An empty [Struct
1129+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
1130+
* - `response`: An [Empty
1131+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
1132+
*
1133+
* <p>The operation only tracks when importing is complete, not when it is done training.
1134+
*
10111135
* <p>Note: You should always train an agent prior to sending it queries. See the [training
10121136
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
10131137
*
@@ -1042,6 +1166,17 @@ public final OperationCallable<ImportAgentRequest, Empty, Struct> importAgentOpe
10421166
* [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it
10431167
* returns in order to train explicitly.
10441168
*
1169+
* <p>This method is a [long-running
1170+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
1171+
* returned `Operation` type has the following method-specific fields:
1172+
*
1173+
* <p>- `metadata`: An empty [Struct
1174+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
1175+
* - `response`: An [Empty
1176+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
1177+
*
1178+
* <p>The operation only tracks when importing is complete, not when it is done training.
1179+
*
10451180
* <p>Note: You should always train an agent prior to sending it queries. See the [training
10461181
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
10471182
*
@@ -1074,6 +1209,17 @@ public final UnaryCallable<ImportAgentRequest, Operation> importAgentCallable()
10741209
* [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it
10751210
* returns in order to train explicitly.
10761211
*
1212+
* <p>This method is a [long-running
1213+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
1214+
* returned `Operation` type has the following method-specific fields:
1215+
*
1216+
* <p>- `metadata`: An empty [Struct
1217+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
1218+
* - `response`: An [Empty
1219+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
1220+
*
1221+
* <p>The operation only tracks when restoring is complete, not when it is done training.
1222+
*
10771223
* <p>Note: You should always train an agent prior to sending it queries. See the [training
10781224
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
10791225
*
@@ -1107,6 +1253,17 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
11071253
* [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it
11081254
* returns in order to train explicitly.
11091255
*
1256+
* <p>This method is a [long-running
1257+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
1258+
* returned `Operation` type has the following method-specific fields:
1259+
*
1260+
* <p>- `metadata`: An empty [Struct
1261+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
1262+
* - `response`: An [Empty
1263+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
1264+
*
1265+
* <p>The operation only tracks when restoring is complete, not when it is done training.
1266+
*
11101267
* <p>Note: You should always train an agent prior to sending it queries. See the [training
11111268
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
11121269
*
@@ -1141,6 +1298,17 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
11411298
* [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it
11421299
* returns in order to train explicitly.
11431300
*
1301+
* <p>This method is a [long-running
1302+
* operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The
1303+
* returned `Operation` type has the following method-specific fields:
1304+
*
1305+
* <p>- `metadata`: An empty [Struct
1306+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
1307+
* - `response`: An [Empty
1308+
* message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
1309+
*
1310+
* <p>The operation only tracks when restoring is complete, not when it is done training.
1311+
*
11441312
* <p>Note: You should always train an agent prior to sending it queries. See the [training
11451313
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
11461314
*

0 commit comments

Comments
 (0)