google-cloud-dialogflow-cx-v3 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +32 -0
  7. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +122 -0
  8. data/lib/google/cloud/dialogflow/cx/v3/agent_services_pb.rb +82 -0
  9. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +1051 -0
  10. data/lib/google/cloud/dialogflow/cx/v3/agents/credentials.rb +54 -0
  11. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +666 -0
  12. data/lib/google/cloud/dialogflow/cx/v3/agents/paths.rb +151 -0
  13. data/lib/google/cloud/dialogflow/cx/v3/agents.rb +52 -0
  14. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +94 -0
  15. data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +92 -0
  16. data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +67 -0
  17. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +766 -0
  18. data/lib/google/cloud/dialogflow/cx/v3/entity_types/credentials.rb +54 -0
  19. data/lib/google/cloud/dialogflow/cx/v3/entity_types/paths.rb +75 -0
  20. data/lib/google/cloud/dialogflow/cx/v3/entity_types.rb +51 -0
  21. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +117 -0
  22. data/lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb +61 -0
  23. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +950 -0
  24. data/lib/google/cloud/dialogflow/cx/v3/environments/credentials.rb +54 -0
  25. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +666 -0
  26. data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +98 -0
  27. data/lib/google/cloud/dialogflow/cx/v3/environments.rb +52 -0
  28. data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +177 -0
  29. data/lib/google/cloud/dialogflow/cx/v3/experiment_services_pb.rb +61 -0
  30. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +851 -0
  31. data/lib/google/cloud/dialogflow/cx/v3/experiments/credentials.rb +54 -0
  32. data/lib/google/cloud/dialogflow/cx/v3/experiments/paths.rb +102 -0
  33. data/lib/google/cloud/dialogflow/cx/v3/experiments.rb +51 -0
  34. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +145 -0
  35. data/lib/google/cloud/dialogflow/cx/v3/flow_services_pb.rb +88 -0
  36. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +1200 -0
  37. data/lib/google/cloud/dialogflow/cx/v3/flows/credentials.rb +54 -0
  38. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +666 -0
  39. data/lib/google/cloud/dialogflow/cx/v3/flows/paths.rb +184 -0
  40. data/lib/google/cloud/dialogflow/cx/v3/flows.rb +52 -0
  41. data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +55 -0
  42. data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +97 -0
  43. data/lib/google/cloud/dialogflow/cx/v3/intent_services_pb.rb +67 -0
  44. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +750 -0
  45. data/lib/google/cloud/dialogflow/cx/v3/intents/credentials.rb +54 -0
  46. data/lib/google/cloud/dialogflow/cx/v3/intents/paths.rb +96 -0
  47. data/lib/google/cloud/dialogflow/cx/v3/intents.rb +51 -0
  48. data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +113 -0
  49. data/lib/google/cloud/dialogflow/cx/v3/page_services_pb.rb +67 -0
  50. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +805 -0
  51. data/lib/google/cloud/dialogflow/cx/v3/pages/credentials.rb +54 -0
  52. data/lib/google/cloud/dialogflow/cx/v3/pages/paths.rb +165 -0
  53. data/lib/google/cloud/dialogflow/cx/v3/pages.rb +51 -0
  54. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +77 -0
  55. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +89 -0
  56. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +696 -0
  57. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/credentials.rb +54 -0
  58. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/paths.rb +157 -0
  59. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service.rb +51 -0
  60. data/lib/google/cloud/dialogflow/cx/v3/security_settings_services_pb.rb +56 -0
  61. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +68 -0
  62. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_services_pb.rb +55 -0
  63. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +715 -0
  64. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/credentials.rb +54 -0
  65. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/paths.rb +137 -0
  66. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types.rb +51 -0
  67. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +209 -0
  68. data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +71 -0
  69. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +654 -0
  70. data/lib/google/cloud/dialogflow/cx/v3/sessions/credentials.rb +54 -0
  71. data/lib/google/cloud/dialogflow/cx/v3/sessions/paths.rb +225 -0
  72. data/lib/google/cloud/dialogflow/cx/v3/sessions.rb +53 -0
  73. data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +302 -0
  74. data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +73 -0
  75. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +1324 -0
  76. data/lib/google/cloud/dialogflow/cx/v3/test_cases/credentials.rb +54 -0
  77. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +666 -0
  78. data/lib/google/cloud/dialogflow/cx/v3/test_cases/paths.rb +249 -0
  79. data/lib/google/cloud/dialogflow/cx/v3/test_cases.rb +53 -0
  80. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +67 -0
  81. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_services_pb.rb +67 -0
  82. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +766 -0
  83. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/credentials.rb +54 -0
  84. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/paths.rb +144 -0
  85. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups.rb +51 -0
  86. data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +59 -0
  87. data/lib/google/cloud/dialogflow/cx/v3/version.rb +30 -0
  88. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +88 -0
  89. data/lib/google/cloud/dialogflow/cx/v3/version_services_pb.rb +57 -0
  90. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +792 -0
  91. data/lib/google/cloud/dialogflow/cx/v3/versions/credentials.rb +54 -0
  92. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +666 -0
  93. data/lib/google/cloud/dialogflow/cx/v3/versions/paths.rb +79 -0
  94. data/lib/google/cloud/dialogflow/cx/v3/versions.rb +52 -0
  95. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +172 -0
  96. data/lib/google/cloud/dialogflow/cx/v3/webhook_services_pb.rb +55 -0
  97. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +704 -0
  98. data/lib/google/cloud/dialogflow/cx/v3/webhooks/credentials.rb +54 -0
  99. data/lib/google/cloud/dialogflow/cx/v3/webhooks/paths.rb +96 -0
  100. data/lib/google/cloud/dialogflow/cx/v3/webhooks.rb +51 -0
  101. data/lib/google/cloud/dialogflow/cx/v3.rb +53 -0
  102. data/lib/google-cloud-dialogflow-cx-v3.rb +21 -0
  103. data/proto_docs/README.md +4 -0
  104. data/proto_docs/google/api/field_behavior.rb +71 -0
  105. data/proto_docs/google/api/resource.rb +283 -0
  106. data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +57 -0
  107. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +301 -0
  108. data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +322 -0
  109. data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +306 -0
  110. data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +279 -0
  111. data/proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb +438 -0
  112. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +438 -0
  113. data/proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb +126 -0
  114. data/proto_docs/google/cloud/dialogflow/cx/v3/intent.rb +318 -0
  115. data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +478 -0
  116. data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +220 -0
  117. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +222 -0
  118. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +798 -0
  119. data/proto_docs/google/cloud/dialogflow/cx/v3/session_entity_type.rb +184 -0
  120. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +757 -0
  121. data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +195 -0
  122. data/proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb +121 -0
  123. data/proto_docs/google/cloud/dialogflow/cx/v3/version.rb +182 -0
  124. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +496 -0
  125. data/proto_docs/google/longrunning/operations.rb +164 -0
  126. data/proto_docs/google/protobuf/any.rb +141 -0
  127. data/proto_docs/google/protobuf/duration.rb +98 -0
  128. data/proto_docs/google/protobuf/empty.rb +36 -0
  129. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  130. data/proto_docs/google/protobuf/struct.rb +96 -0
  131. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  132. data/proto_docs/google/rpc/status.rb +46 -0
  133. data/proto_docs/google/type/latlng.rb +38 -0
  134. metadata +326 -0
