google-cloud-dialogflow-v2 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4d2b29e726ce9b67ccde9f362e7ea72c2853e473e66c9044c46fcdc95ab3cd6
4
- data.tar.gz: 10bea396d32d2e0c8d1fbbe12fe7e2bcc2102717f7e62303665247dce3981f0e
3
+ metadata.gz: b0f1abc85940f021d2a1292d95171e7a2eaf05a094c4276376e3c197968d4b7a
4
+ data.tar.gz: c60dc9c063ba32890680144f8939ccd443e9f70f971e12fb8c7331ad9fe572db
5
5
  SHA512:
6
- metadata.gz: 59cc1ea02ae7620404dae8eed7eb51ee8c1922a905af1f893651cd63d4be95107f0750ffd112cda7df5a006c07849ac18b8192a2d1827e178c56a0151921f4ce
7
- data.tar.gz: 4c48335d9393de2f5743c74a44877196af1c941201bf664b7fc8bb9b6b8ee382a6b9b54059485a07fc4a411f6d3b9451f8e98e564e36298e2aa7a6dbb6b71c63
6
+ metadata.gz: 94db7415e9bc1f54079c0d120b71eb4cccb374ffb4eae860b05b0466dcdec1666429a1a752674e868ec5d7f7cb9a0e5fc39e075dc5fb45605762625fd61603d2
7
+ data.tar.gz: 7c37270cf812836d10acdc405a9ae028859d0ab706a90a3d0fb582085521db8dde9d3ebe1b7764abb97ce2bf01e9397484ed0d5173acdc62e63206f1608e55cc
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  API Client library for the Dialogflow V2 API
4
4
 
5
- Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business.
5
+ Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. This client is for Dialogflow ES, providing the standard agent type suitable for small and simple agents.
6
6
 
7
7
  https://github.com/googleapis/google-cloud-ruby
8
8
 
@@ -53,12 +53,28 @@ module Google
53
53
  rpc :SearchAgents, ::Google::Cloud::Dialogflow::V2::SearchAgentsRequest, ::Google::Cloud::Dialogflow::V2::SearchAgentsResponse
54
54
  # Trains the specified agent.
55
55
  #
56
+ # This method is a [long-running
57
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
58
+ # The returned `Operation` type has the following method-specific fields:
59
+ #
60
+ # - `metadata`: An empty [Struct
61
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
62
+ # - `response`: An [Empty
63
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
56
64
  #
57
65
  # Note: You should always train an agent prior to sending it queries. See the
58
66
  # [training
59
67
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
60
68
  rpc :TrainAgent, ::Google::Cloud::Dialogflow::V2::TrainAgentRequest, ::Google::Longrunning::Operation
61
69
  # Exports the specified agent to a ZIP file.
70
+ #
71
+ # This method is a [long-running
72
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
73
+ # The returned `Operation` type has the following method-specific fields:
74
+ #
75
+ # - `metadata`: An empty [Struct
76
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
77
+ # - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]
62
78
  rpc :ExportAgent, ::Google::Cloud::Dialogflow::V2::ExportAgentRequest, ::Google::Longrunning::Operation
63
79
  # Imports the specified agent from a ZIP file.
64
80
  #
@@ -70,8 +86,17 @@ module Google
70
86
  # call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train
71
87
  # explicitly.
72
88
  #
73
- # An operation which tracks when importing is complete. It only tracks
74
- # when the draft agent is updated not when it is done training.
89
+ # This method is a [long-running
90
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
91
+ # The returned `Operation` type has the following method-specific fields:
92
+ #
93
+ # - `metadata`: An empty [Struct
94
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
95
+ # - `response`: An [Empty
96
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
97
+ #
98
+ # The operation only tracks when importing is complete, not when it is done
99
+ # training.
75
100
  #
76
101
  # Note: You should always train an agent prior to sending it queries. See the
77
102
  # [training
@@ -86,8 +111,17 @@ module Google
86
111
  # completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
87
112
  # returns in order to train explicitly.
88
113
  #
89
- # An operation which tracks when restoring is complete. It only tracks
90
- # when the draft agent is updated not when it is done training.
114
+ # This method is a [long-running
115
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
116
+ # The returned `Operation` type has the following method-specific fields:
117
+ #
118
+ # - `metadata`: An empty [Struct
119
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
120
+ # - `response`: An [Empty
121
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
122
+ #
123
+ # The operation only tracks when restoring is complete, not when it is done
124
+ # training.
91
125
  #
