| 1 | package Google::Cloud::Ces::V1beta::SessionService::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 'AudioEncoding', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'MockConfig', | ||
| 14 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::MockConfig']; | ||
| 15 | |||
| 16 | coerce 'MockConfig', | ||
| 17 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::MockConfig'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedMockConfig', | ||
| 20 | as ArrayRef[MockConfig()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedMockConfig', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::MockConfig'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringMockConfig', | ||
| 26 | as HashRef[MockConfig()]; | ||
| 27 | |||
| 28 | declare 'UnmatchedToolCallBehavior', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'InputAudioConfig', | ||
| 32 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::InputAudioConfig']; | ||
| 33 | |||
| 34 | coerce 'InputAudioConfig', | ||
| 35 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::InputAudioConfig'->new($_) }; | ||
| 36 | |||
| 37 | declare 'RepeatedInputAudioConfig', | ||
| 38 | as ArrayRef[InputAudioConfig()]; | ||
| 39 | |||
| 40 | coerce 'RepeatedInputAudioConfig', | ||
| 41 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::InputAudioConfig'->new($_) } @$_ ] }; | ||
| 42 | |||
| 43 | declare 'MapStringInputAudioConfig', | ||
| 44 | as HashRef[InputAudioConfig()]; | ||
| 45 | |||
| 46 | declare 'OutputAudioConfig', | ||
| 47 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::OutputAudioConfig']; | ||
| 48 | |||
| 49 | coerce 'OutputAudioConfig', | ||
| 50 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::OutputAudioConfig'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedOutputAudioConfig', | ||
| 53 | as ArrayRef[OutputAudioConfig()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedOutputAudioConfig', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::OutputAudioConfig'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringOutputAudioConfig', | ||
| 59 | as HashRef[OutputAudioConfig()]; | ||
| 60 | |||
| 61 | declare 'SessionConfig', | ||
| 62 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::SessionConfig']; | ||
| 63 | |||
| 64 | coerce 'SessionConfig', | ||
| 65 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::SessionConfig'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedSessionConfig', | ||
| 68 | as ArrayRef[SessionConfig()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedSessionConfig', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::SessionConfig'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringSessionConfig', | ||
| 74 | as HashRef[SessionConfig()]; | ||
| 75 | |||
| 76 | declare 'RemoteDialogflowQueryParameters', | ||
| 77 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::SessionConfig::RemoteDialogflowQueryParameters']; | ||
| 78 | |||
| 79 | coerce 'RemoteDialogflowQueryParameters', | ||
| 80 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::SessionConfig::RemoteDialogflowQueryParameters'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedRemoteDialogflowQueryParameters', | ||
| 83 | as ArrayRef[RemoteDialogflowQueryParameters()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedRemoteDialogflowQueryParameters', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::SessionConfig::RemoteDialogflowQueryParameters'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringRemoteDialogflowQueryParameters', | ||
| 89 | as HashRef[RemoteDialogflowQueryParameters()]; | ||
| 90 | |||
| 91 | declare 'WebhookHeadersEntry', | ||
| 92 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::SessionConfig::RemoteDialogflowQueryParameters::WebhookHeadersEntry']; | ||
| 93 | |||
| 94 | coerce 'WebhookHeadersEntry', | ||
| 95 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::SessionConfig::RemoteDialogflowQueryParameters::WebhookHeadersEntry'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedWebhookHeadersEntry', | ||
| 98 | as ArrayRef[WebhookHeadersEntry()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedWebhookHeadersEntry', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::SessionConfig::RemoteDialogflowQueryParameters::WebhookHeadersEntry'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringWebhookHeadersEntry', | ||
| 104 | as HashRef[WebhookHeadersEntry()]; | ||
| 105 | |||
| 106 | declare 'ToolCalls', | ||
| 107 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::ToolCalls']; | ||
| 108 | |||
| 109 | coerce 'ToolCalls', | ||
| 110 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::ToolCalls'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedToolCalls', | ||
| 113 | as ArrayRef[ToolCalls()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedToolCalls', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::ToolCalls'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringToolCalls', | ||
| 119 | as HashRef[ToolCalls()]; | ||
| 120 | |||
| 121 | declare 'ToolResponses', | ||
| 122 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::ToolResponses']; | ||
| 123 | |||
| 124 | coerce 'ToolResponses', | ||
| 125 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::ToolResponses'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedToolResponses', | ||
| 128 | as ArrayRef[ToolResponses()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedToolResponses', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::ToolResponses'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringToolResponses', | ||
| 134 | as HashRef[ToolResponses()]; | ||
| 135 | |||
| 136 | declare 'Citations', | ||
| 137 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::Citations']; | ||
| 138 | |||
| 139 | coerce 'Citations', | ||
| 140 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::Citations'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedCitations', | ||
| 143 | as ArrayRef[Citations()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedCitations', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::Citations'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringCitations', | ||
| 149 | as HashRef[Citations()]; | ||
| 150 | |||
| 151 | declare 'CitedChunk', | ||
| 152 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::Citations::CitedChunk']; | ||
| 153 | |||
| 154 | coerce 'CitedChunk', | ||
| 155 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::Citations::CitedChunk'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedCitedChunk', | ||
| 158 | as ArrayRef[CitedChunk()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedCitedChunk', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::Citations::CitedChunk'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringCitedChunk', | ||
| 164 | as HashRef[CitedChunk()]; | ||
| 165 | |||
| 166 | declare 'InlineCitation', | ||
| 167 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::Citations::InlineCitation']; | ||
| 168 | |||
| 169 | coerce 'InlineCitation', | ||
| 170 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::Citations::InlineCitation'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedInlineCitation', | ||
| 173 | as ArrayRef[InlineCitation()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedInlineCitation', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::Citations::InlineCitation'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringInlineCitation', | ||
| 179 | as HashRef[InlineCitation()]; | ||
| 180 | |||
| 181 | declare 'Event', | ||
| 182 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::Event']; | ||
| 183 | |||
| 184 | coerce 'Event', | ||
| 185 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::Event'->new($_) }; | ||
| 186 | |||
| 187 | declare 'RepeatedEvent', | ||
| 188 | as ArrayRef[Event()]; | ||
| 189 | |||
| 190 | coerce 'RepeatedEvent', | ||
| 191 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::Event'->new($_) } @$_ ] }; | ||
| 192 | |||
| 193 | declare 'MapStringEvent', | ||
| 194 | as HashRef[Event()]; | ||
| 195 | |||
| 196 | declare 'SessionInput', | ||
| 197 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::SessionInput']; | ||
| 198 | |||
| 199 | coerce 'SessionInput', | ||
| 200 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::SessionInput'->new($_) }; | ||
| 201 | |||
| 202 | declare 'RepeatedSessionInput', | ||
| 203 | as ArrayRef[SessionInput()]; | ||
| 204 | |||
| 205 | coerce 'RepeatedSessionInput', | ||
| 206 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::SessionInput'->new($_) } @$_ ] }; | ||
| 207 | |||
| 208 | declare 'MapStringSessionInput', | ||
| 209 | as HashRef[SessionInput()]; | ||
| 210 | |||
| 211 | declare 'RecordingControl', | ||
| 212 | as (Int | Str); | ||
| 213 | |||
| 214 | declare 'SessionOutput', | ||
| 215 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::SessionOutput']; | ||
| 216 | |||
| 217 | coerce 'SessionOutput', | ||
| 218 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::SessionOutput'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedSessionOutput', | ||
| 221 | as ArrayRef[SessionOutput()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedSessionOutput', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::SessionOutput'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringSessionOutput', | ||
| 227 | as HashRef[SessionOutput()]; | ||
| 228 | |||
| 229 | declare 'DiagnosticInfo', | ||
| 230 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::SessionOutput::DiagnosticInfo']; | ||
| 231 | |||
| 232 | coerce 'DiagnosticInfo', | ||
| 233 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::SessionOutput::DiagnosticInfo'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedDiagnosticInfo', | ||
| 236 | as ArrayRef[DiagnosticInfo()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedDiagnosticInfo', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::SessionOutput::DiagnosticInfo'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringDiagnosticInfo', | ||
| 242 | as HashRef[DiagnosticInfo()]; | ||
| 243 | |||
| 244 | declare 'RecognitionResult', | ||
| 245 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::RecognitionResult']; | ||
| 246 | |||
| 247 | coerce 'RecognitionResult', | ||
| 248 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::RecognitionResult'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedRecognitionResult', | ||
| 251 | as ArrayRef[RecognitionResult()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedRecognitionResult', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::RecognitionResult'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringRecognitionResult', | ||
| 257 | as HashRef[RecognitionResult()]; | ||
| 258 | |||
| 259 | declare 'InterruptionSignal', | ||
| 260 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::InterruptionSignal']; | ||
| 261 | |||
| 262 | coerce 'InterruptionSignal', | ||
| 263 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::InterruptionSignal'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedInterruptionSignal', | ||
| 266 | as ArrayRef[InterruptionSignal()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedInterruptionSignal', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::InterruptionSignal'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringInterruptionSignal', | ||
| 272 | as HashRef[InterruptionSignal()]; | ||
| 273 | |||
| 274 | declare 'EndSession', | ||
| 275 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::EndSession']; | ||
| 276 | |||
| 277 | coerce 'EndSession', | ||
| 278 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::EndSession'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedEndSession', | ||
| 281 | as ArrayRef[EndSession()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedEndSession', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::EndSession'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringEndSession', | ||
| 287 | as HashRef[EndSession()]; | ||
| 288 | |||
| 289 | declare 'GoAway', | ||
| 290 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::GoAway']; | ||
| 291 | |||
| 292 | coerce 'GoAway', | ||
| 293 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::GoAway'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedGoAway', | ||
| 296 | as ArrayRef[GoAway()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedGoAway', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::GoAway'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringGoAway', | ||
| 302 | as HashRef[GoAway()]; | ||
| 303 | |||
| 304 | declare 'RunSessionRequest', | ||
| 305 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::RunSessionRequest']; | ||
| 306 | |||
| 307 | coerce 'RunSessionRequest', | ||
| 308 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::RunSessionRequest'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedRunSessionRequest', | ||
| 311 | as ArrayRef[RunSessionRequest()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedRunSessionRequest', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::RunSessionRequest'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringRunSessionRequest', | ||
| 317 | as HashRef[RunSessionRequest()]; | ||
| 318 | |||
| 319 | declare 'RunSessionResponse', | ||
| 320 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::RunSessionResponse']; | ||
| 321 | |||
| 322 | coerce 'RunSessionResponse', | ||
| 323 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::RunSessionResponse'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedRunSessionResponse', | ||
| 326 | as ArrayRef[RunSessionResponse()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedRunSessionResponse', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::RunSessionResponse'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringRunSessionResponse', | ||
| 332 | as HashRef[RunSessionResponse()]; | ||
| 333 | |||
| 334 | declare 'BidiSessionClientMessage', | ||
| 335 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::BidiSessionClientMessage']; | ||
| 336 | |||
| 337 | coerce 'BidiSessionClientMessage', | ||
| 338 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::BidiSessionClientMessage'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedBidiSessionClientMessage', | ||
| 341 | as ArrayRef[BidiSessionClientMessage()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedBidiSessionClientMessage', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::BidiSessionClientMessage'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringBidiSessionClientMessage', | ||
| 347 | as HashRef[BidiSessionClientMessage()]; | ||
| 348 | |||
| 349 | declare 'BidiSessionServerMessage', | ||
| 350 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::BidiSessionServerMessage']; | ||
| 351 | |||
| 352 | coerce 'BidiSessionServerMessage', | ||
| 353 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::BidiSessionServerMessage'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedBidiSessionServerMessage', | ||
| 356 | as ArrayRef[BidiSessionServerMessage()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedBidiSessionServerMessage', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::BidiSessionServerMessage'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringBidiSessionServerMessage', | ||
| 362 | as HashRef[BidiSessionServerMessage()]; | ||
| 363 | |||
| 364 | declare 'StreamChatAiAssistantRequest', | ||
| 365 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::StreamChatAiAssistantRequest']; | ||
| 366 | |||
| 367 | coerce 'StreamChatAiAssistantRequest', | ||
| 368 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::StreamChatAiAssistantRequest'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedStreamChatAiAssistantRequest', | ||
| 371 | as ArrayRef[StreamChatAiAssistantRequest()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedStreamChatAiAssistantRequest', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::StreamChatAiAssistantRequest'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringStreamChatAiAssistantRequest', | ||
| 377 | as HashRef[StreamChatAiAssistantRequest()]; | ||
| 378 | |||
| 379 | declare 'ClientCapability', | ||
| 380 | as (Int | Str); | ||
| 381 | |||
| 382 | declare 'AssistantSuggestion', | ||
| 383 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::AssistantSuggestion']; | ||
| 384 | |||
| 385 | coerce 'AssistantSuggestion', | ||
| 386 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::AssistantSuggestion'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedAssistantSuggestion', | ||
| 389 | as ArrayRef[AssistantSuggestion()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedAssistantSuggestion', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::AssistantSuggestion'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringAssistantSuggestion', | ||
| 395 | as HashRef[AssistantSuggestion()]; | ||
| 396 | |||
| 397 | declare 'Icon', | ||
| 398 | as (Int | Str); | ||
| 399 | |||
| 400 | declare 'Source', | ||
| 401 | as (Int | Str); | ||
| 402 | |||
| 403 | declare 'LoadSession', | ||
| 404 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::AssistantSuggestion::LoadSession']; | ||
| 405 | |||
| 406 | coerce 'LoadSession', | ||
| 407 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::AssistantSuggestion::LoadSession'->new($_) }; | ||
| 408 | |||
| 409 | declare 'RepeatedLoadSession', | ||
| 410 | as ArrayRef[LoadSession()]; | ||
| 411 | |||
| 412 | coerce 'RepeatedLoadSession', | ||
| 413 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::AssistantSuggestion::LoadSession'->new($_) } @$_ ] }; | ||
| 414 | |||
| 415 | declare 'MapStringLoadSession', | ||
| 416 | as HashRef[LoadSession()]; | ||
| 417 | |||
| 418 | declare 'GenerateOnboardingSuggestionsRequest', | ||
| 419 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::GenerateOnboardingSuggestionsRequest']; | ||
| 420 | |||
| 421 | coerce 'GenerateOnboardingSuggestionsRequest', | ||
| 422 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::GenerateOnboardingSuggestionsRequest'->new($_) }; | ||
| 423 | |||
| 424 | declare 'RepeatedGenerateOnboardingSuggestionsRequest', | ||
| 425 | as ArrayRef[GenerateOnboardingSuggestionsRequest()]; | ||
| 426 | |||
| 427 | coerce 'RepeatedGenerateOnboardingSuggestionsRequest', | ||
| 428 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::GenerateOnboardingSuggestionsRequest'->new($_) } @$_ ] }; | ||
| 429 | |||
| 430 | declare 'MapStringGenerateOnboardingSuggestionsRequest', | ||
| 431 | as HashRef[GenerateOnboardingSuggestionsRequest()]; | ||
| 432 | |||
| 433 | declare 'GenerateOnboardingSuggestionsResponse', | ||
| 434 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::GenerateOnboardingSuggestionsResponse']; | ||
| 435 | |||
| 436 | coerce 'GenerateOnboardingSuggestionsResponse', | ||
| 437 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::GenerateOnboardingSuggestionsResponse'->new($_) }; | ||
| 438 | |||
| 439 | declare 'RepeatedGenerateOnboardingSuggestionsResponse', | ||
| 440 | as ArrayRef[GenerateOnboardingSuggestionsResponse()]; | ||
| 441 | |||
| 442 | coerce 'RepeatedGenerateOnboardingSuggestionsResponse', | ||
| 443 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::GenerateOnboardingSuggestionsResponse'->new($_) } @$_ ] }; | ||
| 444 | |||
| 445 | declare 'MapStringGenerateOnboardingSuggestionsResponse', | ||
| 446 | as HashRef[GenerateOnboardingSuggestionsResponse()]; | ||
| 447 | |||
| 448 | declare 'UserProfile', | ||
| 449 | as (Int | Str); | ||
| 450 | |||
| 451 | declare 'ArtifactChunk', | ||
| 452 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::ArtifactChunk']; | ||
| 453 | |||
| 454 | coerce 'ArtifactChunk', | ||
| 455 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::ArtifactChunk'->new($_) }; | ||
| 456 | |||
| 457 | declare 'RepeatedArtifactChunk', | ||
| 458 | as ArrayRef[ArtifactChunk()]; | ||
| 459 | |||
| 460 | coerce 'RepeatedArtifactChunk', | ||
| 461 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::ArtifactChunk'->new($_) } @$_ ] }; | ||
| 462 | |||
| 463 | declare 'MapStringArtifactChunk', | ||
| 464 | as HashRef[ArtifactChunk()]; | ||
| 465 | |||
| 466 | declare 'State', | ||
| 467 | as (Int | Str); | ||
| 468 | |||
| 469 | declare 'OptionQuestionsChunk', | ||
| 470 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk']; | ||
| 471 | |||
| 472 | coerce 'OptionQuestionsChunk', | ||
| 473 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk'->new($_) }; | ||
| 474 | |||
| 475 | declare 'RepeatedOptionQuestionsChunk', | ||
| 476 | as ArrayRef[OptionQuestionsChunk()]; | ||
| 477 | |||
| 478 | coerce 'RepeatedOptionQuestionsChunk', | ||
| 479 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk'->new($_) } @$_ ] }; | ||
| 480 | |||
| 481 | declare 'MapStringOptionQuestionsChunk', | ||
| 482 | as HashRef[OptionQuestionsChunk()]; | ||
| 483 | |||
| 484 | declare 'Option', | ||
| 485 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk::Option']; | ||
| 486 | |||
| 487 | coerce 'Option', | ||
| 488 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk::Option'->new($_) }; | ||
| 489 | |||
| 490 | declare 'RepeatedOption', | ||
| 491 | as ArrayRef[Option()]; | ||
| 492 | |||
| 493 | coerce 'RepeatedOption', | ||
| 494 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk::Option'->new($_) } @$_ ] }; | ||
| 495 | |||
| 496 | declare 'MapStringOption', | ||
| 497 | as HashRef[Option()]; | ||
| 498 | |||
| 499 | declare 'Question', | ||
| 500 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk::Question']; | ||
| 501 | |||
| 502 | coerce 'Question', | ||
| 503 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk::Question'->new($_) }; | ||
| 504 | |||
| 505 | declare 'RepeatedQuestion', | ||
| 506 | as ArrayRef[Question()]; | ||
| 507 | |||
| 508 | coerce 'RepeatedQuestion', | ||
| 509 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::OptionQuestionsChunk::Question'->new($_) } @$_ ] }; | ||
| 510 | |||
| 511 | declare 'MapStringQuestion', | ||
| 512 | as HashRef[Question()]; | ||
| 513 | |||
| 514 | declare 'AssistantConfirmationRequest', | ||
| 515 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::AssistantConfirmationRequest']; | ||
| 516 | |||
| 517 | coerce 'AssistantConfirmationRequest', | ||
| 518 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::AssistantConfirmationRequest'->new($_) }; | ||
| 519 | |||
| 520 | declare 'RepeatedAssistantConfirmationRequest', | ||
| 521 | as ArrayRef[AssistantConfirmationRequest()]; | ||
| 522 | |||
| 523 | coerce 'RepeatedAssistantConfirmationRequest', | ||
| 524 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::AssistantConfirmationRequest'->new($_) } @$_ ] }; | ||
| 525 | |||
| 526 | declare 'MapStringAssistantConfirmationRequest', | ||
| 527 | as HashRef[AssistantConfirmationRequest()]; | ||
| 528 | |||
| 529 | declare 'AssistantConfirmationResponse', | ||
| 530 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::AssistantConfirmationResponse']; | ||
| 531 | |||
| 532 | coerce 'AssistantConfirmationResponse', | ||
| 533 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::AssistantConfirmationResponse'->new($_) }; | ||
| 534 | |||
| 535 | declare 'RepeatedAssistantConfirmationResponse', | ||
| 536 | as ArrayRef[AssistantConfirmationResponse()]; | ||
| 537 | |||
| 538 | coerce 'RepeatedAssistantConfirmationResponse', | ||
| 539 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::AssistantConfirmationResponse'->new($_) } @$_ ] }; | ||
| 540 | |||
| 541 | declare 'MapStringAssistantConfirmationResponse', | ||
| 542 | as HashRef[AssistantConfirmationResponse()]; | ||
| 543 | |||
| 544 | declare 'OperationCompletedEvent', | ||
| 545 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::OperationCompletedEvent']; | ||
| 546 | |||
| 547 | coerce 'OperationCompletedEvent', | ||
| 548 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::OperationCompletedEvent'->new($_) }; | ||
| 549 | |||
| 550 | declare 'RepeatedOperationCompletedEvent', | ||
| 551 | as ArrayRef[OperationCompletedEvent()]; | ||
| 552 | |||
| 553 | coerce 'RepeatedOperationCompletedEvent', | ||
| 554 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::OperationCompletedEvent'->new($_) } @$_ ] }; | ||
| 555 | |||
| 556 | declare 'MapStringOperationCompletedEvent', | ||
| 557 | as HashRef[OperationCompletedEvent()]; | ||
| 558 | |||
| 559 | declare 'TurnMetadata', | ||
| 560 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::TurnMetadata']; | ||
| 561 | |||
| 562 | coerce 'TurnMetadata', | ||
| 563 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::TurnMetadata'->new($_) }; | ||
| 564 | |||
| 565 | declare 'RepeatedTurnMetadata', | ||
| 566 | as ArrayRef[TurnMetadata()]; | ||
| 567 | |||
| 568 | coerce 'RepeatedTurnMetadata', | ||
| 569 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::TurnMetadata'->new($_) } @$_ ] }; | ||
| 570 | |||
| 571 | declare 'MapStringTurnMetadata', | ||
| 572 | as HashRef[TurnMetadata()]; | ||
| 573 | |||
| 574 | declare 'ContractStreamingPhase', | ||
| 575 | as (Int | Str); | ||
| 576 | |||
| 577 | declare 'StreamChatAiAssistantResponse', | ||
| 578 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::StreamChatAiAssistantResponse']; | ||
| 579 | |||
| 580 | coerce 'StreamChatAiAssistantResponse', | ||
| 581 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::StreamChatAiAssistantResponse'->new($_) }; | ||
| 582 | |||
| 583 | declare 'RepeatedStreamChatAiAssistantResponse', | ||
| 584 | as ArrayRef[StreamChatAiAssistantResponse()]; | ||
| 585 | |||
| 586 | coerce 'RepeatedStreamChatAiAssistantResponse', | ||
| 587 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::StreamChatAiAssistantResponse'->new($_) } @$_ ] }; | ||
| 588 | |||
| 589 | declare 'MapStringStreamChatAiAssistantResponse', | ||
| 590 | as HashRef[StreamChatAiAssistantResponse()]; | ||
| 591 | |||
| 592 | declare 'CancelAssistantTurnRequest', | ||
| 593 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::CancelAssistantTurnRequest']; | ||
| 594 | |||
| 595 | coerce 'CancelAssistantTurnRequest', | ||
| 596 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::CancelAssistantTurnRequest'->new($_) }; | ||
| 597 | |||
| 598 | declare 'RepeatedCancelAssistantTurnRequest', | ||
| 599 | as ArrayRef[CancelAssistantTurnRequest()]; | ||
| 600 | |||
| 601 | coerce 'RepeatedCancelAssistantTurnRequest', | ||
| 602 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::CancelAssistantTurnRequest'->new($_) } @$_ ] }; | ||
| 603 | |||
| 604 | declare 'MapStringCancelAssistantTurnRequest', | ||
| 605 | as HashRef[CancelAssistantTurnRequest()]; | ||
| 606 | |||
| 607 | declare 'CancelAssistantTurnResponse', | ||
| 608 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::CancelAssistantTurnResponse']; | ||
| 609 | |||
| 610 | coerce 'CancelAssistantTurnResponse', | ||
| 611 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::CancelAssistantTurnResponse'->new($_) }; | ||
| 612 | |||
| 613 | declare 'RepeatedCancelAssistantTurnResponse', | ||
| 614 | as ArrayRef[CancelAssistantTurnResponse()]; | ||
| 615 | |||
| 616 | coerce 'RepeatedCancelAssistantTurnResponse', | ||
| 617 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::CancelAssistantTurnResponse'->new($_) } @$_ ] }; | ||
| 618 | |||
| 619 | declare 'MapStringCancelAssistantTurnResponse', | ||
| 620 | as HashRef[CancelAssistantTurnResponse()]; | ||
| 621 | |||
| 622 | declare 'TurnResumeSnapshot', | ||
| 623 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::TurnResumeSnapshot']; | ||
| 624 | |||
| 625 | coerce 'TurnResumeSnapshot', | ||
| 626 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::TurnResumeSnapshot'->new($_) }; | ||
| 627 | |||
| 628 | declare 'RepeatedTurnResumeSnapshot', | ||
| 629 | as ArrayRef[TurnResumeSnapshot()]; | ||
| 630 | |||
| 631 | coerce 'RepeatedTurnResumeSnapshot', | ||
| 632 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::TurnResumeSnapshot'->new($_) } @$_ ] }; | ||
| 633 | |||
| 634 | declare 'MapStringTurnResumeSnapshot', | ||
| 635 | as HashRef[TurnResumeSnapshot()]; | ||
| 636 | |||
| 637 | declare 'TurnHandoffEvent', | ||
| 638 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::TurnHandoffEvent']; | ||
| 639 | |||
| 640 | coerce 'TurnHandoffEvent', | ||
| 641 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::TurnHandoffEvent'->new($_) }; | ||
| 642 | |||
| 643 | declare 'RepeatedTurnHandoffEvent', | ||
| 644 | as ArrayRef[TurnHandoffEvent()]; | ||
| 645 | |||
| 646 | coerce 'RepeatedTurnHandoffEvent', | ||
| 647 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::TurnHandoffEvent'->new($_) } @$_ ] }; | ||
| 648 | |||
| 649 | declare 'MapStringTurnHandoffEvent', | ||
| 650 | as HashRef[TurnHandoffEvent()]; | ||
| 651 | |||
| 652 | declare 'Reason', | ||
| 653 | as (Int | Str); | ||
| 654 | |||
| 655 | declare 'TurnCompletedEvent', | ||
| 656 | as InstanceOf['Google::Cloud::Ces::V1beta::SessionService::TurnCompletedEvent']; | ||
| 657 | |||
| 658 | coerce 'TurnCompletedEvent', | ||
| 659 | from HashRef, via { 'Google::Cloud::Ces::V1beta::SessionService::TurnCompletedEvent'->new($_) }; | ||
| 660 | |||
| 661 | declare 'RepeatedTurnCompletedEvent', | ||
| 662 | as ArrayRef[TurnCompletedEvent()]; | ||
| 663 | |||
| 664 | coerce 'RepeatedTurnCompletedEvent', | ||
| 665 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::SessionService::TurnCompletedEvent'->new($_) } @$_ ] }; | ||
| 666 | |||
| 667 | declare 'MapStringTurnCompletedEvent', | ||
| 668 | as HashRef[TurnCompletedEvent()]; | ||
| 669 | |||
| 670 | declare 'Reason', | ||
| 671 | as (Int | Str); | ||
| 672 | |||
| 673 | 1; | ||
| 674 | |||
| 675 | __END__ |