google-cloud-dialogflow-v2 1.12.1 → 1.13.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.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/v2/agent_coaching_instruction_pb.rb +47 -0
  3. data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +3 -1
  4. data/lib/google/cloud/dialogflow/v2/answer_records/paths.rb +19 -0
  5. data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +3 -1
  6. data/lib/google/cloud/dialogflow/v2/conversation_event_pb.rb +3 -1
  7. data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -1
  8. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +1 -1
  9. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +3 -1
  10. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +10 -1
  11. data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +19 -0
  12. data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +10 -1
  13. data/lib/google/cloud/dialogflow/v2/document_pb.rb +1 -1
  14. data/lib/google/cloud/dialogflow/v2/generator_evaluation_pb.rb +82 -0
  15. data/lib/google/cloud/dialogflow/v2/generator_evaluation_services_pb.rb +51 -0
  16. data/lib/google/cloud/dialogflow/v2/generator_evaluations/client.rb +815 -0
  17. data/lib/google/cloud/dialogflow/v2/generator_evaluations/credentials.rb +52 -0
  18. data/lib/google/cloud/dialogflow/v2/generator_evaluations/operations.rb +841 -0
  19. data/lib/google/cloud/dialogflow/v2/generator_evaluations/paths.rb +92 -0
  20. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/client.rb +752 -0
  21. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/operations.rb +945 -0
  22. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/service_stub.rb +326 -0
  23. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest.rb +54 -0
  24. data/lib/google/cloud/dialogflow/v2/generator_evaluations.rb +56 -0
  25. data/lib/google/cloud/dialogflow/v2/generator_pb.rb +18 -1
  26. data/lib/google/cloud/dialogflow/v2/generators/paths.rb +19 -0
  27. data/lib/google/cloud/dialogflow/v2/operations_pb.rb +45 -0
  28. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +3 -1
  29. data/lib/google/cloud/dialogflow/v2/rest.rb +3 -0
  30. data/lib/google/cloud/dialogflow/v2/sip_trunk_pb.rb +62 -0
  31. data/lib/google/cloud/dialogflow/v2/sip_trunk_services_pb.rb +53 -0
  32. data/lib/google/cloud/dialogflow/v2/sip_trunks/client.rb +885 -0
  33. data/lib/google/cloud/dialogflow/v2/sip_trunks/credentials.rb +52 -0
  34. data/lib/google/cloud/dialogflow/v2/sip_trunks/paths.rb +69 -0
  35. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/client.rb +815 -0
  36. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/service_stub.rb +388 -0
  37. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest.rb +53 -0
  38. data/lib/google/cloud/dialogflow/v2/sip_trunks.rb +55 -0
  39. data/lib/google/cloud/dialogflow/v2/tool_call_pb.rb +52 -0
  40. data/lib/google/cloud/dialogflow/v2/tool_pb.rb +80 -0
  41. data/lib/google/cloud/dialogflow/v2/tool_services_pb.rb +55 -0
  42. data/lib/google/cloud/dialogflow/v2/tools/client.rb +897 -0
  43. data/lib/google/cloud/dialogflow/v2/tools/credentials.rb +52 -0
  44. data/lib/google/cloud/dialogflow/v2/tools/paths.rb +109 -0
  45. data/lib/google/cloud/dialogflow/v2/tools/rest/client.rb +827 -0
  46. data/lib/google/cloud/dialogflow/v2/tools/rest/service_stub.rb +388 -0
  47. data/lib/google/cloud/dialogflow/v2/tools/rest.rb +55 -0
  48. data/lib/google/cloud/dialogflow/v2/tools.rb +57 -0
  49. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  50. data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +2 -1
  51. data/lib/google/cloud/dialogflow/v2.rb +3 -0
  52. data/proto_docs/google/cloud/dialogflow/v2/agent_coaching_instruction.rb +109 -0
  53. data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +8 -3
  54. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +40 -0
  55. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +19 -2
  56. data/proto_docs/google/cloud/dialogflow/v2/conversation_event.rb +2 -0
  57. data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +12 -0
  58. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +38 -6
  59. data/proto_docs/google/cloud/dialogflow/v2/document.rb +3 -0
  60. data/proto_docs/google/cloud/dialogflow/v2/generator.rb +220 -4
  61. data/proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb +539 -0
  62. data/proto_docs/google/cloud/dialogflow/v2/operations.rb +39 -0
  63. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +70 -7
  64. data/proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb +211 -0
  65. data/proto_docs/google/cloud/dialogflow/v2/tool.rb +552 -0
  66. data/proto_docs/google/cloud/dialogflow/v2/tool_call.rb +115 -0
  67. metadata +39 -1