92
126
  # Note: You should always train an agent prior to sending it queries. See the
93
127
  # [training
@@ -457,6 +457,14 @@ module Google
457
457
  ##
458
458
  # Trains the specified agent.
459
459
  #
460
+ # This method is a [long-running
461
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
462
+ # The returned `Operation` type has the following method-specific fields:
463
+ #
464
+ # - `metadata`: An empty [Struct
465
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
466
+ # - `response`: An [Empty
467
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
460
468
  #
461
469
  # Note: You should always train an agent prior to sending it queries. See the
462
470
  # [training
@@ -532,6 +540,14 @@ module Google
532
540
  ##
533
541
  # Exports the specified agent to a ZIP file.
534
542
  #
543
+ # This method is a [long-running
544
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
545
+ # The returned `Operation` type has the following method-specific fields:
546
+ #
547
+ # - `metadata`: An empty [Struct
548
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
549
+ # - `response`: {::Google::Cloud::Dialogflow::V2::ExportAgentResponse ExportAgentResponse}
550
+ #
535
551
  # @overload export_agent(request, options = nil)
536
552
  # Pass arguments to `export_agent` via a request object, either of type
537
553
  # {::Google::Cloud::Dialogflow::V2::ExportAgentRequest} or an equivalent Hash.
@@ -615,8 +631,17 @@ module Google
615
631
  # call {::Google::Cloud::Dialogflow::V2::Agents::Client#train_agent TrainAgent} and wait for the operation it returns in order to train
616
632
  # explicitly.
617
633
  #
618
- # An operation which tracks when importing is complete. It only tracks
619
- # when the draft agent is updated not when it is done training.
634
+ # This method is a [long-running
635
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
636
+ # The returned `Operation` type has the following method-specific fields:
637
+ #
638
+ # - `metadata`: An empty [Struct
639
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
640
+ # - `response`: An [Empty
641
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
642
+ #
643
+ # The operation only tracks when importing is complete, not when it is done
644
+ # training.
620
645
  #
621
646
  # Note: You should always train an agent prior to sending it queries. See the
622
647
  # [training
@@ -704,8 +729,17 @@ module Google
704
729
  # completed yet. Please call {::Google::Cloud::Dialogflow::V2::Agents::Client#train_agent TrainAgent} and wait for the operation it
705
730
  # returns in order to train explicitly.
706
731
  #
707
- # An operation which tracks when restoring is complete. It only tracks
708
- # when the draft agent is updated not when it is done training.
732
+ # This method is a [long-running
733
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
734
+ # The returned `Operation` type has the following method-specific fields:
735
+ #
736
+ # - `metadata`: An empty [Struct
737
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
738
+ # - `response`: An [Empty
739
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
740
+ #
741
+ # The operation only tracks when restoring is complete, not when it is done
742
+ # training.
709
743
  #
710
744
  # Note: You should always train an agent prior to sending it queries. See the
711
745
  # [training
@@ -6,6 +6,7 @@ require 'google/protobuf'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/protobuf/duration_pb'
9
+ require 'google/protobuf/timestamp_pb'
9
10
  require 'google/api/annotations_pb'
10
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
12
  add_file("google/cloud/dialogflow/v2/audio_config.proto", :syntax => :proto3) do
@@ -39,29 +39,46 @@ module Google
39
39
  rpc :GetDocument, ::Google::Cloud::Dialogflow::V2::GetDocumentRequest, ::Google::Cloud::Dialogflow::V2::Document
40
40
  # Creates a new document.
41
41
  #
42
- # Operation <response: [Document][google.cloud.dialogflow.v2.Document],
43
- # metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]>
42
+ # This method is a [long-running
43
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
44
+ # The returned `Operation` type has the following method-specific fields:
45
+ #
46
+ # - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]
47
+ # - `response`: [Document][google.cloud.dialogflow.v2.Document]
44
48
  rpc :CreateDocument, ::Google::Cloud::Dialogflow::V2::CreateDocumentRequest, ::Google::Longrunning::Operation
45
49
  # Deletes the specified document.
46
50
  #
47
- # Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
48
- # metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]>
51
+ # This method is a [long-running
52
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
53
+ # The returned `Operation` type has the following method-specific fields:
54
+ #
55
+ # - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]
56
+ # - `response`: An [Empty
57
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
49
58
  rpc :DeleteDocument, ::Google::Cloud::Dialogflow::V2::DeleteDocumentRequest, ::Google::Longrunning::Operation
