google-cloud-dialogflow-cx-v3 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +2 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +9 -1
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +3 -1
  5. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +2 -1
  6. data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +2 -1
  7. data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +2 -1
  8. data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +2 -1
  9. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +2 -1
  10. data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +2 -1
  11. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -1
  12. data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +2 -1
  13. data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +2 -1
  14. data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +2 -1
  15. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +2 -1
  16. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +17 -1
  17. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +2 -1
  18. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +2 -1
  19. data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +2 -1
  20. data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +1 -1
  21. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +1 -1
  22. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +2 -1
  23. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  24. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +2 -1
  25. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +2 -1
  26. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +16 -0
  27. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +1 -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 +53 -0
  31. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +24 -30
  32. data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +1 -1
  33. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +7 -2
  34. data/proto_docs/google/protobuf/any.rb +3 -3
  35. data/proto_docs/google/protobuf/struct.rb +2 -2
  36. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62a8a51082300c837aea56ca47db06fab878d7f92855bafbeae16f942c8ee185
4
- data.tar.gz: 56f0814b99f365f2c841a6634fd3f35a2b82445ecc21405a0c6ce5c7917ced65
3
+ metadata.gz: b76026db42b4fc1e8113484497ba7a842ee3d00415ed5538c423ed71dddcddd8
4
+ data.tar.gz: 615ce2ea0b51fb6f66d5ec877db499a876f9936d30dfe6fbf98a7cd9da20b6ce
5
5
  SHA512:
6
- metadata.gz: 83a0d0acc63fad59bc25e513233204ba567283bbe6cec5e8f73f2a9e5b3c9e32660a4b0dabcc188b54e18215ae07e67553f324e47c55e9cdbb98ed82f89e2924
7
- data.tar.gz: ddff91c59f8c13fbd5a669f05c5ec772c8e08509bef6676f06eb1235dd1b5002b82dc0ab37698fb45489a106f022c8924666452c4c5526c1d6aaa56a80639476
6
+ metadata.gz: b0cd9fef3bc9bb1e055c7fd3c28b7aefb37438025aa732ef3e262c76fa9d12b9fe46b0efef273ec8e0e8d7fea7f0ee88e65f64e2bcdc773a4b1b4eca32793ee8
7
+ data.tar.gz: bd42cc5a5405cdca011b62969c8fc41348985acd27f1fb62b80d0c466e281a364810c03203e9c3c280d929db35a87f5e89510182cc5625b97c614d9441a4319c
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/advanced_settings.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/dialogflow/cx/v3/advanced_settings.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.dialogflow.cx.v3.AdvancedSettings" do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/agent.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/cloud/dialogflow/cx/v3/flow_pb'
10
12
  require 'google/longrunning/operations_pb'
11
13
  require 'google/protobuf/empty_pb'
12
14
  require 'google/protobuf/field_mask_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/dialogflow/cx/v3/agent.proto", :syntax => :proto3) do
@@ -30,6 +31,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
30
31
  optional :security_settings, :string, 17
31
32
  optional :enable_stackdriver_logging, :bool, 18
32
33
  optional :enable_spell_correction, :bool, 20
34
+ optional :locked, :bool, 27
33
35
  optional :advanced_settings, :message, 22, "google.cloud.dialogflow.cx.v3.AdvancedSettings"
34
36
  end
35
37
  add_message "google.cloud.dialogflow.cx.v3.ListAgentsRequest" do
@@ -58,8 +60,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
58
60
  add_message "google.cloud.dialogflow.cx.v3.ExportAgentRequest" do
59
61
  optional :name, :string, 1
60
62
  optional :agent_uri, :string, 2
63
+ optional :data_format, :enum, 3, "google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat"
61
64
  optional :environment, :string, 5
62
65
  end
66
+ add_enum "google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat" do
67
+ value :DATA_FORMAT_UNSPECIFIED, 0
68
+ value :BLOB, 1
69
+ end
63
70
  add_message "google.cloud.dialogflow.cx.v3.ExportAgentResponse" do
64
71
  oneof :agent do
65
72
  optional :agent_uri, :string, 1
