This repository was archived by the owner on Jan 6, 2024. It is now read-only.
File tree 12 files changed +88
-18
lines changed
google/cloud/dialogflowcx_v3
12 files changed +88
-18
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,16 @@ async def export_agent(
606
606
timeout : float = None ,
607
607
metadata : Sequence [Tuple [str , str ]] = (),
608
608
) -> operation_async .AsyncOperation :
609
- r"""Exports the specified agent to a binary file.
609
+ r"""Exports the specified agent to a binary file. This method is a
610
+ `long-running
611
+ operation <https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation>`__.
612
+ The returned ``Operation`` type has the following
613
+ method-specific fields:
614
+
615
+ - ``metadata``: An empty `Struct
616
+ message <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct>`__
617
+ - ``response``:
618
+ [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]
610
619
611
620
Args:
612
621
request (:class:`google.cloud.dialogflowcx_v3.types.ExportAgentRequest`):
Original file line number Diff line number Diff line change @@ -871,7 +871,16 @@ def export_agent(
871
871
timeout : float = None ,
872
872
metadata : Sequence [Tuple [str , str ]] = (),
873
873
) -> operation .Operation :
874
- r"""Exports the specified agent to a binary file.
874
+ r"""Exports the specified agent to a binary file. This method is a
875
+ `long-running
876
+ operation <https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation>`__.
877
+ The returned ``Operation`` type has the following
878
+ method-specific fields:
879
+
880
+ - ``metadata``: An empty `Struct
881
+ message <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct>`__
882
+ - ``response``:
883
+ [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]
875
884
876
885
Args:
877
886
request (google.cloud.dialogflowcx_v3.types.ExportAgentRequest):
Original file line number Diff line number Diff line change @@ -385,7 +385,16 @@ def export_agent(
385
385
) -> Callable [[agent .ExportAgentRequest ], operations_pb2 .Operation ]:
386
386
r"""Return a callable for the export agent method over gRPC.
387
387
388
- Exports the specified agent to a binary file.
388
+ Exports the specified agent to a binary file. This method is a
389
+ `long-running
390
+ operation <https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation>`__.
391
+ The returned ``Operation`` type has the following
392
+ method-specific fields:
393
+
394
+ - ``metadata``: An empty `Struct
395
+ message <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct>`__
396
+ - ``response``:
397
+ [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]
389
398
390
399
Returns:
391
400
Callable[[~.ExportAgentRequest],
Original file line number Diff line number Diff line change @@ -392,7 +392,16 @@ def export_agent(
392
392
) -> Callable [[agent .ExportAgentRequest ], Awaitable [operations_pb2 .Operation ]]:
393
393
r"""Return a callable for the export agent method over gRPC.
394
394
395
- Exports the specified agent to a binary file.
395
+ Exports the specified agent to a binary file. This method is a
396
+ `long-running
397
+ operation <https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation>`__.
398
+ The returned ``Operation`` type has the following
399
+ method-specific fields:
400
+
401
+ - ``metadata``: An empty `Struct
402
+ message <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct>`__
403
+ - ``response``:
404
+ [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]
396
405
397
406
Returns:
398
407
Callable[[~.ExportAgentRequest],
Original file line number Diff line number Diff line change @@ -540,9 +540,9 @@ async def update_flow(
540
540
on the ``request`` instance; if ``request`` is provided, this
541
541
should not be set.
542
542
update_mask (:class:`google.protobuf.field_mask_pb2.FieldMask`):
543
- Required. The mask to control which fields get updated.
544
- If ``update_mask`` is not specified, an error will be
545
- returned .
543
+ The mask to control which fields get
544
+ updated. If the mask is not present, all
545
+ fields will be updated .
546
546
547
547
This corresponds to the ``update_mask`` field
548
548
on the ``request`` instance; if ``request`` is provided, this
Original file line number Diff line number Diff line change @@ -813,9 +813,9 @@ def update_flow(
813
813
on the ``request`` instance; if ``request`` is provided, this
814
814
should not be set.
815
815
update_mask (google.protobuf.field_mask_pb2.FieldMask):
816
- Required. The mask to control which fields get updated.
817
- If ``update_mask`` is not specified, an error will be
818
- returned .
816
+ The mask to control which fields get
817
+ updated. If the mask is not present, all
818
+ fields will be updated .
819
819
820
820
This corresponds to the ``update_mask`` field
821
821
on the ``request`` instance; if ``request`` is provided, this
Original file line number Diff line number Diff line change @@ -568,7 +568,15 @@ async def run_test_case(
568
568
timeout : float = None ,
569
569
metadata : Sequence [Tuple [str , str ]] = (),
570
570
) -> operation_async .AsyncOperation :
571
- r"""Kicks off a test case run.
571
+ r"""Kicks off a test case run. This method is a `long-running
572
+ operation <https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation>`__.
573
+ The returned ``Operation`` type has the following
574
+ method-specific fields:
575
+
576
+ - ``metadata``:
577
+ [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata]
578
+ - ``response``:
579
+ [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]
572
580
573
581
Args:
574
582
request (:class:`google.cloud.dialogflowcx_v3.types.RunTestCaseRequest`):
Original file line number Diff line number Diff line change @@ -899,7 +899,15 @@ def run_test_case(
899
899
timeout : float = None ,
900
900
metadata : Sequence [Tuple [str , str ]] = (),
901
901
) -> operation .Operation :
902
- r"""Kicks off a test case run.
902
+ r"""Kicks off a test case run. This method is a `long-running
903
+ operation <https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation>`__.
904
+ The returned ``Operation`` type has the following
905
+ method-specific fields:
906
+
907
+ - ``metadata``:
908
+ [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata]
909
+ - ``response``:
910
+ [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]
903
911
904
912
Args:
905
913
request (google.cloud.dialogflowcx_v3.types.RunTestCaseRequest):
Original file line number Diff line number Diff line change @@ -382,7 +382,15 @@ def run_test_case(
382
382
) -> Callable [[test_case .RunTestCaseRequest ], operations_pb2 .Operation ]:
383
383
r"""Return a callable for the run test case method over gRPC.
384
384
385
- Kicks off a test case run.
385
+ Kicks off a test case run. This method is a `long-running
386
+ operation <https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation>`__.
387
+ The returned ``Operation`` type has the following
388
+ method-specific fields:
389
+
390
+ - ``metadata``:
391
+ [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata]
392
+ - ``response``:
393
+ [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]
386
394
387
395
Returns:
388
396
Callable[[~.RunTestCaseRequest],
Original file line number Diff line number Diff line change @@ -393,7 +393,15 @@ def run_test_case(
393
393
) -> Callable [[test_case .RunTestCaseRequest ], Awaitable [operations_pb2 .Operation ]]:
394
394
r"""Return a callable for the run test case method over gRPC.
395
395
396
- Kicks off a test case run.
396
+ Kicks off a test case run. This method is a `long-running
397
+ operation <https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation>`__.
398
+ The returned ``Operation`` type has the following
399
+ method-specific fields:
400
+
401
+ - ``metadata``:
402
+ [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata]
403
+ - ``response``:
404
+ [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]
397
405
398
406
Returns:
399
407
Callable[[~.RunTestCaseRequest],
Original file line number Diff line number Diff line change @@ -322,8 +322,9 @@ class UpdateFlowRequest(proto.Message):
322
322
flow (google.cloud.dialogflowcx_v3.types.Flow):
323
323
Required. The flow to update.
324
324
update_mask (google.protobuf.field_mask_pb2.FieldMask):
325
- Required. The mask to control which fields get updated. If
326
- ``update_mask`` is not specified, an error will be returned.
325
+ The mask to control which fields get updated.
326
+ If the mask is not present, all fields will be
327
+ updated.
327
328
language_code (str):
328
329
The language of the following fields in ``flow``:
329
330
Original file line number Diff line number Diff line change @@ -223,7 +223,8 @@ class VirtualAgentOutput(proto.Message):
223
223
diagnostic_info (google.protobuf.struct_pb2.Struct):
224
224
Required. Input only. The diagnostic
225
225
[info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
226
- output for the turn.
226
+ output for the turn. Required to calculate the testing
227
+ coverage.
227
228
triggered_intent (google.cloud.dialogflowcx_v3.types.Intent):
228
229
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that
229
230
triggered the response. Only name and displayName will be
@@ -664,7 +665,7 @@ class RunTestCaseResponse(proto.Message):
664
665
class RunTestCaseMetadata (proto .Message ):
665
666
r"""Metadata returned for the
666
667
[TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase]
667
- long running operation.
668
+ long running operation. This message currently has no fields.
668
669
"""
669
670
670
671
You can’t perform that action at this time.
0 commit comments