50
59
  # Updates the specified document.
51
60
  #
52
- # Operation <response: [Document][google.cloud.dialogflow.v2.Document],
53
- # metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]>
61
+ # This method is a [long-running
62
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
63
+ # The returned `Operation` type has the following method-specific fields:
64
+ #
65
+ # - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]
66
+ # - `response`: [Document][google.cloud.dialogflow.v2.Document]
54
67
  rpc :UpdateDocument, ::Google::Cloud::Dialogflow::V2::UpdateDocumentRequest, ::Google::Longrunning::Operation
55
68
  # Reloads the specified document from its specified source, content_uri or
56
69
  # content. The previously loaded content of the document will be deleted.
57
70
  # Note: Even when the content of the document has not changed, there still
58
71
  # may be side effects because of internal implementation changes.
59
72
  #
73
+ # This method is a [long-running
74
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
75
+ # The returned `Operation` type has the following method-specific fields:
76
+ #
77
+ # - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]
78
+ # - `response`: [Document][google.cloud.dialogflow.v2.Document]
79
+ #
60
80
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
61
81
  # only use `projects.knowledgeBases.documents`.
62
- #
63
- # Operation <response: [Document][google.cloud.dialogflow.v2.Document],
64
- # metadata: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]>
65
82
  rpc :ReloadDocument, ::Google::Cloud::Dialogflow::V2::ReloadDocumentRequest, ::Google::Longrunning::Operation
66
83
  end
67
84
 
@@ -310,8 +310,12 @@ module Google
310
310
  ##
311
311
  # Creates a new document.
312
312
  #
313
- # Operation <response: {::Google::Cloud::Dialogflow::V2::Document Document},
314
- # metadata: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}>
313
+ # This method is a [long-running
314
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
315
+ # The returned `Operation` type has the following method-specific fields:
316
+ #
317
+ # - `metadata`: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
318
+ # - `response`: {::Google::Cloud::Dialogflow::V2::Document Document}
315
319
  #
316
320
  # @overload create_document(request, options = nil)
317
321
  # Pass arguments to `create_document` via a request object, either of type
@@ -386,8 +390,13 @@ module Google
386
390
  ##
387
391
  # Deletes the specified document.
388
392
  #
389
- # Operation <response: {::Google::Protobuf::Empty google.protobuf.Empty},
390
- # metadata: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}>
393
+ # This method is a [long-running
394
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
395
+ # The returned `Operation` type has the following method-specific fields:
396
+ #
397
+ # - `metadata`: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
398
+ # - `response`: An [Empty
399
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
391
400
  #
392
401
  # @overload delete_document(request, options = nil)
393
402
  # Pass arguments to `delete_document` via a request object, either of type
@@ -460,8 +469,12 @@ module Google
460
469
  ##
461
470
  # Updates the specified document.
462
471
  #
463
- # Operation <response: {::Google::Cloud::Dialogflow::V2::Document Document},
464
- # metadata: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}>
472
+ # This method is a [long-running
473
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
474
+ # The returned `Operation` type has the following method-specific fields:
475
+ #
476
+ # - `metadata`: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
477
+ # - `response`: {::Google::Cloud::Dialogflow::V2::Document Document}
465
478
  #
466
479
  # @overload update_document(request, options = nil)
467
480
  # Pass arguments to `update_document` via a request object, either of type
@@ -539,12 +552,16 @@ module Google
539
552
  # Note: Even when the content of the document has not changed, there still
540
553
  # may be side effects because of internal implementation changes.
541
554
  #
555
+ # This method is a [long-running
556
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
557
+ # The returned `Operation` type has the following method-specific fields:
558
+ #
559
+ # - `metadata`: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
560
+ # - `response`: {::Google::Cloud::Dialogflow::V2::Document Document}
561
+ #
542
562
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
543
563
  # only use `projects.knowledgeBases.documents`.
544
564
  #
545
- # Operation <response: {::Google::Cloud::Dialogflow::V2::Document Document},
546
- # metadata: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}>
547
- #
548
565
  # @overload reload_document(request, options = nil)
549
566
  # Pass arguments to `reload_document` via a request object, either of type
550
567
  # {::Google::Cloud::Dialogflow::V2::ReloadDocumentRequest} or an equivalent Hash.
@@ -57,6 +57,13 @@ module Google
57
57
  rpc :DeleteEntityType, ::Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest, ::Google::Protobuf::Empty
58
58
  # Updates/Creates multiple entity types in the specified agent.
59
59
  #
60
+ # This method is a [long-running
61
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
62
+ # The returned `Operation` type has the following method-specific fields:
63
+ #
64
+ # - `metadata`: An empty [Struct
65
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
66
+ # - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]
60
67
  #
61
68
  # Note: You should always train an agent prior to sending it queries. See the
62
69
  # [training
@@ -64,12 +71,30 @@ module Google
64
71
  rpc :BatchUpdateEntityTypes, ::Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesRequest, ::Google::Longrunning::Operation
65
72
  # Deletes entity types in the specified agent.
66
73
  #
74
+ # This method is a [long-running
75
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
76
+ # The returned `Operation` type has the following method-specific fields:
77
+ #
78
+ # - `metadata`: An empty [Struct
79
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
80
+ # - `response`: An [Empty
81
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
82
+ #
67
83
  # Note: You should always train an agent prior to sending it queries. See the
68
84
  # [training
69
85
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
70
86
  rpc :BatchDeleteEntityTypes, ::Google::Cloud::Dialogflow::V2::BatchDeleteEntityTypesRequest, ::Google::Longrunning::Operation
71
87
  # Creates multiple new entities in the specified entity type.
72
88
  #
89
+ # This method is a [long-running
90
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
91
+ # The returned `Operation` type has the following method-specific fields:
92
+ #
93
+ # - `metadata`: An empty [Struct
94
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
95
+ # - `response`: An [Empty
96
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
97
+ #
73
98
  # Note: You should always train an agent prior to sending it queries. See the
74
99
  # [training
75
100
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
@@ -78,12 +103,31 @@ module Google
78
103
  # method does not affect entities in the entity type that aren't explicitly
79
104
  # specified in the request.
80
105
  #
106
+ # This method is a [long-running
107
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
108
+ # The returned `Operation` type has the following method-specific fields:
109
+ #
110
+ # - `metadata`: An empty [Struct
111
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
112
+ # - `response`: An [Empty
113
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
114
+ #
81
115
  # Note: You should always train an agent prior to sending it queries. See the
82
116
  # [training
83
117
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
118
+ #
84
119
  rpc :BatchUpdateEntities, ::Google::Cloud::Dialogflow::V2::BatchUpdateEntitiesRequest, ::Google::Longrunning::Operation
85
120
  # Deletes entities in the specified entity type.
86
121
  #
122
+ # This method is a [long-running
123
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
124
+ # The returned `Operation` type has the following method-specific fields:
125
+ #
126
+ # - `metadata`: An empty [Struct
127
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
128
+ # - `response`: An [Empty
129
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
130
+ #
87
131
  # Note: You should always train an agent prior to sending it queries. See the
88
132
  # [training
89
133
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
@@ -554,6 +554,13 @@ module Google
554
554
  ##
555
555
  # Updates/Creates multiple entity types in the specified agent.
556
556
  #
557
+ # This method is a [long-running
558
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
559
+ # The returned `Operation` type has the following method-specific fields:
560
+ #
561
+ # - `metadata`: An empty [Struct
562
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
563
+ # - `response`: {::Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesResponse BatchUpdateEntityTypesResponse}
557
564
  #
558
565
  # Note: You should always train an agent prior to sending it queries. See the
559
566
  # [training
@@ -644,6 +651,15 @@ module Google
644
651
  ##
645
652
  # Deletes entity types in the specified agent.
646
653
  #
654
+ # This method is a [long-running
655
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
656
+ # The returned `Operation` type has the following method-specific fields:
657
+ #
658
+ # - `metadata`: An empty [Struct
659
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
660
+ # - `response`: An [Empty
661
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
662
+ #
647
663
  # Note: You should always train an agent prior to sending it queries. See the
648
664
  # [training
649
665
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
@@ -721,6 +737,15 @@ module Google
721
737
  ##
722
738
  # Creates multiple new entities in the specified entity type.
723
739
  #
740
+ # This method is a [long-running
741
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
742
+ # The returned `Operation` type has the following method-specific fields:
743
+ #
744
+ # - `metadata`: An empty [Struct
745
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
746
+ # - `response`: An [Empty
747
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
748
+ #
724
749
  # Note: You should always train an agent prior to sending it queries. See the
725
750
  # [training
