google-cloud-dialogflow 0.15.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +2 -1
- data/AUTHENTICATION.md +51 -59
- data/LICENSE.md +203 -0
- data/MIGRATING.md +397 -0
- data/README.md +35 -25
- data/lib/{google/cloud/dialogflow/v2/doc/google/protobuf/empty.rb → google-cloud-dialogflow.rb} +4 -14
- data/lib/google/cloud/dialogflow.rb +368 -506
- data/lib/google/cloud/dialogflow/version.rb +1 -1
- metadata +88 -83
- data/LICENSE +0 -201
- data/lib/google/cloud/dialogflow/v2.rb +0 -598
- data/lib/google/cloud/dialogflow/v2/agent_pb.rb +0 -121
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +0 -111
- data/lib/google/cloud/dialogflow/v2/agents_client.rb +0 -810
- data/lib/google/cloud/dialogflow/v2/agents_client_config.json +0 -71
- data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +0 -96
- data/lib/google/cloud/dialogflow/v2/context_pb.rb +0 -63
- data/lib/google/cloud/dialogflow/v2/context_services_pb.rb +0 -75
- data/lib/google/cloud/dialogflow/v2/contexts_client.rb +0 -522
- data/lib/google/cloud/dialogflow/v2/contexts_client_config.json +0 -56
- data/lib/google/cloud/dialogflow/v2/credentials.rb +0 -42
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb +0 -247
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/audio_config.rb +0 -341
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb +0 -116
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb +0 -305
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb +0 -937
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb +0 -498
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session_entity_type.rb +0 -130
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/validation_result.rb +0 -71
- data/lib/google/cloud/dialogflow/v2/doc/google/longrunning/operations.rb +0 -51
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/struct.rb +0 -74
- data/lib/google/cloud/dialogflow/v2/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/dialogflow/v2/doc/google/type/latlng.rb +0 -31
- data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +0 -125
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +0 -105
- data/lib/google/cloud/dialogflow/v2/entity_types_client.rb +0 -997
- data/lib/google/cloud/dialogflow/v2/entity_types_client_config.json +0 -76
- data/lib/google/cloud/dialogflow/v2/intent_pb.rb +0 -367
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +0 -93
- data/lib/google/cloud/dialogflow/v2/intents_client.rb +0 -763
- data/lib/google/cloud/dialogflow/v2/intents_client_config.json +0 -61
- data/lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb +0 -65
- data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +0 -93
- data/lib/google/cloud/dialogflow/v2/session_entity_types_client.rb +0 -507
- data/lib/google/cloud/dialogflow/v2/session_entity_types_client_config.json +0 -51
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +0 -141
- data/lib/google/cloud/dialogflow/v2/session_services_pb.rb +0 -56
- data/lib/google/cloud/dialogflow/v2/sessions_client.rb +0 -340
- data/lib/google/cloud/dialogflow/v2/sessions_client_config.json +0 -36
- data/lib/google/cloud/dialogflow/v2/validation_result_pb.rb +0 -36
- data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +0 -46
@@ -1,36 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"interfaces": {
|
3
|
-
"google.cloud.dialogflow.v2.Sessions": {
|
4
|
-
"retry_codes": {
|
5
|
-
"idempotent": [
|
6
|
-
"DEADLINE_EXCEEDED",
|
7
|
-
"UNAVAILABLE"
|
8
|
-
],
|
9
|
-
"non_idempotent": []
|
10
|
-
},
|
11
|
-
"retry_params": {
|
12
|
-
"default": {
|
13
|
-
"initial_retry_delay_millis": 100,
|
14
|
-
"retry_delay_multiplier": 1.3,
|
15
|
-
"max_retry_delay_millis": 60000,
|
16
|
-
"initial_rpc_timeout_millis": 20000,
|
17
|
-
"rpc_timeout_multiplier": 1.0,
|
18
|
-
"max_rpc_timeout_millis": 20000,
|
19
|
-
"total_timeout_millis": 600000
|
20
|
-
}
|
21
|
-
},
|
22
|
-
"methods": {
|
23
|
-
"DetectIntent": {
|
24
|
-
"timeout_millis": 220000,
|
25
|
-
"retry_codes_name": "non_idempotent",
|
26
|
-
"retry_params_name": "default"
|
27
|
-
},
|
28
|
-
"StreamingDetectIntent": {
|
29
|
-
"timeout_millis": 220000,
|
30
|
-
"retry_codes_name": "non_idempotent",
|
31
|
-
"retry_params_name": "default"
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/dialogflow/v2/validation_result.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
add_message "google.cloud.dialogflow.v2.ValidationError" do
|
10
|
-
optional :severity, :enum, 1, "google.cloud.dialogflow.v2.ValidationError.Severity"
|
11
|
-
repeated :entries, :string, 3
|
12
|
-
optional :error_message, :string, 4
|
13
|
-
end
|
14
|
-
add_enum "google.cloud.dialogflow.v2.ValidationError.Severity" do
|
15
|
-
value :SEVERITY_UNSPECIFIED, 0
|
16
|
-
value :INFO, 1
|
17
|
-
value :WARNING, 2
|
18
|
-
value :ERROR, 3
|
19
|
-
value :CRITICAL, 4
|
20
|
-
end
|
21
|
-
add_message "google.cloud.dialogflow.v2.ValidationResult" do
|
22
|
-
repeated :validation_errors, :message, 1, "google.cloud.dialogflow.v2.ValidationError"
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
module Google
|
27
|
-
module Cloud
|
28
|
-
module Dialogflow
|
29
|
-
module V2
|
30
|
-
ValidationError = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ValidationError").msgclass
|
31
|
-
ValidationError::Severity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ValidationError.Severity").enummodule
|
32
|
-
ValidationResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ValidationResult").msgclass
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/dialogflow/v2/webhook.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/cloud/dialogflow/v2/context_pb'
|
8
|
-
require 'google/cloud/dialogflow/v2/intent_pb'
|
9
|
-
require 'google/cloud/dialogflow/v2/session_pb'
|
10
|
-
require 'google/cloud/dialogflow/v2/session_entity_type_pb'
|
11
|
-
require 'google/protobuf/struct_pb'
|
12
|
-
require 'google/api/annotations_pb'
|
13
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
-
add_message "google.cloud.dialogflow.v2.WebhookRequest" do
|
15
|
-
optional :session, :string, 4
|
16
|
-
optional :response_id, :string, 1
|
17
|
-
optional :query_result, :message, 2, "google.cloud.dialogflow.v2.QueryResult"
|
18
|
-
optional :original_detect_intent_request, :message, 3, "google.cloud.dialogflow.v2.OriginalDetectIntentRequest"
|
19
|
-
end
|
20
|
-
add_message "google.cloud.dialogflow.v2.WebhookResponse" do
|
21
|
-
optional :fulfillment_text, :string, 1
|
22
|
-
repeated :fulfillment_messages, :message, 2, "google.cloud.dialogflow.v2.Intent.Message"
|
23
|
-
optional :source, :string, 3
|
24
|
-
optional :payload, :message, 4, "google.protobuf.Struct"
|
25
|
-
repeated :output_contexts, :message, 5, "google.cloud.dialogflow.v2.Context"
|
26
|
-
optional :followup_event_input, :message, 6, "google.cloud.dialogflow.v2.EventInput"
|
27
|
-
repeated :session_entity_types, :message, 10, "google.cloud.dialogflow.v2.SessionEntityType"
|
28
|
-
end
|
29
|
-
add_message "google.cloud.dialogflow.v2.OriginalDetectIntentRequest" do
|
30
|
-
optional :source, :string, 1
|
31
|
-
optional :version, :string, 2
|
32
|
-
optional :payload, :message, 3, "google.protobuf.Struct"
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
module Google
|
37
|
-
module Cloud
|
38
|
-
module Dialogflow
|
39
|
-
module V2
|
40
|
-
WebhookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.WebhookRequest").msgclass
|
41
|
-
WebhookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.WebhookResponse").msgclass
|
42
|
-
OriginalDetectIntentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.OriginalDetectIntentRequest").msgclass
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|