google-cloud-dialogflow-cx-v3 0.5.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +0 -2
  4. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +7 -1
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +15 -1
  6. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +0 -2
  7. data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +0 -1
  8. data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +0 -2
  9. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +0 -1
  10. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +0 -1
  11. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +12 -0
  12. data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +0 -2
  13. data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +0 -2
  14. data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +0 -1
  15. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +0 -1
  16. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +0 -1
  17. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +1 -3
  18. data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +1 -0
  19. data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +1 -1
  20. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +13 -1
  21. data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +0 -2
  22. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  23. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +0 -5
  24. data/lib/google/cloud/dialogflow/cx/v3.rb +4 -2
  25. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +28 -0
  26. data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +1 -1
  27. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +13 -1
  28. data/proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb +5 -1
  29. data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +1 -1
  30. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +1 -1
  31. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +27 -32
  32. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +28 -1
  33. data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +1 -1
  34. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +7 -2
  35. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2e4d6df916cd1ec66541de62560a1df00498546cae45346bc8659ab70800e9e
4
- data.tar.gz: 81b7cfda16f3f0edaa278a1a48554fc809966eb673c193a54a72115e47dc5144
3
+ metadata.gz: 1d899ce91b1131abcce60fe014b8dcd16ad876469c2128d6d6e5de1137a5e33a
4
+ data.tar.gz: dcc0ad0ccfed647b51640b8d8107f74d2b6df6f41c137feeb924017ca8871af9
5
5
  SHA512:
6
- metadata.gz: ee476d6dbf2ea36cad25c20e0ad09180b12b7a0ab31566b4db1503288f5c8aff372ecdcdf69da30dbd03dbe5fe45c602496027ac9cac42425ab44121169db51b
7
- data.tar.gz: de84b957b161b685b62d0fd90438aec138d4a11184b3dc5bc4e410e6cfb834f7f87870f2be302b6159a24d9cd45431d5642920620672f8b1579e41cfb8aedd27
6
+ metadata.gz: 743ac0619fc9fa4153355f4cf0fa461a649db198d178cdd0b8e911158e44a7c17e34accb4ad5bc739b3a166b9213c1894469c680cf0e46ad61109056b84abc1c
7
+ data.tar.gz: b26e523383692f59c08407b6e6d86aa415c8314cdc57203e896c715eefb34040e2a9ed210c739bede9701ff17e0d8efea8558cdd400396fbea948e7b8da6fcd4
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Dialogflow::CX::V3::ListPagesRequest.new # (request f
37
37
  response = client.list_pages request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-dialogflow-cx-v3/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/dialogflow)
@@ -2,8 +2,6 @@
2
2
  # source: google/cloud/dialogflow/cx/v3/advanced_settings.proto
3
3
 
4
4
  require 'google/api/field_behavior_pb'
5
- require 'google/protobuf/duration_pb'
6
- require 'google/api/annotations_pb'
7
5
  require 'google/protobuf'
8
6
 
9
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -7,7 +7,6 @@ require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
9
9
  require 'google/cloud/dialogflow/cx/v3/flow_pb'
10
- require 'google/cloud/dialogflow/cx/v3/security_settings_pb'
11
10
  require 'google/longrunning/operations_pb'
12
11
  require 'google/protobuf/empty_pb'
13
12
  require 'google/protobuf/field_mask_pb'
@@ -31,6 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
31
30
  optional :security_settings, :string, 17
32
31
  optional :enable_stackdriver_logging, :bool, 18
33
32
  optional :enable_spell_correction, :bool, 20
33
+ optional :locked, :bool, 27
34
34
  optional :advanced_settings, :message, 22, "google.cloud.dialogflow.cx.v3.AdvancedSettings"
35
35
  end
36
36
  add_message "google.cloud.dialogflow.cx.v3.ListAgentsRequest" do
@@ -59,8 +59,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
59
59
  add_message "google.cloud.dialogflow.cx.v3.ExportAgentRequest" do
60
60
  optional :name, :string, 1
61
61
  optional :agent_uri, :string, 2
