| 1 | package Google::Cloud::Dialogflow::Cx::V3::Tool::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 'CreateToolRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::CreateToolRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateToolRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::CreateToolRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateToolRequest', | ||
| 17 | as ArrayRef[CreateToolRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateToolRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::CreateToolRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateToolRequest', | ||
| 23 | as HashRef[CreateToolRequest()]; | ||
| 24 | |||
| 25 | declare 'ListToolsRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolsRequest']; | ||
| 27 | |||
| 28 | coerce 'ListToolsRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolsRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListToolsRequest', | ||
| 32 | as ArrayRef[ListToolsRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListToolsRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolsRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListToolsRequest', | ||
| 38 | as HashRef[ListToolsRequest()]; | ||
| 39 | |||
| 40 | declare 'ListToolsResponse', | ||
| 41 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolsResponse']; | ||
| 42 | |||
| 43 | coerce 'ListToolsResponse', | ||
| 44 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolsResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListToolsResponse', | ||
| 47 | as ArrayRef[ListToolsResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListToolsResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolsResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListToolsResponse', | ||
| 53 | as HashRef[ListToolsResponse()]; | ||
| 54 | |||
| 55 | declare 'GetToolRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::GetToolRequest']; | ||
| 57 | |||
| 58 | coerce 'GetToolRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::GetToolRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedGetToolRequest', | ||
| 62 | as ArrayRef[GetToolRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedGetToolRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::GetToolRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringGetToolRequest', | ||
| 68 | as HashRef[GetToolRequest()]; | ||
| 69 | |||
| 70 | declare 'UpdateToolRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::UpdateToolRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateToolRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::UpdateToolRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateToolRequest', | ||
| 77 | as ArrayRef[UpdateToolRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateToolRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::UpdateToolRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateToolRequest', | ||
| 83 | as HashRef[UpdateToolRequest()]; | ||
| 84 | |||
| 85 | declare 'DeleteToolRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::DeleteToolRequest']; | ||
| 87 | |||
| 88 | coerce 'DeleteToolRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::DeleteToolRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDeleteToolRequest', | ||
| 92 | as ArrayRef[DeleteToolRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDeleteToolRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::DeleteToolRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDeleteToolRequest', | ||
| 98 | as HashRef[DeleteToolRequest()]; | ||
| 99 | |||
| 100 | declare 'Tool', | ||
| 101 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool']; | ||
| 102 | |||
| 103 | coerce 'Tool', | ||
| 104 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedTool', | ||
| 107 | as ArrayRef[Tool()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedTool', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringTool', | ||
| 113 | as HashRef[Tool()]; | ||
| 114 | |||
| 115 | declare 'ToolType', | ||
| 116 | as (Int | Str); | ||
| 117 | |||
| 118 | declare 'OpenApiTool', | ||
| 119 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::OpenApiTool']; | ||
| 120 | |||
| 121 | coerce 'OpenApiTool', | ||
| 122 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::OpenApiTool'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedOpenApiTool', | ||
| 125 | as ArrayRef[OpenApiTool()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedOpenApiTool', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::OpenApiTool'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringOpenApiTool', | ||
| 131 | as HashRef[OpenApiTool()]; | ||
| 132 | |||
| 133 | declare 'DataStoreTool', | ||
| 134 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::DataStoreTool']; | ||
| 135 | |||
| 136 | coerce 'DataStoreTool', | ||
| 137 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::DataStoreTool'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedDataStoreTool', | ||
| 140 | as ArrayRef[DataStoreTool()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedDataStoreTool', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::DataStoreTool'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringDataStoreTool', | ||
| 146 | as HashRef[DataStoreTool()]; | ||
| 147 | |||
| 148 | declare 'FallbackPrompt', | ||
| 149 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::DataStoreTool::FallbackPrompt']; | ||
| 150 | |||
| 151 | coerce 'FallbackPrompt', | ||
| 152 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::DataStoreTool::FallbackPrompt'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedFallbackPrompt', | ||
| 155 | as ArrayRef[FallbackPrompt()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedFallbackPrompt', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::DataStoreTool::FallbackPrompt'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringFallbackPrompt', | ||
| 161 | as HashRef[FallbackPrompt()]; | ||
| 162 | |||
| 163 | declare 'FunctionTool', | ||
| 164 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::FunctionTool']; | ||
| 165 | |||
| 166 | coerce 'FunctionTool', | ||
| 167 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::FunctionTool'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedFunctionTool', | ||
| 170 | as ArrayRef[FunctionTool()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedFunctionTool', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::FunctionTool'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringFunctionTool', | ||
| 176 | as HashRef[FunctionTool()]; | ||
| 177 | |||
| 178 | declare 'Authentication', | ||
| 179 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication']; | ||
| 180 | |||
| 181 | coerce 'Authentication', | ||
| 182 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedAuthentication', | ||
| 185 | as ArrayRef[Authentication()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedAuthentication', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringAuthentication', | ||
| 191 | as HashRef[Authentication()]; | ||
| 192 | |||
| 193 | declare 'RequestLocation', | ||
| 194 | as (Int | Str); | ||
| 195 | |||
| 196 | declare 'ApiKeyConfig', | ||
| 197 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ApiKeyConfig']; | ||
| 198 | |||
| 199 | coerce 'ApiKeyConfig', | ||
| 200 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ApiKeyConfig'->new($_) }; | ||
| 201 | |||
| 202 | declare 'RepeatedApiKeyConfig', | ||
| 203 | as ArrayRef[ApiKeyConfig()]; | ||
| 204 | |||
| 205 | coerce 'RepeatedApiKeyConfig', | ||
| 206 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ApiKeyConfig'->new($_) } @$_ ] }; | ||
| 207 | |||
| 208 | declare 'MapStringApiKeyConfig', | ||
| 209 | as HashRef[ApiKeyConfig()]; | ||
| 210 | |||
| 211 | declare 'OAuthConfig', | ||
| 212 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::OAuthConfig']; | ||
| 213 | |||
| 214 | coerce 'OAuthConfig', | ||
| 215 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::OAuthConfig'->new($_) }; | ||
| 216 | |||
| 217 | declare 'RepeatedOAuthConfig', | ||
| 218 | as ArrayRef[OAuthConfig()]; | ||
| 219 | |||
| 220 | coerce 'RepeatedOAuthConfig', | ||
| 221 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::OAuthConfig'->new($_) } @$_ ] }; | ||
| 222 | |||
| 223 | declare 'MapStringOAuthConfig', | ||
| 224 | as HashRef[OAuthConfig()]; | ||
| 225 | |||
| 226 | declare 'OauthGrantType', | ||
| 227 | as (Int | Str); | ||
| 228 | |||
| 229 | declare 'ServiceAgentAuthConfig', | ||
| 230 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ServiceAgentAuthConfig']; | ||
| 231 | |||
| 232 | coerce 'ServiceAgentAuthConfig', | ||
| 233 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ServiceAgentAuthConfig'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedServiceAgentAuthConfig', | ||
| 236 | as ArrayRef[ServiceAgentAuthConfig()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedServiceAgentAuthConfig', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ServiceAgentAuthConfig'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringServiceAgentAuthConfig', | ||
| 242 | as HashRef[ServiceAgentAuthConfig()]; | ||
| 243 | |||
| 244 | declare 'ServiceAgentAuth', | ||
| 245 | as (Int | Str); | ||
| 246 | |||
| 247 | declare 'BearerTokenConfig', | ||
| 248 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::BearerTokenConfig']; | ||
| 249 | |||
| 250 | coerce 'BearerTokenConfig', | ||
| 251 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::BearerTokenConfig'->new($_) }; | ||
| 252 | |||
| 253 | declare 'RepeatedBearerTokenConfig', | ||
| 254 | as ArrayRef[BearerTokenConfig()]; | ||
| 255 | |||
| 256 | coerce 'RepeatedBearerTokenConfig', | ||
| 257 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::BearerTokenConfig'->new($_) } @$_ ] }; | ||
| 258 | |||
| 259 | declare 'MapStringBearerTokenConfig', | ||
| 260 | as HashRef[BearerTokenConfig()]; | ||
| 261 | |||
| 262 | declare 'ServiceAccountAuthConfig', | ||
| 263 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ServiceAccountAuthConfig']; | ||
| 264 | |||
| 265 | coerce 'ServiceAccountAuthConfig', | ||
| 266 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ServiceAccountAuthConfig'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedServiceAccountAuthConfig', | ||
| 269 | as ArrayRef[ServiceAccountAuthConfig()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedServiceAccountAuthConfig', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::Authentication::ServiceAccountAuthConfig'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringServiceAccountAuthConfig', | ||
| 275 | as HashRef[ServiceAccountAuthConfig()]; | ||
| 276 | |||
| 277 | declare 'TLSConfig', | ||
| 278 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::TLSConfig']; | ||
| 279 | |||
| 280 | coerce 'TLSConfig', | ||
| 281 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::TLSConfig'->new($_) }; | ||
| 282 | |||
| 283 | declare 'RepeatedTLSConfig', | ||
| 284 | as ArrayRef[TLSConfig()]; | ||
| 285 | |||
| 286 | coerce 'RepeatedTLSConfig', | ||
| 287 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::TLSConfig'->new($_) } @$_ ] }; | ||
| 288 | |||
| 289 | declare 'MapStringTLSConfig', | ||
| 290 | as HashRef[TLSConfig()]; | ||
| 291 | |||
| 292 | declare 'CACert', | ||
| 293 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::TLSConfig::CACert']; | ||
| 294 | |||
| 295 | coerce 'CACert', | ||
| 296 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::TLSConfig::CACert'->new($_) }; | ||
| 297 | |||
| 298 | declare 'RepeatedCACert', | ||
| 299 | as ArrayRef[CACert()]; | ||
| 300 | |||
| 301 | coerce 'RepeatedCACert', | ||
| 302 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::TLSConfig::CACert'->new($_) } @$_ ] }; | ||
| 303 | |||
| 304 | declare 'MapStringCACert', | ||
| 305 | as HashRef[CACert()]; | ||
| 306 | |||
| 307 | declare 'ServiceDirectoryConfig', | ||
| 308 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::ServiceDirectoryConfig']; | ||
| 309 | |||
| 310 | coerce 'ServiceDirectoryConfig', | ||
| 311 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::ServiceDirectoryConfig'->new($_) }; | ||
| 312 | |||
| 313 | declare 'RepeatedServiceDirectoryConfig', | ||
| 314 | as ArrayRef[ServiceDirectoryConfig()]; | ||
| 315 | |||
| 316 | coerce 'RepeatedServiceDirectoryConfig', | ||
| 317 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::Tool::ServiceDirectoryConfig'->new($_) } @$_ ] }; | ||
| 318 | |||
| 319 | declare 'MapStringServiceDirectoryConfig', | ||
| 320 | as HashRef[ServiceDirectoryConfig()]; | ||
| 321 | |||
| 322 | declare 'ListToolVersionsRequest', | ||
| 323 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolVersionsRequest']; | ||
| 324 | |||
| 325 | coerce 'ListToolVersionsRequest', | ||
| 326 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolVersionsRequest'->new($_) }; | ||
| 327 | |||
| 328 | declare 'RepeatedListToolVersionsRequest', | ||
| 329 | as ArrayRef[ListToolVersionsRequest()]; | ||
| 330 | |||
| 331 | coerce 'RepeatedListToolVersionsRequest', | ||
| 332 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolVersionsRequest'->new($_) } @$_ ] }; | ||
| 333 | |||
| 334 | declare 'MapStringListToolVersionsRequest', | ||
| 335 | as HashRef[ListToolVersionsRequest()]; | ||
| 336 | |||
| 337 | declare 'ListToolVersionsResponse', | ||
| 338 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolVersionsResponse']; | ||
| 339 | |||
| 340 | coerce 'ListToolVersionsResponse', | ||
| 341 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolVersionsResponse'->new($_) }; | ||
| 342 | |||
| 343 | declare 'RepeatedListToolVersionsResponse', | ||
| 344 | as ArrayRef[ListToolVersionsResponse()]; | ||
| 345 | |||
| 346 | coerce 'RepeatedListToolVersionsResponse', | ||
| 347 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ListToolVersionsResponse'->new($_) } @$_ ] }; | ||
| 348 | |||
| 349 | declare 'MapStringListToolVersionsResponse', | ||
| 350 | as HashRef[ListToolVersionsResponse()]; | ||
| 351 | |||
| 352 | declare 'CreateToolVersionRequest', | ||
| 353 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::CreateToolVersionRequest']; | ||
| 354 | |||
| 355 | coerce 'CreateToolVersionRequest', | ||
| 356 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::CreateToolVersionRequest'->new($_) }; | ||
| 357 | |||
| 358 | declare 'RepeatedCreateToolVersionRequest', | ||
| 359 | as ArrayRef[CreateToolVersionRequest()]; | ||
| 360 | |||
| 361 | coerce 'RepeatedCreateToolVersionRequest', | ||
| 362 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::CreateToolVersionRequest'->new($_) } @$_ ] }; | ||
| 363 | |||
| 364 | declare 'MapStringCreateToolVersionRequest', | ||
| 365 | as HashRef[CreateToolVersionRequest()]; | ||
| 366 | |||
| 367 | declare 'GetToolVersionRequest', | ||
| 368 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::GetToolVersionRequest']; | ||
| 369 | |||
| 370 | coerce 'GetToolVersionRequest', | ||
| 371 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::GetToolVersionRequest'->new($_) }; | ||
| 372 | |||
| 373 | declare 'RepeatedGetToolVersionRequest', | ||
| 374 | as ArrayRef[GetToolVersionRequest()]; | ||
| 375 | |||
| 376 | coerce 'RepeatedGetToolVersionRequest', | ||
| 377 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::GetToolVersionRequest'->new($_) } @$_ ] }; | ||
| 378 | |||
| 379 | declare 'MapStringGetToolVersionRequest', | ||
| 380 | as HashRef[GetToolVersionRequest()]; | ||
| 381 | |||
| 382 | declare 'DeleteToolVersionRequest', | ||
| 383 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::DeleteToolVersionRequest']; | ||
| 384 | |||
| 385 | coerce 'DeleteToolVersionRequest', | ||
| 386 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::DeleteToolVersionRequest'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedDeleteToolVersionRequest', | ||
| 389 | as ArrayRef[DeleteToolVersionRequest()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedDeleteToolVersionRequest', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::DeleteToolVersionRequest'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringDeleteToolVersionRequest', | ||
| 395 | as HashRef[DeleteToolVersionRequest()]; | ||
| 396 | |||
| 397 | declare 'RestoreToolVersionRequest', | ||
| 398 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::RestoreToolVersionRequest']; | ||
| 399 | |||
| 400 | coerce 'RestoreToolVersionRequest', | ||
| 401 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::RestoreToolVersionRequest'->new($_) }; | ||
| 402 | |||
| 403 | declare 'RepeatedRestoreToolVersionRequest', | ||
| 404 | as ArrayRef[RestoreToolVersionRequest()]; | ||
| 405 | |||
| 406 | coerce 'RepeatedRestoreToolVersionRequest', | ||
| 407 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::RestoreToolVersionRequest'->new($_) } @$_ ] }; | ||
| 408 | |||
| 409 | declare 'MapStringRestoreToolVersionRequest', | ||
| 410 | as HashRef[RestoreToolVersionRequest()]; | ||
| 411 | |||
| 412 | declare 'RestoreToolVersionResponse', | ||
| 413 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::RestoreToolVersionResponse']; | ||
| 414 | |||
| 415 | coerce 'RestoreToolVersionResponse', | ||
| 416 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::RestoreToolVersionResponse'->new($_) }; | ||
| 417 | |||
| 418 | declare 'RepeatedRestoreToolVersionResponse', | ||
| 419 | as ArrayRef[RestoreToolVersionResponse()]; | ||
| 420 | |||
| 421 | coerce 'RepeatedRestoreToolVersionResponse', | ||
| 422 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::RestoreToolVersionResponse'->new($_) } @$_ ] }; | ||
| 423 | |||
| 424 | declare 'MapStringRestoreToolVersionResponse', | ||
| 425 | as HashRef[RestoreToolVersionResponse()]; | ||
| 426 | |||
| 427 | declare 'ToolVersion', | ||
| 428 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Tool::ToolVersion']; | ||
| 429 | |||
| 430 | coerce 'ToolVersion', | ||
| 431 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ToolVersion'->new($_) }; | ||
| 432 | |||
| 433 | declare 'RepeatedToolVersion', | ||
| 434 | as ArrayRef[ToolVersion()]; | ||
| 435 | |||
| 436 | coerce 'RepeatedToolVersion', | ||
| 437 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Tool::ToolVersion'->new($_) } @$_ ] }; | ||
| 438 | |||
| 439 | declare 'MapStringToolVersion', | ||
| 440 | as HashRef[ToolVersion()]; | ||
| 441 | |||
| 442 | 1; | ||
| 443 | |||
| 444 | __END__ |