| 1 | package Google::Cloud::Dialogflow::V2beta1::Conversation::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 'Conversation', | ||
| 11 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation']; | ||
| 12 | |||
| 13 | coerce 'Conversation', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedConversation', | ||
| 17 | as ArrayRef[Conversation()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedConversation', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringConversation', | ||
| 23 | as HashRef[Conversation()]; | ||
| 24 | |||
| 25 | declare 'LifecycleState', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'ConversationStage', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'TelephonyConnectionInfo', | ||
| 32 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo']; | ||
| 33 | |||
| 34 | coerce 'TelephonyConnectionInfo', | ||
| 35 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo'->new($_) }; | ||
| 36 | |||
| 37 | declare 'RepeatedTelephonyConnectionInfo', | ||
| 38 | as ArrayRef[TelephonyConnectionInfo()]; | ||
| 39 | |||
| 40 | coerce 'RepeatedTelephonyConnectionInfo', | ||
| 41 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo'->new($_) } @$_ ] }; | ||
| 42 | |||
| 43 | declare 'MapStringTelephonyConnectionInfo', | ||
| 44 | as HashRef[TelephonyConnectionInfo()]; | ||
| 45 | |||
| 46 | declare 'SipHeader', | ||
| 47 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo::SipHeader']; | ||
| 48 | |||
| 49 | coerce 'SipHeader', | ||
| 50 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo::SipHeader'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedSipHeader', | ||
| 53 | as ArrayRef[SipHeader()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedSipHeader', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo::SipHeader'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringSipHeader', | ||
| 59 | as HashRef[SipHeader()]; | ||
| 60 | |||
| 61 | declare 'MimeContent', | ||
| 62 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo::MimeContent']; | ||
| 63 | |||
| 64 | coerce 'MimeContent', | ||
| 65 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo::MimeContent'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedMimeContent', | ||
| 68 | as ArrayRef[MimeContent()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedMimeContent', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::TelephonyConnectionInfo::MimeContent'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringMimeContent', | ||
| 74 | as HashRef[MimeContent()]; | ||
| 75 | |||
| 76 | declare 'ContextReference', | ||
| 77 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::ContextReference']; | ||
| 78 | |||
| 79 | coerce 'ContextReference', | ||
| 80 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::ContextReference'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedContextReference', | ||
| 83 | as ArrayRef[ContextReference()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedContextReference', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::ContextReference'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringContextReference', | ||
| 89 | as HashRef[ContextReference()]; | ||
| 90 | |||
| 91 | declare 'UpdateMode', | ||
| 92 | as (Int | Str); | ||
| 93 | |||
| 94 | declare 'ContextContent', | ||
| 95 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::ContextReference::ContextContent']; | ||
| 96 | |||
| 97 | coerce 'ContextContent', | ||
| 98 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::ContextReference::ContextContent'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedContextContent', | ||
| 101 | as ArrayRef[ContextContent()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedContextContent', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::ContextReference::ContextContent'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringContextContent', | ||
| 107 | as HashRef[ContextContent()]; | ||
| 108 | |||
| 109 | declare 'ContentFormat', | ||
| 110 | as (Int | Str); | ||
| 111 | |||
| 112 | declare 'GeneratorContext', | ||
| 113 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::GeneratorContext']; | ||
| 114 | |||
| 115 | coerce 'GeneratorContext', | ||
| 116 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::GeneratorContext'->new($_) }; | ||
| 117 | |||
| 118 | declare 'RepeatedGeneratorContext', | ||
| 119 | as ArrayRef[GeneratorContext()]; | ||
| 120 | |||
| 121 | coerce 'RepeatedGeneratorContext', | ||
| 122 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::GeneratorContext'->new($_) } @$_ ] }; | ||
| 123 | |||
| 124 | declare 'MapStringGeneratorContext', | ||
| 125 | as HashRef[GeneratorContext()]; | ||
| 126 | |||
| 127 | declare 'GeneratorType', | ||
| 128 | as (Int | Str); | ||
| 129 | |||
| 130 | declare 'IngestedContextReferencesEntry', | ||
| 131 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::IngestedContextReferencesEntry']; | ||
| 132 | |||
| 133 | coerce 'IngestedContextReferencesEntry', | ||
| 134 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::IngestedContextReferencesEntry'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedIngestedContextReferencesEntry', | ||
| 137 | as ArrayRef[IngestedContextReferencesEntry()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedIngestedContextReferencesEntry', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::IngestedContextReferencesEntry'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringIngestedContextReferencesEntry', | ||
| 143 | as HashRef[IngestedContextReferencesEntry()]; | ||
| 144 | |||
| 145 | declare 'InitialGeneratorContextsEntry', | ||
| 146 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::InitialGeneratorContextsEntry']; | ||
| 147 | |||
| 148 | coerce 'InitialGeneratorContextsEntry', | ||
| 149 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::InitialGeneratorContextsEntry'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedInitialGeneratorContextsEntry', | ||
| 152 | as ArrayRef[InitialGeneratorContextsEntry()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedInitialGeneratorContextsEntry', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::Conversation::InitialGeneratorContextsEntry'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringInitialGeneratorContextsEntry', | ||
| 158 | as HashRef[InitialGeneratorContextsEntry()]; | ||
| 159 | |||
| 160 | declare 'ConversationPhoneNumber', | ||
| 161 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::ConversationPhoneNumber']; | ||
| 162 | |||
| 163 | coerce 'ConversationPhoneNumber', | ||
| 164 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ConversationPhoneNumber'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedConversationPhoneNumber', | ||
| 167 | as ArrayRef[ConversationPhoneNumber()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedConversationPhoneNumber', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ConversationPhoneNumber'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringConversationPhoneNumber', | ||
| 173 | as HashRef[ConversationPhoneNumber()]; | ||
| 174 | |||
| 175 | declare 'CreateConversationRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::CreateConversationRequest']; | ||
| 177 | |||
| 178 | coerce 'CreateConversationRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::CreateConversationRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedCreateConversationRequest', | ||
| 182 | as ArrayRef[CreateConversationRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedCreateConversationRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::CreateConversationRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringCreateConversationRequest', | ||
| 188 | as HashRef[CreateConversationRequest()]; | ||
| 189 | |||
| 190 | declare 'ListConversationsRequest', | ||
| 191 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::ListConversationsRequest']; | ||
| 192 | |||
| 193 | coerce 'ListConversationsRequest', | ||
| 194 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ListConversationsRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedListConversationsRequest', | ||
| 197 | as ArrayRef[ListConversationsRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedListConversationsRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ListConversationsRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringListConversationsRequest', | ||
| 203 | as HashRef[ListConversationsRequest()]; | ||
| 204 | |||
| 205 | declare 'ListConversationsResponse', | ||
| 206 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::ListConversationsResponse']; | ||
| 207 | |||
| 208 | coerce 'ListConversationsResponse', | ||
| 209 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ListConversationsResponse'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedListConversationsResponse', | ||
| 212 | as ArrayRef[ListConversationsResponse()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedListConversationsResponse', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ListConversationsResponse'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringListConversationsResponse', | ||
| 218 | as HashRef[ListConversationsResponse()]; | ||
| 219 | |||
| 220 | declare 'GetConversationRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GetConversationRequest']; | ||
| 222 | |||
| 223 | coerce 'GetConversationRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GetConversationRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedGetConversationRequest', | ||
| 227 | as ArrayRef[GetConversationRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedGetConversationRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GetConversationRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringGetConversationRequest', | ||
| 233 | as HashRef[GetConversationRequest()]; | ||
| 234 | |||
| 235 | declare 'CompleteConversationRequest', | ||
| 236 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::CompleteConversationRequest']; | ||
| 237 | |||
| 238 | coerce 'CompleteConversationRequest', | ||
| 239 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::CompleteConversationRequest'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedCompleteConversationRequest', | ||
| 242 | as ArrayRef[CompleteConversationRequest()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedCompleteConversationRequest', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::CompleteConversationRequest'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringCompleteConversationRequest', | ||
| 248 | as HashRef[CompleteConversationRequest()]; | ||
| 249 | |||
| 250 | declare 'CreateMessageRequest', | ||
| 251 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::CreateMessageRequest']; | ||
| 252 | |||
| 253 | coerce 'CreateMessageRequest', | ||
| 254 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::CreateMessageRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedCreateMessageRequest', | ||
| 257 | as ArrayRef[CreateMessageRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedCreateMessageRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::CreateMessageRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringCreateMessageRequest', | ||
| 263 | as HashRef[CreateMessageRequest()]; | ||
| 264 | |||
| 265 | declare 'BatchCreateMessagesRequest', | ||
| 266 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::BatchCreateMessagesRequest']; | ||
| 267 | |||
| 268 | coerce 'BatchCreateMessagesRequest', | ||
| 269 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::BatchCreateMessagesRequest'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedBatchCreateMessagesRequest', | ||
| 272 | as ArrayRef[BatchCreateMessagesRequest()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedBatchCreateMessagesRequest', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::BatchCreateMessagesRequest'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringBatchCreateMessagesRequest', | ||
| 278 | as HashRef[BatchCreateMessagesRequest()]; | ||
| 279 | |||
| 280 | declare 'BatchCreateMessagesResponse', | ||
| 281 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::BatchCreateMessagesResponse']; | ||
| 282 | |||
| 283 | coerce 'BatchCreateMessagesResponse', | ||
| 284 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::BatchCreateMessagesResponse'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedBatchCreateMessagesResponse', | ||
| 287 | as ArrayRef[BatchCreateMessagesResponse()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedBatchCreateMessagesResponse', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::BatchCreateMessagesResponse'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringBatchCreateMessagesResponse', | ||
| 293 | as HashRef[BatchCreateMessagesResponse()]; | ||
| 294 | |||
| 295 | declare 'ListMessagesRequest', | ||
| 296 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::ListMessagesRequest']; | ||
| 297 | |||
| 298 | coerce 'ListMessagesRequest', | ||
| 299 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ListMessagesRequest'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedListMessagesRequest', | ||
| 302 | as ArrayRef[ListMessagesRequest()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedListMessagesRequest', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ListMessagesRequest'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringListMessagesRequest', | ||
| 308 | as HashRef[ListMessagesRequest()]; | ||
| 309 | |||
| 310 | declare 'ListMessagesResponse', | ||
| 311 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::ListMessagesResponse']; | ||
| 312 | |||
| 313 | coerce 'ListMessagesResponse', | ||
| 314 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ListMessagesResponse'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedListMessagesResponse', | ||
| 317 | as ArrayRef[ListMessagesResponse()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedListMessagesResponse', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::ListMessagesResponse'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringListMessagesResponse', | ||
| 323 | as HashRef[ListMessagesResponse()]; | ||
| 324 | |||
| 325 | declare 'IngestContextReferencesRequest', | ||
| 326 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesRequest']; | ||
| 327 | |||
| 328 | coerce 'IngestContextReferencesRequest', | ||
| 329 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesRequest'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedIngestContextReferencesRequest', | ||
| 332 | as ArrayRef[IngestContextReferencesRequest()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedIngestContextReferencesRequest', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesRequest'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringIngestContextReferencesRequest', | ||
| 338 | as HashRef[IngestContextReferencesRequest()]; | ||
| 339 | |||
| 340 | declare 'ContextReferencesEntry', | ||
| 341 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesRequest::ContextReferencesEntry']; | ||
| 342 | |||
| 343 | coerce 'ContextReferencesEntry', | ||
| 344 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesRequest::ContextReferencesEntry'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedContextReferencesEntry', | ||
| 347 | as ArrayRef[ContextReferencesEntry()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedContextReferencesEntry', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesRequest::ContextReferencesEntry'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringContextReferencesEntry', | ||
| 353 | as HashRef[ContextReferencesEntry()]; | ||
| 354 | |||
| 355 | declare 'IngestContextReferencesResponse', | ||
| 356 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesResponse']; | ||
| 357 | |||
| 358 | coerce 'IngestContextReferencesResponse', | ||
| 359 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesResponse'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedIngestContextReferencesResponse', | ||
| 362 | as ArrayRef[IngestContextReferencesResponse()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedIngestContextReferencesResponse', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesResponse'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringIngestContextReferencesResponse', | ||
| 368 | as HashRef[IngestContextReferencesResponse()]; | ||
| 369 | |||
| 370 | declare 'IngestedContextReferencesEntry', | ||
| 371 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesResponse::IngestedContextReferencesEntry']; | ||
| 372 | |||
| 373 | coerce 'IngestedContextReferencesEntry', | ||
| 374 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesResponse::IngestedContextReferencesEntry'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedIngestedContextReferencesEntry', | ||
| 377 | as ArrayRef[IngestedContextReferencesEntry()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedIngestedContextReferencesEntry', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::IngestContextReferencesResponse::IngestedContextReferencesEntry'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringIngestedContextReferencesEntry', | ||
| 383 | as HashRef[IngestedContextReferencesEntry()]; | ||
| 384 | |||
| 385 | declare 'SuggestConversationSummaryRequest', | ||
| 386 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryRequest']; | ||
| 387 | |||
| 388 | coerce 'SuggestConversationSummaryRequest', | ||
| 389 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryRequest'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedSuggestConversationSummaryRequest', | ||
| 392 | as ArrayRef[SuggestConversationSummaryRequest()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedSuggestConversationSummaryRequest', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryRequest'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringSuggestConversationSummaryRequest', | ||
| 398 | as HashRef[SuggestConversationSummaryRequest()]; | ||
| 399 | |||
| 400 | declare 'SuggestConversationSummaryResponse', | ||
| 401 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse']; | ||
| 402 | |||
| 403 | coerce 'SuggestConversationSummaryResponse', | ||
| 404 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedSuggestConversationSummaryResponse', | ||
| 407 | as ArrayRef[SuggestConversationSummaryResponse()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedSuggestConversationSummaryResponse', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringSuggestConversationSummaryResponse', | ||
| 413 | as HashRef[SuggestConversationSummaryResponse()]; | ||
| 414 | |||
| 415 | declare 'Summary', | ||
| 416 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary']; | ||
| 417 | |||
| 418 | coerce 'Summary', | ||
| 419 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedSummary', | ||
| 422 | as ArrayRef[Summary()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedSummary', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringSummary', | ||
| 428 | as HashRef[Summary()]; | ||
| 429 | |||
| 430 | declare 'SummarySection', | ||
| 431 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary::SummarySection']; | ||
| 432 | |||
| 433 | coerce 'SummarySection', | ||
| 434 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary::SummarySection'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedSummarySection', | ||
| 437 | as ArrayRef[SummarySection()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedSummarySection', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary::SummarySection'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringSummarySection', | ||
| 443 | as HashRef[SummarySection()]; | ||
| 444 | |||
| 445 | declare 'TextSectionsEntry', | ||
| 446 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary::TextSectionsEntry']; | ||
| 447 | |||
| 448 | coerce 'TextSectionsEntry', | ||
| 449 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary::TextSectionsEntry'->new($_) }; | ||
| 450 | |||
| 451 | declare 'RepeatedTextSectionsEntry', | ||
| 452 | as ArrayRef[TextSectionsEntry()]; | ||
| 453 | |||
| 454 | coerce 'RepeatedTextSectionsEntry', | ||
| 455 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SuggestConversationSummaryResponse::Summary::TextSectionsEntry'->new($_) } @$_ ] }; | ||
| 456 | |||
| 457 | declare 'MapStringTextSectionsEntry', | ||
| 458 | as HashRef[TextSectionsEntry()]; | ||
| 459 | |||
| 460 | declare 'GenerateStatelessSummaryRequest', | ||
| 461 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryRequest']; | ||
| 462 | |||
| 463 | coerce 'GenerateStatelessSummaryRequest', | ||
| 464 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryRequest'->new($_) }; | ||
| 465 | |||
| 466 | declare 'RepeatedGenerateStatelessSummaryRequest', | ||
| 467 | as ArrayRef[GenerateStatelessSummaryRequest()]; | ||
| 468 | |||
| 469 | coerce 'RepeatedGenerateStatelessSummaryRequest', | ||
| 470 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryRequest'->new($_) } @$_ ] }; | ||
| 471 | |||
| 472 | declare 'MapStringGenerateStatelessSummaryRequest', | ||
| 473 | as HashRef[GenerateStatelessSummaryRequest()]; | ||
| 474 | |||
| 475 | declare 'MinimalConversation', | ||
| 476 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryRequest::MinimalConversation']; | ||
| 477 | |||
| 478 | coerce 'MinimalConversation', | ||
| 479 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryRequest::MinimalConversation'->new($_) }; | ||
| 480 | |||
| 481 | declare 'RepeatedMinimalConversation', | ||
| 482 | as ArrayRef[MinimalConversation()]; | ||
| 483 | |||
| 484 | coerce 'RepeatedMinimalConversation', | ||
| 485 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryRequest::MinimalConversation'->new($_) } @$_ ] }; | ||
| 486 | |||
| 487 | declare 'MapStringMinimalConversation', | ||
| 488 | as HashRef[MinimalConversation()]; | ||
| 489 | |||
| 490 | declare 'GenerateStatelessSummaryResponse', | ||
| 491 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse']; | ||
| 492 | |||
| 493 | coerce 'GenerateStatelessSummaryResponse', | ||
| 494 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse'->new($_) }; | ||
| 495 | |||
| 496 | declare 'RepeatedGenerateStatelessSummaryResponse', | ||
| 497 | as ArrayRef[GenerateStatelessSummaryResponse()]; | ||
| 498 | |||
| 499 | coerce 'RepeatedGenerateStatelessSummaryResponse', | ||
| 500 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse'->new($_) } @$_ ] }; | ||
| 501 | |||
| 502 | declare 'MapStringGenerateStatelessSummaryResponse', | ||
| 503 | as HashRef[GenerateStatelessSummaryResponse()]; | ||
| 504 | |||
| 505 | declare 'Summary', | ||
| 506 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse::Summary']; | ||
| 507 | |||
| 508 | coerce 'Summary', | ||
| 509 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse::Summary'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedSummary', | ||
| 512 | as ArrayRef[Summary()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedSummary', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse::Summary'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringSummary', | ||
| 518 | as HashRef[Summary()]; | ||
| 519 | |||
| 520 | declare 'TextSectionsEntry', | ||
| 521 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse::Summary::TextSectionsEntry']; | ||
| 522 | |||
| 523 | coerce 'TextSectionsEntry', | ||
| 524 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse::Summary::TextSectionsEntry'->new($_) }; | ||
| 525 | |||
| 526 | declare 'RepeatedTextSectionsEntry', | ||
| 527 | as ArrayRef[TextSectionsEntry()]; | ||
| 528 | |||
| 529 | coerce 'RepeatedTextSectionsEntry', | ||
| 530 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSummaryResponse::Summary::TextSectionsEntry'->new($_) } @$_ ] }; | ||
| 531 | |||
| 532 | declare 'MapStringTextSectionsEntry', | ||
| 533 | as HashRef[TextSectionsEntry()]; | ||
| 534 | |||
| 535 | declare 'GenerateStatelessSuggestionRequest', | ||
| 536 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionRequest']; | ||
| 537 | |||
| 538 | coerce 'GenerateStatelessSuggestionRequest', | ||
| 539 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionRequest'->new($_) }; | ||
| 540 | |||
| 541 | declare 'RepeatedGenerateStatelessSuggestionRequest', | ||
| 542 | as ArrayRef[GenerateStatelessSuggestionRequest()]; | ||
| 543 | |||
| 544 | coerce 'RepeatedGenerateStatelessSuggestionRequest', | ||
| 545 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionRequest'->new($_) } @$_ ] }; | ||
| 546 | |||
| 547 | declare 'MapStringGenerateStatelessSuggestionRequest', | ||
| 548 | as HashRef[GenerateStatelessSuggestionRequest()]; | ||
| 549 | |||
| 550 | declare 'ContextReferencesEntry', | ||
| 551 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionRequest::ContextReferencesEntry']; | ||
| 552 | |||
| 553 | coerce 'ContextReferencesEntry', | ||
| 554 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionRequest::ContextReferencesEntry'->new($_) }; | ||
| 555 | |||
| 556 | declare 'RepeatedContextReferencesEntry', | ||
| 557 | as ArrayRef[ContextReferencesEntry()]; | ||
| 558 | |||
| 559 | coerce 'RepeatedContextReferencesEntry', | ||
| 560 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionRequest::ContextReferencesEntry'->new($_) } @$_ ] }; | ||
| 561 | |||
| 562 | declare 'MapStringContextReferencesEntry', | ||
| 563 | as HashRef[ContextReferencesEntry()]; | ||
| 564 | |||
| 565 | declare 'GenerateStatelessSuggestionResponse', | ||
| 566 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionResponse']; | ||
| 567 | |||
| 568 | coerce 'GenerateStatelessSuggestionResponse', | ||
| 569 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionResponse'->new($_) }; | ||
| 570 | |||
| 571 | declare 'RepeatedGenerateStatelessSuggestionResponse', | ||
| 572 | as ArrayRef[GenerateStatelessSuggestionResponse()]; | ||
| 573 | |||
| 574 | coerce 'RepeatedGenerateStatelessSuggestionResponse', | ||
| 575 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateStatelessSuggestionResponse'->new($_) } @$_ ] }; | ||
| 576 | |||
| 577 | declare 'MapStringGenerateStatelessSuggestionResponse', | ||
| 578 | as HashRef[GenerateStatelessSuggestionResponse()]; | ||
| 579 | |||
| 580 | declare 'SearchKnowledgeRequest', | ||
| 581 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest']; | ||
| 582 | |||
| 583 | coerce 'SearchKnowledgeRequest', | ||
| 584 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest'->new($_) }; | ||
| 585 | |||
| 586 | declare 'RepeatedSearchKnowledgeRequest', | ||
| 587 | as ArrayRef[SearchKnowledgeRequest()]; | ||
| 588 | |||
| 589 | coerce 'RepeatedSearchKnowledgeRequest', | ||
| 590 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest'->new($_) } @$_ ] }; | ||
| 591 | |||
| 592 | declare 'MapStringSearchKnowledgeRequest', | ||
| 593 | as HashRef[SearchKnowledgeRequest()]; | ||
| 594 | |||
| 595 | declare 'QuerySource', | ||
| 596 | as (Int | Str); | ||
| 597 | |||
| 598 | declare 'SearchConfig', | ||
| 599 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig']; | ||
| 600 | |||
| 601 | coerce 'SearchConfig', | ||
| 602 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig'->new($_) }; | ||
| 603 | |||
| 604 | declare 'RepeatedSearchConfig', | ||
| 605 | as ArrayRef[SearchConfig()]; | ||
| 606 | |||
| 607 | coerce 'RepeatedSearchConfig', | ||
| 608 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig'->new($_) } @$_ ] }; | ||
| 609 | |||
| 610 | declare 'MapStringSearchConfig', | ||
| 611 | as HashRef[SearchConfig()]; | ||
| 612 | |||
| 613 | declare 'BoostSpecs', | ||
| 614 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs']; | ||
| 615 | |||
| 616 | coerce 'BoostSpecs', | ||
| 617 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedBoostSpecs', | ||
| 620 | as ArrayRef[BoostSpecs()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedBoostSpecs', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringBoostSpecs', | ||
| 626 | as HashRef[BoostSpecs()]; | ||
| 627 | |||
| 628 | declare 'BoostSpec', | ||
| 629 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec']; | ||
| 630 | |||
| 631 | coerce 'BoostSpec', | ||
| 632 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec'->new($_) }; | ||
| 633 | |||
| 634 | declare 'RepeatedBoostSpec', | ||
| 635 | as ArrayRef[BoostSpec()]; | ||
| 636 | |||
| 637 | coerce 'RepeatedBoostSpec', | ||
| 638 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec'->new($_) } @$_ ] }; | ||
| 639 | |||
| 640 | declare 'MapStringBoostSpec', | ||
| 641 | as HashRef[BoostSpec()]; | ||
| 642 | |||
| 643 | declare 'ConditionBoostSpec', | ||
| 644 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec']; | ||
| 645 | |||
| 646 | coerce 'ConditionBoostSpec', | ||
| 647 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec'->new($_) }; | ||
| 648 | |||
| 649 | declare 'RepeatedConditionBoostSpec', | ||
| 650 | as ArrayRef[ConditionBoostSpec()]; | ||
| 651 | |||
| 652 | coerce 'RepeatedConditionBoostSpec', | ||
| 653 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec'->new($_) } @$_ ] }; | ||
| 654 | |||
| 655 | declare 'MapStringConditionBoostSpec', | ||
| 656 | as HashRef[ConditionBoostSpec()]; | ||
| 657 | |||
| 658 | declare 'BoostControlSpec', | ||
| 659 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec']; | ||
| 660 | |||
| 661 | coerce 'BoostControlSpec', | ||
| 662 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec'->new($_) }; | ||
| 663 | |||
| 664 | declare 'RepeatedBoostControlSpec', | ||
| 665 | as ArrayRef[BoostControlSpec()]; | ||
| 666 | |||
| 667 | coerce 'RepeatedBoostControlSpec', | ||
| 668 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec'->new($_) } @$_ ] }; | ||
| 669 | |||
| 670 | declare 'MapStringBoostControlSpec', | ||
| 671 | as HashRef[BoostControlSpec()]; | ||
| 672 | |||
| 673 | declare 'AttributeType', | ||
| 674 | as (Int | Str); | ||
| 675 | |||
| 676 | declare 'InterpolationType', | ||
| 677 | as (Int | Str); | ||
| 678 | |||
| 679 | declare 'ControlPoint', | ||
| 680 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint']; | ||
| 681 | |||
| 682 | coerce 'ControlPoint', | ||
| 683 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint'->new($_) }; | ||
| 684 | |||
| 685 | declare 'RepeatedControlPoint', | ||
| 686 | as ArrayRef[ControlPoint()]; | ||
| 687 | |||
| 688 | coerce 'RepeatedControlPoint', | ||
| 689 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint'->new($_) } @$_ ] }; | ||
| 690 | |||
| 691 | declare 'MapStringControlPoint', | ||
| 692 | as HashRef[ControlPoint()]; | ||
| 693 | |||
| 694 | declare 'FilterSpecs', | ||
| 695 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::FilterSpecs']; | ||
| 696 | |||
| 697 | coerce 'FilterSpecs', | ||
| 698 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::FilterSpecs'->new($_) }; | ||
| 699 | |||
| 700 | declare 'RepeatedFilterSpecs', | ||
| 701 | as ArrayRef[FilterSpecs()]; | ||
| 702 | |||
| 703 | coerce 'RepeatedFilterSpecs', | ||
| 704 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeRequest::SearchConfig::FilterSpecs'->new($_) } @$_ ] }; | ||
| 705 | |||
| 706 | declare 'MapStringFilterSpecs', | ||
| 707 | as HashRef[FilterSpecs()]; | ||
| 708 | |||
| 709 | declare 'SearchKnowledgeDebugInfo', | ||
| 710 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeDebugInfo']; | ||
| 711 | |||
| 712 | coerce 'SearchKnowledgeDebugInfo', | ||
| 713 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeDebugInfo'->new($_) }; | ||
| 714 | |||
| 715 | declare 'RepeatedSearchKnowledgeDebugInfo', | ||
| 716 | as ArrayRef[SearchKnowledgeDebugInfo()]; | ||
| 717 | |||
| 718 | coerce 'RepeatedSearchKnowledgeDebugInfo', | ||
| 719 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeDebugInfo'->new($_) } @$_ ] }; | ||
| 720 | |||
| 721 | declare 'MapStringSearchKnowledgeDebugInfo', | ||
| 722 | as HashRef[SearchKnowledgeDebugInfo()]; | ||
| 723 | |||
| 724 | declare 'SearchKnowledgeBehavior', | ||
| 725 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeDebugInfo::SearchKnowledgeBehavior']; | ||
| 726 | |||
| 727 | coerce 'SearchKnowledgeBehavior', | ||
| 728 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeDebugInfo::SearchKnowledgeBehavior'->new($_) }; | ||
| 729 | |||
| 730 | declare 'RepeatedSearchKnowledgeBehavior', | ||
| 731 | as ArrayRef[SearchKnowledgeBehavior()]; | ||
| 732 | |||
| 733 | coerce 'RepeatedSearchKnowledgeBehavior', | ||
| 734 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeDebugInfo::SearchKnowledgeBehavior'->new($_) } @$_ ] }; | ||
| 735 | |||
| 736 | declare 'MapStringSearchKnowledgeBehavior', | ||
| 737 | as HashRef[SearchKnowledgeBehavior()]; | ||
| 738 | |||
| 739 | declare 'SearchKnowledgeResponse', | ||
| 740 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeResponse']; | ||
| 741 | |||
| 742 | coerce 'SearchKnowledgeResponse', | ||
| 743 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeResponse'->new($_) }; | ||
| 744 | |||
| 745 | declare 'RepeatedSearchKnowledgeResponse', | ||
| 746 | as ArrayRef[SearchKnowledgeResponse()]; | ||
| 747 | |||
| 748 | coerce 'RepeatedSearchKnowledgeResponse', | ||
| 749 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeResponse'->new($_) } @$_ ] }; | ||
| 750 | |||
| 751 | declare 'MapStringSearchKnowledgeResponse', | ||
| 752 | as HashRef[SearchKnowledgeResponse()]; | ||
| 753 | |||
| 754 | declare 'SearchKnowledgeAnswer', | ||
| 755 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeAnswer']; | ||
| 756 | |||
| 757 | coerce 'SearchKnowledgeAnswer', | ||
| 758 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeAnswer'->new($_) }; | ||
| 759 | |||
| 760 | declare 'RepeatedSearchKnowledgeAnswer', | ||
| 761 | as ArrayRef[SearchKnowledgeAnswer()]; | ||
| 762 | |||
| 763 | coerce 'RepeatedSearchKnowledgeAnswer', | ||
| 764 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeAnswer'->new($_) } @$_ ] }; | ||
| 765 | |||
| 766 | declare 'MapStringSearchKnowledgeAnswer', | ||
| 767 | as HashRef[SearchKnowledgeAnswer()]; | ||
| 768 | |||
| 769 | declare 'AnswerType', | ||
| 770 | as (Int | Str); | ||
| 771 | |||
| 772 | declare 'AnswerSource', | ||
| 773 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeAnswer::AnswerSource']; | ||
| 774 | |||
| 775 | coerce 'AnswerSource', | ||
| 776 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeAnswer::AnswerSource'->new($_) }; | ||
| 777 | |||
| 778 | declare 'RepeatedAnswerSource', | ||
| 779 | as ArrayRef[AnswerSource()]; | ||
| 780 | |||
| 781 | coerce 'RepeatedAnswerSource', | ||
| 782 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::SearchKnowledgeAnswer::AnswerSource'->new($_) } @$_ ] }; | ||
| 783 | |||
| 784 | declare 'MapStringAnswerSource', | ||
| 785 | as HashRef[AnswerSource()]; | ||
| 786 | |||
| 787 | declare 'GenerateSuggestionsRequest', | ||
| 788 | as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateSuggestionsRequest']; | ||
| 789 | |||
| 790 | coerce 'GenerateSuggestionsRequest', | ||
| 791 | from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateSuggestionsRequest'->new($_) }; | ||
| 792 | |||
| 793 | declare 'RepeatedGenerateSuggestionsRequest', | ||
| 794 | as ArrayRef[GenerateSuggestionsRequest()]; | ||
| 795 | |||
| 796 | coerce 'RepeatedGenerateSuggestionsRequest', | ||
| 797 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Conversation::GenerateSuggestionsRequest'->new($_) } @$_ ] }; | ||
| 798 | |||
| 799 | declare 'MapStringGenerateSuggestionsRequest', | ||
| 800 | as HashRef[GenerateSuggestionsRequest()]; | ||
| 801 | |||
| 802 | 1; | ||
| 803 | |||
| 804 | __END__ |