google-cloud-dialogflow-cx-v3 0.19.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +3 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +4 -1
  4. data/lib/google/cloud/dialogflow/cx/v3/flows/paths.rb +40 -14
  5. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +4 -1
  6. data/lib/google/cloud/dialogflow/cx/v3/import_strategy_pb.rb +44 -0
  7. data/lib/google/cloud/dialogflow/cx/v3/pages/paths.rb +40 -14
  8. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +2 -1
  9. data/lib/google/cloud/dialogflow/cx/v3/test_cases/paths.rb +39 -13
  10. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +1 -1
  11. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +10 -4
  12. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/paths.rb +58 -13
  13. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +10 -4
  14. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/service_stub.rb +37 -0
  15. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  16. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +5 -4
  17. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +21 -1
  18. data/proto_docs/google/cloud/dialogflow/cx/v3/import_strategy.rb +54 -0
  19. data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +4 -1
  20. data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +24 -0
  21. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +5 -5
  22. data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +13 -6
  23. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f703e068ae7586d3e7d8e01b1685393ead7d80bc5fc5434893cc3bbb69c8875
4
- data.tar.gz: 8182513d8ff99c18a2b2442915c088b8986a94efdad815a5d79b53c5da431829
3
+ metadata.gz: 18c09830e52dcea6a74a30119512563e9c151f205e9f7b54199e7e120576a7ac
4
+ data.tar.gz: 753ff204b9f290e76fac6ecc5f93ca327614aab0219652525176e743813406df
5
5
  SHA512:
6
- metadata.gz: c8b8b80b050ad28fab6612201ea205da5369fe86ac4773ca085236b79980daae547e273e7e29a0d65bd5d36eed7d75e766a52862681dcc2de87c2e83ab789a67
7
- data.tar.gz: 9f2e1de10a241ac714de1661799cb3bb8356edf1eb46ce25b2b63fd03a97b9e1d6f3f14ee220140a64bd621f73900e273403f49560db549d2ab1817c5adad658
6
+ metadata.gz: c5d9efdc70b01227098d3a003655e823185b2e34c80031990dccab876d9d548decbcb21de593febc915dd406f8ec24591481428d1e2dbca01385c93429d6f01a
7
+ data.tar.gz: fbd7a608d5165340b45516c125acf0ef1148f5d712fd7cc96c18a778dd8a176af2df0ea1ee866c7497745bd197a54e8565530af6604ef0b8d154c80b50778f2c
@@ -8,6 +8,7 @@ require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
9
  require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
+ require 'google/cloud/dialogflow/cx/v3/import_strategy_pb'
11
12
  require 'google/cloud/dialogflow/cx/v3/page_pb'
12
13
  require 'google/cloud/dialogflow/cx/v3/validation_message_pb'
13
14
  require 'google/longrunning/operations_pb'
@@ -17,7 +18,7 @@ require 'google/protobuf/struct_pb'
17
18
  require 'google/protobuf/timestamp_pb'
18
19
 
19
20
 