@@ -108,6 +115,7 @@ module Google
108
115
  UpdateAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateAgentRequest").msgclass
109
116
  DeleteAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteAgentRequest").msgclass
110
117
  ExportAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest").msgclass
118
+ ExportAgentRequest::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat").enummodule
111
119
  ExportAgentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentResponse").msgclass
112
120
  RestoreAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest").msgclass
113
121
  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).
@@ -657,6 +657,8 @@ module Google
657
657
  # have write permissions for the object. For more information, see
658
658
  # [Dialogflow access
659
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.
660
662
  # @param environment [::String]
661
663
  # Optional. Environment name. If not set, draft environment is assumed.
662
664
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/audio_config.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/duration_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/dialogflow/cx/v3/audio_config.proto", :syntax => :proto3) do
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/changelog.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/protobuf/timestamp_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/dialogflow/cx/v3/changelog.proto", :syntax => :proto3) do
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/deployment.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/protobuf/timestamp_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/dialogflow/cx/v3/deployment.proto", :syntax => :proto3) do
@@ -1,13 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/entity_type.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/protobuf/empty_pb'
9
11
  require 'google/protobuf/field_mask_pb'
10
- require 'google/protobuf'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/cloud/dialogflow/cx/v3/entity_type.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/environment.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/longrunning/operations_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
14
  require 'google/protobuf/timestamp_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/dialogflow/cx/v3/environment.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/experiment.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -9,7 +11,6 @@ require 'google/protobuf/duration_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
13
  require 'google/protobuf/timestamp_pb'