62
+ optional :data_format, :enum, 3, "google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat"
62
63
  optional :environment, :string, 5
63
64
  end
65
+ add_enum "google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat" do
66
+ value :DATA_FORMAT_UNSPECIFIED, 0
67
+ value :BLOB, 1
68
+ end
64
69
  add_message "google.cloud.dialogflow.cx.v3.ExportAgentResponse" do
65
70
  oneof :agent do
66
71
  optional :agent_uri, :string, 1
@@ -109,6 +114,7 @@ module Google
109
114
  UpdateAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateAgentRequest").msgclass
110
115
  DeleteAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteAgentRequest").msgclass
111
116
  ExportAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest").msgclass
117
+ ExportAgentRequest::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat").enummodule
112
118
  ExportAgentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentResponse").msgclass
113
119
  RestoreAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest").msgclass
114
120
  RestoreAgentRequest::RestoreOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption").enummodule
@@ -638,7 +638,7 @@ module Google
638
638
  # @param options [::Gapic::CallOptions, ::Hash]
639
639
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
640
640
  #
641
- # @overload export_agent(name: nil, agent_uri: nil, environment: nil)
641
+ # @overload export_agent(name: nil, agent_uri: nil, data_format: nil, environment: nil)
642
642
  # Pass arguments to `export_agent` via keyword arguments. Note that at
643
643
  # least one keyword argument is required. To specify no parameters, or to keep all
644
644
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -651,6 +651,14 @@ module Google
651
651
  # export the agent to. The format of this URI must be
652
652
  # `gs://<bucket-name>/<object-name>`.
653
653
  # If left unspecified, the serialized agent is returned inline.
654
+ #
655
+ # Dialogflow performs a write operation for the Cloud Storage object
656
+ # on the caller's behalf, so your request authentication must
657
+ # have write permissions for the object. For more information, see
658
+ # [Dialogflow access
659
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
660
+ # @param data_format [::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest::DataFormat]
661
+ # Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
654
662
  # @param environment [::String]
655
663
  # Optional. Environment name. If not set, draft environment is assumed.
656
664
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
@@ -769,6 +777,12 @@ module Google
769
777
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
770
778
  # to restore agent from. The format of this URI must be
771
779
  # `gs://<bucket-name>/<object-name>`.
780
+ #
781
+ # Dialogflow performs a read operation for the Cloud Storage object
782
+ # on the caller's behalf, so your request authentication must
783
+ # have read permissions for the object. For more information, see
784
+ # [Dialogflow access
785
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
772
786
  # @param agent_content [::String]
773
787
  # Uncompressed raw byte content for agent.
774
788
  # @param restore_option [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption]
@@ -4,8 +4,6 @@
4
4
  require 'google/api/field_behavior_pb'
5
5
  require 'google/api/resource_pb'
6
6
  require 'google/protobuf/duration_pb'
7
- require 'google/protobuf/timestamp_pb'
8
- require 'google/api/annotations_pb'
9
7
  require 'google/protobuf'
10
8
 
11
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -5,7 +5,6 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/protobuf/struct_pb'
9
8
  require 'google/protobuf/timestamp_pb'
10
9
  require 'google/protobuf'
11
10
 
@@ -5,8 +5,6 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/protobuf/empty_pb'
9
- require 'google/protobuf/field_mask_pb'
10
8
  require 'google/protobuf/timestamp_pb'
11
9
  require 'google/protobuf'
12
10
 
@@ -6,7 +6,6 @@ require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/cloud/dialogflow/cx/v3/test_case_pb'
9
- require 'google/cloud/dialogflow/cx/v3/webhook_pb'
10
9
  require 'google/longrunning/operations_pb'
11
10
  require 'google/protobuf/empty_pb'
12
11
  require 'google/protobuf/field_mask_pb'
@@ -5,7 +5,6 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
9
8
  require 'google/cloud/dialogflow/cx/v3/page_pb'
10
9
  require 'google/cloud/dialogflow/cx/v3/validation_message_pb'
11
10
  require 'google/longrunning/operations_pb'