20
- descriptor_data = "\n(google/cloud/dialogflow/cx/v3/flow.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\x36google/cloud/dialogflow/cx/v3/validation_message.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\"\xac\x03\n\x0bNluSettings\x12H\n\nmodel_type\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.cx.v3.NluSettings.ModelType\x12 \n\x18\x63lassification_threshold\x18\x03 \x01(\x02\x12Y\n\x13model_training_mode\x18\x04 \x01(\x0e\x32<.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode\"Y\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13MODEL_TYPE_STANDARD\x10\x01\x12\x17\n\x13MODEL_TYPE_ADVANCED\x10\x03\"{\n\x11ModelTrainingMode\x12#\n\x1fMODEL_TRAINING_MODE_UNSPECIFIED\x10\x00\x12!\n\x1dMODEL_TRAINING_MODE_AUTOMATIC\x10\x01\x12\x1e\n\x1aMODEL_TRAINING_MODE_MANUAL\x10\x02\"\xd6\x03\n\x04\x46low\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\x12I\n\x11transition_routes\x18\x04 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute\x12\x43\n\x0e\x65vent_handlers\x18\n \x03(\x0b\x32+.google.cloud.dialogflow.cx.v3.EventHandler\x12T\n\x17transition_route_groups\x18\x0f \x03(\tB3\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12@\n\x0cnlu_settings\x18\x0b \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.NluSettings:h\xea\x41\x65\n\x1e\x64ialogflow.googleapis.com/Flow\x12\x43projects/{project}/locations/{location}/agents/{agent}/flows/{flow}\"\x9a\x01\n\x11\x43reateFlowRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\x12\x36\n\x04\x66low\x18\x02 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"X\n\x11\x44\x65leteFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x88\x01\n\x10ListFlowsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\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\"`\n\x11ListFlowsResponse\x12\x32\n\x05\x66lows\x18\x01 \x03(\x0b\x32#.google.cloud.dialogflow.cx.v3.Flow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x0eGetFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\x93\x01\n\x11UpdateFlowRequest\x12\x36\n\x04\x66low\x18\x01 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowB\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\"H\n\x10TrainFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\"b\n\x13ValidateFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"}\n\x1eGetFlowValidationResultRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/FlowValidationResult\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xb1\x02\n\x14\x46lowValidationResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12M\n\x13validation_messages\x18\x02 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.ValidationMessage\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x8a\x01\xea\x41\x86\x01\n.dialogflow.googleapis.com/FlowValidationResult\x12Tprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/validationResult\"\x9c\x02\n\x11ImportFlowRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\x12\x12\n\x08\x66low_uri\x18\x02 \x01(\tH\x00\x12\x16\n\x0c\x66low_content\x18\x03 \x01(\x0cH\x00\x12T\n\rimport_option\x18\x04 \x01(\x0e\x32=.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption\"E\n\x0cImportOption\x12\x1d\n\x19IMPORT_OPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04KEEP\x10\x01\x12\x0c\n\x08\x46\x41LLBACK\x10\x02\x42\x06\n\x04\x66low\"G\n\x12ImportFlowResponse\x12\x31\n\x04\x66low\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\"\x87\x01\n\x11\x45xportFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\x08\x66low_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18include_referenced_flows\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"H\n\x12\x45xportFlowResponse\x12\x12\n\x08\x66low_uri\x18\x01 \x01(\tH\x00\x12\x16\n\x0c\x66low_content\x18\x02 \x01(\x0cH\x00\x42\x06\n\x04\x66low2\x98\x10\n\x05\x46lows\x12\xb3\x01\n\nCreateFlow\x12\x30.google.cloud.dialogflow.cx.v3.CreateFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"N\x82\xd3\xe4\x93\x02:\"2/v3/{parent=projects/*/locations/*/agents/*}/flows:\x04\x66low\xda\x41\x0bparent,flow\x12\x99\x01\n\nDeleteFlow\x12\x30.google.cloud.dialogflow.cx.v3.DeleteFlowRequest\x1a\x16.google.protobuf.Empty\"A\x82\xd3\xe4\x93\x02\x34*2/v3/{name=projects/*/locations/*/agents/*/flows/*}\xda\x41\x04name\x12\xb3\x01\n\tListFlows\x12/.google.cloud.dialogflow.cx.v3.ListFlowsRequest\x1a\x30.google.cloud.dialogflow.cx.v3.ListFlowsResponse\"C\x82\xd3\xe4\x93\x02\x34\x12\x32/v3/{parent=projects/*/locations/*/agents/*}/flows\xda\x41\x06parent\x12\xa0\x01\n\x07GetFlow\x12-.google.cloud.dialogflow.cx.v3.GetFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"A\x82\xd3\xe4\x93\x02\x34\x12\x32/v3/{name=projects/*/locations/*/agents/*/flows/*}\xda\x41\x04name\x12\xbd\x01\n\nUpdateFlow\x12\x30.google.cloud.dialogflow.cx.v3.UpdateFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"X\x82\xd3\xe4\x93\x02?27/v3/{flow.name=projects/*/locations/*/agents/*/flows/*}:\x04\x66low\xda\x41\x10\x66low,update_mask\x12\xd9\x01\n\tTrainFlow\x12/.google.cloud.dialogflow.cx.v3.TrainFlowRequest\x1a\x1d.google.longrunning.Operation\"|\x82\xd3\xe4\x93\x02=\"8/v3/{name=projects/*/locations/*/agents/*/flows/*}:train:\x01*\xda\x41\x04name\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xbf\x01\n\x0cValidateFlow\x12\x32.google.cloud.dialogflow.cx.v3.ValidateFlowRequest\x1a\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult\"F\x82\xd3\xe4\x93\x02@\";/v3/{name=projects/*/locations/*/agents/*/flows/*}:validate:\x01*\x12\xe1\x01\n\x17GetFlowValidationResult\x12=.google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest\x1a\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult\"R\x82\xd3\xe4\x93\x02\x45\x12\x43/v3/{name=projects/*/locations/*/agents/*/flows/*/validationResult}\xda\x41\x04name\x12\xd2\x01\n\nImportFlow\x12\x30.google.cloud.dialogflow.cx.v3.ImportFlowRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02>\"9/v3/{parent=projects/*/locations/*/agents/*}/flows:import:\x01*\xca\x41,\n\x12ImportFlowResponse\x12\x16google.protobuf.Struct\x12\xd2\x01\n\nExportFlow\x12\x30.google.cloud.dialogflow.cx.v3.ExportFlowRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02>\"9/v3/{name=projects/*/locations/*/agents/*/flows/*}:export:\x01*\xca\x41,\n\x12\x45xportFlowResponse\x12\x16google.protobuf.Struct\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xaf\x01\n!com.google.cloud.dialogflow.cx.v3B\tFlowProtoP\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"
21
+ descriptor_data = "\n(google/cloud/dialogflow/cx/v3/flow.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\x33google/cloud/dialogflow/cx/v3/import_strategy.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x36google/cloud/dialogflow/cx/v3/validation_message.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\"\xac\x03\n\x0bNluSettings\x12H\n\nmodel_type\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.cx.v3.NluSettings.ModelType\x12 \n\x18\x63lassification_threshold\x18\x03 \x01(\x02\x12Y\n\x13model_training_mode\x18\x04 \x01(\x0e\x32<.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode\"Y\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13MODEL_TYPE_STANDARD\x10\x01\x12\x17\n\x13MODEL_TYPE_ADVANCED\x10\x03\"{\n\x11ModelTrainingMode\x12#\n\x1fMODEL_TRAINING_MODE_UNSPECIFIED\x10\x00\x12!\n\x1dMODEL_TRAINING_MODE_AUTOMATIC\x10\x01\x12\x1e\n\x1aMODEL_TRAINING_MODE_MANUAL\x10\x02\"\xd6\x03\n\x04\x46low\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\x12I\n\x11transition_routes\x18\x04 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute\x12\x43\n\x0e\x65vent_handlers\x18\n \x03(\x0b\x32+.google.cloud.dialogflow.cx.v3.EventHandler\x12T\n\x17transition_route_groups\x18\x0f \x03(\tB3\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12@\n\x0cnlu_settings\x18\x0b \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.NluSettings:h\xea\x41\x65\n\x1e\x64ialogflow.googleapis.com/Flow\x12\x43projects/{project}/locations/{location}/agents/{agent}/flows/{flow}\"\x9a\x01\n\x11\x43reateFlowRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\x12\x36\n\x04\x66low\x18\x02 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"X\n\x11\x44\x65leteFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x88\x01\n\x10ListFlowsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\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\"`\n\x11ListFlowsResponse\x12\x32\n\x05\x66lows\x18\x01 \x03(\x0b\x32#.google.cloud.dialogflow.cx.v3.Flow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x0eGetFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\x93\x01\n\x11UpdateFlowRequest\x12\x36\n\x04\x66low\x18\x01 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowB\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\"H\n\x10TrainFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\"b\n\x13ValidateFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"}\n\x1eGetFlowValidationResultRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/FlowValidationResult\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xb1\x02\n\x14\x46lowValidationResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12M\n\x13validation_messages\x18\x02 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.ValidationMessage\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x8a\x01\xea\x41\x86\x01\n.dialogflow.googleapis.com/FlowValidationResult\x12Tprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/validationResult\"\xf2\x02\n\x11ImportFlowRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\x12\x12\n\x08\x66low_uri\x18\x02 \x01(\tH\x00\x12\x16\n\x0c\x66low_content\x18\x03 \x01(\x0cH\x00\x12T\n\rimport_option\x18\x04 \x01(\x0e\x32=.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption\x12T\n\x14\x66low_import_strategy\x18\x05 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.FlowImportStrategyB\x03\xe0\x41\x01\"E\n\x0cImportOption\x12\x1d\n\x19IMPORT_OPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04KEEP\x10\x01\x12\x0c\n\x08\x46\x41LLBACK\x10\x02\x42\x06\n\x04\x66low\"h\n\x12\x46lowImportStrategy\x12R\n\x16global_import_strategy\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.cx.v3.ImportStrategyB\x03\xe0\x41\x01\"G\n\x12ImportFlowResponse\x12\x31\n\x04\x66low\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\"\x87\x01\n\x11\x45xportFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\x08\x66low_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18include_referenced_flows\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"H\n\x12\x45xportFlowResponse\x12\x12\n\x08\x66low_uri\x18\x01 \x01(\tH\x00\x12\x16\n\x0c\x66low_content\x18\x02 \x01(\x0cH\x00\x42\x06\n\x04\x66low2\x98\x10\n\x05\x46lows\x12\xb3\x01\n\nCreateFlow\x12\x30.google.cloud.dialogflow.cx.v3.CreateFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"N\x82\xd3\xe4\x93\x02:\"2/v3/{parent=projects/*/locations/*/agents/*}/flows:\x04\x66low\xda\x41\x0bparent,flow\x12\x99\x01\n\nDeleteFlow\x12\x30.google.cloud.dialogflow.cx.v3.DeleteFlowRequest\x1a\x16.google.protobuf.Empty\"A\x82\xd3\xe4\x93\x02\x34*2/v3/{name=projects/*/locations/*/agents/*/flows/*}\xda\x41\x04name\x12\xb3\x01\n\tListFlows\x12/.google.cloud.dialogflow.cx.v3.ListFlowsRequest\x1a\x30.google.cloud.dialogflow.cx.v3.ListFlowsResponse\"C\x82\xd3\xe4\x93\x02\x34\x12\x32/v3/{parent=projects/*/locations/*/agents/*}/flows\xda\x41\x06parent\x12\xa0\x01\n\x07GetFlow\x12-.google.cloud.dialogflow.cx.v3.GetFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"A\x82\xd3\xe4\x93\x02\x34\x12\x32/v3/{name=projects/*/locations/*/agents/*/flows/*}\xda\x41\x04name\x12\xbd\x01\n\nUpdateFlow\x12\x30.google.cloud.dialogflow.cx.v3.UpdateFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"X\x82\xd3\xe4\x93\x02?27/v3/{flow.name=projects/*/locations/*/agents/*/flows/*}:\x04\x66low\xda\x41\x10\x66low,update_mask\x12\xd9\x01\n\tTrainFlow\x12/.google.cloud.dialogflow.cx.v3.TrainFlowRequest\x1a\x1d.google.longrunning.Operation\"|\x82\xd3\xe4\x93\x02=\"8/v3/{name=projects/*/locations/*/agents/*/flows/*}:train:\x01*\xda\x41\x04name\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xbf\x01\n\x0cValidateFlow\x12\x32.google.cloud.dialogflow.cx.v3.ValidateFlowRequest\x1a\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult\"F\x82\xd3\xe4\x93\x02@\";/v3/{name=projects/*/locations/*/agents/*/flows/*}:validate:\x01*\x12\xe1\x01\n\x17GetFlowValidationResult\x12=.google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest\x1a\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult\"R\x82\xd3\xe4\x93\x02\x45\x12\x43/v3/{name=projects/*/locations/*/agents/*/flows/*/validationResult}\xda\x41\x04name\x12\xd2\x01\n\nImportFlow\x12\x30.google.cloud.dialogflow.cx.v3.ImportFlowRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02>\"9/v3/{parent=projects/*/locations/*/agents/*}/flows:import:\x01*\xca\x41,\n\x12ImportFlowResponse\x12\x16google.protobuf.Struct\x12\xd2\x01\n\nExportFlow\x12\x30.google.cloud.dialogflow.cx.v3.ExportFlowRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02>\"9/v3/{name=projects/*/locations/*/agents/*/flows/*}:export:\x01*\xca\x41,\n\x12\x45xportFlowResponse\x12\x16google.protobuf.Struct\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xaf\x01\n!com.google.cloud.dialogflow.cx.v3B\tFlowProtoP\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"
21
22
 
22
23
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
24
 
@@ -68,6 +69,7 @@ module Google
68
69
  FlowValidationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.FlowValidationResult").msgclass
69
70
  ImportFlowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportFlowRequest").msgclass
70
71
  ImportFlowRequest::ImportOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption").enummodule
72
+ FlowImportStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.FlowImportStrategy").msgclass
71
73
  ImportFlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportFlowResponse").msgclass
72
74
  ExportFlowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportFlowRequest").msgclass
73
75
  ExportFlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportFlowResponse").msgclass
@@ -1012,7 +1012,7 @@ module Google
1012
1012
  # @param options [::Gapic::CallOptions, ::Hash]
1013
1013
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1014
1014
  #
1015
- # @overload import_flow(parent: nil, flow_uri: nil, flow_content: nil, import_option: nil)
1015
+ # @overload import_flow(parent: nil, flow_uri: nil, flow_content: nil, import_option: nil, flow_import_strategy: nil)
1016
1016
  # Pass arguments to `import_flow` via keyword arguments. Note that at
1017
1017
  # least one keyword argument is required. To specify no parameters, or to keep all
1018
1018
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1034,6 +1034,9 @@ module Google
1034
1034
  # Uncompressed raw byte content for flow.
1035
1035
  # @param import_option [::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest::ImportOption]
1036
1036
  # Flow import mode. If not specified, `KEEP` is assumed.
1037
+ # @param flow_import_strategy [::Google::Cloud::Dialogflow::CX::V3::FlowImportStrategy, ::Hash]
1038
+ # Optional. Specifies the import strategy used when resolving resource
1039
+ # conflicts.
1037
1040
  #
1038
1041
  # @yield [response, operation] Access the result along with the RPC operation
1039
1042
  # @yieldparam response [::Gapic::Operation]
@@ -133,24 +133,50 @@ module Google
133
133
  ##
134
134
  # Create a fully-qualified TransitionRouteGroup resource string.
135
135
  #
136
- # The resource will be in the following format:
136
+ # @overload transition_route_group_path(project:, location:, agent:, flow:, transition_route_group:)
137
+ # The resource will be in the following format:
137
138
  #
138
- # `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}`
139
+ # `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}`
139
140
  #
140
- # @param project [String]
141
- # @param location [String]
142
- # @param agent [String]
143
- # @param flow [String]
144
- # @param transition_route_group [String]
141
+ # @param project [String]
142
+ # @param location [String]
143
+ # @param agent [String]
144
+ # @param flow [String]
145
+ # @param transition_route_group [String]
146
+ #
147
+ # @overload transition_route_group_path(project:, location:, agent:, transition_route_group:)
148
+ # The resource will be in the following format:
149
+ #
150
+ # `projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}`
151
+ #
152
+ # @param project [String]
153
+ # @param location [String]
154
+ # @param agent [String]
155
+ # @param transition_route_group [String]
145
156
  #
146
157
  # @return [::String]
147
- def transition_route_group_path project:, location:, agent:, flow:, transition_route_group:
148
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
149
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
150
- raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
151
- raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
152
-
153
- "projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/transitionRouteGroups/#{transition_route_group}"
158
+ def transition_route_group_path **args
159
+ resources = {
160
+ "agent:flow:location:project:transition_route_group" => (proc do |project:, location:, agent:, flow:, transition_route_group:|
161
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
162
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
163
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
164
+ raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
165
+
166
+ "projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/transitionRouteGroups/#{transition_route_group}"
167
+ end),
168
+ "agent:location:project:transition_route_group" => (proc do |project:, location:, agent:, transition_route_group:|
169
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
170
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
171
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
172
+
173
+ "projects/#{project}/locations/#{location}/agents/#{agent}/transitionRouteGroups/#{transition_route_group}"
174
+ end)
175
+ }
176
+
177
+ resource = resources[args.keys.sort.join(":")]
178
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
179
+ resource.call(**args)
154
180
  end
155
181
 
156
182
  ##
@@ -809,7 +809,7 @@ module Google
809
809
  # @param options [::Gapic::CallOptions, ::Hash]
810
810
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
811
811
  #
812
- # @overload import_flow(parent: nil, flow_uri: nil, flow_content: nil, import_option: nil)
812
+ # @overload import_flow(parent: nil, flow_uri: nil, flow_content: nil, import_option: nil, flow_import_strategy: nil)
813
813
  # Pass arguments to `import_flow` via keyword arguments. Note that at
814
814
  # least one keyword argument is required. To specify no parameters, or to keep all
815
815
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -831,6 +831,9 @@ module Google
831
831
  # Uncompressed raw byte content for flow.
832
832
  # @param import_option [::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest::ImportOption]
833
833
  # Flow import mode. If not specified, `KEEP` is assumed.
834
+ # @param flow_import_strategy [::Google::Cloud::Dialogflow::CX::V3::FlowImportStrategy, ::Hash]
835
+ # Optional. Specifies the import strategy used when resolving resource
836
+ # conflicts.
834
837
  # @yield [result, operation] Access the result along with the TransportOperation object
835
838
  # @yieldparam result [::Gapic::Operation]
836
839
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/dialogflow/cx/v3/import_strategy.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n3google/cloud/dialogflow/cx/v3/import_strategy.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3*\xc4\x01\n\x0eImportStrategy\x12\x1f\n\x1bIMPORT_STRATEGY_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMPORT_STRATEGY_CREATE_NEW\x10\x01\x12\x1b\n\x17IMPORT_STRATEGY_REPLACE\x10\x02\x12\x18\n\x14IMPORT_STRATEGY_KEEP\x10\x03\x12\x19\n\x15IMPORT_STRATEGY_MERGE\x10\x04\x12\x1f\n\x1bIMPORT_STRATEGY_THROW_ERROR\x10\x05\x42\x95\x01\n!com.google.cloud.dialogflow.cx.v3B\x13ImportStrategyProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
+ end
29
+ end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
32
+ end
33
+
34
+ module Google
35
+ module Cloud
36
+ module Dialogflow
37
+ module Cx
38
+ module V3
39
+ ImportStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportStrategy").enummodule
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -114,24 +114,50 @@ module Google
114
114
  ##
115
115
  # Create a fully-qualified TransitionRouteGroup resource string.
116
116
  #
117
- # The resource will be in the following format:
117
+ # @overload transition_route_group_path(project:, location:, agent:, flow:, transition_route_group:)
118
+ # The resource will be in the following format:
118
119
  #
119
- # `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}`
120
+ # `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}`
120
121
  #
121
- # @param project [String]
122
- # @param location [String]
123
- # @param agent [String]
124
- # @param flow [String]
125
- # @param transition_route_group [String]
122
+ # @param project [String]
123
+ # @param location [String]
124
+ # @param agent [String]
125
+ # @param flow [String]
126
+ # @param transition_route_group [String]
127
+ #
128
+ # @overload transition_route_group_path(project:, location:, agent:, transition_route_group:)
129
+ # The resource will be in the following format:
130
+ #
131
+ # `projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}`
132
+ #
133
+ # @param project [String]
134
+ # @param location [String]
135
+ # @param agent [String]
136
+ # @param transition_route_group [String]
126
137
  #
127
138
  # @return [::String]
128
- def transition_route_group_path project:, location:, agent:, flow:, transition_route_group:
129
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
130
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
131
- raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
132
- raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
133
-
134
- "projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/transitionRouteGroups/#{transition_route_group}"
139
+ def transition_route_group_path **args
140
+ resources = {
141
+ "agent:flow:location:project:transition_route_group" => (proc do |project:, location:, agent:, flow:, transition_route_group:|
142
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
143
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
144
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
145
+ raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
146
+
147
+ "projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/transitionRouteGroups/#{transition_route_group}"
148
+ end),
149
+ "agent:location:project:transition_route_group" => (proc do |project:, location:, agent:, transition_route_group:|
150
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
151
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
152
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
153
+
154
+ "projects/#{project}/locations/#{location}/agents/#{agent}/transitionRouteGroups/#{transition_route_group}"
155
+ end)
156
+ }
157
+
158
+ resource = resources[args.keys.sort.join(":")]
159
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
160
+ resource.call(**args)
135
161
  end
136
162
 
137
163
  ##
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/protobuf/struct_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n4google/cloud/dialogflow/cx/v3/response_message.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xbc\x0b\n\x0fResponseMessage\x12\x43\n\x04text\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ResponseMessage.TextH\x00\x12*\n\x07payload\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x62\n\x14\x63onversation_success\x18\t \x01(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccessH\x00\x12[\n\x11output_audio_text\x18\x08 \x01(\x0b\x32>.google.cloud.dialogflow.cx.v3.ResponseMessage.OutputAudioTextH\x00\x12]\n\x12live_agent_handoff\x18\n \x01(\x0b\x32?.google.cloud.dialogflow.cx.v3.ResponseMessage.LiveAgentHandoffH\x00\x12]\n\x0f\x65nd_interaction\x18\x0b \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.ResponseMessage.EndInteractionB\x03\xe0\x41\x03H\x00\x12N\n\nplay_audio\x18\x0c \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.ResponseMessage.PlayAudioH\x00\x12U\n\x0bmixed_audio\x18\r \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudioB\x03\xe0\x41\x03H\x00\x12g\n\x17telephony_transfer_call\x18\x12 \x01(\x0b\x32\x44.google.cloud.dialogflow.cx.v3.ResponseMessage.TelephonyTransferCallH\x00\x12\x0f\n\x07\x63hannel\x18\x13 \x01(\t\x1a\x43\n\x04Text\x12\x11\n\x04text\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12(\n\x1b\x61llow_playback_interruption\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x1a=\n\x10LiveAgentHandoff\x12)\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a@\n\x13\x43onversationSuccess\x12)\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a\x65\n\x0fOutputAudioText\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x0e\n\x04ssml\x18\x02 \x01(\tH\x00\x12(\n\x1b\x61llow_playback_interruption\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x42\x08\n\x06source\x1a\x10\n\x0e\x45ndInteraction\x1aM\n\tPlayAudio\x12\x16\n\taudio_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12(\n\x1b\x61llow_playback_interruption\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x1a\xc1\x01\n\nMixedAudio\x12S\n\x08segments\x18\x01 \x03(\x0b\x32\x41.google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio.Segment\x1a^\n\x07Segment\x12\x0f\n\x05\x61udio\x18\x01 \x01(\x0cH\x00\x12\r\n\x03uri\x18\x02 \x01(\tH\x00\x12(\n\x1b\x61llow_playback_interruption\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x42\t\n\x07\x63ontent\x1a;\n\x15TelephonyTransferCall\x12\x16\n\x0cphone_number\x18\x01 \x01(\tH\x00\x42\n\n\x08\x65ndpointB\t\n\x07messageB\xba\x01\n!com.google.cloud.dialogflow.cx.v3B\x14ResponseMessageProtoP\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"
11
+ descriptor_data = "\n4google/cloud/dialogflow/cx/v3/response_message.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xfb\x0c\n\x0fResponseMessage\x12\x43\n\x04text\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ResponseMessage.TextH\x00\x12*\n\x07payload\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x62\n\x14\x63onversation_success\x18\t \x01(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccessH\x00\x12[\n\x11output_audio_text\x18\x08 \x01(\x0b\x32>.google.cloud.dialogflow.cx.v3.ResponseMessage.OutputAudioTextH\x00\x12]\n\x12live_agent_handoff\x18\n \x01(\x0b\x32?.google.cloud.dialogflow.cx.v3.ResponseMessage.LiveAgentHandoffH\x00\x12]\n\x0f\x65nd_interaction\x18\x0b \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.ResponseMessage.EndInteractionB\x03\xe0\x41\x03H\x00\x12N\n\nplay_audio\x18\x0c \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.ResponseMessage.PlayAudioH\x00\x12U\n\x0bmixed_audio\x18\r \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudioB\x03\xe0\x41\x03H\x00\x12g\n\x17telephony_transfer_call\x18\x12 \x01(\x0b\x32\x44.google.cloud.dialogflow.cx.v3.ResponseMessage.TelephonyTransferCallH\x00\x12R\n\rresponse_type\x18\x04 \x01(\x0e\x32;.google.cloud.dialogflow.cx.v3.ResponseMessage.ResponseType\x12\x0f\n\x07\x63hannel\x18\x13 \x01(\t\x1a\x43\n\x04Text\x12\x11\n\x04text\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12(\n\x1b\x61llow_playback_interruption\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x1a=\n\x10LiveAgentHandoff\x12)\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a@\n\x13\x43onversationSuccess\x12)\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a\x65\n\x0fOutputAudioText\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x0e\n\x04ssml\x18\x02 \x01(\tH\x00\x12(\n\x1b\x61llow_playback_interruption\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x42\x08\n\x06source\x1a\x10\n\x0e\x45ndInteraction\x1aM\n\tPlayAudio\x12\x16\n\taudio_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12(\n\x1b\x61llow_playback_interruption\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x1a\xc1\x01\n\nMixedAudio\x12S\n\x08segments\x18\x01 \x03(\x0b\x32\x41.google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio.Segment\x1a^\n\x07Segment\x12\x0f\n\x05\x61udio\x18\x01 \x01(\x0cH\x00\x12\r\n\x03uri\x18\x02 \x01(\tH\x00\x12(\n\x1b\x61llow_playback_interruption\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x42\t\n\x07\x63ontent\x1a;\n\x15TelephonyTransferCall\x12\x16\n\x0cphone_number\x18\x01 \x01(\tH\x00\x42\n\n\x08\x65ndpoint\"i\n\x0cResponseType\x12\x1d\n\x19RESPONSE_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x45NTRY_PROMPT\x10\x01\x12\x14\n\x10PARAMETER_PROMPT\x10\x02\x12\x12\n\x0eHANDLER_PROMPT\x10\x03\x42\t\n\x07messageB\xba\x01\n!com.google.cloud.dialogflow.cx.v3B\x14ResponseMessageProtoP\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"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -50,6 +50,7 @@ module Google
50
50
  ResponseMessage::MixedAudio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio").msgclass
51
51
  ResponseMessage::MixedAudio::Segment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio.Segment").msgclass
52
52
  ResponseMessage::TelephonyTransferCall = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ResponseMessage.TelephonyTransferCall").msgclass
53
+ ResponseMessage::ResponseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ResponseMessage.ResponseType").enummodule
53
54
  end
54
55
  end
55
56
  end
@@ -198,24 +198,50 @@ module Google
198
198
  ##
199
199
  # Create a fully-qualified TransitionRouteGroup resource string.
200
200
  #
201
- # The resource will be in the following format:
201
+ # @overload transition_route_group_path(project:, location:, agent:, flow:, transition_route_group:)
202
+ # The resource will be in the following format:
202
203
  #
203
- # `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}`
204
+ # `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}`
204
205
  #
205
- # @param project [String]
206
- # @param location [String]
207
- # @param agent [String]
208
- # @param flow [String]
209
- # @param transition_route_group [String]
206
+ # @param project [String]
207
+ # @param location [String]
208
+ # @param agent [String]
209
+ # @param flow [String]
210
+ # @param transition_route_group [String]
211
+ #
212
+ # @overload transition_route_group_path(project:, location:, agent:, transition_route_group:)
213
+ # The resource will be in the following format:
214
+ #
215
+ # `projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}`
216
+ #
217
+ # @param project [String]
218
+ # @param location [String]
219
+ # @param agent [String]
220
+ # @param transition_route_group [String]
210
221
  #
211
222
  # @return [::String]
212
- def transition_route_group_path project:, location:, agent:, flow:, transition_route_group:
213
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
214
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
215
- raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
216
- raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
223
+ def transition_route_group_path **args
224
+ resources = {
225
+ "agent:flow:location:project:transition_route_group" => (proc do |project:, location:, agent:, flow:, transition_route_group:|
226
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
227
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
228
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
229
+ raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
230
+
231
+ "projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/transitionRouteGroups/#{transition_route_group}"
232
+ end),
233
+ "agent:location:project:transition_route_group" => (proc do |project:, location:, agent:, transition_route_group:|
234
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
235
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
236
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
237
+
238
+ "projects/#{project}/locations/#{location}/agents/#{agent}/transitionRouteGroups/#{transition_route_group}"
239
+ end)
240
+ }
217
241
 
218
- "projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/transitionRouteGroups/#{transition_route_group}"
242
+ resource = resources[args.keys.sort.join(":")]
243
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
244
+ resource.call(**args)
219
245
  end
220
246
 
221
247
  ##
@@ -13,7 +13,7 @@ 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\"\xb5\x02\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:\xa8\x01\xea\x41\xa4\x01\n.dialogflow.googleapis.com/TransitionRouteGroup\x12rprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}\"\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\xb0\x0b\n\x15TransitionRouteGroups\x12\xfb\x01\n\x19ListTransitionRouteGroups\x12?.google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsRequest\x1a@.google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse\"[\x82\xd3\xe4\x93\x02L\x12J/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups\xda\x41\x06parent\x12\xe8\x01\n\x17GetTransitionRouteGroup\x12=.google.cloud.dialogflow.cx.v3.GetTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"Y\x82\xd3\xe4\x93\x02L\x12J/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}\xda\x41\x04name\x12\xa0\x02\n\x1a\x43reateTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.CreateTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\x8a\x01\x82\xd3\xe4\x93\x02\x64\"J/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups:\x16transition_route_group\xda\x41\x1dparent,transition_route_group\x12\xbc\x02\n\x1aUpdateTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.UpdateTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\xa6\x01\x82\xd3\xe4\x93\x02{2a/v3/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}:\x16transition_route_group\xda\x41\"transition_route_group,update_mask\x12\xd1\x01\n\x1a\x44\x65leteTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.DeleteTransitionRouteGroupRequest\x1a\x16.google.protobuf.Empty\"Y\x82\xd3\xe4\x93\x02L*J/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}\xda\x41\x04name\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"
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\xda\x41\x06parent\x12\xb0\x02\n\x17GetTransitionRouteGroup\x12=.google.cloud.dialogflow.cx.v3.GetTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\xa0\x01\x82\xd3\xe4\x93\x02\x92\x01\x12J/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}ZD\x12\x42/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}\xda\x41\x04name\x12\xff\x02\n\x1a\x43reateTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.CreateTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\xe9\x01\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\xda\x41\x1dparent,transition_route_group\x12\xb2\x03\n\x1aUpdateTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.UpdateTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\x9c\x02\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\xda\x41\"transition_route_group,update_mask\x12\x99\x02\n\x1a\x44\x65leteTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.DeleteTransitionRouteGroupRequest\x1a\x16.google.protobuf.Empty\"\xa0\x01\x82\xd3\xe4\x93\x02\x92\x01*J/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}ZD*B/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}\xda\x41\x04name\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
 
@@ -186,7 +186,8 @@ module Google
186
186
  # @param parent [::String]
187
187
  # Required. The flow to list all transition route groups for.
188
188
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
189
- # ID>/flows/<Flow ID>`.
189
+ # ID>/flows/<Flow ID>`
190
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
190
191
  # @param page_size [::Integer]
191
192
  # The maximum number of items to return in a single page. By default 100 and
192
193
  # at most 1000.
@@ -299,7 +300,9 @@ module Google
299
300
  # Required. The name of the
300
301
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}.
301
302
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
302
- # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
303
+ # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`
304
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent
305
+ # ID>/transitionRouteGroups/<Transition Route Group ID>`.
303
306
  # @param language_code [::String]
304
307
  # The language to retrieve the transition route group for. The following
305
308
  # fields are language dependent:
@@ -406,7 +409,9 @@ module Google
406
409
  # Required. The flow to create an
407
410
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}
408
411
  # for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
409
- # ID>/flows/<Flow ID>`.
412
+ # ID>/flows/<Flow ID>`
413
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`
414
+ # for agent-level groups.
410
415
  # @param transition_route_group [::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup, ::Hash]
411
416
  # Required. The transition route group to create.
412
417
  # @param language_code [::String]
@@ -618,7 +623,8 @@ module Google
618
623
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}
619
624
  # to delete. Format: `projects/<Project ID>/locations/<Location
620
625
  # ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition
621
- # Route Group ID>`.
626
+ # Route Group ID>` or `projects/<Project ID>/locations/<Location
627
+ # ID>/agents/<Agent ID>/transitionRouteGroups/<Transition Route Group ID>`.
622
628
  # @param force [::Boolean]
623
629
  # This field has no effect for transition route group that no page is using.
624
630
  # If the transition route group is referenced by any page:
@@ -25,6 +25,25 @@ module Google
25
25
  module TransitionRouteGroups
26
26
  # Path helper methods for the TransitionRouteGroups API.
27
27
  module Paths
28
+ ##
29
+ # Create a fully-qualified Agent resource string.
30
+ #
31
+ # The resource will be in the following format:
32
+ #
33
+ # `projects/{project}/locations/{location}/agents/{agent}`
34
+ #
35
+ # @param project [String]
36
+ # @param location [String]
37
+ # @param agent [String]
38
+ #
39
+ # @return [::String]
40
+ def agent_path project:, location:, agent:
41
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
43
+
44
+ "projects/#{project}/locations/#{location}/agents/#{agent}"
45
+ end
46
+
28
47
  ##
29
48
  # Create a fully-qualified Flow resource string.
30
49
  #
@@ -93,24 +112,50 @@ module Google
93
112
  ##
94
113
  # Create a fully-qualified TransitionRouteGroup resource string.
95
114
  #
96
- # The resource will be in the following format:
115
+ # @overload transition_route_group_path(project:, location:, agent:, flow:, transition_route_group:)
116
+ # The resource will be in the following format:
97
117
  #
98
- # `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}`
118
+ # `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}`
99
119
  #
100
- # @param project [String]
101
- # @param location [String]
102
- # @param agent [String]
103
- # @param flow [String]
104
- # @param transition_route_group [String]
120
+ # @param project [String]
121
+ # @param location [String]
122
+ # @param agent [String]
123
+ # @param flow [String]
124
+ # @param transition_route_group [String]
125
+ #
126
+ # @overload transition_route_group_path(project:, location:, agent:, transition_route_group:)
127
+ # The resource will be in the following format:
128
+ #
129
+ # `projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}`
130
+ #
131
+ # @param project [String]
132
+ # @param location [String]
133
+ # @param agent [String]
134
+ # @param transition_route_group [String]
105
135
  #
106
136
  # @return [::String]
107
- def transition_route_group_path project:, location:, agent:, flow:, transition_route_group:
108
- raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
109
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
110
- raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
111
- raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
137
+ def transition_route_group_path **args
138
+ resources = {
139
+ "agent:flow:location:project:transition_route_group" => (proc do |project:, location:, agent:, flow:, transition_route_group:|
140
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
141
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
142
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
143
+ raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
144
+
145
+ "projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/transitionRouteGroups/#{transition_route_group}"
146
+ end),
147
+ "agent:location:project:transition_route_group" => (proc do |project:, location:, agent:, transition_route_group:|
148
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
149
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
150
+ raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
151
+
152
+ "projects/#{project}/locations/#{location}/agents/#{agent}/transitionRouteGroups/#{transition_route_group}"
153
+ end)
154
+ }
112
155
 
113
- "projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/transitionRouteGroups/#{transition_route_group}"
156
+ resource = resources[args.keys.sort.join(":")]
157
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
158
+ resource.call(**args)
114
159
  end
115
160
 
116
161
  ##
@@ -178,7 +178,8 @@ module Google
178
178
  # @param parent [::String]
179
179
  # Required. The flow to list all transition route groups for.
180
180
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
181
- # ID>/flows/<Flow ID>`.
181
+ # ID>/flows/<Flow ID>`
182
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
182
183
  # @param page_size [::Integer]
183
184
  # The maximum number of items to return in a single page. By default 100 and
184
185
  # at most 1000.
@@ -264,7 +265,9 @@ module Google
264
265
  # Required. The name of the
265
266
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}.
266
267
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
267
- # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
268
+ # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`
269
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent
270
+ # ID>/transitionRouteGroups/<Transition Route Group ID>`.
268
271
  # @param language_code [::String]
269
272
  # The language to retrieve the transition route group for. The following
270
273
  # fields are language dependent:
@@ -348,7 +351,9 @@ module Google
348
351
  # Required. The flow to create an
349
352
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}
350
353
  # for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
351
- # ID>/flows/<Flow ID>`.
354
+ # ID>/flows/<Flow ID>`
355
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`
356
+ # for agent-level groups.
352
357
  # @param transition_route_group [::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup, ::Hash]
353
358
  # Required. The transition route group to create.
354
359
  # @param language_code [::String]
@@ -514,7 +519,8 @@ module Google
514
519
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}
515
520
  # to delete. Format: `projects/<Project ID>/locations/<Location
516
521
  # ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition
517
- # Route Group ID>`.
522
+ # Route Group ID>` or `projects/<Project ID>/locations/<Location
523
+ # ID>/agents/<Agent ID>/transitionRouteGroups/<Transition Route Group ID>`.
518
524
  # @param force [::Boolean]
519
525
  # This field has no effect for transition route group that no page is using.
520
526
  # If the transition route group is referenced by any page:
@@ -249,6 +249,13 @@ module Google
249
249
  ["parent", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/?$}, false]
250
250
  ]
251
251
  )
252
+ .with_bindings(
253
+ uri_method: :get,
254
+ uri_template: "/v3/{parent}/transitionRouteGroups",
255
+ matches: [
256
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/?$}, false]
257
+ ]
258
+ )
252
259
  transcoder.transcode request_pb
253
260
  end
254
261
 
@@ -270,6 +277,13 @@ module Google
270
277
  ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+/?$}, false]
271
278
  ]
272
279
  )
280
+ .with_bindings(
281
+ uri_method: :get,
282
+ uri_template: "/v3/{name}",
283
+ matches: [
284
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+/?$}, false]
285
+ ]
286
+ )
273
287
  transcoder.transcode request_pb
274
288
  end
275
289
 
@@ -292,6 +306,14 @@ module Google
292
306
  ["parent", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/?$}, false]
293
307
  ]
294
308
  )
309
+ .with_bindings(
310
+ uri_method: :post,
311
+ uri_template: "/v3/{parent}/transitionRouteGroups",
312
+ body: "transition_route_group",
313
+ matches: [
314
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/?$}, false]
315
+ ]
316
+ )
295
317
  transcoder.transcode request_pb
296
318
  end
297
319
 
@@ -314,6 +336,14 @@ module Google
314
336
  ["transition_route_group.name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+/?$}, false]
315
337
  ]
316
338
  )
339
+ .with_bindings(
340
+ uri_method: :patch,
341
+ uri_template: "/v3/{transition_route_group.name}",
342
+ body: "transition_route_group",
343
+ matches: [
344
+ ["transition_route_group.name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+/?$}, false]
345
+ ]
346
+ )
317
347
  transcoder.transcode request_pb
318
348
  end
319
349
 
@@ -335,6 +365,13 @@ module Google
335
365
  ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+/?$}, false]
336
366
  ]
337
367
  )
368
+ .with_bindings(
369
+ uri_method: :delete,
370
+ uri_template: "/v3/{name}",
371
+ matches: [
372
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+/?$}, false]
373
+ ]
374
+ )
338
375
  transcoder.transcode request_pb
339
376
  end
340
377
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- VERSION = "0.19.0"
25
+ VERSION = "0.20.0"
26
26
  end
27
27
  end
28
28
  end
@@ -41,8 +41,9 @@ module Google
41
41
  # Types][google.cloud.dialogflow.cx.v3.EntityType],
42
42
  # {::Google::Cloud::Dialogflow::CX::V3::Flow Flows},
43
43
  # {::Google::Cloud::Dialogflow::CX::V3::Fulfillment Fulfillments},
44
- # {::Google::Cloud::Dialogflow::CX::V3::Webhook Webhooks}, and so on to manage the
45
- # conversation flows..
44
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhook Webhooks},
45
+ # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroups}
46
+ # and so on to manage the conversation flows.
46
47
  # @!attribute [rw] name
47
48
  # @return [::String]
48
49
  # The unique identifier of the agent.
@@ -144,7 +145,7 @@ module Google
144
145
  # The GitHub repository URI related to the agent.
145
146
  # @!attribute [rw] tracking_branch
146
147
  # @return [::String]
147
- # The branch of GitHub repository tracked for this agent.
148
+ # The branch of the GitHub repository tracked for this agent.
148
149
  # @!attribute [rw] access_token
149
150
  # @return [::String]
150
151
  # The access token used to authenticate the access to the GitHub
@@ -319,7 +320,7 @@ module Google
319
320
  # @!attribute [rw] commit_sha
320
321
  # @return [::String]
321
322
  # Commit SHA of the git push. This field is populated if
322
- # `git_destination` are specified in
323
+ # `git_destination` is specified in
323
324
  # {::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest ExportAgentRequest}.
324
325
  class ExportAgentResponse
325
326
  include ::Google::Protobuf::MessageExts
@@ -138,7 +138,10 @@ module Google
138
138
  # defined in the page have higher priority than those defined in the flow.
139
139
  #
140
140
  # Format:`projects/<Project ID>/locations/<Location ID>/agents/<Agent
141
- # ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>`.
141
+ # ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>`
142
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent
143
+ # ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level
144
+ # groups.
142
145
  # @!attribute [rw] nlu_settings
143
146
  # @return [::Google::Cloud::Dialogflow::CX::V3::NluSettings]
144
147
  # NLU related settings of the flow.
@@ -385,6 +388,10 @@ module Google
385
388
  # @!attribute [rw] import_option
386
389
  # @return [::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest::ImportOption]
387
390
  # Flow import mode. If not specified, `KEEP` is assumed.
391
+ # @!attribute [rw] flow_import_strategy
392
+ # @return [::Google::Cloud::Dialogflow::CX::V3::FlowImportStrategy]
393
+ # Optional. Specifies the import strategy used when resolving resource
394
+ # conflicts.
388
395
  class ImportFlowRequest
389
396
  include ::Google::Protobuf::MessageExts
390
397
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -406,6 +413,19 @@ module Google
406
413
  end
407
414
  end
408
415
 
416
+ # The flow import strategy used for resource conflict resolution associated
417
+ # with an {::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest ImportFlowRequest}.
418
+ # @!attribute [rw] global_import_strategy
419
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ImportStrategy]
420
+ # Optional. Import strategy for resource conflict resolution, applied
421
+ # globally throughout the flow. It will be applied for all display name
422
+ # conflicts in the imported content. If not specified, 'CREATE_NEW' is
423
+ # assumed.
424
+ class FlowImportStrategy
425
+ include ::Google::Protobuf::MessageExts
426
+ extend ::Google::Protobuf::MessageExts::ClassMethods
427
+ end
428
+
409
429
  # The response message for
410
430
  # {::Google::Cloud::Dialogflow::CX::V3::Flows::Client#import_flow Flows.ImportFlow}.
411
431
  # @!attribute [rw] flow
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module Cx
24
+ module V3
25
+ # Import strategies for the conflict resolution of resources (i.e. intents,
26
+ # entities, and webhooks) with identical display names during import
27
+ # operations.
28
+ module ImportStrategy
29
+ # Unspecified. Treated as 'CREATE_NEW'.
30
+ IMPORT_STRATEGY_UNSPECIFIED = 0
31
+
32
+ # Create a new resource with a numeric suffix appended to the end of the
33
+ # existing display name.
34
+ IMPORT_STRATEGY_CREATE_NEW = 1
35
+
36
+ # Replace existing resource with incoming resource in the content to be
37
+ # imported.
38
+ IMPORT_STRATEGY_REPLACE = 2
39
+
40
+ # Keep existing resource and discard incoming resource in the content to be
41
+ # imported.
42
+ IMPORT_STRATEGY_KEEP = 3
43
+
44
+ # Combine existing and incoming resources when a conflict is encountered.
45
+ IMPORT_STRATEGY_MERGE = 4
46
+
47
+ # Throw error if a conflict is encountered.
48
+ IMPORT_STRATEGY_THROW_ERROR = 5
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
@@ -72,7 +72,10 @@ module Google
72
72
  # intent, then the first group in the ordered list takes precedence.
73
73
  #
74
74
  # Format:`projects/<Project ID>/locations/<Location ID>/agents/<Agent
75
- # ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>`.
75
+ # ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>`
76
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent
77
+ # ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level
78
+ # groups.
76
79
  # @!attribute [rw] transition_routes
77
80
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::TransitionRoute>]
78
81
  # A list of transitions for the transition rules of this page.
@@ -81,6 +81,9 @@ module Google
81
81
  # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::TelephonyTransferCall]
82
82
  # A signal that the client should transfer the phone call connected to
83
83
  # this agent to a third-party endpoint.
84
+ # @!attribute [rw] response_type
85
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::ResponseType]
86
+ # Response type.
84
87
  # @!attribute [rw] channel
85
88
  # @return [::String]
86
89
  # The channel which the response is associated with. Clients can specify the
@@ -238,6 +241,27 @@ module Google
238
241
  include ::Google::Protobuf::MessageExts
239
242
  extend ::Google::Protobuf::MessageExts::ClassMethods
240
243
  end
244
+
245
+ # Represents different response types.
246
+ module ResponseType
247
+ # Not specified.
248
+ RESPONSE_TYPE_UNSPECIFIED = 0
249
+
250
+ # The response is from an [entry
251
+ # prompt][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] in the
252
+ # page.
253
+ ENTRY_PROMPT = 1
254
+
255
+ # The response is from [form-filling
256
+ # prompt][google.cloud.dialogflow.cx.v3.Form.Parameter.fill_behavior] in
257
+ # the page.
258
+ PARAMETER_PROMPT = 2
259
+
260
+ # The response is from a [transition
261
+ # route][google.cloud.dialogflow.cx.v3.TransitionRoute] or an [event
262
+ # handler][EventHandler] in the page or flow or transition route group.
263
+ HANDLER_PROMPT = 3
264
+ end
241
265
  end
242
266
  end
243
267
  end
@@ -529,15 +529,15 @@ module Google
529
529
 
530
530
  # Represents the query input. It can contain one of:
531
531
  #
532
- # 1. A conversational query in the form of text.
532
+ # 1. A conversational query in the form of text.
533
533
  #
534
- # 2. An intent query that specifies which intent to trigger.
534
+ # 2. An intent query that specifies which intent to trigger.
535
535
  #
536
- # 3. Natural language speech audio to be processed.
536
+ # 3. Natural language speech audio to be processed.
537
537
  #
538
- # 4. An event to be triggered.
538
+ # 4. An event to be triggered.
539
539
  #
540
- # 5. DTMF digits to invoke an intent and fill in parameter value.
540
+ # 5. DTMF digits to invoke an intent and fill in parameter value.
541
541
  # @!attribute [rw] text
542
542
  # @return [::Google::Cloud::Dialogflow::CX::V3::TextInput]
543
543
  # The natural language text to be processed.
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- # An TransitionRouteGroup represents a group of
25
+ # A TransitionRouteGroup represents a group of
26
26
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRoute `TransitionRoutes`} to be
27
27
  # used by a {::Google::Cloud::Dialogflow::CX::V3::Page Page}.
28
28
  # @!attribute [rw] name
@@ -31,7 +31,8 @@ module Google
31
31
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client#create_transition_route_group TransitionRouteGroups.CreateTransitionRouteGroup}
32
32
  # populates the name automatically. Format: `projects/<Project
33
33
  # ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow
34
- # ID>/transitionRouteGroups/<Transition Route Group ID>`.
34
+ # ID>/transitionRouteGroups/<Transition Route Group ID>`
35
+ # .
35
36
  # @!attribute [rw] display_name
36
37
  # @return [::String]
37
38
  # Required. The human-readable name of the transition route group, unique
@@ -51,7 +52,8 @@ module Google
51
52
  # @return [::String]
52
53
  # Required. The flow to list all transition route groups for.
53
54
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
54
- # ID>/flows/<Flow ID>`.
55
+ # ID>/flows/<Flow ID>`
56
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
55
57
  # @!attribute [rw] page_size
56
58
  # @return [::Integer]
57
59
  # The maximum number of items to return in a single page. By default 100 and
@@ -103,7 +105,9 @@ module Google
103
105
  # Required. The name of the
104
106
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}.
105
107
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
106
- # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
108
+ # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`
109
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent
110
+ # ID>/transitionRouteGroups/<Transition Route Group ID>`.
107
111
  # @!attribute [rw] language_code
108
112
  # @return [::String]
109
113
  # The language to retrieve the transition route group for. The following
@@ -130,7 +134,9 @@ module Google
130
134
  # Required. The flow to create an
131
135
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}
132
136
  # for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
133
- # ID>/flows/<Flow ID>`.
137
+ # ID>/flows/<Flow ID>`
138
+ # or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`
139
+ # for agent-level groups.
134
140
  # @!attribute [rw] transition_route_group
135
141
  # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup]
136
142
  # Required. The transition route group to create.
@@ -186,7 +192,8 @@ module Google
186
192
  # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}
187
193
  # to delete. Format: `projects/<Project ID>/locations/<Location
188
194
  # ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition
189
- # Route Group ID>`.
195
+ # Route Group ID>` or `projects/<Project ID>/locations/<Location
196
+ # ID>/agents/<Agent ID>/transitionRouteGroups/<Transition Route Group ID>`.
190
197
  # @!attribute [rw] force
191
198
  # @return [::Boolean]
192
199
  # This field has no effect for transition route group that no page is using.
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.19.0
4
+ version: 0.20.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: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -270,6 +270,7 @@ files:
270
270
  - lib/google/cloud/dialogflow/cx/v3/flows/rest/service_stub.rb
271
271
  - lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb
272
272
  - lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb
273
+ - lib/google/cloud/dialogflow/cx/v3/import_strategy_pb.rb
273
274
  - lib/google/cloud/dialogflow/cx/v3/intent_pb.rb
274
275
  - lib/google/cloud/dialogflow/cx/v3/intent_services_pb.rb
275
276
  - lib/google/cloud/dialogflow/cx/v3/intents.rb
@@ -375,6 +376,7 @@ files:
375
376
  - proto_docs/google/cloud/dialogflow/cx/v3/flow.rb
376
377
  - proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb
377
378
  - proto_docs/google/cloud/dialogflow/cx/v3/gcs.rb
379
+ - proto_docs/google/cloud/dialogflow/cx/v3/import_strategy.rb
378
380
  - proto_docs/google/cloud/dialogflow/cx/v3/intent.rb
379
381
  - proto_docs/google/cloud/dialogflow/cx/v3/page.rb
380
382
  - proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb