google-cloud-dialogflow-cx-v3 0.7.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +8 -1
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +42 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +17 -1
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +15 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +53 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +16 -2
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +2 -2
- metadata +23 -3
@@ -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
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/security_settings_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@security_settings_service_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -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
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/session_entity_type_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@session_entity_types_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::SessionEntityTypes::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -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
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/session_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -148,6 +149,12 @@ module Google
|
|
148
149
|
@quota_project_id = @config.quota_project
|
149
150
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
150
151
|
|
152
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
153
|
+
config.credentials = credentials
|
154
|
+
config.quota_project = @quota_project_id
|
155
|
+
config.endpoint = @config.endpoint
|
156
|
+
end
|
157
|
+
|
151
158
|
@sessions_stub = ::Gapic::ServiceStub.new(
|
152
159
|
::Google::Cloud::Dialogflow::CX::V3::Sessions::Stub,
|
153
160
|
credentials: credentials,
|
@@ -157,6 +164,13 @@ module Google
|
|
157
164
|
)
|
158
165
|
end
|
159
166
|
|
167
|
+
##
|
168
|
+
# Get the associated client for mix-in of the Locations.
|
169
|
+
#
|
170
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
171
|
+
#
|
172
|
+
attr_reader :location_client
|
173
|
+
|
160
174
|
# Service calls
|
161
175
|
|
162
176
|
##
|
@@ -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
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/test_case_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -146,6 +147,12 @@ module Google
|
|
146
147
|
config.endpoint = @config.endpoint
|
147
148
|
end
|
148
149
|
|
150
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
151
|
+
config.credentials = credentials
|
152
|
+
config.quota_project = @quota_project_id
|
153
|
+
config.endpoint = @config.endpoint
|
154
|
+
end
|
155
|
+
|
149
156
|
@test_cases_stub = ::Gapic::ServiceStub.new(
|
150
157
|
::Google::Cloud::Dialogflow::CX::V3::TestCases::Stub,
|
151
158
|
credentials: credentials,
|
@@ -162,6 +169,13 @@ module Google
|
|
162
169
|
#
|
163
170
|
attr_reader :operations_client
|
164
171
|
|
172
|
+
##
|
173
|
+
# Get the associated client for mix-in of the Locations.
|
174
|
+
#
|
175
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
176
|
+
#
|
177
|
+
attr_reader :location_client
|
178
|
+
|
165
179
|
# Service calls
|
166
180
|
|
167
181
|
##
|
@@ -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
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/transition_route_group_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@transition_route_groups_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -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
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/version_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -145,6 +146,12 @@ module Google
|
|
145
146
|
config.endpoint = @config.endpoint
|
146
147
|
end
|
147
148
|
|
149
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
150
|
+
config.credentials = credentials
|
151
|
+
config.quota_project = @quota_project_id
|
152
|
+
config.endpoint = @config.endpoint
|
153
|
+
end
|
154
|
+
|
148
155
|
@versions_stub = ::Gapic::ServiceStub.new(
|
149
156
|
::Google::Cloud::Dialogflow::CX::V3::Versions::Stub,
|
150
157
|
credentials: credentials,
|
@@ -161,6 +168,13 @@ module Google
|
|
161
168
|
#
|
162
169
|
attr_reader :operations_client
|
163
170
|
|
171
|
+
##
|
172
|
+
# Get the associated client for mix-in of the Locations.
|
173
|
+
#
|
174
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
175
|
+
#
|
176
|
+
attr_reader :location_client
|
177
|
+
|
164
178
|
# Service calls
|
165
179
|
|
166
180
|
##
|
@@ -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
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/webhook_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@webhooks_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::Webhooks::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -27,11 +27,11 @@ require "google/cloud/dialogflow/cx/v3/session_entity_types"
|
|
27
27
|
require "google/cloud/dialogflow/cx/v3/sessions"
|
28
28
|
require "google/cloud/dialogflow/cx/v3/transition_route_groups"
|
29
29
|
require "google/cloud/dialogflow/cx/v3/test_cases"
|
30
|
+
require "google/cloud/dialogflow/cx/v3/webhooks"
|
30
31
|
require "google/cloud/dialogflow/cx/v3/environments"
|
31
32
|
require "google/cloud/dialogflow/cx/v3/experiments"
|
32
33
|
require "google/cloud/dialogflow/cx/v3/security_settings_service"
|
33
34
|
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
|
@@ -100,7 +100,7 @@ module Google
|
|
100
100
|
# requests.
|
101
101
|
# @!attribute [rw] locked
|
102
102
|
# @return [::Boolean]
|
103
|
-
#
|
103
|
+
# Indicates whether the agent is locked for changes. If the agent is locked,
|
104
104
|
# modifications to the agent will be rejected except for [RestoreAgent][].
|
105
105
|
# @!attribute [rw] advanced_settings
|
106
106
|
# @return [::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings]
|
@@ -55,6 +55,9 @@ module Google
|
|
55
55
|
# @!attribute [rw] test_cases_config
|
56
56
|
# @return [::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig]
|
57
57
|
# The test cases config for continuous tests of this environment.
|
58
|
+
# @!attribute [rw] webhook_config
|
59
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Environment::WebhookConfig]
|
60
|
+
# The webhook configuration for this environment.
|
58
61
|
class Environment
|
59
62
|
include ::Google::Protobuf::MessageExts
|
60
63
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -87,6 +90,18 @@ module Google
|
|
87
90
|
include ::Google::Protobuf::MessageExts
|
88
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
92
|
end
|
93
|
+
|
94
|
+
# Configuration for webhooks.
|
95
|
+
# @!attribute [rw] webhook_overrides
|
96
|
+
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Webhook>]
|
97
|
+
# The list of webhooks to override for the agent environment. The webhook
|
98
|
+
# must exist in the agent. You can override fields in
|
99
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Webhook#generic_web_service `generic_web_service`} and
|
100
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Webhook#service_directory `service_directory`}.
|
101
|
+
class WebhookConfig
|
102
|
+
include ::Google::Protobuf::MessageExts
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
|
+
end
|
90
105
|
end
|
91
106
|
|
92
107
|
# The request message for {::Google::Cloud::Dialogflow::CX::V3::Environments::Client#list_environments Environments.ListEnvironments}.
|
@@ -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
|
@@ -537,8 +537,22 @@ module Google
|
|
537
537
|
# @!attribute [rw] diagnostic_info
|
538
538
|
# @return [::Google::Protobuf::Struct]
|
539
539
|
# The free-form diagnostic info. For example, this field could contain
|
540
|
-
# webhook call latency. The
|
541
|
-
#
|
540
|
+
# webhook call latency. The fields of this data can change without notice,
|
541
|
+
# so you should not write code that depends on its structure.
|
542
|
+
#
|
543
|
+
# One of the fields is called "Alternative Matched Intents", which may
|
544
|
+
# aid with debugging. The following describes these intent results:
|
545
|
+
#
|
546
|
+
# - The list is empty if no intent was matched to end-user input.
|
547
|
+
# - Only intents that are referenced in the currently active flow are
|
548
|
+
# included.
|
549
|
+
# - The matched intent is included.
|
550
|
+
# - Other intents that could have matched end-user input, but did not match
|
551
|
+
# because they are referenced by intent routes that are out of
|
552
|
+
# [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
|
553
|
+
# are included.
|
554
|
+
# - Other intents referenced by intent routes in scope that matched end-user
|
555
|
+
# input, but had a lower confidence score.
|
542
556
|
# @!attribute [rw] sentiment_analysis_result
|
543
557
|
# @return [::Google::Cloud::Dialogflow::CX::V3::SentimentAnalysisResult]
|
544
558
|
# The sentiment analyss result, which depends on
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
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
|
-
#
|
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
|
50
|
-
# variants
|
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.
|
4
|
+
version: 0.9.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-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,6 +44,26 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -335,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
355
|
- !ruby/object:Gem::Version
|
336
356
|
version: '0'
|
337
357
|
requirements: []
|
338
|
-
rubygems_version: 3.3.
|
358
|
+
rubygems_version: 3.3.14
|
339
359
|
signing_key:
|
340
360
|
specification_version: 4
|
341
361
|
summary: API Client library for the Dialogflow CX V3 API
|