google-cloud-dialogflow-cx-v3 0.24.1 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +14 -2
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +4 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +273 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +803 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +259 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +917 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb +120 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/generative_settings_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/generator_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/import_strategy_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/inline_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/safety_settings_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +4 -2
- data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +6 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +122 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +116 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/service_stub.rb +63 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +2 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +2 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +10 -31
- data/proto_docs/google/cloud/dialogflow/cx/v3/changelog.rb +3 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +190 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +3 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +24 -6
- data/proto_docs/google/protobuf/any.rb +2 -1
- metadata +4 -2
@@ -13,13 +13,13 @@ require 'google/protobuf/empty_pb'
|
|
13
13
|
require 'google/protobuf/field_mask_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n:google/cloud/dialogflow/cx/v3/transition_route_group.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xc9\x03\n\x14TransitionRouteGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\x11transition_routes\x18\x05 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute:\xbc\x02\xea\x41\xb8\x02\n.dialogflow.googleapis.com/TransitionRouteGroup\x12rprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}\x12\x65projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}*\x15transitionRouteGroups2\x14transitionRouteGroup\"\xa8\x01\n ListTransitionRouteGroupsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.dialogflow.googleapis.com/TransitionRouteGroup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\"\x92\x01\n!ListTransitionRouteGroupsResponse\x12T\n\x17transition_route_groups\x18\x01 \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"}\n\x1eGetTransitionRouteGroupRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xdc\x01\n!CreateTransitionRouteGroupRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.dialogflow.googleapis.com/TransitionRouteGroup\x12X\n\x16transition_route_group\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroupB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"\xc5\x01\n!UpdateTransitionRouteGroupRequest\x12X\n\x16transition_route_group\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"x\n!DeleteTransitionRouteGroupRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x32\xdd\x0e\n\x15TransitionRouteGroups\x12\xc3\x02\n\x19ListTransitionRouteGroups\x12?.google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsRequest\x1a@.google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse\"\xa2\x01\x82\xd3\xe4\x93\x02\x92\x01\x12J/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroupsZD\x12\x42/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups\
|
16
|
+
descriptor_data = "\n:google/cloud/dialogflow/cx/v3/transition_route_group.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xc9\x03\n\x14TransitionRouteGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\x11transition_routes\x18\x05 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute:\xbc\x02\xea\x41\xb8\x02\n.dialogflow.googleapis.com/TransitionRouteGroup\x12rprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}\x12\x65projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}*\x15transitionRouteGroups2\x14transitionRouteGroup\"\xa8\x01\n ListTransitionRouteGroupsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.dialogflow.googleapis.com/TransitionRouteGroup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\"\x92\x01\n!ListTransitionRouteGroupsResponse\x12T\n\x17transition_route_groups\x18\x01 \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"}\n\x1eGetTransitionRouteGroupRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xdc\x01\n!CreateTransitionRouteGroupRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.dialogflow.googleapis.com/TransitionRouteGroup\x12X\n\x16transition_route_group\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroupB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"\xc5\x01\n!UpdateTransitionRouteGroupRequest\x12X\n\x16transition_route_group\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"x\n!DeleteTransitionRouteGroupRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x32\xdd\x0e\n\x15TransitionRouteGroups\x12\xc3\x02\n\x19ListTransitionRouteGroups\x12?.google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsRequest\x1a@.google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse\"\xa2\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x92\x01\x12J/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroupsZD\x12\x42/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups\x12\xb0\x02\n\x17GetTransitionRouteGroup\x12=.google.cloud.dialogflow.cx.v3.GetTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\xa0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x92\x01\x12J/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}ZD\x12\x42/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}\x12\xff\x02\n\x1a\x43reateTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.CreateTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\xe9\x01\xda\x41\x1dparent,transition_route_group\x82\xd3\xe4\x93\x02\xc2\x01\"J/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups:\x16transition_route_groupZ\\\"B/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups:\x16transition_route_group\x12\xb2\x03\n\x1aUpdateTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.UpdateTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\x9c\x02\xda\x41\"transition_route_group,update_mask\x82\xd3\xe4\x93\x02\xf0\x01\x32\x61/v3/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}:\x16transition_route_groupZs2Y/v3/{transition_route_group.name=projects/*/locations/*/agents/*/transitionRouteGroups/*}:\x16transition_route_group\x12\x99\x02\n\x1a\x44\x65leteTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.DeleteTransitionRouteGroupRequest\x1a\x16.google.protobuf.Empty\"\xa0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x92\x01*J/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}ZD*B/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xbf\x01\n!com.google.cloud.dialogflow.cx.v3B\x19TransitionRouteGroupProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
20
20
|
begin
|
21
21
|
pool.add_serialized_file(descriptor_data)
|
22
|
-
rescue TypeError
|
22
|
+
rescue TypeError
|
23
23
|
# Compatibility code: will be removed in the next major version.
|
24
24
|
require 'google/protobuf/descriptor_pb'
|
25
25
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -11,7 +11,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
|
12
12
|
begin
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
14
|
+
rescue TypeError
|
15
15
|
# Compatibility code: will be removed in the next major version.
|
16
16
|
require 'google/protobuf/descriptor_pb'
|
17
17
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -16,13 +16,13 @@ require 'google/protobuf/struct_pb'
|
|
16
16
|
require 'google/protobuf/timestamp_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n+google/cloud/dialogflow/cx/v3/version.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Y\n\x1e\x43reateVersionOperationMetadata\x12\x37\n\x07version\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Version\"\xce\x03\n\x07Version\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x45\n\x0cnlu_settings\x18\x04 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.NluSettingsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x05state\x18\x06 \x01(\x0e\x32,.google.cloud.dialogflow.cx.v3.Version.StateB\x03\xe0\x41\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:~\xea\x41{\n!dialogflow.googleapis.com/Version\x12Vprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/versions/{version}\"w\n\x13ListVersionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Version\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"i\n\x14ListVersionsResponse\x12\x38\n\x08versions\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.cx.v3.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x11GetVersionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\"\x8f\x01\n\x14\x43reateVersionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Version\x12<\n\x07version\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.VersionB\x03\xe0\x41\x02\"\x8a\x01\n\x14UpdateVersionRequest\x12<\n\x07version\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.VersionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"O\n\x14\x44\x65leteVersionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\"u\n\x12LoadVersionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\x12&\n\x1e\x61llow_override_agent_resources\x18\x02 \x01(\x08\"\xb3\x01\n\x16\x43ompareVersionsRequest\x12?\n\x0c\x62\x61se_version\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x41\n\x0etarget_version\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"\x93\x01\n\x17\x43ompareVersionsResponse\x12!\n\x19\x62\x61se_version_content_json\x18\x01 \x01(\t\x12#\n\x1btarget_version_content_json\x18\x02 \x01(\t\x12\x30\n\x0c\x63ompare_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xe2\x0c\n\x08Versions\x12\xc7\x01\n\x0cListVersions\x12\x32.google.cloud.dialogflow.cx.v3.ListVersionsRequest\x1a\x33.google.cloud.dialogflow.cx.v3.ListVersionsResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v3/{parent=projects/*/locations/*/agents/*/flows/*}/versions\
|
19
|
+
descriptor_data = "\n+google/cloud/dialogflow/cx/v3/version.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Y\n\x1e\x43reateVersionOperationMetadata\x12\x37\n\x07version\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Version\"\xce\x03\n\x07Version\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x45\n\x0cnlu_settings\x18\x04 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.NluSettingsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x05state\x18\x06 \x01(\x0e\x32,.google.cloud.dialogflow.cx.v3.Version.StateB\x03\xe0\x41\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:~\xea\x41{\n!dialogflow.googleapis.com/Version\x12Vprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/versions/{version}\"w\n\x13ListVersionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Version\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"i\n\x14ListVersionsResponse\x12\x38\n\x08versions\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.cx.v3.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x11GetVersionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\"\x8f\x01\n\x14\x43reateVersionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Version\x12<\n\x07version\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.VersionB\x03\xe0\x41\x02\"\x8a\x01\n\x14UpdateVersionRequest\x12<\n\x07version\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.VersionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"O\n\x14\x44\x65leteVersionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\"u\n\x12LoadVersionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\x12&\n\x1e\x61llow_override_agent_resources\x18\x02 \x01(\x08\"\xb3\x01\n\x16\x43ompareVersionsRequest\x12?\n\x0c\x62\x61se_version\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x41\n\x0etarget_version\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"\x93\x01\n\x17\x43ompareVersionsResponse\x12!\n\x19\x62\x61se_version_content_json\x18\x01 \x01(\t\x12#\n\x1btarget_version_content_json\x18\x02 \x01(\t\x12\x30\n\x0c\x63ompare_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xe2\x0c\n\x08Versions\x12\xc7\x01\n\x0cListVersions\x12\x32.google.cloud.dialogflow.cx.v3.ListVersionsRequest\x1a\x33.google.cloud.dialogflow.cx.v3.ListVersionsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v3/{parent=projects/*/locations/*/agents/*/flows/*}/versions\x12\xb4\x01\n\nGetVersion\x12\x30.google.cloud.dialogflow.cx.v3.GetVersionRequest\x1a&.google.cloud.dialogflow.cx.v3.Version\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}\x12\xf1\x01\n\rCreateVersion\x12\x33.google.cloud.dialogflow.cx.v3.CreateVersionRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41)\n\x07Version\x12\x1e\x43reateVersionOperationMetadata\xda\x41\x0eparent,version\x82\xd3\xe4\x93\x02H\"=/v3/{parent=projects/*/locations/*/agents/*/flows/*}/versions:\x07version\x12\xda\x01\n\rUpdateVersion\x12\x33.google.cloud.dialogflow.cx.v3.UpdateVersionRequest\x1a&.google.cloud.dialogflow.cx.v3.Version\"l\xda\x41\x13version,update_mask\x82\xd3\xe4\x93\x02P2E/v3/{version.name=projects/*/locations/*/agents/*/flows/*/versions/*}:\x07version\x12\xaa\x01\n\rDeleteVersion\x12\x33.google.cloud.dialogflow.cx.v3.DeleteVersionRequest\x1a\x16.google.protobuf.Empty\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?*=/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}\x12\xe8\x01\n\x0bLoadVersion\x12\x31.google.cloud.dialogflow.cx.v3.LoadVersionRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\xda\x41\x04name\x82\xd3\xe4\x93\x02G\"B/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}:load:\x01*\x12\xf1\x01\n\x0f\x43ompareVersions\x12\x35.google.cloud.dialogflow.cx.v3.CompareVersionsRequest\x1a\x36.google.cloud.dialogflow.cx.v3.CompareVersionsResponse\"o\xda\x41\x0c\x62\x61se_version\x82\xd3\xe4\x93\x02Z\"U/v3/{base_version=projects/*/locations/*/agents/*/flows/*/versions/*}:compareVersions:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb2\x01\n!com.google.cloud.dialogflow.cx.v3B\x0cVersionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
23
23
|
begin
|
24
24
|
pool.add_serialized_file(descriptor_data)
|
25
|
-
rescue TypeError
|
25
|
+
rescue TypeError
|
26
26
|
# Compatibility code: will be removed in the next major version.
|
27
27
|
require 'google/protobuf/descriptor_pb'
|
28
28
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -15,13 +15,13 @@ require 'google/protobuf/field_mask_pb'
|
|
15
15
|
require 'google/protobuf/struct_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n+google/cloud/dialogflow/cx/v3/webhook.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xaa\x0b\n\x07Webhook\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12W\n\x13generic_web_service\x18\x04 \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceH\x00\x12Z\n\x11service_directory\x18\x07 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigH\x00\x12*\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x1a\xd0\x06\n\x11GenericWebService\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x08username\x18\x02 \x01(\tB\x02\x18\x01\x12\x14\n\x08password\x18\x03 \x01(\tB\x02\x18\x01\x12\x65\n\x0frequest_headers\x18\x04 \x03(\x0b\x32L.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.RequestHeadersEntry\x12\x1d\n\x10\x61llowed_ca_certs\x18\x05 \x03(\x0c\x42\x03\xe0\x41\x01\x12_\n\x0cwebhook_type\x18\x06 \x01(\x0e\x32\x44.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.WebhookTypeB\x03\xe0\x41\x01\x12]\n\x0bhttp_method\x18\x07 \x01(\x0e\x32\x43.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.HttpMethodB\x03\xe0\x41\x01\x12\x19\n\x0crequest_body\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12n\n\x11parameter_mapping\x18\t \x03(\x0b\x32N.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.ParameterMappingEntryB\x03\xe0\x41\x01\x1a\x35\n\x13RequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15ParameterMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n\x0bWebhookType\x12\x1c\n\x18WEBHOOK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0c\n\x08\x46LEXIBLE\x10\x02\"s\n\nHttpMethod\x12\x1b\n\x17HTTP_METHOD_UNSPECIFIED\x10\x00\x12\x08\n\x04POST\x10\x01\x12\x07\n\x03GET\x10\x02\x12\x08\n\x04HEAD\x10\x03\x12\x07\n\x03PUT\x10\x04\x12\n\n\x06\x44\x45LETE\x10\x05\x12\t\n\x05PATCH\x10\x06\x12\x0b\n\x07OPTIONS\x10\x07\x1a\xb1\x01\n\x16ServiceDirectoryConfig\x12@\n\x07service\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12U\n\x13generic_web_service\x18\x02 \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService:q\xea\x41n\n!dialogflow.googleapis.com/Webhook\x12Iprojects/{project}/locations/{location}/agents/{agent}/webhooks/{webhook}B\t\n\x07webhook\"w\n\x13ListWebhooksRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Webhook\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"i\n\x14ListWebhooksResponse\x12\x38\n\x08webhooks\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.cx.v3.Webhook\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x11GetWebhookRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Webhook\"\x8f\x01\n\x14\x43reateWebhookRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Webhook\x12<\n\x07webhook\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.WebhookB\x03\xe0\x41\x02\"\x85\x01\n\x14UpdateWebhookRequest\x12<\n\x07webhook\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.WebhookB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"^\n\x14\x44\x65leteWebhookRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Webhook\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x81\n\n\x0eWebhookRequest\x12!\n\x19\x64\x65tect_intent_response_id\x18\x01 \x01(\t\x12\x0e\n\x04text\x18\n \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x0b \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x0c \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x0e \x01(\tH\x00\x12\x15\n\x0b\x64tmf_digits\x18\x11 \x01(\tH\x00\x12\x15\n\rlanguage_code\x18\x0f \x01(\t\x12W\n\x10\x66ulfillment_info\x18\x06 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo\x12M\n\x0bintent_info\x18\x03 \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo\x12:\n\tpage_info\x18\x04 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.PageInfo\x12@\n\x0csession_info\x18\x05 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.SessionInfo\x12@\n\x08messages\x18\x07 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12(\n\x07payload\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12h\n\x19sentiment_analysis_result\x18\t \x01(\x0b\x32\x45.google.cloud.dialogflow.cx.v3.WebhookRequest.SentimentAnalysisResult\x1a\x1e\n\x0f\x46ulfillmentInfo\x12\x0b\n\x03tag\x18\x01 \x01(\t\x1a\xbb\x03\n\nIntentInfo\x12\x42\n\x13last_matched_intent\x18\x01 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/Intent\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\\\n\nparameters\x18\x02 \x03(\x0b\x32H.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.ParametersEntry\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x1a^\n\x14IntentParameterValue\x12\x16\n\x0eoriginal_value\x18\x01 \x01(\t\x12.\n\x0eresolved_value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\x1a\x80\x01\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\\\n\x05value\x18\x02 \x01(\x0b\x32M.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue:\x02\x38\x01\x1a;\n\x17SentimentAnalysisResult\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x42\x07\n\x05query\"\xaf\x05\n\x0fWebhookResponse\x12`\n\x14\x66ulfillment_response\x18\x01 \x01(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse\x12:\n\tpage_info\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.PageInfo\x12@\n\x0csession_info\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.SessionInfo\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12:\n\x0btarget_page\x18\x05 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/PageH\x00\x12:\n\x0btarget_flow\x18\x06 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/FlowH\x00\x1a\x8b\x02\n\x13\x46ulfillmentResponse\x12@\n\x08messages\x18\x01 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12h\n\x0emerge_behavior\x18\x02 \x01(\x0e\x32P.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse.MergeBehavior\"H\n\rMergeBehavior\x12\x1e\n\x1aMERGE_BEHAVIOR_UNSPECIFIED\x10\x00\x12\n\n\x06\x41PPEND\x10\x01\x12\x0b\n\x07REPLACE\x10\x02\x42\x0c\n\ntransition\"\xb3\x04\n\x08PageInfo\x12\x39\n\x0c\x63urrent_page\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x43\n\tform_info\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo\x1a\x90\x03\n\x08\x46ormInfo\x12V\n\x0eparameter_info\x18\x02 \x03(\x0b\x32>.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo\x1a\xab\x02\n\rParameterInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x10\n\x08required\x18\x02 \x01(\x08\x12\\\n\x05state\x18\x03 \x01(\x0e\x32M.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState\x12%\n\x05value\x18\x04 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x16\n\x0ejust_collected\x18\x05 \x01(\x08\"U\n\x0eParameterState\x12\x1f\n\x1bPARAMETER_STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45MPTY\x10\x01\x12\x0b\n\x07INVALID\x10\x02\x12\n\n\x06\x46ILLED\x10\x03\"\xe1\x01\n\x0bSessionInfo\x12\x37\n\x07session\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Session\x12N\n\nparameters\x18\x02 \x03(\x0b\x32:.google.cloud.dialogflow.cx.v3.SessionInfo.ParametersEntry\x1aI\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x32\xb7\x08\n\x08Webhooks\x12\xbf\x01\n\x0cListWebhooks\x12\x32.google.cloud.dialogflow.cx.v3.ListWebhooksRequest\x1a\x33.google.cloud.dialogflow.cx.v3.ListWebhooksResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v3/{parent=projects/*/locations/*/agents/*}/webhooks\
|
18
|
+
descriptor_data = "\n+google/cloud/dialogflow/cx/v3/webhook.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xaa\x0b\n\x07Webhook\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12W\n\x13generic_web_service\x18\x04 \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceH\x00\x12Z\n\x11service_directory\x18\x07 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigH\x00\x12*\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x1a\xd0\x06\n\x11GenericWebService\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x08username\x18\x02 \x01(\tB\x02\x18\x01\x12\x14\n\x08password\x18\x03 \x01(\tB\x02\x18\x01\x12\x65\n\x0frequest_headers\x18\x04 \x03(\x0b\x32L.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.RequestHeadersEntry\x12\x1d\n\x10\x61llowed_ca_certs\x18\x05 \x03(\x0c\x42\x03\xe0\x41\x01\x12_\n\x0cwebhook_type\x18\x06 \x01(\x0e\x32\x44.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.WebhookTypeB\x03\xe0\x41\x01\x12]\n\x0bhttp_method\x18\x07 \x01(\x0e\x32\x43.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.HttpMethodB\x03\xe0\x41\x01\x12\x19\n\x0crequest_body\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12n\n\x11parameter_mapping\x18\t \x03(\x0b\x32N.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.ParameterMappingEntryB\x03\xe0\x41\x01\x1a\x35\n\x13RequestHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15ParameterMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n\x0bWebhookType\x12\x1c\n\x18WEBHOOK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0c\n\x08\x46LEXIBLE\x10\x02\"s\n\nHttpMethod\x12\x1b\n\x17HTTP_METHOD_UNSPECIFIED\x10\x00\x12\x08\n\x04POST\x10\x01\x12\x07\n\x03GET\x10\x02\x12\x08\n\x04HEAD\x10\x03\x12\x07\n\x03PUT\x10\x04\x12\n\n\x06\x44\x45LETE\x10\x05\x12\t\n\x05PATCH\x10\x06\x12\x0b\n\x07OPTIONS\x10\x07\x1a\xb1\x01\n\x16ServiceDirectoryConfig\x12@\n\x07service\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12U\n\x13generic_web_service\x18\x02 \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService:q\xea\x41n\n!dialogflow.googleapis.com/Webhook\x12Iprojects/{project}/locations/{location}/agents/{agent}/webhooks/{webhook}B\t\n\x07webhook\"w\n\x13ListWebhooksRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Webhook\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"i\n\x14ListWebhooksResponse\x12\x38\n\x08webhooks\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.cx.v3.Webhook\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x11GetWebhookRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Webhook\"\x8f\x01\n\x14\x43reateWebhookRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Webhook\x12<\n\x07webhook\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.WebhookB\x03\xe0\x41\x02\"\x85\x01\n\x14UpdateWebhookRequest\x12<\n\x07webhook\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.cx.v3.WebhookB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"^\n\x14\x44\x65leteWebhookRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Webhook\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x81\n\n\x0eWebhookRequest\x12!\n\x19\x64\x65tect_intent_response_id\x18\x01 \x01(\t\x12\x0e\n\x04text\x18\n \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x0b \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x0c \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x0e \x01(\tH\x00\x12\x15\n\x0b\x64tmf_digits\x18\x11 \x01(\tH\x00\x12\x15\n\rlanguage_code\x18\x0f \x01(\t\x12W\n\x10\x66ulfillment_info\x18\x06 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo\x12M\n\x0bintent_info\x18\x03 \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo\x12:\n\tpage_info\x18\x04 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.PageInfo\x12@\n\x0csession_info\x18\x05 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.SessionInfo\x12@\n\x08messages\x18\x07 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12(\n\x07payload\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12h\n\x19sentiment_analysis_result\x18\t \x01(\x0b\x32\x45.google.cloud.dialogflow.cx.v3.WebhookRequest.SentimentAnalysisResult\x1a\x1e\n\x0f\x46ulfillmentInfo\x12\x0b\n\x03tag\x18\x01 \x01(\t\x1a\xbb\x03\n\nIntentInfo\x12\x42\n\x13last_matched_intent\x18\x01 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/Intent\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\\\n\nparameters\x18\x02 \x03(\x0b\x32H.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.ParametersEntry\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x1a^\n\x14IntentParameterValue\x12\x16\n\x0eoriginal_value\x18\x01 \x01(\t\x12.\n\x0eresolved_value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\x1a\x80\x01\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\\\n\x05value\x18\x02 \x01(\x0b\x32M.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue:\x02\x38\x01\x1a;\n\x17SentimentAnalysisResult\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x42\x07\n\x05query\"\xaf\x05\n\x0fWebhookResponse\x12`\n\x14\x66ulfillment_response\x18\x01 \x01(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse\x12:\n\tpage_info\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.PageInfo\x12@\n\x0csession_info\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.SessionInfo\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12:\n\x0btarget_page\x18\x05 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/PageH\x00\x12:\n\x0btarget_flow\x18\x06 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/FlowH\x00\x1a\x8b\x02\n\x13\x46ulfillmentResponse\x12@\n\x08messages\x18\x01 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12h\n\x0emerge_behavior\x18\x02 \x01(\x0e\x32P.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse.MergeBehavior\"H\n\rMergeBehavior\x12\x1e\n\x1aMERGE_BEHAVIOR_UNSPECIFIED\x10\x00\x12\n\n\x06\x41PPEND\x10\x01\x12\x0b\n\x07REPLACE\x10\x02\x42\x0c\n\ntransition\"\xb3\x04\n\x08PageInfo\x12\x39\n\x0c\x63urrent_page\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x43\n\tform_info\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo\x1a\x90\x03\n\x08\x46ormInfo\x12V\n\x0eparameter_info\x18\x02 \x03(\x0b\x32>.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo\x1a\xab\x02\n\rParameterInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x10\n\x08required\x18\x02 \x01(\x08\x12\\\n\x05state\x18\x03 \x01(\x0e\x32M.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState\x12%\n\x05value\x18\x04 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x16\n\x0ejust_collected\x18\x05 \x01(\x08\"U\n\x0eParameterState\x12\x1f\n\x1bPARAMETER_STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45MPTY\x10\x01\x12\x0b\n\x07INVALID\x10\x02\x12\n\n\x06\x46ILLED\x10\x03\"\xe1\x01\n\x0bSessionInfo\x12\x37\n\x07session\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Session\x12N\n\nparameters\x18\x02 \x03(\x0b\x32:.google.cloud.dialogflow.cx.v3.SessionInfo.ParametersEntry\x1aI\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x32\xb7\x08\n\x08Webhooks\x12\xbf\x01\n\x0cListWebhooks\x12\x32.google.cloud.dialogflow.cx.v3.ListWebhooksRequest\x1a\x33.google.cloud.dialogflow.cx.v3.ListWebhooksResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v3/{parent=projects/*/locations/*/agents/*}/webhooks\x12\xac\x01\n\nGetWebhook\x12\x30.google.cloud.dialogflow.cx.v3.GetWebhookRequest\x1a&.google.cloud.dialogflow.cx.v3.Webhook\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v3/{name=projects/*/locations/*/agents/*/webhooks/*}\x12\xc5\x01\n\rCreateWebhook\x12\x33.google.cloud.dialogflow.cx.v3.CreateWebhookRequest\x1a&.google.cloud.dialogflow.cx.v3.Webhook\"W\xda\x41\x0eparent,webhook\x82\xd3\xe4\x93\x02@\"5/v3/{parent=projects/*/locations/*/agents/*}/webhooks:\x07webhook\x12\xd2\x01\n\rUpdateWebhook\x12\x33.google.cloud.dialogflow.cx.v3.UpdateWebhookRequest\x1a&.google.cloud.dialogflow.cx.v3.Webhook\"d\xda\x41\x13webhook,update_mask\x82\xd3\xe4\x93\x02H2=/v3/{webhook.name=projects/*/locations/*/agents/*/webhooks/*}:\x07webhook\x12\xa2\x01\n\rDeleteWebhook\x12\x33.google.cloud.dialogflow.cx.v3.DeleteWebhookRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v3/{name=projects/*/locations/*/agents/*/webhooks/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb1\x02\n!com.google.cloud.dialogflow.cx.v3B\x0cWebhookProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}b\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
22
22
|
begin
|
23
23
|
pool.add_serialized_file(descriptor_data)
|
24
|
-
rescue TypeError
|
24
|
+
rescue TypeError
|
25
25
|
# Compatibility code: will be removed in the next major version.
|
26
26
|
require 'google/protobuf/descriptor_pb'
|
27
27
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -92,7 +92,8 @@ module Google
|
|
92
92
|
# Immutable. Name of the start flow in this agent. A start flow will be
|
93
93
|
# automatically created when the agent is created, and can only be deleted by
|
94
94
|
# deleting the agent. Format: `projects/<Project ID>/locations/<Location
|
95
|
-
# ID>/agents/<Agent ID>/flows/<Flow ID>`.
|
95
|
+
# ID>/agents/<Agent ID>/flows/<Flow ID>`. Currently only the default start
|
96
|
+
# flow with id "00000000-0000-0000-0000-000000000000" is allowed.
|
96
97
|
# @!attribute [rw] security_settings
|
97
98
|
# @return [::String]
|
98
99
|
# Name of the
|
@@ -115,28 +115,10 @@ module Google
|
|
115
115
|
# for more details.
|
116
116
|
# @!attribute [rw] model
|
117
117
|
# @return [::String]
|
118
|
-
# Optional. Which Speech model to select for the given request.
|
119
|
-
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
# If enhanced speech model is enabled for the agent and an enhanced
|
123
|
-
# version of the specified model for the language does not exist, then the
|
124
|
-
# speech is recognized using the standard version of the specified model.
|
125
|
-
# Refer to
|
126
|
-
# [Cloud Speech API
|
127
|
-
# documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)
|
128
|
-
# for more details.
|
129
|
-
# If you specify a model, the following models typically have the best
|
130
|
-
# performance:
|
131
|
-
#
|
132
|
-
# - phone_call (best for Agent Assist and telephony)
|
133
|
-
# - latest_short (best for Dialogflow non-telephony)
|
134
|
-
# - command_and_search
|
135
|
-
#
|
136
|
-
# Leave this field unspecified to use
|
137
|
-
# [Agent Speech
|
138
|
-
# settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech)
|
139
|
-
# for model selection.
|
118
|
+
# Optional. Which Speech model to select for the given request.
|
119
|
+
# For more information, see
|
120
|
+
# [Speech
|
121
|
+
# models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
|
140
122
|
# @!attribute [rw] model_variant
|
141
123
|
# @return [::Google::Cloud::Dialogflow::CX::V3::SpeechModelVariant]
|
142
124
|
# Optional. Which variant of the [Speech
|
@@ -154,6 +136,12 @@ module Google
|
|
154
136
|
# @!attribute [rw] barge_in_config
|
155
137
|
# @return [::Google::Cloud::Dialogflow::CX::V3::BargeInConfig]
|
156
138
|
# Configuration of barge-in behavior during the streaming of input audio.
|
139
|
+
# @!attribute [rw] opt_out_conformer_model_migration
|
140
|
+
# @return [::Boolean]
|
141
|
+
# If `true`, the request will opt out for STT conformer model migration.
|
142
|
+
# This field will be deprecated once force migration takes place in June
|
143
|
+
# 2024. Please refer to [Dialogflow CX Speech model
|
144
|
+
# migration](https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration).
|
157
145
|
class InputAudioConfig
|
158
146
|
include ::Google::Protobuf::MessageExts
|
159
147
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -336,10 +324,6 @@ module Google
|
|
336
324
|
|
337
325
|
# Use the best available variant of the [Speech
|
338
326
|
# model][InputAudioConfig.model] that the caller is eligible for.
|
339
|
-
#
|
340
|
-
# Please see the [Dialogflow
|
341
|
-
# docs](https://cloud.google.com/dialogflow/docs/data-logging) for
|
342
|
-
# how to make your project eligible for enhanced models.
|
343
327
|
USE_BEST_AVAILABLE = 1
|
344
328
|
|
345
329
|
# Use standard model variant even if an enhanced model is available. See the
|
@@ -357,11 +341,6 @@ module Google
|
|
357
341
|
# The [Cloud Speech
|
358
342
|
# documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
|
359
343
|
# describes which models have enhanced variants.
|
360
|
-
#
|
361
|
-
# * If the API caller isn't eligible for enhanced models, Dialogflow returns
|
362
|
-
# an error. Please see the [Dialogflow
|
363
|
-
# docs](https://cloud.google.com/dialogflow/docs/data-logging)
|
364
|
-
# for how to make your project eligible.
|
365
344
|
USE_ENHANCED = 3
|
366
345
|
end
|
367
346
|
|
@@ -114,6 +114,9 @@ module Google
|
|
114
114
|
# @!attribute [rw] create_time
|
115
115
|
# @return [::Google::Protobuf::Timestamp]
|
116
116
|
# The timestamp of the change.
|
117
|
+
# @!attribute [rw] language_code
|
118
|
+
# @return [::String]
|
119
|
+
# The affected language code of the change.
|
117
120
|
class Changelog
|
118
121
|
include ::Google::Protobuf::MessageExts
|
119
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -160,6 +160,196 @@ module Google
|
|
160
160
|
end
|
161
161
|
end
|
162
162
|
|
163
|
+
# The request message for
|
164
|
+
# {::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client#export_entity_types EntityTypes.ExportEntityTypes}.
|
165
|
+
# @!attribute [rw] parent
|
166
|
+
# @return [::String]
|
167
|
+
# Required. The name of the parent agent to export entity types.
|
168
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
169
|
+
# ID>`.
|
170
|
+
# @!attribute [rw] entity_types
|
171
|
+
# @return [::Array<::String>]
|
172
|
+
# Required. The name of the entity types to export.
|
173
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
174
|
+
# ID>/entityTypes/<EntityType ID>`.
|
175
|
+
# @!attribute [rw] entity_types_uri
|
176
|
+
# @return [::String]
|
177
|
+
# Optional. The [Google Cloud
|
178
|
+
# Storage](https://cloud.google.com/storage/docs/) URI to export the entity
|
179
|
+
# types to. The format of this URI must be
|
180
|
+
# `gs://<bucket-name>/<object-name>`.
|
181
|
+
#
|
182
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
183
|
+
# on the caller's behalf, so your request authentication must
|
184
|
+
# have write permissions for the object. For more information, see
|
185
|
+
# [Dialogflow access
|
186
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
187
|
+
# @!attribute [rw] entity_types_content_inline
|
188
|
+
# @return [::Boolean]
|
189
|
+
# Optional. The option to return the serialized entity types inline.
|
190
|
+
# @!attribute [rw] data_format
|
191
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::ExportEntityTypesRequest::DataFormat]
|
192
|
+
# Optional. The data format of the exported entity types. If not specified,
|
193
|
+
# `BLOB` is assumed.
|
194
|
+
# @!attribute [rw] language_code
|
195
|
+
# @return [::String]
|
196
|
+
# Optional. The language to retrieve the entity type for. The following
|
197
|
+
# fields are language dependent:
|
198
|
+
#
|
199
|
+
# * `EntityType.entities.value`
|
200
|
+
# * `EntityType.entities.synonyms`
|
201
|
+
# * `EntityType.excluded_phrases.value`
|
202
|
+
#
|
203
|
+
# If not specified, all language dependent fields will be retrieved.
|
204
|
+
# [Many
|
205
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
206
|
+
# are supported.
|
207
|
+
# Note: languages must be enabled in the agent before they can be used.
|
208
|
+
class ExportEntityTypesRequest
|
209
|
+
include ::Google::Protobuf::MessageExts
|
210
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
211
|
+
|
212
|
+
# Data format of the exported entity types.
|
213
|
+
module DataFormat
|
214
|
+
# Unspecified format. Treated as `BLOB`.
|
215
|
+
DATA_FORMAT_UNSPECIFIED = 0
|
216
|
+
|
217
|
+
# EntityTypes will be exported as raw bytes.
|
218
|
+
BLOB = 1
|
219
|
+
|
220
|
+
# EntityTypes will be exported in JSON Package format.
|
221
|
+
JSON_PACKAGE = 5
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
# The response message for
|
226
|
+
# {::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client#export_entity_types EntityTypes.ExportEntityTypes}.
|
227
|
+
# @!attribute [rw] entity_types_uri
|
228
|
+
# @return [::String]
|
229
|
+
# The URI to a file containing the exported entity types. This field is
|
230
|
+
# populated only if `entity_types_uri` is specified in
|
231
|
+
# {::Google::Cloud::Dialogflow::CX::V3::ExportEntityTypesRequest ExportEntityTypesRequest}.
|
232
|
+
# @!attribute [rw] entity_types_content
|
233
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::InlineDestination]
|
234
|
+
# Uncompressed byte content for entity types. This field is populated only
|
235
|
+
# if `entity_types_content_inline` is set to true in
|
236
|
+
# {::Google::Cloud::Dialogflow::CX::V3::ExportEntityTypesRequest ExportEntityTypesRequest}.
|
237
|
+
class ExportEntityTypesResponse
|
238
|
+
include ::Google::Protobuf::MessageExts
|
239
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
240
|
+
end
|
241
|
+
|
242
|
+
# Metadata returned for the
|
243
|
+
# {::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client#export_entity_types EntityTypes.ExportEntityTypes}
|
244
|
+
# long running operation.
|
245
|
+
class ExportEntityTypesMetadata
|
246
|
+
include ::Google::Protobuf::MessageExts
|
247
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
248
|
+
end
|
249
|
+
|
250
|
+
# The request message for
|
251
|
+
# {::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client#import_entity_types EntityTypes.ImportEntityTypes}.
|
252
|
+
# @!attribute [rw] parent
|
253
|
+
# @return [::String]
|
254
|
+
# Required. The agent to import the entity types into.
|
255
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
|
256
|
+
# @!attribute [rw] entity_types_uri
|
257
|
+
# @return [::String]
|
258
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
|
259
|
+
# to import entity types from. The format of this URI must be
|
260
|
+
# `gs://<bucket-name>/<object-name>`.
|
261
|
+
#
|
262
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
263
|
+
# on the caller's behalf, so your request authentication must
|
264
|
+
# have read permissions for the object. For more information, see
|
265
|
+
# [Dialogflow access
|
266
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
267
|
+
# @!attribute [rw] entity_types_content
|
268
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::InlineSource]
|
269
|
+
# Uncompressed byte content of entity types.
|
270
|
+
# @!attribute [rw] merge_option
|
271
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::ImportEntityTypesRequest::MergeOption]
|
272
|
+
# Required. Merge option for importing entity types.
|
273
|
+
# @!attribute [rw] target_entity_type
|
274
|
+
# @return [::String]
|
275
|
+
# Optional. The target entity type to import into.
|
276
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
277
|
+
# ID>/entity_types/<EntityType ID>`.
|
278
|
+
# If set, there should be only one entity type included in
|
279
|
+
# [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types],
|
280
|
+
# of which the type should match the type of the target entity type. All
|
281
|
+
# {::Google::Cloud::Dialogflow::CX::V3::EntityType#entities entities} in the
|
282
|
+
# imported entity type will be added to the target entity type.
|
283
|
+
class ImportEntityTypesRequest
|
284
|
+
include ::Google::Protobuf::MessageExts
|
285
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
286
|
+
|
287
|
+
# Merge option when display name conflicts exist during import.
|
288
|
+
module MergeOption
|
289
|
+
# Unspecified. If used, system uses REPORT_CONFLICT as default.
|
290
|
+
MERGE_OPTION_UNSPECIFIED = 0
|
291
|
+
|
292
|
+
# Replace the original entity type in the agent with the new entity type
|
293
|
+
# when display name conflicts exist.
|
294
|
+
REPLACE = 1
|
295
|
+
|
296
|
+
# Merge the original entity type with the new entity type when display name
|
297
|
+
# conflicts exist.
|
298
|
+
MERGE = 2
|
299
|
+
|
300
|
+
# Create new entity types with new display names to differentiate them from
|
301
|
+
# the existing entity types when display name conflicts exist.
|
302
|
+
RENAME = 3
|
303
|
+
|
304
|
+
# Report conflict information if display names conflict is detected.
|
305
|
+
# Otherwise, import entity types.
|
306
|
+
REPORT_CONFLICT = 4
|
307
|
+
|
308
|
+
# Keep the original entity type and discard the conflicting new entity type
|
309
|
+
# when display name conflicts exist.
|
310
|
+
KEEP = 5
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
# The response message for
|
315
|
+
# {::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client#import_entity_types EntityTypes.ImportEntityTypes}.
|
316
|
+
# @!attribute [rw] entity_types
|
317
|
+
# @return [::Array<::String>]
|
318
|
+
# The unique identifier of the imported entity types.
|
319
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
320
|
+
# ID>/entity_types/<EntityType ID>`.
|
321
|
+
# @!attribute [rw] conflicting_resources
|
322
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::ImportEntityTypesResponse::ConflictingResources]
|
323
|
+
# Info which resources have conflicts when
|
324
|
+
# [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option
|
325
|
+
# is set in ImportEntityTypesRequest.
|
326
|
+
class ImportEntityTypesResponse
|
327
|
+
include ::Google::Protobuf::MessageExts
|
328
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
329
|
+
|
330
|
+
# Conflicting resources detected during the import process. Only filled when
|
331
|
+
# [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] is set in the
|
332
|
+
# request and there are conflicts in the display names.
|
333
|
+
# @!attribute [rw] entity_type_display_names
|
334
|
+
# @return [::Array<::String>]
|
335
|
+
# Display names of conflicting entity types.
|
336
|
+
# @!attribute [rw] entity_display_names
|
337
|
+
# @return [::Array<::String>]
|
338
|
+
# Display names of conflicting entities.
|
339
|
+
class ConflictingResources
|
340
|
+
include ::Google::Protobuf::MessageExts
|
341
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
# Metadata returned for the
|
346
|
+
# {::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client#import_entity_types EntityTypes.ImportEntityTypes}
|
347
|
+
# long running operation.
|
348
|
+
class ImportEntityTypesMetadata
|
349
|
+
include ::Google::Protobuf::MessageExts
|
350
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
351
|
+
end
|
352
|
+
|
163
353
|
# The request message for
|
164
354
|
# {::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client#list_entity_types EntityTypes.ListEntityTypes}.
|
165
355
|
# @!attribute [rw] parent
|
@@ -97,6 +97,10 @@ module Google
|
|
97
97
|
# @return [::String]
|
98
98
|
# Agent scope, e.g. "Example company website", "internal Example
|
99
99
|
# company website for employees", "manual of car owner".
|
100
|
+
# @!attribute [rw] disable_data_store_fallback
|
101
|
+
# @return [::Boolean]
|
102
|
+
# Whether to disable fallback to Data Store search results (in case the LLM
|
103
|
+
# couldn't pick a proper answer). Per default the feature is enabled.
|
100
104
|
class KnowledgeConnectorSettings
|
101
105
|
include ::Google::Protobuf::MessageExts
|
102
106
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -50,6 +50,9 @@ module Google
|
|
50
50
|
# @!attribute [rw] display_name
|
51
51
|
# @return [::String]
|
52
52
|
# Required. The human-readable name of the page, unique within the flow.
|
53
|
+
# @!attribute [rw] description
|
54
|
+
# @return [::String]
|
55
|
+
# The description of the page. The maximum length is 500 characters.
|
53
56
|
# @!attribute [rw] entry_fulfillment
|
54
57
|
# @return [::Google::Cloud::Dialogflow::CX::V3::Fulfillment]
|
55
58
|
# The fulfillment to call when the session is entering the page.
|
@@ -454,9 +454,9 @@ module Google
|
|
454
454
|
# Message contains a (possibly partial) transcript.
|
455
455
|
TRANSCRIPT = 1
|
456
456
|
|
457
|
-
#
|
458
|
-
# utterance and expects no additional speech. Therefore, the server
|
459
|
-
# not process additional audio (although it may subsequently return
|
457
|
+
# This event indicates that the server has detected the end of the user's
|
458
|
+
# speech utterance and expects no additional speech. Therefore, the server
|
459
|
+
# will not process additional audio (although it may subsequently return
|
460
460
|
# additional results). The client should stop sending additional audio
|
461
461
|
# data, half-close the gRPC connection, and wait for any additional results
|
462
462
|
# until the server closes the gRPC connection. This message is only sent if
|
@@ -577,7 +577,7 @@ module Google
|
|
577
577
|
# unspecified channel will be returned.
|
578
578
|
# @!attribute [rw] session_ttl
|
579
579
|
# @return [::Google::Protobuf::Duration]
|
580
|
-
# Optional.
|
580
|
+
# Optional. Configure lifetime of the Dialogflow session.
|
581
581
|
# By default, a Dialogflow session remains active and its data is stored for
|
582
582
|
# 30 minutes after the last request is sent for the session.
|
583
583
|
# This value should be no longer than 1 day.
|
@@ -722,6 +722,8 @@ module Google
|
|
722
722
|
# 4. An event to be triggered.
|
723
723
|
#
|
724
724
|
# 5. DTMF digits to invoke an intent and fill in parameter value.
|
725
|
+
#
|
726
|
+
# 6. The results of a tool executed by the client.
|
725
727
|
# @!attribute [rw] text
|
726
728
|
# @return [::Google::Cloud::Dialogflow::CX::V3::TextInput]
|
727
729
|
# The natural language text to be processed.
|
@@ -801,6 +803,18 @@ module Google
|
|
801
803
|
# The list of rich messages returned to the client. Responses vary from
|
802
804
|
# simple text messages to more sophisticated, structured payloads used
|
803
805
|
# to drive complex logic.
|
806
|
+
# @!attribute [rw] webhook_ids
|
807
|
+
# @return [::Array<::String>]
|
808
|
+
# The list of webhook ids in the order of call sequence.
|
809
|
+
# @!attribute [rw] webhook_display_names
|
810
|
+
# @return [::Array<::String>]
|
811
|
+
# The list of webhook display names in the order of call sequence.
|
812
|
+
# @!attribute [rw] webhook_latencies
|
813
|
+
# @return [::Array<::Google::Protobuf::Duration>]
|
814
|
+
# The list of webhook latencies in the order of call sequence.
|
815
|
+
# @!attribute [rw] webhook_tags
|
816
|
+
# @return [::Array<::String>]
|
817
|
+
# The list of webhook tags in the order of call sequence.
|
804
818
|
# @!attribute [rw] webhook_statuses
|
805
819
|
# @return [::Array<::Google::Rpc::Status>]
|
806
820
|
# The list of webhook call status in the order of call sequence.
|
@@ -815,6 +829,11 @@ module Google
|
|
815
829
|
# The current {::Google::Cloud::Dialogflow::CX::V3::Page Page}. Some, not all
|
816
830
|
# fields are filled in this message, including but not limited to `name` and
|
817
831
|
# `display_name`.
|
832
|
+
# @!attribute [rw] current_flow
|
833
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Flow]
|
834
|
+
# The current {::Google::Cloud::Dialogflow::CX::V3::Flow Flow}. Some, not all
|
835
|
+
# fields are filled in this message, including but not limited to `name` and
|
836
|
+
# `display_name`.
|
818
837
|
# @!attribute [rw] intent
|
819
838
|
# @deprecated This field is deprecated and may be removed in the next major version update.
|
820
839
|
# @return [::Google::Cloud::Dialogflow::CX::V3::Intent]
|
@@ -883,8 +902,7 @@ module Google
|
|
883
902
|
# Represents the natural language text to be processed.
|
884
903
|
# @!attribute [rw] text
|
885
904
|
# @return [::String]
|
886
|
-
# Required. The UTF-8 encoded natural language text to be processed.
|
887
|
-
# length must not exceed 256 characters.
|
905
|
+
# Required. The UTF-8 encoded natural language text to be processed.
|
888
906
|
class TextInput
|
889
907
|
include ::Google::Protobuf::MessageExts
|
890
908
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -129,7 +129,8 @@ module Google
|
|
129
129
|
#
|
130
130
|
# Note: this functionality is not currently available in the official
|
131
131
|
# protobuf release, and it is not used for type URLs beginning with
|
132
|
-
# type.googleapis.com.
|
132
|
+
# type.googleapis.com. As of May 2023, there are no widely used type server
|
133
|
+
# implementations and no plans to implement one.
|
133
134
|
#
|
134
135
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
135
136
|
# used with implementation specific semantics.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-cx-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.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: 2024-
|
11
|
+
date: 2024-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -234,9 +234,11 @@ files:
|
|
234
234
|
- lib/google/cloud/dialogflow/cx/v3/entity_types.rb
|
235
235
|
- lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb
|
236
236
|
- lib/google/cloud/dialogflow/cx/v3/entity_types/credentials.rb
|
237
|
+
- lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb
|
237
238
|
- lib/google/cloud/dialogflow/cx/v3/entity_types/paths.rb
|
238
239
|
- lib/google/cloud/dialogflow/cx/v3/entity_types/rest.rb
|
239
240
|
- lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb
|
241
|
+
- lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb
|
240
242
|
- lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb
|
241
243
|
- lib/google/cloud/dialogflow/cx/v3/environment_pb.rb
|
242
244
|
- lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb
|