12
- require 'google/protobuf'
13
14
 
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_file("google/cloud/dialogflow/cx/v3/experiment.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/flow.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -11,7 +13,6 @@ require 'google/longrunning/operations_pb'
11
13
  require 'google/protobuf/empty_pb'
12
14
  require 'google/protobuf/field_mask_pb'
13
15
  require 'google/protobuf/timestamp_pb'
14
- require 'google/protobuf'
15
16
 
16
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  add_file("google/cloud/dialogflow/cx/v3/flow.proto", :syntax => :proto3) do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/fulfillment.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/resource_pb'
5
7
  require 'google/cloud/dialogflow/cx/v3/response_message_pb'
6
8
  require 'google/protobuf/struct_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/dialogflow/cx/v3/fulfillment.proto", :syntax => :proto3) do
@@ -1,13 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/intent.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/protobuf/empty_pb'
9
11
  require 'google/protobuf/field_mask_pb'
10
- require 'google/protobuf'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/cloud/dialogflow/cx/v3/intent.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/page.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -9,7 +11,6 @@ require 'google/cloud/dialogflow/cx/v3/fulfillment_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
13
  require 'google/protobuf/struct_pb'
12
- require 'google/protobuf'
13
14
 
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_file("google/cloud/dialogflow/cx/v3/page.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/response_message.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/protobuf/struct_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/dialogflow/cx/v3/response_message.proto", :syntax => :proto3) do
@@ -1,13 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/security_settings.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/protobuf/empty_pb'
9
11
  require 'google/protobuf/field_mask_pb'
10
- require 'google/protobuf'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/cloud/dialogflow/cx/v3/security_settings.proto", :syntax => :proto3) do
@@ -42,11 +43,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
42
43
  optional :inspect_template, :string, 9
43
44
  optional :deidentify_template, :string, 17
44
45
  repeated :purge_data_types, :enum, 8, "google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType"
46
+ optional :audio_export_settings, :message, 12, "google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings"
45
47
  optional :insights_export_settings, :message, 13, "google.cloud.dialogflow.cx.v3.SecuritySettings.InsightsExportSettings"
46
48
  oneof :data_retention do
47
49
  optional :retention_window_days, :int32, 6
48
50
  end
49
51
  end
52
+ add_message "google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings" do
53
+ optional :gcs_bucket, :string, 1
54
+ optional :audio_export_pattern, :string, 2
55
+ optional :enable_audio_redaction, :bool, 3
56
+ optional :audio_format, :enum, 4, "google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings.AudioFormat"
57
+ end
58
+ add_enum "google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings.AudioFormat" do
59
+ value :AUDIO_FORMAT_UNSPECIFIED, 0
60
+ value :MULAW, 1
61
+ value :MP3, 2
62
+ value :OGG, 3
63
+ end
50
64
  add_message "google.cloud.dialogflow.cx.v3.SecuritySettings.InsightsExportSettings" do
51
65
  optional :enable_insights_export, :bool, 1
52
66
  end
@@ -77,6 +91,8 @@ module Google
77
91
  CreateSecuritySettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest").msgclass
78
92
  DeleteSecuritySettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteSecuritySettingsRequest").msgclass
79
93
  SecuritySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings").msgclass
94
+ SecuritySettings::AudioExportSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings").msgclass
95
+ SecuritySettings::AudioExportSettings::AudioFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings.AudioFormat").enummodule
80
96
  SecuritySettings::InsightsExportSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.InsightsExportSettings").msgclass
81
97
  SecuritySettings::RedactionStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy").enummodule
82
98
  SecuritySettings::RedactionScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope").enummodule
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/session_entity_type.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/cloud/dialogflow/cx/v3/entity_type_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/dialogflow/cx/v3/session_entity_type.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/session.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -14,7 +16,6 @@ require 'google/protobuf/duration_pb'
14
16
  require 'google/protobuf/struct_pb'
15
17
  require 'google/rpc/status_pb'
16
18
  require 'google/type/latlng_pb'
17
- require 'google/protobuf'
18
19
 
19
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
21
  add_file("google/cloud/dialogflow/cx/v3/session.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/test_case.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -17,7 +19,6 @@ require 'google/protobuf/field_mask_pb'
17
19
  require 'google/protobuf/struct_pb'
18
20
  require 'google/protobuf/timestamp_pb'
19
21
  require 'google/rpc/status_pb'
20
- require 'google/protobuf'
21
22
 
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("google/cloud/dialogflow/cx/v3/test_case.proto", :syntax => :proto3) do
@@ -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
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/transition_route_group.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/cloud/dialogflow/cx/v3/page_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/dialogflow/cx/v3/transition_route_group.proto", :syntax => :proto3) do
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- VERSION = "0.6.0"
25
+ VERSION = "0.8.0"
26
26
  end
27
27
  end
28
28
  end
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/version.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/longrunning/operations_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
14
  require 'google/protobuf/timestamp_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/dialogflow/cx/v3/version.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/webhook.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/protobuf/duration_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
14
  require 'google/protobuf/struct_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/dialogflow/cx/v3/webhook.proto", :syntax => :proto3) do
@@ -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
@@ -201,6 +205,9 @@ module Google
201
205
  # have write permissions for the object. For more information, see
202
206
  # [Dialogflow access
203
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.
204
211
  # @!attribute [rw] environment
205
212
  # @return [::String]
206
213
  # Optional. Environment name. If not set, draft environment is assumed.
@@ -209,6 +216,15 @@ module Google
209
216
  class ExportAgentRequest
210
217
  include ::Google::Protobuf::MessageExts
211
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
212
228
  end
213
229
 
214
230
  # The response message for {::Google::Cloud::Dialogflow::CX::V3::Agents::Client#export_agent Agents.ExportAgent}.
@@ -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.
@@ -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.
@@ -176,6 +176,21 @@ module Google
176
176
  # @!attribute [rw] purge_data_types
177
177
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::SecuritySettings::PurgeDataType>]
178
178
  # List of types of data to remove when retention settings triggers purge.
179
+ # @!attribute [rw] audio_export_settings
180
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SecuritySettings::AudioExportSettings]
181
+ # Controls audio export settings for post-conversation analytics when
182
+ # ingesting audio to conversations via [Participants.AnalyzeContent][] or
183
+ # [Participants.StreamingAnalyzeContent][].
184
+ #
185
+ # If [retention_strategy][google.cloud.dialogflow.cx.v3.SecuritySettings.retention_strategy] is set to REMOVE_AFTER_CONVERSATION or
186
+ # [audio_export_settings.gcs_bucket][] is empty, audio export is disabled.
187
+ #
188
+ # If audio export is enabled, audio is recorded and saved to
189
+ # [audio_export_settings.gcs_bucket][], subject to retention policy of
190
+ # [audio_export_settings.gcs_bucket][].
191
+ #
192
+ # This setting won't effect audio input for implicit sessions via
193
+ # {::Google::Cloud::Dialogflow::CX::V3::Sessions::Client#detect_intent Sessions.DetectIntent} or {::Google::Cloud::Dialogflow::CX::V3::Sessions::Client#streaming_detect_intent Sessions.StreamingDetectIntent}.
179
194
  # @!attribute [rw] insights_export_settings