@@ -1011,6 +1011,12 @@ module Google
1011
1011
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
1012
1012
  # to import flow from. The format of this URI must be
1013
1013
  # `gs://<bucket-name>/<object-name>`.
1014
+ #
1015
+ # Dialogflow performs a read operation for the Cloud Storage object
1016
+ # on the caller's behalf, so your request authentication must
1017
+ # have read permissions for the object. For more information, see
1018
+ # [Dialogflow access
1019
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
1014
1020
  # @param flow_content [::String]
1015
1021
  # Uncompressed raw byte content for flow.
1016
1022
  # @param import_option [::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest::ImportOption]
@@ -1126,6 +1132,12 @@ module Google
1126
1132
  # export the flow to. The format of this URI must be
1127
1133
  # `gs://<bucket-name>/<object-name>`.
1128
1134
  # If left unspecified, the serialized flow is returned inline.
1135
+ #
1136
+ # Dialogflow performs a write operation for the Cloud Storage object
1137
+ # on the caller's behalf, so your request authentication must
1138
+ # have write permissions for the object. For more information, see
1139
+ # [Dialogflow access
1140
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
1129
1141
  # @param include_referenced_flows [::Boolean]
1130
1142
  # Optional. Whether to export flows referenced by the specified flow.
1131
1143
  #
@@ -2,10 +2,8 @@
2
2
  # source: google/cloud/dialogflow/cx/v3/fulfillment.proto
3
3
 
4
4
  require 'google/api/resource_pb'
5
- require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
6
5
  require 'google/cloud/dialogflow/cx/v3/response_message_pb'
7
6
  require 'google/protobuf/struct_pb'
8
- require 'google/api/annotations_pb'
9
7
  require 'google/protobuf'
10
8
 
11
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -5,10 +5,8 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/longrunning/operations_pb'
9
8
  require 'google/protobuf/empty_pb'
10
9
  require 'google/protobuf/field_mask_pb'
11
- require 'google/protobuf/timestamp_pb'
12
10
  require 'google/protobuf'
13
11
 
14
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -5,7 +5,6 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
9
8
  require 'google/cloud/dialogflow/cx/v3/fulfillment_pb'
10
9
  require 'google/protobuf/empty_pb'
11
10
  require 'google/protobuf/field_mask_pb'
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/api/field_behavior_pb'
5
5
  require 'google/protobuf/struct_pb'
6
- require 'google/api/annotations_pb'
7
6
  require 'google/protobuf'
8
7
 
9
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -5,7 +5,6 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/longrunning/operations_pb'
9
8
  require 'google/protobuf/empty_pb'
10
9
  require 'google/protobuf/field_mask_pb'
11
10
  require 'google/protobuf'
@@ -2,11 +2,10 @@
2
2
  # source: google/cloud/dialogflow/cx/v3/session.proto
3
3
 
4
4
  require 'google/api/annotations_pb'
5
+ require 'google/api/client_pb'
5
6
  require 'google/api/field_behavior_pb'
6
7
  require 'google/api/resource_pb'
7
- require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
8
8
  require 'google/cloud/dialogflow/cx/v3/audio_config_pb'
9
- require 'google/cloud/dialogflow/cx/v3/flow_pb'
10
9
  require 'google/cloud/dialogflow/cx/v3/intent_pb'
11
10
  require 'google/cloud/dialogflow/cx/v3/page_pb'
12
11
  require 'google/cloud/dialogflow/cx/v3/response_message_pb'
@@ -15,7 +14,6 @@ require 'google/protobuf/duration_pb'
15
14
  require 'google/protobuf/struct_pb'
16
15
  require 'google/rpc/status_pb'
17
16
  require 'google/type/latlng_pb'
18
- require 'google/api/client_pb'
19
17
  require 'google/protobuf'
20
18
 
21
19
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -41,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
41
  add_message "google.cloud.dialogflow.cx.v3.TestConfig" do
42
42
  repeated :tracking_parameters, :string, 1
43
43
  optional :flow, :string, 2
44
+ optional :page, :string, 3
44
45
  end
45
46
  add_message "google.cloud.dialogflow.cx.v3.ConversationTurn" do
