google-cloud-dialogflow-v2 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +16 -5
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +16 -5
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +28 -7
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +28 -7
- data/lib/google/cloud/dialogflow/v2/environments/paths.rb +41 -0
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +20 -2
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +20 -2
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/v2/environment.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f9bd8a2a3f32c3ae56627408a739f0e8c29f9973d723af1a982127291c7f12b
|
4
|
+
data.tar.gz: a71c4834e3b7a9cb9919963644688ce42dd185f43e3905c1ca3aec67ec96fec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33d0b96ddd47aecd6c5941f33317c8dadcade2098c513bd3e910ecaa78c1ee74b5d4df06f46ea9d29fe97c8138510020388d1f86b21b7d8c814e637511e9dc7e
|
7
|
+
data.tar.gz: bbafb336587819afd529cf2e2fc673289ab6a15e7a190634a2a629283f666fd92b50887f5baf0b175f6203259d7cb2364c3b9bfa8729a67b3112851e7fe2b9f7
|
@@ -36,6 +36,10 @@ module Google
|
|
36
36
|
# Retrieves the specified agent.
|
37
37
|
rpc :GetAgent, ::Google::Cloud::Dialogflow::V2::GetAgentRequest, ::Google::Cloud::Dialogflow::V2::Agent
|
38
38
|
# Creates/updates the specified agent.
|
39
|
+
#
|
40
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
41
|
+
# [training
|
42
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
39
43
|
rpc :SetAgent, ::Google::Cloud::Dialogflow::V2::SetAgentRequest, ::Google::Cloud::Dialogflow::V2::Agent
|
40
44
|
# Deletes the specified agent.
|
41
45
|
rpc :DeleteAgent, ::Google::Cloud::Dialogflow::V2::DeleteAgentRequest, ::Google::Protobuf::Empty
|
@@ -49,11 +53,12 @@ module Google
|
|
49
53
|
rpc :SearchAgents, ::Google::Cloud::Dialogflow::V2::SearchAgentsRequest, ::Google::Cloud::Dialogflow::V2::SearchAgentsResponse
|
50
54
|
# Trains the specified agent.
|
51
55
|
#
|
52
|
-
#
|
56
|
+
#
|
57
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
58
|
+
# [training
|
59
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
53
60
|
rpc :TrainAgent, ::Google::Cloud::Dialogflow::V2::TrainAgentRequest, ::Google::Longrunning::Operation
|
54
61
|
# Exports the specified agent to a ZIP file.
|
55
|
-
#
|
56
|
-
# Operation <response: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]>
|
57
62
|
rpc :ExportAgent, ::Google::Cloud::Dialogflow::V2::ExportAgentRequest, ::Google::Longrunning::Operation
|
58
63
|
# Imports the specified agent from a ZIP file.
|
59
64
|
#
|
@@ -65,9 +70,12 @@ module Google
|
|
65
70
|
# call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train
|
66
71
|
# explicitly.
|
67
72
|
#
|
68
|
-
# Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
|
69
73
|
# An operation which tracks when importing is complete. It only tracks
|
70
74
|
# when the draft agent is updated not when it is done training.
|
75
|
+
#
|
76
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
77
|
+
# [training
|
78
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
71
79
|
rpc :ImportAgent, ::Google::Cloud::Dialogflow::V2::ImportAgentRequest, ::Google::Longrunning::Operation
|
72
80
|
# Restores the specified agent from a ZIP file.
|
73
81
|
#
|
@@ -78,9 +86,12 @@ module Google
|
|
78
86
|
# completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
|
79
87
|
# returns in order to train explicitly.
|
80
88
|
#
|
81
|
-
# Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
|
82
89
|
# An operation which tracks when restoring is complete. It only tracks
|
83
90
|
# when the draft agent is updated not when it is done training.
|
91
|
+
#
|
92
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
93
|
+
# [training
|
94
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
84
95
|
rpc :RestoreAgent, ::Google::Cloud::Dialogflow::V2::RestoreAgentRequest, ::Google::Longrunning::Operation
|
85
96
|
# Gets agent validation result. Agent validation is performed during
|
86
97
|
# training time and is updated automatically when training is completed.
|
@@ -240,6 +240,10 @@ module Google
|
|
240
240
|
##
|
241
241
|
# Creates/updates the specified agent.
|
242
242
|
#
|
243
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
244
|
+
# [training
|
245
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
246
|
+
#
|
243
247
|
# @overload set_agent(request, options = nil)
|
244
248
|
# Pass arguments to `set_agent` via a request object, either of type
|
245
249
|
# {::Google::Cloud::Dialogflow::V2::SetAgentRequest} or an equivalent Hash.
|
@@ -454,7 +458,10 @@ module Google
|
|
454
458
|
##
|
455
459
|
# Trains the specified agent.
|
456
460
|
#
|
457
|
-
#
|
461
|
+
#
|
462
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
463
|
+
# [training
|
464
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
458
465
|
#
|
459
466
|
# @overload train_agent(request, options = nil)
|
460
467
|
# Pass arguments to `train_agent` via a request object, either of type
|
@@ -524,8 +531,6 @@ module Google
|
|
524
531
|
##
|
525
532
|
# Exports the specified agent to a ZIP file.
|
526
533
|
#
|
527
|
-
# Operation <response: {::Google::Cloud::Dialogflow::V2::ExportAgentResponse ExportAgentResponse}>
|
528
|
-
#
|
529
534
|
# @overload export_agent(request, options = nil)
|
530
535
|
# Pass arguments to `export_agent` via a request object, either of type
|
531
536
|
# {::Google::Cloud::Dialogflow::V2::ExportAgentRequest} or an equivalent Hash.
|
@@ -607,10 +612,13 @@ module Google
|
|
607
612
|
# call {::Google::Cloud::Dialogflow::V2::Agents::Client#train_agent TrainAgent} and wait for the operation it returns in order to train
|
608
613
|
# explicitly.
|
609
614
|
#
|
610
|
-
# Operation <response: {::Google::Protobuf::Empty google.protobuf.Empty}>
|
611
615
|
# An operation which tracks when importing is complete. It only tracks
|
612
616
|
# when the draft agent is updated not when it is done training.
|
613
617
|
#
|
618
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
619
|
+
# [training
|
620
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
621
|
+
#
|
614
622
|
# @overload import_agent(request, options = nil)
|
615
623
|
# Pass arguments to `import_agent` via a request object, either of type
|
616
624
|
# {::Google::Cloud::Dialogflow::V2::ImportAgentRequest} or an equivalent Hash.
|
@@ -691,10 +699,13 @@ module Google
|
|
691
699
|
# completed yet. Please call {::Google::Cloud::Dialogflow::V2::Agents::Client#train_agent TrainAgent} and wait for the operation it
|
692
700
|
# returns in order to train explicitly.
|
693
701
|
#
|
694
|
-
# Operation <response: {::Google::Protobuf::Empty google.protobuf.Empty}>
|
695
702
|
# An operation which tracks when restoring is complete. It only tracks
|
696
703
|
# when the draft agent is updated not when it is done training.
|
697
704
|
#
|
705
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
706
|
+
# [training
|
707
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
708
|
+
#
|
698
709
|
# @overload restore_agent(request, options = nil)
|
699
710
|
# Pass arguments to `restore_agent` via a request object, either of type
|
700
711
|
# {::Google::Cloud::Dialogflow::V2::RestoreAgentRequest} or an equivalent Hash.
|
@@ -38,34 +38,55 @@ module Google
|
|
38
38
|
# Retrieves the specified entity type.
|
39
39
|
rpc :GetEntityType, ::Google::Cloud::Dialogflow::V2::GetEntityTypeRequest, ::Google::Cloud::Dialogflow::V2::EntityType
|
40
40
|
# Creates an entity type in the specified agent.
|
41
|
+
#
|
42
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
43
|
+
# [training
|
44
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
41
45
|
rpc :CreateEntityType, ::Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest, ::Google::Cloud::Dialogflow::V2::EntityType
|
42
46
|
# Updates the specified entity type.
|
47
|
+
#
|
48
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
49
|
+
# [training
|
50
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
43
51
|
rpc :UpdateEntityType, ::Google::Cloud::Dialogflow::V2::UpdateEntityTypeRequest, ::Google::Cloud::Dialogflow::V2::EntityType
|
44
52
|
# Deletes the specified entity type.
|
53
|
+
#
|
54
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
55
|
+
# [training
|
56
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
45
57
|
rpc :DeleteEntityType, ::Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest, ::Google::Protobuf::Empty
|
46
58
|
# Updates/Creates multiple entity types in the specified agent.
|
47
59
|
#
|
48
|
-
#
|
60
|
+
#
|
61
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
62
|
+
# [training
|
63
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
49
64
|
rpc :BatchUpdateEntityTypes, ::Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesRequest, ::Google::Longrunning::Operation
|
50
65
|
# Deletes entity types in the specified agent.
|
51
66
|
#
|
52
|
-
#
|
67
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
68
|
+
# [training
|
69
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
53
70
|
rpc :BatchDeleteEntityTypes, ::Google::Cloud::Dialogflow::V2::BatchDeleteEntityTypesRequest, ::Google::Longrunning::Operation
|
54
71
|
# Creates multiple new entities in the specified entity type.
|
55
72
|
#
|
56
|
-
#
|
73
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
74
|
+
# [training
|
75
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
57
76
|
rpc :BatchCreateEntities, ::Google::Cloud::Dialogflow::V2::BatchCreateEntitiesRequest, ::Google::Longrunning::Operation
|
58
77
|
# Updates or creates multiple entities in the specified entity type. This
|
59
78
|
# method does not affect entities in the entity type that aren't explicitly
|
60
79
|
# specified in the request.
|
61
80
|
#
|
62
|
-
#
|
63
|
-
#
|
81
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
82
|
+
# [training
|
83
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
64
84
|
rpc :BatchUpdateEntities, ::Google::Cloud::Dialogflow::V2::BatchUpdateEntitiesRequest, ::Google::Longrunning::Operation
|
65
85
|
# Deletes entities in the specified entity type.
|
66
86
|
#
|
67
|
-
#
|
68
|
-
#
|
87
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
88
|
+
# [training
|
89
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
69
90
|
rpc :BatchDeleteEntities, ::Google::Cloud::Dialogflow::V2::BatchDeleteEntitiesRequest, ::Google::Longrunning::Operation
|
70
91
|
end
|
71
92
|
|
@@ -325,6 +325,10 @@ module Google
|
|
325
325
|
##
|
326
326
|
# Creates an entity type in the specified agent.
|
327
327
|
#
|
328
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
329
|
+
# [training
|
330
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
331
|
+
#
|
328
332
|
# @overload create_entity_type(request, options = nil)
|
329
333
|
# Pass arguments to `create_entity_type` via a request object, either of type
|
330
334
|
# {::Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest} or an equivalent Hash.
|
@@ -400,6 +404,10 @@ module Google
|
|
400
404
|
##
|
401
405
|
# Updates the specified entity type.
|
402
406
|
#
|
407
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
408
|
+
# [training
|
409
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
410
|
+
#
|
403
411
|
# @overload update_entity_type(request, options = nil)
|
404
412
|
# Pass arguments to `update_entity_type` via a request object, either of type
|
405
413
|
# {::Google::Cloud::Dialogflow::V2::UpdateEntityTypeRequest} or an equivalent Hash.
|
@@ -474,6 +482,10 @@ module Google
|
|
474
482
|
##
|
475
483
|
# Deletes the specified entity type.
|
476
484
|
#
|
485
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
486
|
+
# [training
|
487
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
488
|
+
#
|
477
489
|
# @overload delete_entity_type(request, options = nil)
|
478
490
|
# Pass arguments to `delete_entity_type` via a request object, either of type
|
479
491
|
# {::Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest} or an equivalent Hash.
|
@@ -541,7 +553,10 @@ module Google
|
|
541
553
|
##
|
542
554
|
# Updates/Creates multiple entity types in the specified agent.
|
543
555
|
#
|
544
|
-
#
|
556
|
+
#
|
557
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
558
|
+
# [training
|
559
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
545
560
|
#
|
546
561
|
# @overload batch_update_entity_types(request, options = nil)
|
547
562
|
# Pass arguments to `batch_update_entity_types` via a request object, either of type
|
@@ -626,7 +641,9 @@ module Google
|
|
626
641
|
##
|
627
642
|
# Deletes entity types in the specified agent.
|
628
643
|
#
|
629
|
-
#
|
644
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
645
|
+
# [training
|
646
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
630
647
|
#
|
631
648
|
# @overload batch_delete_entity_types(request, options = nil)
|
632
649
|
# Pass arguments to `batch_delete_entity_types` via a request object, either of type
|
@@ -699,7 +716,9 @@ module Google
|
|
699
716
|
##
|
700
717
|
# Creates multiple new entities in the specified entity type.
|
701
718
|
#
|
702
|
-
#
|
719
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
720
|
+
# [training
|
721
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
703
722
|
#
|
704
723
|
# @overload batch_create_entities(request, options = nil)
|
705
724
|
# Pass arguments to `batch_create_entities` via a request object, either of type
|
@@ -779,8 +798,9 @@ module Google
|
|
779
798
|
# method does not affect entities in the entity type that aren't explicitly
|
780
799
|
# specified in the request.
|
781
800
|
#
|
782
|
-
#
|
783
|
-
#
|
801
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
802
|
+
# [training
|
803
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
784
804
|
#
|
785
805
|
# @overload batch_update_entities(request, options = nil)
|
786
806
|
# Pass arguments to `batch_update_entities` via a request object, either of type
|
@@ -860,8 +880,9 @@ module Google
|
|
860
880
|
##
|
861
881
|
# Deletes entities in the specified entity type.
|
862
882
|
#
|
863
|
-
#
|
864
|
-
#
|
883
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
884
|
+
# [training
|
885
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
865
886
|
#
|
866
887
|
# @overload batch_delete_entities(request, options = nil)
|
867
888
|
# Pass arguments to `batch_delete_entities` via a request object, either of type
|
@@ -137,6 +137,47 @@ module Google
|
|
137
137
|
resource.call(**args)
|
138
138
|
end
|
139
139
|
|
140
|
+
##
|
141
|
+
# Create a fully-qualified Version resource string.
|
142
|
+
#
|
143
|
+
# @overload version_path(project:, version:)
|
144
|
+
# The resource will be in the following format:
|
145
|
+
#
|
146
|
+
# `projects/{project}/agent/versions/{version}`
|
147
|
+
#
|
148
|
+
# @param project [String]
|
149
|
+
# @param version [String]
|
150
|
+
#
|
151
|
+
# @overload version_path(project:, location:, version:)
|
152
|
+
# The resource will be in the following format:
|
153
|
+
#
|
154
|
+
# `projects/{project}/locations/{location}/agent/versions/{version}`
|
155
|
+
#
|
156
|
+
# @param project [String]
|
157
|
+
# @param location [String]
|
158
|
+
# @param version [String]
|
159
|
+
#
|
160
|
+
# @return [::String]
|
161
|
+
def version_path **args
|
162
|
+
resources = {
|
163
|
+
"project:version" => (proc do |project:, version:|
|
164
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
165
|
+
|
166
|
+
"projects/#{project}/agent/versions/#{version}"
|
167
|
+
end),
|
168
|
+
"location:project:version" => (proc do |project:, location:, version:|
|
169
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
170
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
171
|
+
|
172
|
+
"projects/#{project}/locations/#{location}/agent/versions/#{version}"
|
173
|
+
end)
|
174
|
+
}
|
175
|
+
|
176
|
+
resource = resources[args.keys.sort.join(":")]
|
177
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
178
|
+
resource.call(**args)
|
179
|
+
end
|
180
|
+
|
140
181
|
extend self
|
141
182
|
end
|
142
183
|
end
|
@@ -38,18 +38,36 @@ module Google
|
|
38
38
|
# Retrieves the specified intent.
|
39
39
|
rpc :GetIntent, ::Google::Cloud::Dialogflow::V2::GetIntentRequest, ::Google::Cloud::Dialogflow::V2::Intent
|
40
40
|
# Creates an intent in the specified agent.
|
41
|
+
#
|
42
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
43
|
+
# [training
|
44
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
41
45
|
rpc :CreateIntent, ::Google::Cloud::Dialogflow::V2::CreateIntentRequest, ::Google::Cloud::Dialogflow::V2::Intent
|
42
46
|
# Updates the specified intent.
|
47
|
+
#
|
48
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
49
|
+
# [training
|
50
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
43
51
|
rpc :UpdateIntent, ::Google::Cloud::Dialogflow::V2::UpdateIntentRequest, ::Google::Cloud::Dialogflow::V2::Intent
|
44
52
|
# Deletes the specified intent and its direct or indirect followup intents.
|
53
|
+
#
|
54
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
55
|
+
# [training
|
56
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
45
57
|
rpc :DeleteIntent, ::Google::Cloud::Dialogflow::V2::DeleteIntentRequest, ::Google::Protobuf::Empty
|
46
58
|
# Updates/Creates multiple intents in the specified agent.
|
47
59
|
#
|
48
|
-
#
|
60
|
+
#
|
61
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
62
|
+
# [training
|
63
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
49
64
|
rpc :BatchUpdateIntents, ::Google::Cloud::Dialogflow::V2::BatchUpdateIntentsRequest, ::Google::Longrunning::Operation
|
50
65
|
# Deletes intents in the specified agent.
|
51
66
|
#
|
52
|
-
#
|
67
|
+
#
|
68
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
69
|
+
# [training
|
70
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
53
71
|
rpc :BatchDeleteIntents, ::Google::Cloud::Dialogflow::V2::BatchDeleteIntentsRequest, ::Google::Longrunning::Operation
|
54
72
|
end
|
55
73
|
|
@@ -337,6 +337,10 @@ module Google
|
|
337
337
|
##
|
338
338
|
# Creates an intent in the specified agent.
|
339
339
|
#
|
340
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
341
|
+
# [training
|
342
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
343
|
+
#
|
340
344
|
# @overload create_intent(request, options = nil)
|
341
345
|
# Pass arguments to `create_intent` via a request object, either of type
|
342
346
|
# {::Google::Cloud::Dialogflow::V2::CreateIntentRequest} or an equivalent Hash.
|
@@ -414,6 +418,10 @@ module Google
|
|
414
418
|
##
|
415
419
|
# Updates the specified intent.
|
416
420
|
#
|
421
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
422
|
+
# [training
|
423
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
424
|
+
#
|
417
425
|
# @overload update_intent(request, options = nil)
|
418
426
|
# Pass arguments to `update_intent` via a request object, either of type
|
419
427
|
# {::Google::Cloud::Dialogflow::V2::UpdateIntentRequest} or an equivalent Hash.
|
@@ -490,6 +498,10 @@ module Google
|
|
490
498
|
##
|
491
499
|
# Deletes the specified intent and its direct or indirect followup intents.
|
492
500
|
#
|
501
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
502
|
+
# [training
|
503
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
504
|
+
#
|
493
505
|
# @overload delete_intent(request, options = nil)
|
494
506
|
# Pass arguments to `delete_intent` via a request object, either of type
|
495
507
|
# {::Google::Cloud::Dialogflow::V2::DeleteIntentRequest} or an equivalent Hash.
|
@@ -558,7 +570,10 @@ module Google
|
|
558
570
|
##
|
559
571
|
# Updates/Creates multiple intents in the specified agent.
|
560
572
|
#
|
561
|
-
#
|
573
|
+
#
|
574
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
575
|
+
# [training
|
576
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
562
577
|
#
|
563
578
|
# @overload batch_update_intents(request, options = nil)
|
564
579
|
# Pass arguments to `batch_update_intents` via a request object, either of type
|
@@ -644,7 +659,10 @@ module Google
|
|
644
659
|
##
|
645
660
|
# Deletes intents in the specified agent.
|
646
661
|
#
|
647
|
-
#
|
662
|
+
#
|
663
|
+
# Note: You should always train an agent prior to sending it queries. See the
|
664
|
+
# [training
|
665
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
648
666
|
#
|
649
667
|
# @overload batch_delete_intents(request, options = nil)
|
650
668
|
# Pass arguments to `batch_delete_intents` via a request object, either of type
|
@@ -52,7 +52,7 @@ module Google
|
|
52
52
|
# The maximum length is 500 characters. If exceeded, the request is rejected.
|
53
53
|
# @!attribute [rw] agent_version
|
54
54
|
# @return [::String]
|
55
|
-
#
|
55
|
+
# Required. The agent version loaded into this environment.
|
56
56
|
# Supported formats:
|
57
57
|
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
58
58
|
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
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.
|
4
|
+
version: 0.10.0
|
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-06-
|
11
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|