| 1 | package Google::Cloud::Dialogflow::V2::Participant::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 'DatastoreResponseReason', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'Participant', | ||
| 14 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::Participant']; | ||
| 15 | |||
| 16 | coerce 'Participant', | ||
| 17 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::Participant'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedParticipant', | ||
| 20 | as ArrayRef[Participant()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedParticipant', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::Participant'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringParticipant', | ||
| 26 | as HashRef[Participant()]; | ||
| 27 | |||
| 28 | declare 'Role', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'AgentDesktopSource', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'DocumentsMetadataFiltersEntry', | ||
| 35 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::Participant::DocumentsMetadataFiltersEntry']; | ||
| 36 | |||
| 37 | coerce 'DocumentsMetadataFiltersEntry', | ||
| 38 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::Participant::DocumentsMetadataFiltersEntry'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedDocumentsMetadataFiltersEntry', | ||
| 41 | as ArrayRef[DocumentsMetadataFiltersEntry()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedDocumentsMetadataFiltersEntry', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::Participant::DocumentsMetadataFiltersEntry'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringDocumentsMetadataFiltersEntry', | ||
| 47 | as HashRef[DocumentsMetadataFiltersEntry()]; | ||
| 48 | |||
| 49 | declare 'Message', | ||
| 50 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::Message']; | ||
| 51 | |||
| 52 | coerce 'Message', | ||
| 53 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::Message'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedMessage', | ||
| 56 | as ArrayRef[Message()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedMessage', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::Message'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringMessage', | ||
| 62 | as HashRef[Message()]; | ||
| 63 | |||
| 64 | declare 'CreateParticipantRequest', | ||
| 65 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::CreateParticipantRequest']; | ||
| 66 | |||
| 67 | coerce 'CreateParticipantRequest', | ||
| 68 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::CreateParticipantRequest'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedCreateParticipantRequest', | ||
| 71 | as ArrayRef[CreateParticipantRequest()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedCreateParticipantRequest', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::CreateParticipantRequest'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringCreateParticipantRequest', | ||
| 77 | as HashRef[CreateParticipantRequest()]; | ||
| 78 | |||
| 79 | declare 'GetParticipantRequest', | ||
| 80 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::GetParticipantRequest']; | ||
| 81 | |||
| 82 | coerce 'GetParticipantRequest', | ||
| 83 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::GetParticipantRequest'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedGetParticipantRequest', | ||
| 86 | as ArrayRef[GetParticipantRequest()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedGetParticipantRequest', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::GetParticipantRequest'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringGetParticipantRequest', | ||
| 92 | as HashRef[GetParticipantRequest()]; | ||
| 93 | |||
| 94 | declare 'ListParticipantsRequest', | ||
| 95 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ListParticipantsRequest']; | ||
| 96 | |||
| 97 | coerce 'ListParticipantsRequest', | ||
| 98 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ListParticipantsRequest'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedListParticipantsRequest', | ||
| 101 | as ArrayRef[ListParticipantsRequest()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedListParticipantsRequest', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ListParticipantsRequest'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringListParticipantsRequest', | ||
| 107 | as HashRef[ListParticipantsRequest()]; | ||
| 108 | |||
| 109 | declare 'ListParticipantsResponse', | ||
| 110 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ListParticipantsResponse']; | ||
| 111 | |||
| 112 | coerce 'ListParticipantsResponse', | ||
| 113 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ListParticipantsResponse'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedListParticipantsResponse', | ||
| 116 | as ArrayRef[ListParticipantsResponse()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedListParticipantsResponse', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ListParticipantsResponse'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringListParticipantsResponse', | ||
| 122 | as HashRef[ListParticipantsResponse()]; | ||
| 123 | |||
| 124 | declare 'UpdateParticipantRequest', | ||
| 125 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::UpdateParticipantRequest']; | ||
| 126 | |||
| 127 | coerce 'UpdateParticipantRequest', | ||
| 128 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::UpdateParticipantRequest'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedUpdateParticipantRequest', | ||
| 131 | as ArrayRef[UpdateParticipantRequest()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedUpdateParticipantRequest', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::UpdateParticipantRequest'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringUpdateParticipantRequest', | ||
| 137 | as HashRef[UpdateParticipantRequest()]; | ||
| 138 | |||
| 139 | declare 'AnalyzeContentRequest', | ||
| 140 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::AnalyzeContentRequest']; | ||
| 141 | |||
| 142 | coerce 'AnalyzeContentRequest', | ||
| 143 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::AnalyzeContentRequest'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedAnalyzeContentRequest', | ||
| 146 | as ArrayRef[AnalyzeContentRequest()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedAnalyzeContentRequest', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::AnalyzeContentRequest'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringAnalyzeContentRequest', | ||
| 152 | as HashRef[AnalyzeContentRequest()]; | ||
| 153 | |||
| 154 | declare 'DtmfParameters', | ||
| 155 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::DtmfParameters']; | ||
| 156 | |||
| 157 | coerce 'DtmfParameters', | ||
| 158 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::DtmfParameters'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedDtmfParameters', | ||
| 161 | as ArrayRef[DtmfParameters()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedDtmfParameters', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::DtmfParameters'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringDtmfParameters', | ||
| 167 | as HashRef[DtmfParameters()]; | ||
| 168 | |||
| 169 | declare 'AnalyzeContentResponse', | ||
| 170 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::AnalyzeContentResponse']; | ||
| 171 | |||
| 172 | coerce 'AnalyzeContentResponse', | ||
| 173 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::AnalyzeContentResponse'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedAnalyzeContentResponse', | ||
| 176 | as ArrayRef[AnalyzeContentResponse()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedAnalyzeContentResponse', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::AnalyzeContentResponse'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringAnalyzeContentResponse', | ||
| 182 | as HashRef[AnalyzeContentResponse()]; | ||
| 183 | |||
| 184 | declare 'StreamingAnalyzeContentRequest', | ||
| 185 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::StreamingAnalyzeContentRequest']; | ||
| 186 | |||
| 187 | coerce 'StreamingAnalyzeContentRequest', | ||
| 188 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::StreamingAnalyzeContentRequest'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedStreamingAnalyzeContentRequest', | ||
| 191 | as ArrayRef[StreamingAnalyzeContentRequest()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedStreamingAnalyzeContentRequest', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::StreamingAnalyzeContentRequest'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringStreamingAnalyzeContentRequest', | ||
| 197 | as HashRef[StreamingAnalyzeContentRequest()]; | ||
| 198 | |||
| 199 | declare 'StreamingAnalyzeContentResponse', | ||
| 200 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::StreamingAnalyzeContentResponse']; | ||
| 201 | |||
| 202 | coerce 'StreamingAnalyzeContentResponse', | ||
| 203 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::StreamingAnalyzeContentResponse'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedStreamingAnalyzeContentResponse', | ||
| 206 | as ArrayRef[StreamingAnalyzeContentResponse()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedStreamingAnalyzeContentResponse', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::StreamingAnalyzeContentResponse'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringStreamingAnalyzeContentResponse', | ||
| 212 | as HashRef[StreamingAnalyzeContentResponse()]; | ||
| 213 | |||
| 214 | declare 'SuggestArticlesRequest', | ||
| 215 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestArticlesRequest']; | ||
| 216 | |||
| 217 | coerce 'SuggestArticlesRequest', | ||
| 218 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestArticlesRequest'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedSuggestArticlesRequest', | ||
| 221 | as ArrayRef[SuggestArticlesRequest()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedSuggestArticlesRequest', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestArticlesRequest'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringSuggestArticlesRequest', | ||
| 227 | as HashRef[SuggestArticlesRequest()]; | ||
| 228 | |||
| 229 | declare 'SuggestArticlesResponse', | ||
| 230 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestArticlesResponse']; | ||
| 231 | |||
| 232 | coerce 'SuggestArticlesResponse', | ||
| 233 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestArticlesResponse'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedSuggestArticlesResponse', | ||
| 236 | as ArrayRef[SuggestArticlesResponse()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedSuggestArticlesResponse', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestArticlesResponse'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringSuggestArticlesResponse', | ||
| 242 | as HashRef[SuggestArticlesResponse()]; | ||
| 243 | |||
| 244 | declare 'SuggestFaqAnswersRequest', | ||
| 245 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestFaqAnswersRequest']; | ||
| 246 | |||
| 247 | coerce 'SuggestFaqAnswersRequest', | ||
| 248 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestFaqAnswersRequest'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedSuggestFaqAnswersRequest', | ||
| 251 | as ArrayRef[SuggestFaqAnswersRequest()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedSuggestFaqAnswersRequest', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestFaqAnswersRequest'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringSuggestFaqAnswersRequest', | ||
| 257 | as HashRef[SuggestFaqAnswersRequest()]; | ||
| 258 | |||
| 259 | declare 'SuggestFaqAnswersResponse', | ||
| 260 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestFaqAnswersResponse']; | ||
| 261 | |||
| 262 | coerce 'SuggestFaqAnswersResponse', | ||
| 263 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestFaqAnswersResponse'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedSuggestFaqAnswersResponse', | ||
| 266 | as ArrayRef[SuggestFaqAnswersResponse()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedSuggestFaqAnswersResponse', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestFaqAnswersResponse'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringSuggestFaqAnswersResponse', | ||
| 272 | as HashRef[SuggestFaqAnswersResponse()]; | ||
| 273 | |||
| 274 | declare 'GenerateSuggestionsResponse', | ||
| 275 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::GenerateSuggestionsResponse']; | ||
| 276 | |||
| 277 | coerce 'GenerateSuggestionsResponse', | ||
| 278 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::GenerateSuggestionsResponse'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedGenerateSuggestionsResponse', | ||
| 281 | as ArrayRef[GenerateSuggestionsResponse()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedGenerateSuggestionsResponse', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::GenerateSuggestionsResponse'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringGenerateSuggestionsResponse', | ||
| 287 | as HashRef[GenerateSuggestionsResponse()]; | ||
| 288 | |||
| 289 | declare 'GeneratorSuggestionAnswer', | ||
| 290 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::GenerateSuggestionsResponse::GeneratorSuggestionAnswer']; | ||
| 291 | |||
| 292 | coerce 'GeneratorSuggestionAnswer', | ||
| 293 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::GenerateSuggestionsResponse::GeneratorSuggestionAnswer'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedGeneratorSuggestionAnswer', | ||
| 296 | as ArrayRef[GeneratorSuggestionAnswer()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedGeneratorSuggestionAnswer', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::GenerateSuggestionsResponse::GeneratorSuggestionAnswer'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringGeneratorSuggestionAnswer', | ||
| 302 | as HashRef[GeneratorSuggestionAnswer()]; | ||
| 303 | |||
| 304 | declare 'ToolCallSuggestion', | ||
| 305 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ToolCallSuggestion']; | ||
| 306 | |||
| 307 | coerce 'ToolCallSuggestion', | ||
| 308 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ToolCallSuggestion'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedToolCallSuggestion', | ||
| 311 | as ArrayRef[ToolCallSuggestion()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedToolCallSuggestion', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ToolCallSuggestion'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringToolCallSuggestion', | ||
| 317 | as HashRef[ToolCallSuggestion()]; | ||
| 318 | |||
| 319 | declare 'ToolCallEvents', | ||
| 320 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ToolCallEvents']; | ||
| 321 | |||
| 322 | coerce 'ToolCallEvents', | ||
| 323 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ToolCallEvents'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedToolCallEvents', | ||
| 326 | as ArrayRef[ToolCallEvents()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedToolCallEvents', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ToolCallEvents'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringToolCallEvents', | ||
| 332 | as HashRef[ToolCallEvents()]; | ||
| 333 | |||
| 334 | declare 'CompanionSuggestion', | ||
| 335 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion']; | ||
| 336 | |||
| 337 | coerce 'CompanionSuggestion', | ||
| 338 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedCompanionSuggestion', | ||
| 341 | as ArrayRef[CompanionSuggestion()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedCompanionSuggestion', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringCompanionSuggestion', | ||
| 347 | as HashRef[CompanionSuggestion()]; | ||
| 348 | |||
| 349 | declare 'Guidance', | ||
| 350 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion::Guidance']; | ||
| 351 | |||
| 352 | coerce 'Guidance', | ||
| 353 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion::Guidance'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedGuidance', | ||
| 356 | as ArrayRef[Guidance()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedGuidance', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion::Guidance'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringGuidance', | ||
| 362 | as HashRef[Guidance()]; | ||
| 363 | |||
| 364 | declare 'KnowledgeSource', | ||
| 365 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion::Guidance::KnowledgeSource']; | ||
| 366 | |||
| 367 | coerce 'KnowledgeSource', | ||
| 368 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion::Guidance::KnowledgeSource'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedKnowledgeSource', | ||
| 371 | as ArrayRef[KnowledgeSource()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedKnowledgeSource', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::CompanionSuggestion::Guidance::KnowledgeSource'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringKnowledgeSource', | ||
| 377 | as HashRef[KnowledgeSource()]; | ||
| 378 | |||
| 379 | declare 'GenerateCompanionSuggestionsResponse', | ||
| 380 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::GenerateCompanionSuggestionsResponse']; | ||
| 381 | |||
| 382 | coerce 'GenerateCompanionSuggestionsResponse', | ||
| 383 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::GenerateCompanionSuggestionsResponse'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedGenerateCompanionSuggestionsResponse', | ||
| 386 | as ArrayRef[GenerateCompanionSuggestionsResponse()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedGenerateCompanionSuggestionsResponse', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::GenerateCompanionSuggestionsResponse'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringGenerateCompanionSuggestionsResponse', | ||
| 392 | as HashRef[GenerateCompanionSuggestionsResponse()]; | ||
| 393 | |||
| 394 | declare 'SuggestSmartRepliesRequest', | ||
| 395 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestSmartRepliesRequest']; | ||
| 396 | |||
| 397 | coerce 'SuggestSmartRepliesRequest', | ||
| 398 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestSmartRepliesRequest'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedSuggestSmartRepliesRequest', | ||
| 401 | as ArrayRef[SuggestSmartRepliesRequest()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedSuggestSmartRepliesRequest', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestSmartRepliesRequest'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringSuggestSmartRepliesRequest', | ||
| 407 | as HashRef[SuggestSmartRepliesRequest()]; | ||
| 408 | |||
| 409 | declare 'SuggestSmartRepliesResponse', | ||
| 410 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestSmartRepliesResponse']; | ||
| 411 | |||
| 412 | coerce 'SuggestSmartRepliesResponse', | ||
| 413 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestSmartRepliesResponse'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedSuggestSmartRepliesResponse', | ||
| 416 | as ArrayRef[SuggestSmartRepliesResponse()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedSuggestSmartRepliesResponse', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestSmartRepliesResponse'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringSuggestSmartRepliesResponse', | ||
| 422 | as HashRef[SuggestSmartRepliesResponse()]; | ||
| 423 | |||
| 424 | declare 'AudioInput', | ||
| 425 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::AudioInput']; | ||
| 426 | |||
| 427 | coerce 'AudioInput', | ||
| 428 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::AudioInput'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedAudioInput', | ||
| 431 | as ArrayRef[AudioInput()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedAudioInput', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::AudioInput'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringAudioInput', | ||
| 437 | as HashRef[AudioInput()]; | ||
| 438 | |||
| 439 | declare 'OutputAudio', | ||
| 440 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::OutputAudio']; | ||
| 441 | |||
| 442 | coerce 'OutputAudio', | ||
| 443 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::OutputAudio'->new($_) }; | ||
| 444 | |||
| 445 | declare 'RepeatedOutputAudio', | ||
| 446 | as ArrayRef[OutputAudio()]; | ||
| 447 | |||
| 448 | coerce 'RepeatedOutputAudio', | ||
| 449 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::OutputAudio'->new($_) } @$_ ] }; | ||
| 450 | |||
| 451 | declare 'MapStringOutputAudio', | ||
| 452 | as HashRef[OutputAudio()]; | ||
| 453 | |||
| 454 | declare 'AutomatedAgentReply', | ||
| 455 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::AutomatedAgentReply']; | ||
| 456 | |||
| 457 | coerce 'AutomatedAgentReply', | ||
| 458 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::AutomatedAgentReply'->new($_) }; | ||
| 459 | |||
| 460 | declare 'RepeatedAutomatedAgentReply', | ||
| 461 | as ArrayRef[AutomatedAgentReply()]; | ||
| 462 | |||
| 463 | coerce 'RepeatedAutomatedAgentReply', | ||
| 464 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::AutomatedAgentReply'->new($_) } @$_ ] }; | ||
| 465 | |||
| 466 | declare 'MapStringAutomatedAgentReply', | ||
| 467 | as HashRef[AutomatedAgentReply()]; | ||
| 468 | |||
| 469 | declare 'AutomatedAgentReplyType', | ||
| 470 | as (Int | Str); | ||
| 471 | |||
| 472 | declare 'ArticleAnswer', | ||
| 473 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ArticleAnswer']; | ||
| 474 | |||
| 475 | coerce 'ArticleAnswer', | ||
| 476 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ArticleAnswer'->new($_) }; | ||
| 477 | |||
| 478 | declare 'RepeatedArticleAnswer', | ||
| 479 | as ArrayRef[ArticleAnswer()]; | ||
| 480 | |||
| 481 | coerce 'RepeatedArticleAnswer', | ||
| 482 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ArticleAnswer'->new($_) } @$_ ] }; | ||
| 483 | |||
| 484 | declare 'MapStringArticleAnswer', | ||
| 485 | as HashRef[ArticleAnswer()]; | ||
| 486 | |||
| 487 | declare 'MetadataEntry', | ||
| 488 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ArticleAnswer::MetadataEntry']; | ||
| 489 | |||
| 490 | coerce 'MetadataEntry', | ||
| 491 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ArticleAnswer::MetadataEntry'->new($_) }; | ||
| 492 | |||
| 493 | declare 'RepeatedMetadataEntry', | ||
| 494 | as ArrayRef[MetadataEntry()]; | ||
| 495 | |||
| 496 | coerce 'RepeatedMetadataEntry', | ||
| 497 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ArticleAnswer::MetadataEntry'->new($_) } @$_ ] }; | ||
| 498 | |||
| 499 | declare 'MapStringMetadataEntry', | ||
| 500 | as HashRef[MetadataEntry()]; | ||
| 501 | |||
| 502 | declare 'FaqAnswer', | ||
| 503 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::FaqAnswer']; | ||
| 504 | |||
| 505 | coerce 'FaqAnswer', | ||
| 506 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::FaqAnswer'->new($_) }; | ||
| 507 | |||
| 508 | declare 'RepeatedFaqAnswer', | ||
| 509 | as ArrayRef[FaqAnswer()]; | ||
| 510 | |||
| 511 | coerce 'RepeatedFaqAnswer', | ||
| 512 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::FaqAnswer'->new($_) } @$_ ] }; | ||
| 513 | |||
| 514 | declare 'MapStringFaqAnswer', | ||
| 515 | as HashRef[FaqAnswer()]; | ||
| 516 | |||
| 517 | declare 'MetadataEntry', | ||
| 518 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::FaqAnswer::MetadataEntry']; | ||
| 519 | |||
| 520 | coerce 'MetadataEntry', | ||
| 521 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::FaqAnswer::MetadataEntry'->new($_) }; | ||
| 522 | |||
| 523 | declare 'RepeatedMetadataEntry', | ||
| 524 | as ArrayRef[MetadataEntry()]; | ||
| 525 | |||
| 526 | coerce 'RepeatedMetadataEntry', | ||
| 527 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::FaqAnswer::MetadataEntry'->new($_) } @$_ ] }; | ||
| 528 | |||
| 529 | declare 'MapStringMetadataEntry', | ||
| 530 | as HashRef[MetadataEntry()]; | ||
| 531 | |||
| 532 | declare 'SmartReplyAnswer', | ||
| 533 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SmartReplyAnswer']; | ||
| 534 | |||
| 535 | coerce 'SmartReplyAnswer', | ||
| 536 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SmartReplyAnswer'->new($_) }; | ||
| 537 | |||
| 538 | declare 'RepeatedSmartReplyAnswer', | ||
| 539 | as ArrayRef[SmartReplyAnswer()]; | ||
| 540 | |||
| 541 | coerce 'RepeatedSmartReplyAnswer', | ||
| 542 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SmartReplyAnswer'->new($_) } @$_ ] }; | ||
| 543 | |||
| 544 | declare 'MapStringSmartReplyAnswer', | ||
| 545 | as HashRef[SmartReplyAnswer()]; | ||
| 546 | |||
| 547 | declare 'IntentSuggestion', | ||
| 548 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::IntentSuggestion']; | ||
| 549 | |||
| 550 | coerce 'IntentSuggestion', | ||
| 551 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::IntentSuggestion'->new($_) }; | ||
| 552 | |||
| 553 | declare 'RepeatedIntentSuggestion', | ||
| 554 | as ArrayRef[IntentSuggestion()]; | ||
| 555 | |||
| 556 | coerce 'RepeatedIntentSuggestion', | ||
| 557 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::IntentSuggestion'->new($_) } @$_ ] }; | ||
| 558 | |||
| 559 | declare 'MapStringIntentSuggestion', | ||
| 560 | as HashRef[IntentSuggestion()]; | ||
| 561 | |||
| 562 | declare 'DialogflowAssistAnswer', | ||
| 563 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::DialogflowAssistAnswer']; | ||
| 564 | |||
| 565 | coerce 'DialogflowAssistAnswer', | ||
| 566 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::DialogflowAssistAnswer'->new($_) }; | ||
| 567 | |||
| 568 | declare 'RepeatedDialogflowAssistAnswer', | ||
| 569 | as ArrayRef[DialogflowAssistAnswer()]; | ||
| 570 | |||
| 571 | coerce 'RepeatedDialogflowAssistAnswer', | ||
| 572 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::DialogflowAssistAnswer'->new($_) } @$_ ] }; | ||
| 573 | |||
| 574 | declare 'MapStringDialogflowAssistAnswer', | ||
| 575 | as HashRef[DialogflowAssistAnswer()]; | ||
| 576 | |||
| 577 | declare 'SuggestionResult', | ||
| 578 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestionResult']; | ||
| 579 | |||
| 580 | coerce 'SuggestionResult', | ||
| 581 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestionResult'->new($_) }; | ||
| 582 | |||
| 583 | declare 'RepeatedSuggestionResult', | ||
| 584 | as ArrayRef[SuggestionResult()]; | ||
| 585 | |||
| 586 | coerce 'RepeatedSuggestionResult', | ||
| 587 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestionResult'->new($_) } @$_ ] }; | ||
| 588 | |||
| 589 | declare 'MapStringSuggestionResult', | ||
| 590 | as HashRef[SuggestionResult()]; | ||
| 591 | |||
| 592 | declare 'InputTextConfig', | ||
| 593 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::InputTextConfig']; | ||
| 594 | |||
| 595 | coerce 'InputTextConfig', | ||
| 596 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::InputTextConfig'->new($_) }; | ||
| 597 | |||
| 598 | declare 'RepeatedInputTextConfig', | ||
| 599 | as ArrayRef[InputTextConfig()]; | ||
| 600 | |||
| 601 | coerce 'RepeatedInputTextConfig', | ||
| 602 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::InputTextConfig'->new($_) } @$_ ] }; | ||
| 603 | |||
| 604 | declare 'MapStringInputTextConfig', | ||
| 605 | as HashRef[InputTextConfig()]; | ||
| 606 | |||
| 607 | declare 'AnnotatedMessagePart', | ||
| 608 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::AnnotatedMessagePart']; | ||
| 609 | |||
| 610 | coerce 'AnnotatedMessagePart', | ||
| 611 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::AnnotatedMessagePart'->new($_) }; | ||
| 612 | |||
| 613 | declare 'RepeatedAnnotatedMessagePart', | ||
| 614 | as ArrayRef[AnnotatedMessagePart()]; | ||
| 615 | |||
| 616 | coerce 'RepeatedAnnotatedMessagePart', | ||
| 617 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::AnnotatedMessagePart'->new($_) } @$_ ] }; | ||
| 618 | |||
| 619 | declare 'MapStringAnnotatedMessagePart', | ||
| 620 | as HashRef[AnnotatedMessagePart()]; | ||
| 621 | |||
| 622 | declare 'MessageAnnotation', | ||
| 623 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::MessageAnnotation']; | ||
| 624 | |||
| 625 | coerce 'MessageAnnotation', | ||
| 626 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::MessageAnnotation'->new($_) }; | ||
| 627 | |||
| 628 | declare 'RepeatedMessageAnnotation', | ||
| 629 | as ArrayRef[MessageAnnotation()]; | ||
| 630 | |||
| 631 | coerce 'RepeatedMessageAnnotation', | ||
| 632 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::MessageAnnotation'->new($_) } @$_ ] }; | ||
| 633 | |||
| 634 | declare 'MapStringMessageAnnotation', | ||
| 635 | as HashRef[MessageAnnotation()]; | ||
| 636 | |||
| 637 | declare 'SuggestionInput', | ||
| 638 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestionInput']; | ||
| 639 | |||
| 640 | coerce 'SuggestionInput', | ||
| 641 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestionInput'->new($_) }; | ||
| 642 | |||
| 643 | declare 'RepeatedSuggestionInput', | ||
| 644 | as ArrayRef[SuggestionInput()]; | ||
| 645 | |||
| 646 | coerce 'RepeatedSuggestionInput', | ||
| 647 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestionInput'->new($_) } @$_ ] }; | ||
| 648 | |||
| 649 | declare 'MapStringSuggestionInput', | ||
| 650 | as HashRef[SuggestionInput()]; | ||
| 651 | |||
| 652 | declare 'Action', | ||
| 653 | as (Int | Str); | ||
| 654 | |||
| 655 | declare 'AssistQueryParameters', | ||
| 656 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::AssistQueryParameters']; | ||
| 657 | |||
| 658 | coerce 'AssistQueryParameters', | ||
| 659 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::AssistQueryParameters'->new($_) }; | ||
| 660 | |||
| 661 | declare 'RepeatedAssistQueryParameters', | ||
| 662 | as ArrayRef[AssistQueryParameters()]; | ||
| 663 | |||
| 664 | coerce 'RepeatedAssistQueryParameters', | ||
| 665 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::AssistQueryParameters'->new($_) } @$_ ] }; | ||
| 666 | |||
| 667 | declare 'MapStringAssistQueryParameters', | ||
| 668 | as HashRef[AssistQueryParameters()]; | ||
| 669 | |||
| 670 | declare 'DocumentsMetadataFiltersEntry', | ||
| 671 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::AssistQueryParameters::DocumentsMetadataFiltersEntry']; | ||
| 672 | |||
| 673 | coerce 'DocumentsMetadataFiltersEntry', | ||
| 674 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::AssistQueryParameters::DocumentsMetadataFiltersEntry'->new($_) }; | ||
| 675 | |||
| 676 | declare 'RepeatedDocumentsMetadataFiltersEntry', | ||
| 677 | as ArrayRef[DocumentsMetadataFiltersEntry()]; | ||
| 678 | |||
| 679 | coerce 'RepeatedDocumentsMetadataFiltersEntry', | ||
| 680 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::AssistQueryParameters::DocumentsMetadataFiltersEntry'->new($_) } @$_ ] }; | ||
| 681 | |||
| 682 | declare 'MapStringDocumentsMetadataFiltersEntry', | ||
| 683 | as HashRef[DocumentsMetadataFiltersEntry()]; | ||
| 684 | |||
| 685 | declare 'ResponseMessage', | ||
| 686 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ResponseMessage']; | ||
| 687 | |||
| 688 | coerce 'ResponseMessage', | ||
| 689 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage'->new($_) }; | ||
| 690 | |||
| 691 | declare 'RepeatedResponseMessage', | ||
| 692 | as ArrayRef[ResponseMessage()]; | ||
| 693 | |||
| 694 | coerce 'RepeatedResponseMessage', | ||
| 695 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage'->new($_) } @$_ ] }; | ||
| 696 | |||
| 697 | declare 'MapStringResponseMessage', | ||
| 698 | as HashRef[ResponseMessage()]; | ||
| 699 | |||
| 700 | declare 'Text', | ||
| 701 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::Text']; | ||
| 702 | |||
| 703 | coerce 'Text', | ||
| 704 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::Text'->new($_) }; | ||
| 705 | |||
| 706 | declare 'RepeatedText', | ||
| 707 | as ArrayRef[Text()]; | ||
| 708 | |||
| 709 | coerce 'RepeatedText', | ||
| 710 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::Text'->new($_) } @$_ ] }; | ||
| 711 | |||
| 712 | declare 'MapStringText', | ||
| 713 | as HashRef[Text()]; | ||
| 714 | |||
| 715 | declare 'LiveAgentHandoff', | ||
| 716 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::LiveAgentHandoff']; | ||
| 717 | |||
| 718 | coerce 'LiveAgentHandoff', | ||
| 719 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::LiveAgentHandoff'->new($_) }; | ||
| 720 | |||
| 721 | declare 'RepeatedLiveAgentHandoff', | ||
| 722 | as ArrayRef[LiveAgentHandoff()]; | ||
| 723 | |||
| 724 | coerce 'RepeatedLiveAgentHandoff', | ||
| 725 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::LiveAgentHandoff'->new($_) } @$_ ] }; | ||
| 726 | |||
| 727 | declare 'MapStringLiveAgentHandoff', | ||
| 728 | as HashRef[LiveAgentHandoff()]; | ||
| 729 | |||
| 730 | declare 'EndInteraction', | ||
| 731 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::EndInteraction']; | ||
| 732 | |||
| 733 | coerce 'EndInteraction', | ||
| 734 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::EndInteraction'->new($_) }; | ||
| 735 | |||
| 736 | declare 'RepeatedEndInteraction', | ||
| 737 | as ArrayRef[EndInteraction()]; | ||
| 738 | |||
| 739 | coerce 'RepeatedEndInteraction', | ||
| 740 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::EndInteraction'->new($_) } @$_ ] }; | ||
| 741 | |||
| 742 | declare 'MapStringEndInteraction', | ||
| 743 | as HashRef[EndInteraction()]; | ||
| 744 | |||
| 745 | declare 'MixedAudio', | ||
| 746 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::MixedAudio']; | ||
| 747 | |||
| 748 | coerce 'MixedAudio', | ||
| 749 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::MixedAudio'->new($_) }; | ||
| 750 | |||
| 751 | declare 'RepeatedMixedAudio', | ||
| 752 | as ArrayRef[MixedAudio()]; | ||
| 753 | |||
| 754 | coerce 'RepeatedMixedAudio', | ||
| 755 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::MixedAudio'->new($_) } @$_ ] }; | ||
| 756 | |||
| 757 | declare 'MapStringMixedAudio', | ||
| 758 | as HashRef[MixedAudio()]; | ||
| 759 | |||
| 760 | declare 'Segment', | ||
| 761 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::MixedAudio::Segment']; | ||
| 762 | |||
| 763 | coerce 'Segment', | ||
| 764 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::MixedAudio::Segment'->new($_) }; | ||
| 765 | |||
| 766 | declare 'RepeatedSegment', | ||
| 767 | as ArrayRef[Segment()]; | ||
| 768 | |||
| 769 | coerce 'RepeatedSegment', | ||
| 770 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::MixedAudio::Segment'->new($_) } @$_ ] }; | ||
| 771 | |||
| 772 | declare 'MapStringSegment', | ||
| 773 | as HashRef[Segment()]; | ||
| 774 | |||
| 775 | declare 'TelephonyTransferCall', | ||
| 776 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::TelephonyTransferCall']; | ||
| 777 | |||
| 778 | coerce 'TelephonyTransferCall', | ||
| 779 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::TelephonyTransferCall'->new($_) }; | ||
| 780 | |||
| 781 | declare 'RepeatedTelephonyTransferCall', | ||
| 782 | as ArrayRef[TelephonyTransferCall()]; | ||
| 783 | |||
| 784 | coerce 'RepeatedTelephonyTransferCall', | ||
| 785 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ResponseMessage::TelephonyTransferCall'->new($_) } @$_ ] }; | ||
| 786 | |||
| 787 | declare 'MapStringTelephonyTransferCall', | ||
| 788 | as HashRef[TelephonyTransferCall()]; | ||
| 789 | |||
| 790 | declare 'SuggestKnowledgeAssistRequest', | ||
| 791 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestKnowledgeAssistRequest']; | ||
| 792 | |||
| 793 | coerce 'SuggestKnowledgeAssistRequest', | ||
| 794 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestKnowledgeAssistRequest'->new($_) }; | ||
| 795 | |||
| 796 | declare 'RepeatedSuggestKnowledgeAssistRequest', | ||
| 797 | as ArrayRef[SuggestKnowledgeAssistRequest()]; | ||
| 798 | |||
| 799 | coerce 'RepeatedSuggestKnowledgeAssistRequest', | ||
| 800 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestKnowledgeAssistRequest'->new($_) } @$_ ] }; | ||
| 801 | |||
| 802 | declare 'MapStringSuggestKnowledgeAssistRequest', | ||
| 803 | as HashRef[SuggestKnowledgeAssistRequest()]; | ||
| 804 | |||
| 805 | declare 'SuggestKnowledgeAssistResponse', | ||
| 806 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::SuggestKnowledgeAssistResponse']; | ||
| 807 | |||
| 808 | coerce 'SuggestKnowledgeAssistResponse', | ||
| 809 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::SuggestKnowledgeAssistResponse'->new($_) }; | ||
| 810 | |||
| 811 | declare 'RepeatedSuggestKnowledgeAssistResponse', | ||
| 812 | as ArrayRef[SuggestKnowledgeAssistResponse()]; | ||
| 813 | |||
| 814 | coerce 'RepeatedSuggestKnowledgeAssistResponse', | ||
| 815 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::SuggestKnowledgeAssistResponse'->new($_) } @$_ ] }; | ||
| 816 | |||
| 817 | declare 'MapStringSuggestKnowledgeAssistResponse', | ||
| 818 | as HashRef[SuggestKnowledgeAssistResponse()]; | ||
| 819 | |||
| 820 | declare 'IngestedContextReferenceDebugInfo', | ||
| 821 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::IngestedContextReferenceDebugInfo']; | ||
| 822 | |||
| 823 | coerce 'IngestedContextReferenceDebugInfo', | ||
| 824 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::IngestedContextReferenceDebugInfo'->new($_) }; | ||
| 825 | |||
| 826 | declare 'RepeatedIngestedContextReferenceDebugInfo', | ||
| 827 | as ArrayRef[IngestedContextReferenceDebugInfo()]; | ||
| 828 | |||
| 829 | coerce 'RepeatedIngestedContextReferenceDebugInfo', | ||
| 830 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::IngestedContextReferenceDebugInfo'->new($_) } @$_ ] }; | ||
| 831 | |||
| 832 | declare 'MapStringIngestedContextReferenceDebugInfo', | ||
| 833 | as HashRef[IngestedContextReferenceDebugInfo()]; | ||
| 834 | |||
| 835 | declare 'IngestedParameterDebugInfo', | ||
| 836 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::IngestedContextReferenceDebugInfo::IngestedParameterDebugInfo']; | ||
| 837 | |||
| 838 | coerce 'IngestedParameterDebugInfo', | ||
| 839 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::IngestedContextReferenceDebugInfo::IngestedParameterDebugInfo'->new($_) }; | ||
| 840 | |||
| 841 | declare 'RepeatedIngestedParameterDebugInfo', | ||
| 842 | as ArrayRef[IngestedParameterDebugInfo()]; | ||
| 843 | |||
| 844 | coerce 'RepeatedIngestedParameterDebugInfo', | ||
| 845 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::IngestedContextReferenceDebugInfo::IngestedParameterDebugInfo'->new($_) } @$_ ] }; | ||
| 846 | |||
| 847 | declare 'MapStringIngestedParameterDebugInfo', | ||
| 848 | as HashRef[IngestedParameterDebugInfo()]; | ||
| 849 | |||
| 850 | declare 'IngestionStatus', | ||
| 851 | as (Int | Str); | ||
| 852 | |||
| 853 | declare 'ServiceLatency', | ||
| 854 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ServiceLatency']; | ||
| 855 | |||
| 856 | coerce 'ServiceLatency', | ||
| 857 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ServiceLatency'->new($_) }; | ||
| 858 | |||
| 859 | declare 'RepeatedServiceLatency', | ||
| 860 | as ArrayRef[ServiceLatency()]; | ||
| 861 | |||
| 862 | coerce 'RepeatedServiceLatency', | ||
| 863 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ServiceLatency'->new($_) } @$_ ] }; | ||
| 864 | |||
| 865 | declare 'MapStringServiceLatency', | ||
| 866 | as HashRef[ServiceLatency()]; | ||
| 867 | |||
| 868 | declare 'InternalServiceLatency', | ||
| 869 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::ServiceLatency::InternalServiceLatency']; | ||
| 870 | |||
| 871 | coerce 'InternalServiceLatency', | ||
| 872 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::ServiceLatency::InternalServiceLatency'->new($_) }; | ||
| 873 | |||
| 874 | declare 'RepeatedInternalServiceLatency', | ||
| 875 | as ArrayRef[InternalServiceLatency()]; | ||
| 876 | |||
| 877 | coerce 'RepeatedInternalServiceLatency', | ||
| 878 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::ServiceLatency::InternalServiceLatency'->new($_) } @$_ ] }; | ||
| 879 | |||
| 880 | declare 'MapStringInternalServiceLatency', | ||
| 881 | as HashRef[InternalServiceLatency()]; | ||
| 882 | |||
| 883 | declare 'KnowledgeAssistDebugInfo', | ||
| 884 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo']; | ||
| 885 | |||
| 886 | coerce 'KnowledgeAssistDebugInfo', | ||
| 887 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo'->new($_) }; | ||
| 888 | |||
| 889 | declare 'RepeatedKnowledgeAssistDebugInfo', | ||
| 890 | as ArrayRef[KnowledgeAssistDebugInfo()]; | ||
| 891 | |||
| 892 | coerce 'RepeatedKnowledgeAssistDebugInfo', | ||
| 893 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo'->new($_) } @$_ ] }; | ||
| 894 | |||
| 895 | declare 'MapStringKnowledgeAssistDebugInfo', | ||
| 896 | as HashRef[KnowledgeAssistDebugInfo()]; | ||
| 897 | |||
| 898 | declare 'QueryGenerationFailureReason', | ||
| 899 | as (Int | Str); | ||
| 900 | |||
| 901 | declare 'QueryCategorizationFailureReason', | ||
| 902 | as (Int | Str); | ||
| 903 | |||
| 904 | declare 'KnowledgeAssistBehavior', | ||
| 905 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo::KnowledgeAssistBehavior']; | ||
| 906 | |||
| 907 | coerce 'KnowledgeAssistBehavior', | ||
| 908 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo::KnowledgeAssistBehavior'->new($_) }; | ||
| 909 | |||
| 910 | declare 'RepeatedKnowledgeAssistBehavior', | ||
| 911 | as ArrayRef[KnowledgeAssistBehavior()]; | ||
| 912 | |||
| 913 | coerce 'RepeatedKnowledgeAssistBehavior', | ||
| 914 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo::KnowledgeAssistBehavior'->new($_) } @$_ ] }; | ||
| 915 | |||
| 916 | declare 'MapStringKnowledgeAssistBehavior', | ||
| 917 | as HashRef[KnowledgeAssistBehavior()]; | ||
| 918 | |||
| 919 | declare 'QueryGenerationDebugInfo', | ||
| 920 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo::QueryGenerationDebugInfo']; | ||
| 921 | |||
| 922 | coerce 'QueryGenerationDebugInfo', | ||
| 923 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo::QueryGenerationDebugInfo'->new($_) }; | ||
| 924 | |||
| 925 | declare 'RepeatedQueryGenerationDebugInfo', | ||
| 926 | as ArrayRef[QueryGenerationDebugInfo()]; | ||
| 927 | |||
| 928 | coerce 'RepeatedQueryGenerationDebugInfo', | ||
| 929 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistDebugInfo::QueryGenerationDebugInfo'->new($_) } @$_ ] }; | ||
| 930 | |||
| 931 | declare 'MapStringQueryGenerationDebugInfo', | ||
| 932 | as HashRef[QueryGenerationDebugInfo()]; | ||
| 933 | |||
| 934 | declare 'KnowledgeAssistAnswer', | ||
| 935 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer']; | ||
| 936 | |||
| 937 | coerce 'KnowledgeAssistAnswer', | ||
| 938 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer'->new($_) }; | ||
| 939 | |||
| 940 | declare 'RepeatedKnowledgeAssistAnswer', | ||
| 941 | as ArrayRef[KnowledgeAssistAnswer()]; | ||
| 942 | |||
| 943 | coerce 'RepeatedKnowledgeAssistAnswer', | ||
| 944 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer'->new($_) } @$_ ] }; | ||
| 945 | |||
| 946 | declare 'MapStringKnowledgeAssistAnswer', | ||
| 947 | as HashRef[KnowledgeAssistAnswer()]; | ||
| 948 | |||
| 949 | declare 'SuggestedQuery', | ||
| 950 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::SuggestedQuery']; | ||
| 951 | |||
| 952 | coerce 'SuggestedQuery', | ||
| 953 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::SuggestedQuery'->new($_) }; | ||
| 954 | |||
| 955 | declare 'RepeatedSuggestedQuery', | ||
| 956 | as ArrayRef[SuggestedQuery()]; | ||
| 957 | |||
| 958 | coerce 'RepeatedSuggestedQuery', | ||
| 959 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::SuggestedQuery'->new($_) } @$_ ] }; | ||
| 960 | |||
| 961 | declare 'MapStringSuggestedQuery', | ||
| 962 | as HashRef[SuggestedQuery()]; | ||
| 963 | |||
| 964 | declare 'SearchContext', | ||
| 965 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::SuggestedQuery::SearchContext']; | ||
| 966 | |||
| 967 | coerce 'SearchContext', | ||
| 968 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::SuggestedQuery::SearchContext'->new($_) }; | ||
| 969 | |||
| 970 | declare 'RepeatedSearchContext', | ||
| 971 | as ArrayRef[SearchContext()]; | ||
| 972 | |||
| 973 | coerce 'RepeatedSearchContext', | ||
| 974 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::SuggestedQuery::SearchContext'->new($_) } @$_ ] }; | ||
| 975 | |||
| 976 | declare 'MapStringSearchContext', | ||
| 977 | as HashRef[SearchContext()]; | ||
| 978 | |||
| 979 | declare 'AdditionalSuggestedQueryResult', | ||
| 980 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::AdditionalSuggestedQueryResult']; | ||
| 981 | |||
| 982 | coerce 'AdditionalSuggestedQueryResult', | ||
| 983 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::AdditionalSuggestedQueryResult'->new($_) }; | ||
| 984 | |||
| 985 | declare 'RepeatedAdditionalSuggestedQueryResult', | ||
| 986 | as ArrayRef[AdditionalSuggestedQueryResult()]; | ||
| 987 | |||
| 988 | coerce 'RepeatedAdditionalSuggestedQueryResult', | ||
| 989 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::AdditionalSuggestedQueryResult'->new($_) } @$_ ] }; | ||
| 990 | |||
| 991 | declare 'MapStringAdditionalSuggestedQueryResult', | ||
| 992 | as HashRef[AdditionalSuggestedQueryResult()]; | ||
| 993 | |||
| 994 | declare 'KnowledgeAnswer', | ||
| 995 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer']; | ||
| 996 | |||
| 997 | coerce 'KnowledgeAnswer', | ||
| 998 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer'->new($_) }; | ||
| 999 | |||
| 1000 | declare 'RepeatedKnowledgeAnswer', | ||
| 1001 | as ArrayRef[KnowledgeAnswer()]; | ||
| 1002 | |||
| 1003 | coerce 'RepeatedKnowledgeAnswer', | ||
| 1004 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer'->new($_) } @$_ ] }; | ||
| 1005 | |||
| 1006 | declare 'MapStringKnowledgeAnswer', | ||
| 1007 | as HashRef[KnowledgeAnswer()]; | ||
| 1008 | |||
| 1009 | declare 'FaqSource', | ||
| 1010 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::FaqSource']; | ||
| 1011 | |||
| 1012 | coerce 'FaqSource', | ||
| 1013 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::FaqSource'->new($_) }; | ||
| 1014 | |||
| 1015 | declare 'RepeatedFaqSource', | ||
| 1016 | as ArrayRef[FaqSource()]; | ||
| 1017 | |||
| 1018 | coerce 'RepeatedFaqSource', | ||
| 1019 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::FaqSource'->new($_) } @$_ ] }; | ||
| 1020 | |||
| 1021 | declare 'MapStringFaqSource', | ||
| 1022 | as HashRef[FaqSource()]; | ||
| 1023 | |||
| 1024 | declare 'GenerativeSource', | ||
| 1025 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource']; | ||
| 1026 | |||
| 1027 | coerce 'GenerativeSource', | ||
| 1028 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource'->new($_) }; | ||
| 1029 | |||
| 1030 | declare 'RepeatedGenerativeSource', | ||
| 1031 | as ArrayRef[GenerativeSource()]; | ||
| 1032 | |||
| 1033 | coerce 'RepeatedGenerativeSource', | ||
| 1034 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource'->new($_) } @$_ ] }; | ||
| 1035 | |||
| 1036 | declare 'MapStringGenerativeSource', | ||
| 1037 | as HashRef[GenerativeSource()]; | ||
| 1038 | |||
| 1039 | declare 'Snippet', | ||
| 1040 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource::Snippet']; | ||
| 1041 | |||
| 1042 | coerce 'Snippet', | ||
| 1043 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource::Snippet'->new($_) }; | ||
| 1044 | |||
| 1045 | declare 'RepeatedSnippet', | ||
| 1046 | as ArrayRef[Snippet()]; | ||
| 1047 | |||
| 1048 | coerce 'RepeatedSnippet', | ||
| 1049 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource::Snippet'->new($_) } @$_ ] }; | ||
| 1050 | |||
| 1051 | declare 'MapStringSnippet', | ||
| 1052 | as HashRef[Snippet()]; | ||
| 1053 | |||
| 1054 | declare 'EventSource', | ||
| 1055 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::EventSource']; | ||
| 1056 | |||
| 1057 | coerce 'EventSource', | ||
| 1058 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::EventSource'->new($_) }; | ||
| 1059 | |||
| 1060 | declare 'RepeatedEventSource', | ||
| 1061 | as ArrayRef[EventSource()]; | ||
| 1062 | |||
| 1063 | coerce 'RepeatedEventSource', | ||
| 1064 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::KnowledgeAssistAnswer::KnowledgeAnswer::EventSource'->new($_) } @$_ ] }; | ||
| 1065 | |||
| 1066 | declare 'MapStringEventSource', | ||
| 1067 | as HashRef[EventSource()]; | ||
| 1068 | |||
| 1069 | declare 'StreamingReactiveCompanionSuggestionsRequest', | ||
| 1070 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsRequest']; | ||
| 1071 | |||
| 1072 | coerce 'StreamingReactiveCompanionSuggestionsRequest', | ||
| 1073 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsRequest'->new($_) }; | ||
| 1074 | |||
| 1075 | declare 'RepeatedStreamingReactiveCompanionSuggestionsRequest', | ||
| 1076 | as ArrayRef[StreamingReactiveCompanionSuggestionsRequest()]; | ||
| 1077 | |||
| 1078 | coerce 'RepeatedStreamingReactiveCompanionSuggestionsRequest', | ||
| 1079 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsRequest'->new($_) } @$_ ] }; | ||
| 1080 | |||
| 1081 | declare 'MapStringStreamingReactiveCompanionSuggestionsRequest', | ||
| 1082 | as HashRef[StreamingReactiveCompanionSuggestionsRequest()]; | ||
| 1083 | |||
| 1084 | declare 'CancelQuery', | ||
| 1085 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::CancelQuery']; | ||
| 1086 | |||
| 1087 | coerce 'CancelQuery', | ||
| 1088 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::CancelQuery'->new($_) }; | ||
| 1089 | |||
| 1090 | declare 'RepeatedCancelQuery', | ||
| 1091 | as ArrayRef[CancelQuery()]; | ||
| 1092 | |||
| 1093 | coerce 'RepeatedCancelQuery', | ||
| 1094 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::CancelQuery'->new($_) } @$_ ] }; | ||
| 1095 | |||
| 1096 | declare 'MapStringCancelQuery', | ||
| 1097 | as HashRef[CancelQuery()]; | ||
| 1098 | |||
| 1099 | declare 'StreamingReactiveCompanionSuggestionsResponse', | ||
| 1100 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsResponse']; | ||
| 1101 | |||
| 1102 | coerce 'StreamingReactiveCompanionSuggestionsResponse', | ||
| 1103 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsResponse'->new($_) }; | ||
| 1104 | |||
| 1105 | declare 'RepeatedStreamingReactiveCompanionSuggestionsResponse', | ||
| 1106 | as ArrayRef[StreamingReactiveCompanionSuggestionsResponse()]; | ||
| 1107 | |||
| 1108 | coerce 'RepeatedStreamingReactiveCompanionSuggestionsResponse', | ||
| 1109 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsResponse'->new($_) } @$_ ] }; | ||
| 1110 | |||
| 1111 | declare 'MapStringStreamingReactiveCompanionSuggestionsResponse', | ||
| 1112 | as HashRef[StreamingReactiveCompanionSuggestionsResponse()]; | ||
| 1113 | |||
| 1114 | declare 'ReactiveModeResponse', | ||
| 1115 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsResponse::ReactiveModeResponse']; | ||
| 1116 | |||
| 1117 | coerce 'ReactiveModeResponse', | ||
| 1118 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsResponse::ReactiveModeResponse'->new($_) }; | ||
| 1119 | |||
| 1120 | declare 'RepeatedReactiveModeResponse', | ||
| 1121 | as ArrayRef[ReactiveModeResponse()]; | ||
| 1122 | |||
| 1123 | coerce 'RepeatedReactiveModeResponse', | ||
| 1124 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::StreamingReactiveCompanionSuggestionsResponse::ReactiveModeResponse'->new($_) } @$_ ] }; | ||
| 1125 | |||
| 1126 | declare 'MapStringReactiveModeResponse', | ||
| 1127 | as HashRef[ReactiveModeResponse()]; | ||
| 1128 | |||
| 1129 | declare 'BidiStreamingAnalyzeContentRequest', | ||
| 1130 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest']; | ||
| 1131 | |||
| 1132 | coerce 'BidiStreamingAnalyzeContentRequest', | ||
| 1133 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest'->new($_) }; | ||
| 1134 | |||
| 1135 | declare 'RepeatedBidiStreamingAnalyzeContentRequest', | ||
| 1136 | as ArrayRef[BidiStreamingAnalyzeContentRequest()]; | ||
| 1137 | |||
| 1138 | coerce 'RepeatedBidiStreamingAnalyzeContentRequest', | ||
| 1139 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest'->new($_) } @$_ ] }; | ||
| 1140 | |||
| 1141 | declare 'MapStringBidiStreamingAnalyzeContentRequest', | ||
| 1142 | as HashRef[BidiStreamingAnalyzeContentRequest()]; | ||
| 1143 | |||
| 1144 | declare 'Config', | ||
| 1145 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Config']; | ||
| 1146 | |||
| 1147 | coerce 'Config', | ||
| 1148 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Config'->new($_) }; | ||
| 1149 | |||
| 1150 | declare 'RepeatedConfig', | ||
| 1151 | as ArrayRef[Config()]; | ||
| 1152 | |||
| 1153 | coerce 'RepeatedConfig', | ||
| 1154 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Config'->new($_) } @$_ ] }; | ||
| 1155 | |||
| 1156 | declare 'MapStringConfig', | ||
| 1157 | as HashRef[Config()]; | ||
| 1158 | |||
| 1159 | declare 'VoiceSessionConfig', | ||
| 1160 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Config::VoiceSessionConfig']; | ||
| 1161 | |||
| 1162 | coerce 'VoiceSessionConfig', | ||
| 1163 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Config::VoiceSessionConfig'->new($_) }; | ||
| 1164 | |||
| 1165 | declare 'RepeatedVoiceSessionConfig', | ||
| 1166 | as ArrayRef[VoiceSessionConfig()]; | ||
| 1167 | |||
| 1168 | coerce 'RepeatedVoiceSessionConfig', | ||
| 1169 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Config::VoiceSessionConfig'->new($_) } @$_ ] }; | ||
| 1170 | |||
| 1171 | declare 'MapStringVoiceSessionConfig', | ||
| 1172 | as HashRef[VoiceSessionConfig()]; | ||
| 1173 | |||
| 1174 | declare 'TurnInput', | ||
| 1175 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::TurnInput']; | ||
| 1176 | |||
| 1177 | coerce 'TurnInput', | ||
| 1178 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::TurnInput'->new($_) }; | ||
| 1179 | |||
| 1180 | declare 'RepeatedTurnInput', | ||
| 1181 | as ArrayRef[TurnInput()]; | ||
| 1182 | |||
| 1183 | coerce 'RepeatedTurnInput', | ||
| 1184 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::TurnInput'->new($_) } @$_ ] }; | ||
| 1185 | |||
| 1186 | declare 'MapStringTurnInput', | ||
| 1187 | as HashRef[TurnInput()]; | ||
| 1188 | |||
| 1189 | declare 'Input', | ||
| 1190 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Input']; | ||
| 1191 | |||
| 1192 | coerce 'Input', | ||
| 1193 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Input'->new($_) }; | ||
| 1194 | |||
| 1195 | declare 'RepeatedInput', | ||
| 1196 | as ArrayRef[Input()]; | ||
| 1197 | |||
| 1198 | coerce 'RepeatedInput', | ||
| 1199 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentRequest::Input'->new($_) } @$_ ] }; | ||
| 1200 | |||
| 1201 | declare 'MapStringInput', | ||
| 1202 | as HashRef[Input()]; | ||
| 1203 | |||
| 1204 | declare 'BidiStreamingAnalyzeContentResponse', | ||
| 1205 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse']; | ||
| 1206 | |||
| 1207 | coerce 'BidiStreamingAnalyzeContentResponse', | ||
| 1208 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse'->new($_) }; | ||
| 1209 | |||
| 1210 | declare 'RepeatedBidiStreamingAnalyzeContentResponse', | ||
| 1211 | as ArrayRef[BidiStreamingAnalyzeContentResponse()]; | ||
| 1212 | |||
| 1213 | coerce 'RepeatedBidiStreamingAnalyzeContentResponse', | ||
| 1214 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse'->new($_) } @$_ ] }; | ||
| 1215 | |||
| 1216 | declare 'MapStringBidiStreamingAnalyzeContentResponse', | ||
| 1217 | as HashRef[BidiStreamingAnalyzeContentResponse()]; | ||
| 1218 | |||
| 1219 | declare 'BargeInSignal', | ||
| 1220 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse::BargeInSignal']; | ||
| 1221 | |||
| 1222 | coerce 'BargeInSignal', | ||
| 1223 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse::BargeInSignal'->new($_) }; | ||
| 1224 | |||
| 1225 | declare 'RepeatedBargeInSignal', | ||
| 1226 | as ArrayRef[BargeInSignal()]; | ||
| 1227 | |||
| 1228 | coerce 'RepeatedBargeInSignal', | ||
| 1229 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse::BargeInSignal'->new($_) } @$_ ] }; | ||
| 1230 | |||
| 1231 | declare 'MapStringBargeInSignal', | ||
| 1232 | as HashRef[BargeInSignal()]; | ||
| 1233 | |||
| 1234 | declare 'TurnComplete', | ||
| 1235 | as InstanceOf['Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse::TurnComplete']; | ||
| 1236 | |||
| 1237 | coerce 'TurnComplete', | ||
| 1238 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse::TurnComplete'->new($_) }; | ||
| 1239 | |||
| 1240 | declare 'RepeatedTurnComplete', | ||
| 1241 | as ArrayRef[TurnComplete()]; | ||
| 1242 | |||
| 1243 | coerce 'RepeatedTurnComplete', | ||
| 1244 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Participant::BidiStreamingAnalyzeContentResponse::TurnComplete'->new($_) } @$_ ] }; | ||
| 1245 | |||
| 1246 | declare 'MapStringTurnComplete', | ||
| 1247 | as HashRef[TurnComplete()]; | ||
| 1248 | |||
| 1249 | 1; | ||
| 1250 | |||
| 1251 | __END__ |