46
47
  optional :user_input, :message, 1, "google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput"
@@ -66,7 +66,7 @@ module Google
66
66
  # Calculates the test coverage for an agent.
67
67
  rpc :CalculateCoverage, ::Google::Cloud::Dialogflow::CX::V3::CalculateCoverageRequest, ::Google::Cloud::Dialogflow::CX::V3::CalculateCoverageResponse
68
68
  # Imports the test cases from a Cloud Storage bucket or a local file. It
69
- # always creates new test cases and won't overwite any existing ones. The
69
+ # always creates new test cases and won't overwrite any existing ones. The
70
70
  # provided ID in the imported test case is neglected.
71
71
  #
72
72
  # This method is a [long-running
@@ -921,7 +921,7 @@ module Google
921
921
 
922
922
  ##
923
923
  # Imports the test cases from a Cloud Storage bucket or a local file. It
924
- # always creates new test cases and won't overwite any existing ones. The
924
+ # always creates new test cases and won't overwrite any existing ones. The
925
925
  # provided ID in the imported test case is neglected.
926
926
  #
927
927
  # This method is a [long-running
@@ -953,6 +953,12 @@ module Google
953
953
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
954
954
  # to import test cases from. The format of this URI must be
955
955
  # `gs://<bucket-name>/<object-name>`.
956
+ #
957
+ # Dialogflow performs a read operation for the Cloud Storage object
958
+ # on the caller's behalf, so your request authentication must
959
+ # have read permissions for the object. For more information, see
960
+ # [Dialogflow access
961
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
956
962
  # @param content [::String]
957
963
  # Uncompressed raw byte content for test cases.
958
964
  #
@@ -1062,6 +1068,12 @@ module Google
1062
1068
  # export the test cases to. The format of this URI must be
1063
1069
  # `gs://<bucket-name>/<object-name>`. If unspecified, the serialized test
1064
1070
  # cases is returned inline.
1071
+ #
1072
+ # Dialogflow performs a write operation for the Cloud Storage object
1073
+ # on the caller's behalf, so your request authentication must
1074
+ # have write permissions for the object. For more information, see
1075
+ # [Dialogflow access
1076
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
1065
1077
  # @param data_format [::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest::DataFormat]
1066
1078
  # The data format of the exported test cases. If not specified, `BLOB` is
1067
1079
  # assumed.
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/validation_message.proto
3
3
 
4
- require 'google/protobuf/struct_pb'
5
- require 'google/api/annotations_pb'
6
4
  require 'google/protobuf'
7
5
 
8
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- VERSION = "0.5.0"
25
+ VERSION = "0.7.1"
26
26
  end
27
27
  end
28
28
  end
@@ -5,12 +5,7 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/cloud/dialogflow/cx/v3/entity_type_pb'
9
8
  require 'google/cloud/dialogflow/cx/v3/flow_pb'
10
- require 'google/cloud/dialogflow/cx/v3/intent_pb'
11
- require 'google/cloud/dialogflow/cx/v3/page_pb'
12
- require 'google/cloud/dialogflow/cx/v3/transition_route_group_pb'
13
- require 'google/cloud/dialogflow/cx/v3/webhook_pb'
14
9
  require 'google/longrunning/operations_pb'
15
10
  require 'google/protobuf/empty_pb'
16
11
  require 'google/protobuf/field_mask_pb'
@@ -18,7 +18,6 @@
18
18
 
19
19
  require "google/cloud/dialogflow/cx/v3/pages"
20
20
  require "google/cloud/dialogflow/cx/v3/flows"
21
- require "google/cloud/dialogflow/cx/v3/security_settings_service"
22
21
  require "google/cloud/dialogflow/cx/v3/agents"
23
22
  require "google/cloud/dialogflow/cx/v3/changelogs"
24
23
  require "google/cloud/dialogflow/cx/v3/deployments"
@@ -28,10 +27,11 @@ require "google/cloud/dialogflow/cx/v3/session_entity_types"
28
27
  require "google/cloud/dialogflow/cx/v3/sessions"
29
28
  require "google/cloud/dialogflow/cx/v3/transition_route_groups"
30
29
  require "google/cloud/dialogflow/cx/v3/test_cases"
31
- require "google/cloud/dialogflow/cx/v3/webhooks"
32
30
  require "google/cloud/dialogflow/cx/v3/environments"
33
31
  require "google/cloud/dialogflow/cx/v3/experiments"
32
+ require "google/cloud/dialogflow/cx/v3/security_settings_service"
34
33
  require "google/cloud/dialogflow/cx/v3/versions"
34
+ require "google/cloud/dialogflow/cx/v3/webhooks"
35
35
  require "google/cloud/dialogflow/cx/v3/version"
36
36
 
37
37
  module Google
@@ -41,6 +41,8 @@ module Google
41
41
  ##
42
42
  # To load this package, including all its services, and instantiate a client:
43
43
  #
44
+ # @example
45
+ #
44
46
  # require "google/cloud/dialogflow/cx/v3"
45
47
  # client = ::Google::Cloud::Dialogflow::CX::V3::Pages::Client.new
46
48
  #
@@ -98,6 +98,10 @@ module Google
98
98
  # @return [::Boolean]
99
99
  # Indicates if automatic spell correction is enabled in detect intent
100
100
  # requests.
101
+ # @!attribute [rw] locked
102
+ # @return [::Boolean]
103
+ # Indiciates whether the agent is locked for changes. If the agent is locked,
104
+ # modifications to the agent will be rejected except for [RestoreAgent][].
101
105
  # @!attribute [rw] advanced_settings
102
106
  # @return [::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings]
103
107
  # Hierarchical advanced settings for this agent. The settings exposed at the
@@ -195,6 +199,15 @@ module Google
195
199
  # export the agent to. The format of this URI must be
196
200
  # `gs://<bucket-name>/<object-name>`.
197
201
  # If left unspecified, the serialized agent is returned inline.
202
+ #
203
+ # Dialogflow performs a write operation for the Cloud Storage object
204
+ # on the caller's behalf, so your request authentication must
205
+ # have write permissions for the object. For more information, see
206
+ # [Dialogflow access
207
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
208
+ # @!attribute [rw] data_format
209
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest::DataFormat]
210
+ # Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
198
211
  # @!attribute [rw] environment
199
212
  # @return [::String]
200
213
  # Optional. Environment name. If not set, draft environment is assumed.
@@ -203,6 +216,15 @@ module Google
203
216
  class ExportAgentRequest
204
217
  include ::Google::Protobuf::MessageExts
205
218
  extend ::Google::Protobuf::MessageExts::ClassMethods
219
+
220
+ # Data format of the exported agent.
221
+ module DataFormat
222
+ # Unspecified format.
223
+ DATA_FORMAT_UNSPECIFIED = 0
224
+
225
+ # Agent content will be exported as raw bytes.
226
+ BLOB = 1
227
+ end
206
228
  end
207
229
 
208
230
  # The response message for {::Google::Cloud::Dialogflow::CX::V3::Agents::Client#export_agent Agents.ExportAgent}.
@@ -228,6 +250,12 @@ module Google
228
250
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
229
251
  # to restore agent from. The format of this URI must be
230
252
  # `gs://<bucket-name>/<object-name>`.
253
+ #
254
+ # Dialogflow performs a read operation for the Cloud Storage object
255
+ # on the caller's behalf, so your request authentication must
256
+ # have read permissions for the object. For more information, see
257
+ # [Dialogflow access
258
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
231
259
  # @!attribute [rw] agent_content
232
260
  # @return [::String]
233
261
  # Uncompressed raw byte content for agent.
@@ -78,7 +78,7 @@ module Google
78
78
  # @!attribute [rw] enable_continuous_run
79
79
  # @return [::Boolean]
80
80
  # Whether to run test cases in {::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig#test_cases TestCasesConfig.test_cases} periodically.
81
- # Default false. If set to ture, run once a day.
81
+ # Default false. If set to true, run once a day.
82
82
  # @!attribute [rw] enable_predeployment_run
83
83
  # @return [::Boolean]
84
84
  # Whether to run test cases in {::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig#test_cases TestCasesConfig.test_cases} before
@@ -108,7 +108,7 @@ module Google
108
108
  #
109
109
  # TransitionRoutes are evalauted in the following order:
110
110
  #
111
- # * TransitionRoutes with intent specified..
111
+ # * TransitionRoutes with intent specified.
112
112
  # * TransitionRoutes with only condition specified.
113
113
  #
114
114
  # TransitionRoutes with intent specified are inherited by pages in the flow.
@@ -361,6 +361,12 @@ module Google
361
361
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
362
362
  # to import flow from. The format of this URI must be
363
363
  # `gs://<bucket-name>/<object-name>`.
364
+ #
365
+ # Dialogflow performs a read operation for the Cloud Storage object
366
+ # on the caller's behalf, so your request authentication must
367
+ # have read permissions for the object. For more information, see
368
+ # [Dialogflow access
369
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
364
370
  # @!attribute [rw] flow_content
365
371
  # @return [::String]
366
372
  # Uncompressed raw byte content for flow.
@@ -411,6 +417,12 @@ module Google
411
417
  # export the flow to. The format of this URI must be
412
418
  # `gs://<bucket-name>/<object-name>`.
413
419
  # If left unspecified, the serialized flow is returned inline.
420
+ #
421
+ # Dialogflow performs a write operation for the Cloud Storage object
422
+ # on the caller's behalf, so your request authentication must
423
+ # have write permissions for the object. For more information, see
424
+ # [Dialogflow access
425
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
414
426
  # @!attribute [rw] include_referenced_flows
415
427
  # @return [::Boolean]
416
428
  # Optional. Whether to export flows referenced by the specified flow.
@@ -54,7 +54,11 @@ module Google
54
54
  # that have slow webhooks.
55
55
  # @!attribute [rw] tag
56
56
  # @return [::String]
57
- # The tag used by the webhook to identify which fulfillment is being called.
57
+ # The value of this field will be populated in the {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}
58
+ # `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is
59
+ # called.
60
+ # The tag is typically used by the webhook service to identify which
61
+ # fulfillment is being called, but it could be used for other purposes.
58
62
  # This field is required if `webhook` is specified.
59
63
  # @!attribute [rw] set_parameter_actions
60
64
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Fulfillment::SetParameterAction>]
@@ -47,7 +47,7 @@ module Google
47
47
  # ID>/flows/<Flow ID>/pages/<Page ID>`.
48
48
  # @!attribute [rw] display_name
49
49
  # @return [::String]
50
- # Required. The human-readable name of the page, unique within the agent.
50
+ # Required. The human-readable name of the page, unique within the flow.
51
51
  # @!attribute [rw] entry_fulfillment
52
52
  # @return [::Google::Cloud::Dialogflow::CX::V3::Fulfillment]
53
53
  # The fulfillment to call when the session is entering the page.
@@ -188,7 +188,7 @@ module Google
188
188
  extend ::Google::Protobuf::MessageExts::ClassMethods
189
189
 
190
190
  # Settings for exporting conversations to
191
- # [Insights](https://cloud.google.com/dialogflow/priv/docs/insights).
191
+ # [Insights](https://cloud.google.com/contact-center/insights/docs).
192
192
  # @!attribute [rw] enable_insights_export
193
193
  # @return [::Boolean]
194
194
  # If enabled, we will automatically exports
@@ -356,16 +356,14 @@ module Google
356
356
  # map, associative array, symbol table, dictionary, or JSON object
357
357
  # composed of a collection of (MapKey, MapValue) pairs:
358
358
  #
359
- # - MapKey type: string
360
- # - MapKey value: parameter name
361
- # - MapValue type:
362
- # - If parameter's entity type is a composite entity: map
363
- # - Else: depending on parameter value type, could be one of string,
364
- # number, boolean, null, list or map
365
- # - MapValue value:
366
- # - If parameter's entity type is a composite entity:
367
- # map from composite entity property names to property values
368
- # - Else: parameter value
359
+ # * MapKey type: string
360
+ # * MapKey value: parameter name
361
+ # * MapValue type: If parameter's entity type is a composite entity then use
362
+ # map, otherwise, depending on the parameter value type, it could be one of
363
+ # string, number, boolean, null, list or map.
364
+ # * MapValue value: If parameter's entity type is a composite entity then use
365
+ # map from composite entity property names to property values, otherwise,
366
+ # use parameter value.
369
367
  # @!attribute [rw] current_page
370
368
  # @return [::String]
371
369
  # The unique identifier of the {::Google::Cloud::Dialogflow::CX::V3::Page page} to override the [current
@@ -493,16 +491,14 @@ module Google
493
491
  # map, associative array, symbol table, dictionary, or JSON object
494
492
  # composed of a collection of (MapKey, MapValue) pairs:
495
493
  #
496
- # - MapKey type: string
497
- # - MapKey value: parameter name
498
- # - MapValue type:
499
- # - If parameter's entity type is a composite entity: map
500
- # - Else: depending on parameter value type, could be one of string,
501
- # number, boolean, null, list or map
502
- # - MapValue value:
503
- # - If parameter's entity type is a composite entity:
504
- # map from composite entity property names to property values
505
- # - Else: parameter value
494
+ # * MapKey type: string
495
+ # * MapKey value: parameter name
496
+ # * MapValue type: If parameter's entity type is a composite entity then use
497
+ # map, otherwise, depending on the parameter value type, it could be one of
498
+ # string, number, boolean, null, list or map.
499
+ # * MapValue value: If parameter's entity type is a composite entity then use
500
+ # map from composite entity property names to property values, otherwise,
501
+ # use parameter value.
506
502
  # @!attribute [rw] response_messages
507
503
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage>]
508
504
  # The list of rich messages returned to the client. Responses vary from
@@ -624,8 +620,9 @@ module Google
624
620
  # filled for {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `INTENT`} match type.
625
621
  # @!attribute [rw] event
626
622
  # @return [::String]
627
- # The event that matched the query. Only filled for
628
- # {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `EVENT`} match type.
623
+ # The event that matched the query. Filled for
624
+ # {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `EVENT`}, {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `NO_MATCH`} and
625
+ # {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `NO_INPUT`} match types.
629
626
  # @!attribute [rw] parameters
630
627
  # @return [::Google::Protobuf::Struct]
631
628
  # The collection of parameters extracted from the query.
@@ -634,16 +631,14 @@ module Google
634
631
  # map, associative array, symbol table, dictionary, or JSON object
635
632
  # composed of a collection of (MapKey, MapValue) pairs:
636
633
  #
637
- # - MapKey type: string
638
- # - MapKey value: parameter name
639
- # - MapValue type:
640
- # - If parameter's entity type is a composite entity: map
641
- # - Else: depending on parameter value type, could be one of string,
642
- # number, boolean, null, list or map
643
- # - MapValue value:
644
- # - If parameter's entity type is a composite entity:
645
- # map from composite entity property names to property values
646
- # - Else: parameter value
634
+ # * MapKey type: string
635
+ # * MapKey value: parameter name
636
+ # * MapValue type: If parameter's entity type is a composite entity then use
637
+ # map, otherwise, depending on the parameter value type, it could be one of
638
+ # string, number, boolean, null, list or map.
639
+ # * MapValue value: If parameter's entity type is a composite entity then use
640
+ # map from composite entity property names to property values, otherwise,
641
+ # use parameter value.
647
642
  # @!attribute [rw] resolved_input
648
643
  # @return [::String]
649
644
  # Final text input which was matched during MatchIntent. This value can be
@@ -91,9 +91,24 @@ module Google
91
91
  # Session parameters to be compared when calculating differences.
92
92
  # @!attribute [rw] flow
93
93
  # @return [::String]
94
- # Flow name. If not set, default start flow is assumed.
94
+ # Flow name to start the test case with.
95
95
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
96
96
  # ID>/flows/<Flow ID>`.