@@ -0,0 +1,195 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module CX
24
+ module V3
25
+ # An TransitionRouteGroup represents a group of
26
+ # {::Google::Cloud::Dialogflow::CX::V3::TransitionRoute `TransitionRoutes`} to be used by a {::Google::Cloud::Dialogflow::CX::V3::Page Page}.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # The unique identifier of the transition route group.
30
+ # {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client#create_transition_route_group TransitionRouteGroups.CreateTransitionRouteGroup} populates the name
31
+ # automatically.
32
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
33
+ # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
34
+ # @!attribute [rw] display_name
35
+ # @return [::String]
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.
38
+ # @!attribute [rw] transition_routes
39
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::TransitionRoute>]
40
+ # Transition routes associated with the {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}.
41
+ class TransitionRouteGroup
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client#list_transition_route_groups TransitionRouteGroups.ListTransitionRouteGroups}.
47
+ # @!attribute [rw] parent
48
+ # @return [::String]
49
+ # Required. The flow to list all transition route groups for.
50
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
51
+ # ID>/flows/<Flow ID>`.
52
+ # @!attribute [rw] page_size
53
+ # @return [::Integer]
54
+ # The maximum number of items to return in a single page. By default 100 and
55
+ # at most 1000.
56
+ # @!attribute [rw] page_token
57
+ # @return [::String]
58
+ # The next_page_token value returned from a previous list request.
59
+ # @!attribute [rw] language_code
60
+ # @return [::String]
61
+ # The language to list transition route groups for. The following fields are
62
+ # language dependent:
63
+ #
64
+ # * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
65
+ # *
66
+ # `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
67
+ #
68
+ #
69
+ # If not specified, the agent's default language is used.
70
+ # [Many
71
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
72
+ # are supported.
73
+ # Note: languages must be enabled in the agent before they can be used.
74
+ class ListTransitionRouteGroupsRequest
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+ end
78
+
79
+ # The response message for {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client#list_transition_route_groups TransitionRouteGroups.ListTransitionRouteGroups}.
80
+ # @!attribute [rw] transition_route_groups
81
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup>]
82
+ # The list of transition route groups. There will be a maximum number of
83
+ # items returned based on the page_size field in the request. The list may in
84
+ # some cases be empty or contain fewer entries than page_size even if this
85
+ # isn't the last page.
86
+ # @!attribute [rw] next_page_token
87
+ # @return [::String]
88
+ # Token to retrieve the next page of results, or empty if there are no more
89
+ # results in the list.
90
+ class ListTransitionRouteGroupsResponse
91
+ include ::Google::Protobuf::MessageExts
92
+ extend ::Google::Protobuf::MessageExts::ClassMethods
93
+ end
94
+
95
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client#get_transition_route_group TransitionRouteGroups.GetTransitionRouteGroup}.
96
+ # @!attribute [rw] name
97
+ # @return [::String]
98
+ # Required. The name of the {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup}.
99
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
100
+ # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
101
+ # @!attribute [rw] language_code
102
+ # @return [::String]
103
+ # The language to retrieve the transition route group for. The following
104
+ # fields are language dependent:
105
+ #
106
+ # * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
107
+ # *
108
+ # `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
109
+ #
110
+ # If not specified, the agent's default language is used.
111
+ # [Many
112
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
113
+ # are supported.
114
+ # Note: languages must be enabled in the agent before they can be used.
115
+ class GetTransitionRouteGroupRequest
116
+ include ::Google::Protobuf::MessageExts
117
+ extend ::Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+
120
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client#create_transition_route_group TransitionRouteGroups.CreateTransitionRouteGroup}.
121
+ # @!attribute [rw] parent
122
+ # @return [::String]
123
+ # Required. The flow to create an {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup} for.
124
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
125
+ # ID>/flows/<Flow ID>`.
126
+ # @!attribute [rw] transition_route_group
127
+ # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup]
128
+ # Required. The transition route group to create.
129
+ # @!attribute [rw] language_code
130
+ # @return [::String]
131
+ # The language of the following fields in `TransitionRouteGroup`:
132
+ #
133
+ # * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
134
+ # *
135
+ # `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
136
+ #
137
+ # If not specified, the agent's default language is used.
138
+ # [Many
139
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
140
+ # are supported.
141
+ # Note: languages must be enabled in the agent before they can be used.
142
+ class CreateTransitionRouteGroupRequest
143
+ include ::Google::Protobuf::MessageExts
144
+ extend ::Google::Protobuf::MessageExts::ClassMethods
145
+ end
146
+
147
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client#update_transition_route_group TransitionRouteGroups.UpdateTransitionRouteGroup}.
148
+ # @!attribute [rw] transition_route_group
149
+ # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup]
150
+ # Required. The transition route group to update.
151
+ # @!attribute [rw] update_mask
152
+ # @return [::Google::Protobuf::FieldMask]
153
+ # The mask to control which fields get updated.
154
+ # @!attribute [rw] language_code
155
+ # @return [::String]
156
+ # The language of the following fields in `TransitionRouteGroup`:
157
+ #
158
+ # * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
159
+ # *
160
+ # `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
161
+ #
162
+ # If not specified, the agent's default language is used.
163
+ # [Many
164
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
165
+ # are supported.
166
+ # Note: languages must be enabled in the agent before they can be used.
167
+ class UpdateTransitionRouteGroupRequest
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+
172
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client#delete_transition_route_group TransitionRouteGroups.DeleteTransitionRouteGroup}.
173
+ # @!attribute [rw] name
174
+ # @return [::String]
175
+ # Required. The name of the {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroup} to delete.
176
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
177
+ # ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
178
+ # @!attribute [rw] force
179
+ # @return [::Boolean]
180
+ # This field has no effect for transition route group that no page is using.
181
+ # If the transition route group is referenced by any page:
182
+ #
183
+ # * If `force` is set to false, an error will be returned with message
184
+ # indicating pages that reference the transition route group.
185
+ # * If `force` is set to true, Dialogflow will remove the transition route
186
+ # group, as well as any reference to it.
187
+ class DeleteTransitionRouteGroupRequest
188
+ include ::Google::Protobuf::MessageExts
189
+ extend ::Google::Protobuf::MessageExts::ClassMethods
190
+ end
191
+ end
192
+ end
193
+ end
194
+ end
195
+ end
@@ -0,0 +1,121 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module CX
24
+ module V3
25
+ # Agent/flow validation message.
26
+ # @!attribute [rw] resource_type
27
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ValidationMessage::ResourceType]
28
+ # The type of the resources where the message is found.
29
+ # @!attribute [rw] resources
30
+ # @return [::Array<::String>]
31
+ # The names of the resources where the message is found.
32
+ # @!attribute [rw] resource_names
33
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::ResourceName>]
34
+ # The resource names of the resources where the message is found.
35
+ # @!attribute [rw] severity
36
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ValidationMessage::Severity]
37
+ # Indicates the severity of the message.
38
+ # @!attribute [rw] detail
39
+ # @return [::String]
40
+ # The message detail.
41
+ class ValidationMessage
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+
45
+ # Resource types.
46
+ module ResourceType
47
+ # Unspecified.
48
+ RESOURCE_TYPE_UNSPECIFIED = 0
49
+
50
+ # Agent.
51
+ AGENT = 1
52
+
53
+ # Intent.
54
+ INTENT = 2
55
+
56
+ # Intent training phrase.
57
+ INTENT_TRAINING_PHRASE = 8
58
+
59
+ # Intent parameter.
60
+ INTENT_PARAMETER = 9
61
+
62
+ # Multiple intents.
63
+ INTENTS = 10
64
+
65
+ # Multiple training phrases.
66
+ INTENT_TRAINING_PHRASES = 11
67
+
68
+ # Entity type.
69
+ ENTITY_TYPE = 3
70
+
71
+ # Multiple entity types.
72
+ ENTITY_TYPES = 12
73
+
74
+ # Webhook.
75
+ WEBHOOK = 4
76
+
77
+ # Flow.
78
+ FLOW = 5
79
+
80
+ # Page.
81
+ PAGE = 6
82
+
83
+ # Multiple pages.
84
+ PAGES = 13
85
+
86
+ # Transition route group.
87
+ TRANSITION_ROUTE_GROUP = 7
88
+ end
89
+
90
+ # Severity level.
91
+ module Severity
92
+ # Unspecified.
93
+ SEVERITY_UNSPECIFIED = 0
94
+
95
+ # The agent doesn't follow Dialogflow best practices.
96
+ INFO = 1
97
+
98
+ # The agent may not behave as expected.
99
+ WARNING = 2
100
+
101
+ # The agent may experience failures.
102
+ ERROR = 3
103
+ end
104
+ end
105
+
106
+ # Resource name and display name.
107
+ # @!attribute [rw] name
108
+ # @return [::String]
109
+ # Name.
110
+ # @!attribute [rw] display_name
111
+ # @return [::String]
112
+ # Display name.
113
+ class ResourceName
114
+ include ::Google::Protobuf::MessageExts
115
+ extend ::Google::Protobuf::MessageExts::ClassMethods
116
+ end
117
+ end
118
+ end
119
+ end
120
+ end
121
+ end
@@ -0,0 +1,182 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module CX
24
+ module V3
25
+ # Metadata associated with the long running operation for
26
+ # {::Google::Cloud::Dialogflow::CX::V3::Versions::Client#create_version Versions.CreateVersion}.
27
+ # @!attribute [rw] version
28
+ # @return [::String]
29
+ # Name of the created version.
30
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
31
+ # ID>/flows/<Flow ID>/versions/<Version ID>`.
32
+ class CreateVersionOperationMetadata
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+ end
36
+
37
+ # Represents a version of a flow.
38
+ # @!attribute [rw] name
39
+ # @return [::String]
40
+ # Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
41
+ # ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing
42
+ # number generated by Dialogflow upon version creation.
43
+ # @!attribute [rw] display_name
44
+ # @return [::String]
45
+ # Required. The human-readable name of the version. Limit of 64 characters.
46
+ # @!attribute [rw] description
47
+ # @return [::String]
48
+ # The description of the version. The maximum length is 500 characters. If
49
+ # exceeded, the request is rejected.
50
+ # @!attribute [r] nlu_settings
51
+ # @return [::Google::Cloud::Dialogflow::CX::V3::NluSettings]
52
+ # Output only. The NLU settings of the flow at version creation.
53
+ # @!attribute [r] create_time
54
+ # @return [::Google::Protobuf::Timestamp]
55
+ # Output only. Create time of the version.
56
+ # @!attribute [r] state
57
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Version::State]
58
+ # Output only. The state of this version. This field is read-only and cannot be set by
59
+ # create and update methods.
60
+ class Version
61
+ include ::Google::Protobuf::MessageExts
62
+ extend ::Google::Protobuf::MessageExts::ClassMethods
63
+
64
+ # The state of the version.
65
+ module State
66
+ # Not specified. This value is not used.
67
+ STATE_UNSPECIFIED = 0
68
+
69
+ # Version is not ready to serve (e.g. training is running).
70
+ RUNNING = 1
71
+
72
+ # Training has succeeded and this version is ready to serve.
73
+ SUCCEEDED = 2
74
+
75
+ # Version training failed.
76
+ FAILED = 3
77
+ end
78
+ end
79
+
80
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Versions::Client#list_versions Versions.ListVersions}.
81
+ # @!attribute [rw] parent
82
+ # @return [::String]
83
+ # Required. The {::Google::Cloud::Dialogflow::CX::V3::Flow Flow} to list all versions for.
84
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
85
+ # ID>/flows/<Flow ID>`.
86
+ # @!attribute [rw] page_size
87
+ # @return [::Integer]
88
+ # The maximum number of items to return in a single page. By default 20 and
89
+ # at most 100.
90
+ # @!attribute [rw] page_token
91
+ # @return [::String]
92
+ # The next_page_token value returned from a previous list request.
93
+ class ListVersionsRequest
94
+ include ::Google::Protobuf::MessageExts
95
+ extend ::Google::Protobuf::MessageExts::ClassMethods
96
+ end
97
+
98
+ # The response message for {::Google::Cloud::Dialogflow::CX::V3::Versions::Client#list_versions Versions.ListVersions}.
99
+ # @!attribute [rw] versions
100
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Version>]
101
+ # A list of versions. There will be a maximum number of items returned based
102
+ # on the page_size field in the request. The list may in some cases be empty
103
+ # or contain fewer entries than page_size even if this isn't the last page.
104
+ # @!attribute [rw] next_page_token
105
+ # @return [::String]
106
+ # Token to retrieve the next page of results, or empty if there are no more
107
+ # results in the list.
108
+ class ListVersionsResponse
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+ end
112
+
113
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Versions::Client#get_version Versions.GetVersion}.
114
+ # @!attribute [rw] name
115
+ # @return [::String]
116
+ # Required. The name of the {::Google::Cloud::Dialogflow::CX::V3::Version Version}.
117
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
118
+ # ID>/flows/<Flow ID>/versions/<Version ID>`.
119
+ class GetVersionRequest
120
+ include ::Google::Protobuf::MessageExts
121
+ extend ::Google::Protobuf::MessageExts::ClassMethods
122
+ end
123
+
124
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Versions::Client#create_version Versions.CreateVersion}.
125
+ # @!attribute [rw] parent
126
+ # @return [::String]
127
+ # Required. The {::Google::Cloud::Dialogflow::CX::V3::Flow Flow} to create an {::Google::Cloud::Dialogflow::CX::V3::Version Version} for.
128
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
129
+ # ID>/flows/<Flow ID>`.
130
+ # @!attribute [rw] version
131
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Version]
132
+ # Required. The version to create.
133
+ class CreateVersionRequest
134
+ include ::Google::Protobuf::MessageExts
135
+ extend ::Google::Protobuf::MessageExts::ClassMethods
136
+ end
137
+
138
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Versions::Client#update_version Versions.UpdateVersion}.
139
+ # @!attribute [rw] version
140
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Version]
141
+ # Required. The version to update.
142
+ # @!attribute [rw] update_mask
143
+ # @return [::Google::Protobuf::FieldMask]
144
+ # Required. The mask to control which fields get updated. Currently only `description`
145
+ # and `display_name` can be updated.
146
+ class UpdateVersionRequest
147
+ include ::Google::Protobuf::MessageExts
148
+ extend ::Google::Protobuf::MessageExts::ClassMethods
149
+ end
150
+
151
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Versions::Client#delete_version Versions.DeleteVersion}.
152
+ # @!attribute [rw] name
153
+ # @return [::String]
154
+ # Required. The name of the {::Google::Cloud::Dialogflow::CX::V3::Version Version} to delete.
155
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
156
+ # ID>/flows/<Flow ID>/versions/<Version ID>`.
157
+ class DeleteVersionRequest
158
+ include ::Google::Protobuf::MessageExts
159
+ extend ::Google::Protobuf::MessageExts::ClassMethods
160
+ end
161
+
162
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Versions::Client#load_version Versions.LoadVersion}.
163
+ # @!attribute [rw] name
164
+ # @return [::String]
165
+ # Required. The {::Google::Cloud::Dialogflow::CX::V3::Version Version} to be loaded to draft flow.
166
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
167
+ # ID>/flows/<Flow ID>/versions/<Version ID>`.
168
+ # @!attribute [rw] allow_override_agent_resources
169
+ # @return [::Boolean]
170
+ # This field is used to prevent accidental overwrite of other agent
171
+ # resources, which can potentially impact other flow's behavior. If
172
+ # `allow_override_agent_resources` is false, conflicted agent-level resources
173
+ # will not be overridden (i.e. intents, entities, webhooks).
174
+ class LoadVersionRequest
175
+ include ::Google::Protobuf::MessageExts
176
+ extend ::Google::Protobuf::MessageExts::ClassMethods
177
+ end
178
+ end
179
+ end
180
+ end
181
+ end
182
+ end