@@ -0,0 +1,211 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module V2
24
+ # The request message for
25
+ # {::Google::Cloud::Dialogflow::V2::SipTrunks::Client#create_sip_trunk SipTrunks.CreateSipTrunk}.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The location to create a SIP trunk for.
29
+ # Format: `projects/<Project ID>/locations/<Location ID>`.
30
+ # @!attribute [rw] sip_trunk
31
+ # @return [::Google::Cloud::Dialogflow::V2::SipTrunk]
32
+ # Required. The SIP trunk to create.
33
+ class CreateSipTrunkRequest
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+ end
37
+
38
+ # The request message for
39
+ # {::Google::Cloud::Dialogflow::V2::SipTrunks::Client#delete_sip_trunk SipTrunks.DeleteSipTrunk}.
40
+ # @!attribute [rw] name
41
+ # @return [::String]
42
+ # Required. The name of the SIP trunk to delete.
43
+ # Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk
44
+ # ID>`.
45
+ class DeleteSipTrunkRequest
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # The request message for
51
+ # {::Google::Cloud::Dialogflow::V2::SipTrunks::Client#list_sip_trunks SipTrunks.ListSipTrunks}.
52
+ # @!attribute [rw] parent
53
+ # @return [::String]
54
+ # Required. The location to list SIP trunks from.
55
+ # Format: `projects/<Project ID>/locations/<Location ID>`.
56
+ # @!attribute [rw] page_size
57
+ # @return [::Integer]
58
+ # Optional. The maximum number of items to return in a single page. By
59
+ # default 100 and at most 1000.
60
+ # @!attribute [rw] page_token
61
+ # @return [::String]
62
+ # Optional. The next_page_token value returned from a previous list request.
63
+ class ListSipTrunksRequest
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+ end
67
+
68
+ # The response message for
69
+ # {::Google::Cloud::Dialogflow::V2::SipTrunks::Client#list_sip_trunks SipTrunks.ListSipTrunks}.
70
+ # @!attribute [rw] sip_trunks
71
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::SipTrunk>]
72
+ # The list of SIP trunks.
73
+ # @!attribute [rw] next_page_token
74
+ # @return [::String]
75
+ # Token to retrieve the next page of results, or empty if there are no
76
+ # more results in the list.
77
+ class ListSipTrunksResponse
78
+ include ::Google::Protobuf::MessageExts
79
+ extend ::Google::Protobuf::MessageExts::ClassMethods
80
+ end
81
+
82
+ # The request message for
83
+ # {::Google::Cloud::Dialogflow::V2::SipTrunks::Client#get_sip_trunk SipTrunks.GetSipTrunk}.
84
+ # @!attribute [rw] name
85
+ # @return [::String]
86
+ # Required. The name of the SIP trunk to delete.
87
+ # Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk
88
+ # ID>`.
89
+ class GetSipTrunkRequest
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+ end
93
+
94
+ # The request message for
95
+ # {::Google::Cloud::Dialogflow::V2::SipTrunks::Client#update_sip_trunk SipTrunks.UpdateSipTrunk}.
96
+ # @!attribute [rw] sip_trunk
97
+ # @return [::Google::Cloud::Dialogflow::V2::SipTrunk]
98
+ # Required. The SipTrunk to update.
99
+ # @!attribute [rw] update_mask
100
+ # @return [::Google::Protobuf::FieldMask]
101
+ # Optional. The mask to control which fields get updated. If the mask is not
102
+ # present, all fields will be updated.
103
+ class UpdateSipTrunkRequest
104
+ include ::Google::Protobuf::MessageExts
105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
106
+ end
107
+
108
+ # SipTrunk is the resource that represents a SIP trunk to connect to Google
109
+ # Telephony platform SIP trunking service.
110
+ # @!attribute [rw] name
111
+ # @return [::String]
112
+ # Identifier. The unique identifier of the SIP trunk.
113
+ # Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk
114
+ # ID>`.
115
+ # @!attribute [rw] expected_hostname
116
+ # @return [::Array<::String>]
117
+ # Required. The expected hostnames in the peer certificate from partner that
118
+ # is used for TLS authentication.
119
+ # @!attribute [r] connections
120
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Connection>]
121
+ # Output only. Connections of the SIP trunk.
122
+ # @!attribute [rw] display_name
123
+ # @return [::String]
124
+ # Optional. Human readable alias for this trunk.
125
+ class SipTrunk
126
+ include ::Google::Protobuf::MessageExts
127
+ extend ::Google::Protobuf::MessageExts::ClassMethods
128
+ end
129
+
130
+ # Represents a connection for SIP Trunk.
131
+ # @!attribute [r] connection_id
132
+ # @return [::String]
133
+ # Output only. The unique identifier of the SIP Trunk connection.
134
+ # @!attribute [r] state
135
+ # @return [::Google::Cloud::Dialogflow::V2::Connection::State]
136
+ # Output only. State of the connection.
137
+ # @!attribute [r] update_time
138
+ # @return [::Google::Protobuf::Timestamp]
139
+ # Output only. When the connection status changed.
140
+ # @!attribute [r] error_details
141
+ # @return [::Google::Cloud::Dialogflow::V2::Connection::ErrorDetails]
142
+ # Output only. The error details for the connection. Only populated when
143
+ # authentication errors occur.
144
+ class Connection
145
+ include ::Google::Protobuf::MessageExts
146
+ extend ::Google::Protobuf::MessageExts::ClassMethods
147
+
148
+ # The error details of Sip Trunk connection authentication.
149
+ # @!attribute [r] certificate_state
150
+ # @return [::Google::Cloud::Dialogflow::V2::Connection::CertificateState]
151
+ # Output only. The status of the certificate authentication.
152
+ # @!attribute [rw] error_message
153
+ # @return [::String]
154
+ # The error message provided from SIP trunking auth service
155
+ class ErrorDetails
156
+ include ::Google::Protobuf::MessageExts
157
+ extend ::Google::Protobuf::MessageExts::ClassMethods
158
+ end
159
+
160
+ # The state of Sip Trunk connection.
161
+ module State
162
+ # SIP Trunk connection state is Not specified.
163
+ STATE_UNSPECIFIED = 0
164
+
165
+ # SIP Trunk connection is connected.
166
+ CONNECTED = 1
167
+
168
+ # SIP Trunk connection is disconnected.
169
+ DISCONNECTED = 2
170
+
171
+ # SIP Trunk connection has authentication error.
172
+ AUTHENTICATION_FAILED = 3
173
+
174
+ # SIP Trunk connection is keepalive.
175
+ KEEPALIVE = 4
176
+ end
177
+
178
+ # The state of Sip Trunk certificate authentication.
179
+ module CertificateState
180
+ # Certificate state is not specified.
181
+ CERTIFICATE_STATE_UNSPECIFIED = 0
182
+
183
+ # Certificate is valid.
184
+ CERTIFICATE_VALID = 1
185
+
186
+ # Catch all for any error not specified.
187
+ CERTIFICATE_INVALID = 2
188
+
189
+ # Certificate leaf node has expired.
190
+ CERTIFICATE_EXPIRED = 3
191
+
192
+ # There is no hostname defined to authenticate in SipTrunkingServer.
193
+ CERTIFICATE_HOSTNAME_NOT_FOUND = 4
194
+
195
+ # No path found from the leaf certificate to any root.
196
+ CERTIFICATE_UNAUTHENTICATED = 5
197
+
198
+ # Trust store does not exist.
199
+ CERTIFICATE_TRUST_STORE_NOT_FOUND = 6
200
+
201
+ # Hostname has invalid format.
202
+ CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7
203
+
204
+ # Certificate has exhausted its quota.
205
+ CERTIFICATE_QUOTA_EXCEEDED = 8
206
+ end
207
+ end
208
+ end
209
+ end
210
+ end
211
+ end