| 1 | package Google::Cloud::Dialogflow::V2::Generator::Types; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Type::Library -base; | ||
| 7 | use Type::Utils -all; | ||
| 8 | use Types::Standard -types; | ||
| 9 | |||
| 10 | declare 'TriggerEvent', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'CreateGeneratorRequest', | ||
| 14 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::CreateGeneratorRequest']; | ||
| 15 | |||
| 16 | coerce 'CreateGeneratorRequest', | ||
| 17 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::CreateGeneratorRequest'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedCreateGeneratorRequest', | ||
| 20 | as ArrayRef[CreateGeneratorRequest()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedCreateGeneratorRequest', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::CreateGeneratorRequest'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringCreateGeneratorRequest', | ||
| 26 | as HashRef[CreateGeneratorRequest()]; | ||
| 27 | |||
| 28 | declare 'GetGeneratorRequest', | ||
| 29 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::GetGeneratorRequest']; | ||
| 30 | |||
| 31 | coerce 'GetGeneratorRequest', | ||
| 32 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::GetGeneratorRequest'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedGetGeneratorRequest', | ||
| 35 | as ArrayRef[GetGeneratorRequest()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedGetGeneratorRequest', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::GetGeneratorRequest'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringGetGeneratorRequest', | ||
| 41 | as HashRef[GetGeneratorRequest()]; | ||
| 42 | |||
| 43 | declare 'ListGeneratorsRequest', | ||
| 44 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::ListGeneratorsRequest']; | ||
| 45 | |||
| 46 | coerce 'ListGeneratorsRequest', | ||
| 47 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::ListGeneratorsRequest'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedListGeneratorsRequest', | ||
| 50 | as ArrayRef[ListGeneratorsRequest()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedListGeneratorsRequest', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::ListGeneratorsRequest'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringListGeneratorsRequest', | ||
| 56 | as HashRef[ListGeneratorsRequest()]; | ||
| 57 | |||
| 58 | declare 'ListGeneratorsResponse', | ||
| 59 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::ListGeneratorsResponse']; | ||
| 60 | |||
| 61 | coerce 'ListGeneratorsResponse', | ||
| 62 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::ListGeneratorsResponse'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedListGeneratorsResponse', | ||
| 65 | as ArrayRef[ListGeneratorsResponse()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedListGeneratorsResponse', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::ListGeneratorsResponse'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringListGeneratorsResponse', | ||
| 71 | as HashRef[ListGeneratorsResponse()]; | ||
| 72 | |||
| 73 | declare 'DeleteGeneratorRequest', | ||
| 74 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::DeleteGeneratorRequest']; | ||
| 75 | |||
| 76 | coerce 'DeleteGeneratorRequest', | ||
| 77 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::DeleteGeneratorRequest'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedDeleteGeneratorRequest', | ||
| 80 | as ArrayRef[DeleteGeneratorRequest()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedDeleteGeneratorRequest', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::DeleteGeneratorRequest'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringDeleteGeneratorRequest', | ||
| 86 | as HashRef[DeleteGeneratorRequest()]; | ||
| 87 | |||
| 88 | declare 'UpdateGeneratorRequest', | ||
| 89 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::UpdateGeneratorRequest']; | ||
| 90 | |||
| 91 | coerce 'UpdateGeneratorRequest', | ||
| 92 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::UpdateGeneratorRequest'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedUpdateGeneratorRequest', | ||
| 95 | as ArrayRef[UpdateGeneratorRequest()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedUpdateGeneratorRequest', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::UpdateGeneratorRequest'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringUpdateGeneratorRequest', | ||
| 101 | as HashRef[UpdateGeneratorRequest()]; | ||
| 102 | |||
| 103 | declare 'MessageEntry', | ||
| 104 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::MessageEntry']; | ||
| 105 | |||
| 106 | coerce 'MessageEntry', | ||
| 107 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::MessageEntry'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedMessageEntry', | ||
| 110 | as ArrayRef[MessageEntry()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedMessageEntry', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::MessageEntry'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringMessageEntry', | ||
| 116 | as HashRef[MessageEntry()]; | ||
| 117 | |||
| 118 | declare 'Role', | ||
| 119 | as (Int | Str); | ||
| 120 | |||
| 121 | declare 'ConversationContext', | ||
| 122 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::ConversationContext']; | ||
| 123 | |||
| 124 | coerce 'ConversationContext', | ||
| 125 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::ConversationContext'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedConversationContext', | ||
| 128 | as ArrayRef[ConversationContext()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedConversationContext', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::ConversationContext'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringConversationContext', | ||
| 134 | as HashRef[ConversationContext()]; | ||
| 135 | |||
| 136 | declare 'SummarizationSectionList', | ||
| 137 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::SummarizationSectionList']; | ||
| 138 | |||
| 139 | coerce 'SummarizationSectionList', | ||
| 140 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::SummarizationSectionList'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedSummarizationSectionList', | ||
| 143 | as ArrayRef[SummarizationSectionList()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedSummarizationSectionList', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::SummarizationSectionList'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringSummarizationSectionList', | ||
| 149 | as HashRef[SummarizationSectionList()]; | ||
| 150 | |||
| 151 | declare 'FewShotExample', | ||
| 152 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::FewShotExample']; | ||
| 153 | |||
| 154 | coerce 'FewShotExample', | ||
| 155 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::FewShotExample'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedFewShotExample', | ||
| 158 | as ArrayRef[FewShotExample()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedFewShotExample', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::FewShotExample'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringFewShotExample', | ||
| 164 | as HashRef[FewShotExample()]; | ||
| 165 | |||
| 166 | declare 'ExtraInfoEntry', | ||
| 167 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::FewShotExample::ExtraInfoEntry']; | ||
| 168 | |||
| 169 | coerce 'ExtraInfoEntry', | ||
| 170 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::FewShotExample::ExtraInfoEntry'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedExtraInfoEntry', | ||
| 173 | as ArrayRef[ExtraInfoEntry()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedExtraInfoEntry', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::FewShotExample::ExtraInfoEntry'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringExtraInfoEntry', | ||
| 179 | as HashRef[ExtraInfoEntry()]; | ||
| 180 | |||
| 181 | declare 'InferenceParameter', | ||
| 182 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::InferenceParameter']; | ||
| 183 | |||
| 184 | coerce 'InferenceParameter', | ||
| 185 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::InferenceParameter'->new($_) }; | ||
| 186 | |||
| 187 | declare 'RepeatedInferenceParameter', | ||
| 188 | as ArrayRef[InferenceParameter()]; | ||
| 189 | |||
| 190 | coerce 'RepeatedInferenceParameter', | ||
| 191 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::InferenceParameter'->new($_) } @$_ ] }; | ||
| 192 | |||
| 193 | declare 'MapStringInferenceParameter', | ||
| 194 | as HashRef[InferenceParameter()]; | ||
| 195 | |||
| 196 | declare 'AgentCoachingContext', | ||
| 197 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::AgentCoachingContext']; | ||
| 198 | |||
| 199 | coerce 'AgentCoachingContext', | ||
| 200 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingContext'->new($_) }; | ||
| 201 | |||
| 202 | declare 'RepeatedAgentCoachingContext', | ||
| 203 | as ArrayRef[AgentCoachingContext()]; | ||
| 204 | |||
| 205 | coerce 'RepeatedAgentCoachingContext', | ||
| 206 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingContext'->new($_) } @$_ ] }; | ||
| 207 | |||
| 208 | declare 'MapStringAgentCoachingContext', | ||
| 209 | as HashRef[AgentCoachingContext()]; | ||
| 210 | |||
| 211 | declare 'SummarizationSection', | ||
| 212 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::SummarizationSection']; | ||
| 213 | |||
| 214 | coerce 'SummarizationSection', | ||
| 215 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::SummarizationSection'->new($_) }; | ||
| 216 | |||
| 217 | declare 'RepeatedSummarizationSection', | ||
| 218 | as ArrayRef[SummarizationSection()]; | ||
| 219 | |||
| 220 | coerce 'RepeatedSummarizationSection', | ||
| 221 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::SummarizationSection'->new($_) } @$_ ] }; | ||
| 222 | |||
| 223 | declare 'MapStringSummarizationSection', | ||
| 224 | as HashRef[SummarizationSection()]; | ||
| 225 | |||
| 226 | declare 'Type', | ||
| 227 | as (Int | Str); | ||
| 228 | |||
| 229 | declare 'SummarizationContext', | ||
| 230 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::SummarizationContext']; | ||
| 231 | |||
| 232 | coerce 'SummarizationContext', | ||
| 233 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::SummarizationContext'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedSummarizationContext', | ||
| 236 | as ArrayRef[SummarizationContext()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedSummarizationContext', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::SummarizationContext'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringSummarizationContext', | ||
| 242 | as HashRef[SummarizationContext()]; | ||
| 243 | |||
| 244 | declare 'FreeFormContext', | ||
| 245 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::FreeFormContext']; | ||
| 246 | |||
| 247 | coerce 'FreeFormContext', | ||
| 248 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::FreeFormContext'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedFreeFormContext', | ||
| 251 | as ArrayRef[FreeFormContext()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedFreeFormContext', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::FreeFormContext'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringFreeFormContext', | ||
| 257 | as HashRef[FreeFormContext()]; | ||
| 258 | |||
| 259 | declare 'Generator', | ||
| 260 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::Generator']; | ||
| 261 | |||
| 262 | coerce 'Generator', | ||
| 263 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::Generator'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedGenerator', | ||
| 266 | as ArrayRef[Generator()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedGenerator', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::Generator'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringGenerator', | ||
| 272 | as HashRef[Generator()]; | ||
| 273 | |||
| 274 | declare 'FreeFormSuggestion', | ||
| 275 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::FreeFormSuggestion']; | ||
| 276 | |||
| 277 | coerce 'FreeFormSuggestion', | ||
| 278 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::FreeFormSuggestion'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedFreeFormSuggestion', | ||
| 281 | as ArrayRef[FreeFormSuggestion()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedFreeFormSuggestion', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::FreeFormSuggestion'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringFreeFormSuggestion', | ||
| 287 | as HashRef[FreeFormSuggestion()]; | ||
| 288 | |||
| 289 | declare 'SummarySuggestion', | ||
| 290 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::SummarySuggestion']; | ||
| 291 | |||
| 292 | coerce 'SummarySuggestion', | ||
| 293 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::SummarySuggestion'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedSummarySuggestion', | ||
| 296 | as ArrayRef[SummarySuggestion()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedSummarySuggestion', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::SummarySuggestion'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringSummarySuggestion', | ||
| 302 | as HashRef[SummarySuggestion()]; | ||
| 303 | |||
| 304 | declare 'SummarySection', | ||
| 305 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::SummarySuggestion::SummarySection']; | ||
| 306 | |||
| 307 | coerce 'SummarySection', | ||
| 308 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::SummarySuggestion::SummarySection'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedSummarySection', | ||
| 311 | as ArrayRef[SummarySection()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedSummarySection', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::SummarySuggestion::SummarySection'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringSummarySection', | ||
| 317 | as HashRef[SummarySection()]; | ||
| 318 | |||
| 319 | declare 'AgentCoachingSuggestion', | ||
| 320 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion']; | ||
| 321 | |||
| 322 | coerce 'AgentCoachingSuggestion', | ||
| 323 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedAgentCoachingSuggestion', | ||
| 326 | as ArrayRef[AgentCoachingSuggestion()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedAgentCoachingSuggestion', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringAgentCoachingSuggestion', | ||
| 332 | as HashRef[AgentCoachingSuggestion()]; | ||
| 333 | |||
| 334 | declare 'Sources', | ||
| 335 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::Sources']; | ||
| 336 | |||
| 337 | coerce 'Sources', | ||
| 338 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::Sources'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedSources', | ||
| 341 | as ArrayRef[Sources()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedSources', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::Sources'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringSources', | ||
| 347 | as HashRef[Sources()]; | ||
| 348 | |||
| 349 | declare 'DuplicateCheckResult', | ||
| 350 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::DuplicateCheckResult']; | ||
| 351 | |||
| 352 | coerce 'DuplicateCheckResult', | ||
| 353 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::DuplicateCheckResult'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedDuplicateCheckResult', | ||
| 356 | as ArrayRef[DuplicateCheckResult()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedDuplicateCheckResult', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::DuplicateCheckResult'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringDuplicateCheckResult', | ||
| 362 | as HashRef[DuplicateCheckResult()]; | ||
| 363 | |||
| 364 | declare 'DuplicateSuggestion', | ||
| 365 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::DuplicateCheckResult::DuplicateSuggestion']; | ||
| 366 | |||
| 367 | coerce 'DuplicateSuggestion', | ||
| 368 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::DuplicateCheckResult::DuplicateSuggestion'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedDuplicateSuggestion', | ||
| 371 | as ArrayRef[DuplicateSuggestion()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedDuplicateSuggestion', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::DuplicateCheckResult::DuplicateSuggestion'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringDuplicateSuggestion', | ||
| 377 | as HashRef[DuplicateSuggestion()]; | ||
| 378 | |||
| 379 | declare 'AgentActionSuggestion', | ||
| 380 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::AgentActionSuggestion']; | ||
| 381 | |||
| 382 | coerce 'AgentActionSuggestion', | ||
| 383 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::AgentActionSuggestion'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedAgentActionSuggestion', | ||
| 386 | as ArrayRef[AgentActionSuggestion()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedAgentActionSuggestion', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::AgentActionSuggestion'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringAgentActionSuggestion', | ||
| 392 | as HashRef[AgentActionSuggestion()]; | ||
| 393 | |||
| 394 | declare 'SampleResponse', | ||
| 395 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::SampleResponse']; | ||
| 396 | |||
| 397 | coerce 'SampleResponse', | ||
| 398 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::SampleResponse'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedSampleResponse', | ||
| 401 | as ArrayRef[SampleResponse()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedSampleResponse', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::AgentCoachingSuggestion::SampleResponse'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringSampleResponse', | ||
| 407 | as HashRef[SampleResponse()]; | ||
| 408 | |||
| 409 | declare 'GeneratorSuggestion', | ||
| 410 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::GeneratorSuggestion']; | ||
| 411 | |||
| 412 | coerce 'GeneratorSuggestion', | ||
| 413 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::GeneratorSuggestion'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedGeneratorSuggestion', | ||
| 416 | as ArrayRef[GeneratorSuggestion()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedGeneratorSuggestion', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::GeneratorSuggestion'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringGeneratorSuggestion', | ||
| 422 | as HashRef[GeneratorSuggestion()]; | ||
| 423 | |||
| 424 | declare 'ToolCallInfo', | ||
| 425 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::GeneratorSuggestion::ToolCallInfo']; | ||
| 426 | |||
| 427 | coerce 'ToolCallInfo', | ||
| 428 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::GeneratorSuggestion::ToolCallInfo'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedToolCallInfo', | ||
| 431 | as ArrayRef[ToolCallInfo()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedToolCallInfo', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::GeneratorSuggestion::ToolCallInfo'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringToolCallInfo', | ||
| 437 | as HashRef[ToolCallInfo()]; | ||
| 438 | |||
| 439 | declare 'SuggestionDedupingConfig', | ||
| 440 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::SuggestionDedupingConfig']; | ||
| 441 | |||
| 442 | coerce 'SuggestionDedupingConfig', | ||
| 443 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::SuggestionDedupingConfig'->new($_) }; | ||
| 444 | |||
| 445 | declare 'RepeatedSuggestionDedupingConfig', | ||
| 446 | as ArrayRef[SuggestionDedupingConfig()]; | ||
| 447 | |||
| 448 | coerce 'RepeatedSuggestionDedupingConfig', | ||
| 449 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::SuggestionDedupingConfig'->new($_) } @$_ ] }; | ||
| 450 | |||
| 451 | declare 'MapStringSuggestionDedupingConfig', | ||
| 452 | as HashRef[SuggestionDedupingConfig()]; | ||
| 453 | |||
| 454 | declare 'RaiSettings', | ||
| 455 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::RaiSettings']; | ||
| 456 | |||
| 457 | coerce 'RaiSettings', | ||
| 458 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::RaiSettings'->new($_) }; | ||
| 459 | |||
| 460 | declare 'RepeatedRaiSettings', | ||
| 461 | as ArrayRef[RaiSettings()]; | ||
| 462 | |||
| 463 | coerce 'RepeatedRaiSettings', | ||
| 464 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::RaiSettings'->new($_) } @$_ ] }; | ||
| 465 | |||
| 466 | declare 'MapStringRaiSettings', | ||
| 467 | as HashRef[RaiSettings()]; | ||
| 468 | |||
| 469 | declare 'RaiCategoryConfig', | ||
| 470 | as InstanceOf['Google::Cloud::Dialogflow::V2::Generator::RaiSettings::RaiCategoryConfig']; | ||
| 471 | |||
| 472 | coerce 'RaiCategoryConfig', | ||
| 473 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Generator::RaiSettings::RaiCategoryConfig'->new($_) }; | ||
| 474 | |||
| 475 | declare 'RepeatedRaiCategoryConfig', | ||
| 476 | as ArrayRef[RaiCategoryConfig()]; | ||
| 477 | |||
| 478 | coerce 'RepeatedRaiCategoryConfig', | ||
| 479 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Generator::RaiSettings::RaiCategoryConfig'->new($_) } @$_ ] }; | ||
| 480 | |||
| 481 | declare 'MapStringRaiCategoryConfig', | ||
| 482 | as HashRef[RaiCategoryConfig()]; | ||
| 483 | |||
| 484 | declare 'RaiCategory', | ||
| 485 | as (Int | Str); | ||
| 486 | |||
| 487 | declare 'SensitivityLevel', | ||
| 488 | as (Int | Str); | ||
| 489 | |||
| 490 | 1; | ||
| 491 | |||
| 492 | __END__ |