97
+ #
98
+ # Only one of `flow` and `page` should be set to indicate the starting point
99
+ # of the test case. If both are set, `page` takes precedence over `flow`. If
100
+ # neither is set, the test case will start with start page on the default
101
+ # start flow.
102
+ # @!attribute [rw] page
103
+ # @return [::String]
104
+ # The {::Google::Cloud::Dialogflow::CX::V3::Page page} to start the test case with.
105
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
106
+ # ID>/flows/<Flow ID>/pages/<Page ID>`.
107
+ #
108
+ # Only one of `flow` and `page` should be set to indicate the starting point
109
+ # of the test case. If both are set, `page` takes precedence over `flow`. If
110
+ # neither is set, the test case will start with start page on the default
111
+ # start flow.
97
112
  class TestConfig
98
113
  include ::Google::Protobuf::MessageExts
99
114
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -565,6 +580,12 @@ module Google
565
580
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
566
581
  # to import test cases from. The format of this URI must be
567
582
  # `gs://<bucket-name>/<object-name>`.
583
+ #
584
+ # Dialogflow performs a read operation for the Cloud Storage object
585
+ # on the caller's behalf, so your request authentication must
586
+ # have read permissions for the object. For more information, see
587
+ # [Dialogflow access
588
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
568
589
  # @!attribute [rw] content
569
590
  # @return [::String]
570
591
  # Uncompressed raw byte content for test cases.
@@ -617,6 +638,12 @@ module Google
617
638
  # export the test cases to. The format of this URI must be
618
639
  # `gs://<bucket-name>/<object-name>`. If unspecified, the serialized test
619
640
  # cases is returned inline.
641
+ #
642
+ # Dialogflow performs a write operation for the Cloud Storage object
643
+ # on the caller's behalf, so your request authentication must
644
+ # have write permissions for the object. For more information, see
645
+ # [Dialogflow access
646
+ # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
620
647
  # @!attribute [rw] data_format
621
648
  # @return [::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest::DataFormat]
622
649
  # The data format of the exported test cases. If not specified, `BLOB` is
@@ -34,7 +34,7 @@ module Google
34
34
  # @!attribute [rw] display_name
35
35
  # @return [::String]
36
36
  # Required. The human-readable name of the transition route group, unique within
37
- # the {::Google::Cloud::Dialogflow::CX::V3::Agent Agent}. The display name can be no longer than 30 characters.
37
+ # the flow. The display name can be no longer than 30 characters.
38
38
  # @!attribute [rw] transition_routes
39
39
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::TransitionRoute>]
40
40
  # Transition routes associated with the {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}.
@@ -78,10 +78,12 @@ module Google
78
78
  # N.B. Make sure the HTTPS server certificates are signed with "subject alt
79
79
  # name". For instance a certificate can be self-signed using the following
80
80
  # command,
81
+ # ```
81
82
  # openssl x509 -req -days 200 -in example.com.csr \
82
83
  # -signkey example.com.key \
83
84
  # -out example.com.crt \
84
85
  # -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
86
+ # ```
85
87
  class GenericWebService
86
88
  include ::Google::Protobuf::MessageExts
87
89
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -265,8 +267,11 @@ module Google
265
267
  # Represents fulfillment information communicated to the webhook.
266
268
  # @!attribute [rw] tag
267
269
  # @return [::String]
268
- # Always present. The tag used to identify which fulfillment is being
269
- # called.
270
+ # Always present.
271
+ # The value of the {::Google::Cloud::Dialogflow::CX::V3::Fulfillment#tag Fulfillment.tag} field will be populated in this
272
+ # field by Dialogflow when the associated webhook is called.
273
+ # The tag is typically used by the webhook service to identify which
274
+ # fulfillment is being called, but it could be used for other purposes.
270
275
  class FulfillmentInfo
271
276
  include ::Google::Protobuf::MessageExts
272
277
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.5.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  - !ruby/object:Gem::Version
336
336
  version: '0'
337
337
  requirements: []
338
- rubygems_version: 3.3.4
338
+ rubygems_version: 3.3.5
339
339
  signing_key:
340
340
  specification_version: 4
341
341
  summary: API Client library for the Dialogflow CX V3 API