726
751
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
@@ -805,6 +830,15 @@ module Google
805
830
  # method does not affect entities in the entity type that aren't explicitly
806
831
  # specified in the request.
807
832
  #
833
+ # This method is a [long-running
834
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
835
+ # The returned `Operation` type has the following method-specific fields:
836
+ #
837
+ # - `metadata`: An empty [Struct
838
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
839
+ # - `response`: An [Empty
840
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
841
+ #
808
842
  # Note: You should always train an agent prior to sending it queries. See the
809
843
  # [training
810
844
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
@@ -889,6 +923,15 @@ module Google
889
923
  ##
890
924
  # Deletes entities in the specified entity type.
891
925
  #
926
+ # This method is a [long-running
927
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
928
+ # The returned `Operation` type has the following method-specific fields:
929
+ #
930
+ # - `metadata`: An empty [Struct
931
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
932
+ # - `response`: An [Empty
933
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
934
+ #
892
935
  # Note: You should always train an agent prior to sending it queries. See the
893
936
  # [training
894
937
  # documentation](https://cloud.google.com/dialogflow/es/docs/training).
@@ -57,6 +57,13 @@ module Google
57
57
  rpc :DeleteIntent, ::Google::Cloud::Dialogflow::V2::DeleteIntentRequest, ::Google::Protobuf::Empty
58
58
  # Updates/Creates multiple intents in the specified agent.
59
59
  #
60
+ # This method is a [long-running
61
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
62
+ # The returned `Operation` type has the following method-specific fields:
63
+ #
64
+ # - `metadata`: An empty [Struct
65
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
66
+ # - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]
60
67
  #
61
68
  # Note: You should always train an agent prior to sending it queries. See the
62
69
  # [training
@@ -64,6 +71,14 @@ module Google
64
71
  rpc :BatchUpdateIntents, ::Google::Cloud::Dialogflow::V2::BatchUpdateIntentsRequest, ::Google::Longrunning::Operation
65
72
  # Deletes intents in the specified agent.
66
73
  #
74
+ # This method is a [long-running
75
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
76
+ # The returned `Operation` type has the following method-specific fields:
77
+ #
78
+ # - `metadata`: An empty [Struct
79
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
80
+ # - `response`: An [Empty
81
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
67
82
  #
68
83
  # Note: You should always train an agent prior to sending it queries. See the
69
84
  # [training
@@ -571,6 +571,13 @@ module Google
571
571
  ##
572
572
  # Updates/Creates multiple intents in the specified agent.
573
573
  #
574
+ # This method is a [long-running
575
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
576
+ # The returned `Operation` type has the following method-specific fields:
577
+ #
578
+ # - `metadata`: An empty [Struct
579
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
580
+ # - `response`: {::Google::Cloud::Dialogflow::V2::BatchUpdateIntentsResponse BatchUpdateIntentsResponse}
574
581
  #
575
582
  # Note: You should always train an agent prior to sending it queries. See the
576
583
  # [training
@@ -662,6 +669,14 @@ module Google
662
669
  ##
663
670
  # Deletes intents in the specified agent.
664
671
  #
672
+ # This method is a [long-running
673
+ # operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
674
+ # The returned `Operation` type has the following method-specific fields:
675
+ #
676
+ # - `metadata`: An empty [Struct
677
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
678
+ # - `response`: An [Empty
679
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
665
680
  #
666
681
  # Note: You should always train an agent prior to sending it queries. See the
667
682
  # [training
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.11.1"
24
+ VERSION = "0.11.2"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -160,9 +160,10 @@ description: Dialogflow is an end-to-end, build-once deploy-everywhere developme
160
160
  suite for creating conversational interfaces for websites, mobile applications,
161
161
  popular messaging platforms, and IoT devices. You can use it to build interfaces
162
162
  (such as chatbots and conversational IVR) that enable natural and rich interactions
163
- between your users and your business. Note that google-cloud-dialogflow-v2 is a
164
- version-specific client library. For most uses, we recommend installing the main
165
- client library google-cloud-dialogflow instead. See the readme for more details.
163
+ between your users and your business. This client is for Dialogflow ES, providing
164
+ the standard agent type suitable for small and simple agents. Note that google-cloud-dialogflow-v2
165
+ is a version-specific client library. For most uses, we recommend installing the
166
+ main client library google-cloud-dialogflow instead. See the readme for more details.
166
167
  email: googleapis-packages@google.com
167
168
  executables: []
168
169
  extensions: []