| 1 | package Google::Cloud::Discoveryengine::V1beta::AssistantService::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 'AssistUserMetadata', | ||
| 11 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::AssistUserMetadata']; | ||
| 12 | |||
| 13 | coerce 'AssistUserMetadata', | ||
| 14 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::AssistUserMetadata'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedAssistUserMetadata', | ||
| 17 | as ArrayRef[AssistUserMetadata()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedAssistUserMetadata', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::AssistUserMetadata'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringAssistUserMetadata', | ||
| 23 | as HashRef[AssistUserMetadata()]; | ||
| 24 | |||
| 25 | declare 'StreamAssistRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest']; | ||
| 27 | |||
| 28 | coerce 'StreamAssistRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedStreamAssistRequest', | ||
| 32 | as ArrayRef[StreamAssistRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedStreamAssistRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringStreamAssistRequest', | ||
| 38 | as HashRef[StreamAssistRequest()]; | ||
| 39 | |||
| 40 | declare 'AgentsSpec', | ||
| 41 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::AgentsSpec']; | ||
| 42 | |||
| 43 | coerce 'AgentsSpec', | ||
| 44 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::AgentsSpec'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedAgentsSpec', | ||
| 47 | as ArrayRef[AgentsSpec()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedAgentsSpec', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::AgentsSpec'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringAgentsSpec', | ||
| 53 | as HashRef[AgentsSpec()]; | ||
| 54 | |||
| 55 | declare 'AgentSpec', | ||
| 56 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::AgentsSpec::AgentSpec']; | ||
| 57 | |||
| 58 | coerce 'AgentSpec', | ||
| 59 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::AgentsSpec::AgentSpec'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedAgentSpec', | ||
| 62 | as ArrayRef[AgentSpec()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedAgentSpec', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::AgentsSpec::AgentSpec'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringAgentSpec', | ||
| 68 | as HashRef[AgentSpec()]; | ||
| 69 | |||
| 70 | declare 'ToolsSpec', | ||
| 71 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec']; | ||
| 72 | |||
| 73 | coerce 'ToolsSpec', | ||
| 74 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedToolsSpec', | ||
| 77 | as ArrayRef[ToolsSpec()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedToolsSpec', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringToolsSpec', | ||
| 83 | as HashRef[ToolsSpec()]; | ||
| 84 | |||
| 85 | declare 'VertexAiSearchSpec', | ||
| 86 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::VertexAiSearchSpec']; | ||
| 87 | |||
| 88 | coerce 'VertexAiSearchSpec', | ||
| 89 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::VertexAiSearchSpec'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedVertexAiSearchSpec', | ||
| 92 | as ArrayRef[VertexAiSearchSpec()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedVertexAiSearchSpec', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::VertexAiSearchSpec'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringVertexAiSearchSpec', | ||
| 98 | as HashRef[VertexAiSearchSpec()]; | ||
| 99 | |||
| 100 | declare 'WebGroundingSpec', | ||
| 101 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::WebGroundingSpec']; | ||
| 102 | |||
| 103 | coerce 'WebGroundingSpec', | ||
| 104 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::WebGroundingSpec'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedWebGroundingSpec', | ||
| 107 | as ArrayRef[WebGroundingSpec()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedWebGroundingSpec', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::WebGroundingSpec'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringWebGroundingSpec', | ||
| 113 | as HashRef[WebGroundingSpec()]; | ||
| 114 | |||
| 115 | declare 'ImageGenerationSpec', | ||
| 116 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::ImageGenerationSpec']; | ||
| 117 | |||
| 118 | coerce 'ImageGenerationSpec', | ||
| 119 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::ImageGenerationSpec'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedImageGenerationSpec', | ||
| 122 | as ArrayRef[ImageGenerationSpec()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedImageGenerationSpec', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::ImageGenerationSpec'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringImageGenerationSpec', | ||
| 128 | as HashRef[ImageGenerationSpec()]; | ||
| 129 | |||
| 130 | declare 'VideoGenerationSpec', | ||
| 131 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::VideoGenerationSpec']; | ||
| 132 | |||
| 133 | coerce 'VideoGenerationSpec', | ||
| 134 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::VideoGenerationSpec'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedVideoGenerationSpec', | ||
| 137 | as ArrayRef[VideoGenerationSpec()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedVideoGenerationSpec', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::ToolsSpec::VideoGenerationSpec'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringVideoGenerationSpec', | ||
| 143 | as HashRef[VideoGenerationSpec()]; | ||
| 144 | |||
| 145 | declare 'GenerationSpec', | ||
| 146 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::GenerationSpec']; | ||
| 147 | |||
| 148 | coerce 'GenerationSpec', | ||
| 149 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::GenerationSpec'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedGenerationSpec', | ||
| 152 | as ArrayRef[GenerationSpec()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedGenerationSpec', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistRequest::GenerationSpec'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringGenerationSpec', | ||
| 158 | as HashRef[GenerationSpec()]; | ||
| 159 | |||
| 160 | declare 'StreamAssistResponse', | ||
| 161 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse']; | ||
| 162 | |||
| 163 | coerce 'StreamAssistResponse', | ||
| 164 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedStreamAssistResponse', | ||
| 167 | as ArrayRef[StreamAssistResponse()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedStreamAssistResponse', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringStreamAssistResponse', | ||
| 173 | as HashRef[StreamAssistResponse()]; | ||
| 174 | |||
| 175 | declare 'SessionInfo', | ||
| 176 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse::SessionInfo']; | ||
| 177 | |||
| 178 | coerce 'SessionInfo', | ||
| 179 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse::SessionInfo'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedSessionInfo', | ||
| 182 | as ArrayRef[SessionInfo()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedSessionInfo', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse::SessionInfo'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringSessionInfo', | ||
| 188 | as HashRef[SessionInfo()]; | ||
| 189 | |||
| 190 | declare 'InvokedSkill', | ||
| 191 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse::InvokedSkill']; | ||
| 192 | |||
| 193 | coerce 'InvokedSkill', | ||
| 194 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse::InvokedSkill'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedInvokedSkill', | ||
| 197 | as ArrayRef[InvokedSkill()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedInvokedSkill', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::StreamAssistResponse::InvokedSkill'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringInvokedSkill', | ||
| 203 | as HashRef[InvokedSkill()]; | ||
| 204 | |||
| 205 | declare 'CreateAssistantRequest', | ||
| 206 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::CreateAssistantRequest']; | ||
| 207 | |||
| 208 | coerce 'CreateAssistantRequest', | ||
| 209 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::CreateAssistantRequest'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedCreateAssistantRequest', | ||
| 212 | as ArrayRef[CreateAssistantRequest()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedCreateAssistantRequest', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::CreateAssistantRequest'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringCreateAssistantRequest', | ||
| 218 | as HashRef[CreateAssistantRequest()]; | ||
| 219 | |||
| 220 | declare 'DeleteAssistantRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::DeleteAssistantRequest']; | ||
| 222 | |||
| 223 | coerce 'DeleteAssistantRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::DeleteAssistantRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedDeleteAssistantRequest', | ||
| 227 | as ArrayRef[DeleteAssistantRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedDeleteAssistantRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::DeleteAssistantRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringDeleteAssistantRequest', | ||
| 233 | as HashRef[DeleteAssistantRequest()]; | ||
| 234 | |||
| 235 | declare 'GetAssistantRequest', | ||
| 236 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::GetAssistantRequest']; | ||
| 237 | |||
| 238 | coerce 'GetAssistantRequest', | ||
| 239 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::GetAssistantRequest'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedGetAssistantRequest', | ||
| 242 | as ArrayRef[GetAssistantRequest()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedGetAssistantRequest', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::GetAssistantRequest'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringGetAssistantRequest', | ||
| 248 | as HashRef[GetAssistantRequest()]; | ||
| 249 | |||
| 250 | declare 'ListAssistantsRequest', | ||
| 251 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::ListAssistantsRequest']; | ||
| 252 | |||
| 253 | coerce 'ListAssistantsRequest', | ||
| 254 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::ListAssistantsRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedListAssistantsRequest', | ||
| 257 | as ArrayRef[ListAssistantsRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedListAssistantsRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::ListAssistantsRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringListAssistantsRequest', | ||
| 263 | as HashRef[ListAssistantsRequest()]; | ||
| 264 | |||
| 265 | declare 'ListAssistantsResponse', | ||
| 266 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::ListAssistantsResponse']; | ||
| 267 | |||
| 268 | coerce 'ListAssistantsResponse', | ||
| 269 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::ListAssistantsResponse'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedListAssistantsResponse', | ||
| 272 | as ArrayRef[ListAssistantsResponse()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedListAssistantsResponse', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::ListAssistantsResponse'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringListAssistantsResponse', | ||
| 278 | as HashRef[ListAssistantsResponse()]; | ||
| 279 | |||
| 280 | declare 'UpdateAssistantRequest', | ||
| 281 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::AssistantService::UpdateAssistantRequest']; | ||
| 282 | |||
| 283 | coerce 'UpdateAssistantRequest', | ||
| 284 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::UpdateAssistantRequest'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedUpdateAssistantRequest', | ||
| 287 | as ArrayRef[UpdateAssistantRequest()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedUpdateAssistantRequest', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::AssistantService::UpdateAssistantRequest'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringUpdateAssistantRequest', | ||
| 293 | as HashRef[UpdateAssistantRequest()]; | ||
| 294 | |||
| 295 | 1; | ||
| 296 | |||
| 297 | __END__ |