180
195
  # @return [::Google::Cloud::Dialogflow::CX::V3::SecuritySettings::InsightsExportSettings]
181
196
  # Controls conversation exporting settings to Insights after conversation is
@@ -187,6 +202,44 @@ module Google
187
202
  include ::Google::Protobuf::MessageExts
188
203
  extend ::Google::Protobuf::MessageExts::ClassMethods
189
204
 
205
+ # Settings for exporting audio.
206
+ # @!attribute [rw] gcs_bucket
207
+ # @return [::String]
208
+ # Cloud Storage bucket to export audio record to. You need to grant
209
+ # `service-<Conversation Project
210
+ # Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object
211
+ # Admin` role in this bucket.
212
+ # @!attribute [rw] audio_export_pattern
213
+ # @return [::String]
214
+ # Filename pattern for exported audio.
215
+ # @!attribute [rw] enable_audio_redaction
216
+ # @return [::Boolean]
217
+ # Enable audio redaction if it is true.
218
+ # @!attribute [rw] audio_format
219
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SecuritySettings::AudioExportSettings::AudioFormat]
220
+ # File format for exported audio file. Currently only in telephony
221
+ # recordings.
222
+ class AudioExportSettings
223
+ include ::Google::Protobuf::MessageExts
224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
225
+
226
+ # File format for exported audio file. Currently only in telephony
227
+ # recordings.
228
+ module AudioFormat
229
+ # Unspecified. Do not use.
230
+ AUDIO_FORMAT_UNSPECIFIED = 0
231
+
232
+ # G.711 mu-law PCM with 8kHz sample rate.
233
+ MULAW = 1
234
+
235
+ # MP3 file format.
236
+ MP3 = 2
237
+
238
+ # OGG Vorbis.
239
+ OGG = 3
240
+ end
241
+ end
242
+
190
243
  # Settings for exporting conversations to
191
244
  # [Insights](https://cloud.google.com/contact-center/insights/docs).
192
245
  # @!attribute [rw] enable_insights_export
@@ -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
@@ -635,16 +631,14 @@ module Google
635
631
  # map, associative array, symbol table, dictionary, or JSON object
636
632
  # composed of a collection of (MapKey, MapValue) pairs:
637
633
  #
638
- # - MapKey type: string
639
- # - MapKey value: parameter name
640
- # - MapValue type:
641
- # - If parameter's entity type is a composite entity: map
642
- # - Else: depending on parameter value type, could be one of string,
643
- # number, boolean, null, list or map
644
- # - MapValue value:
645
- # - If parameter's entity type is a composite entity:
646
- # map from composite entity property names to property values
647
- # - 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.
648
642
  # @!attribute [rw] resolved_input
649
643
  # @return [::String]
650
644
  # Final text input which was matched during MatchIntent. This value can be
@@ -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
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
@@ -46,8 +46,8 @@ module Google
46
46
 
47
47
  # `Value` represents a dynamically typed value which can be either
48
48
  # null, a number, a string, a boolean, a recursive struct value, or a
49
- # list of values. A producer of value is expected to set one of that
50
- # variants, absence of any variant indicates an error.
49
+ # list of values. A producer of value is expected to set one of these
50
+ # variants. Absence of any variant indicates an error.
51
51
  #
52
52
  # The JSON representation for `Value` is JSON value.
53
53
  # @!attribute [rw] null_value
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.6.0
4
+ version: 0.8.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: 2022-03-09 00:00:00.000000000 Z
11
+ date: 2022-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common