| 1 | package Google::Cloud::Metastore::V1::Metastore::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 'Service', | ||
| 11 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::Service']; | ||
| 12 | |||
| 13 | coerce 'Service', | ||
| 14 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::Service'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedService', | ||
| 17 | as ArrayRef[Service()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedService', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::Service'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringService', | ||
| 23 | as HashRef[Service()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'Tier', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'ReleaseChannel', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'DatabaseType', | ||
| 35 | as (Int | Str); | ||
| 36 | |||
| 37 | declare 'LabelsEntry', | ||
| 38 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::Service::LabelsEntry']; | ||
| 39 | |||
| 40 | coerce 'LabelsEntry', | ||
| 41 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::Service::LabelsEntry'->new($_) }; | ||
| 42 | |||
| 43 | declare 'RepeatedLabelsEntry', | ||
| 44 | as ArrayRef[LabelsEntry()]; | ||
| 45 | |||
| 46 | coerce 'RepeatedLabelsEntry', | ||
| 47 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::Service::LabelsEntry'->new($_) } @$_ ] }; | ||
| 48 | |||
| 49 | declare 'MapStringLabelsEntry', | ||
| 50 | as HashRef[LabelsEntry()]; | ||
| 51 | |||
| 52 | declare 'MaintenanceWindow', | ||
| 53 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::MaintenanceWindow']; | ||
| 54 | |||
| 55 | coerce 'MaintenanceWindow', | ||
| 56 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::MaintenanceWindow'->new($_) }; | ||
| 57 | |||
| 58 | declare 'RepeatedMaintenanceWindow', | ||
| 59 | as ArrayRef[MaintenanceWindow()]; | ||
| 60 | |||
| 61 | coerce 'RepeatedMaintenanceWindow', | ||
| 62 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::MaintenanceWindow'->new($_) } @$_ ] }; | ||
| 63 | |||
| 64 | declare 'MapStringMaintenanceWindow', | ||
| 65 | as HashRef[MaintenanceWindow()]; | ||
| 66 | |||
| 67 | declare 'HiveMetastoreConfig', | ||
| 68 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig']; | ||
| 69 | |||
| 70 | coerce 'HiveMetastoreConfig', | ||
| 71 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig'->new($_) }; | ||
| 72 | |||
| 73 | declare 'RepeatedHiveMetastoreConfig', | ||
| 74 | as ArrayRef[HiveMetastoreConfig()]; | ||
| 75 | |||
| 76 | coerce 'RepeatedHiveMetastoreConfig', | ||
| 77 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig'->new($_) } @$_ ] }; | ||
| 78 | |||
| 79 | declare 'MapStringHiveMetastoreConfig', | ||
| 80 | as HashRef[HiveMetastoreConfig()]; | ||
| 81 | |||
| 82 | declare 'EndpointProtocol', | ||
| 83 | as (Int | Str); | ||
| 84 | |||
| 85 | declare 'ConfigOverridesEntry', | ||
| 86 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig::ConfigOverridesEntry']; | ||
| 87 | |||
| 88 | coerce 'ConfigOverridesEntry', | ||
| 89 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig::ConfigOverridesEntry'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedConfigOverridesEntry', | ||
| 92 | as ArrayRef[ConfigOverridesEntry()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedConfigOverridesEntry', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig::ConfigOverridesEntry'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringConfigOverridesEntry', | ||
| 98 | as HashRef[ConfigOverridesEntry()]; | ||
| 99 | |||
| 100 | declare 'AuxiliaryVersionsEntry', | ||
| 101 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig::AuxiliaryVersionsEntry']; | ||
| 102 | |||
| 103 | coerce 'AuxiliaryVersionsEntry', | ||
| 104 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig::AuxiliaryVersionsEntry'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedAuxiliaryVersionsEntry', | ||
| 107 | as ArrayRef[AuxiliaryVersionsEntry()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedAuxiliaryVersionsEntry', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::HiveMetastoreConfig::AuxiliaryVersionsEntry'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringAuxiliaryVersionsEntry', | ||
| 113 | as HashRef[AuxiliaryVersionsEntry()]; | ||
| 114 | |||
| 115 | declare 'KerberosConfig', | ||
| 116 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::KerberosConfig']; | ||
| 117 | |||
| 118 | coerce 'KerberosConfig', | ||
| 119 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::KerberosConfig'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedKerberosConfig', | ||
| 122 | as ArrayRef[KerberosConfig()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedKerberosConfig', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::KerberosConfig'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringKerberosConfig', | ||
| 128 | as HashRef[KerberosConfig()]; | ||
| 129 | |||
| 130 | declare 'Secret', | ||
| 131 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::Secret']; | ||
| 132 | |||
| 133 | coerce 'Secret', | ||
| 134 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::Secret'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedSecret', | ||
| 137 | as ArrayRef[Secret()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedSecret', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::Secret'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringSecret', | ||
| 143 | as HashRef[Secret()]; | ||
| 144 | |||
| 145 | declare 'EncryptionConfig', | ||
| 146 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::EncryptionConfig']; | ||
| 147 | |||
| 148 | coerce 'EncryptionConfig', | ||
| 149 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::EncryptionConfig'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedEncryptionConfig', | ||
| 152 | as ArrayRef[EncryptionConfig()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedEncryptionConfig', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::EncryptionConfig'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringEncryptionConfig', | ||
| 158 | as HashRef[EncryptionConfig()]; | ||
| 159 | |||
| 160 | declare 'AuxiliaryVersionConfig', | ||
| 161 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::AuxiliaryVersionConfig']; | ||
| 162 | |||
| 163 | coerce 'AuxiliaryVersionConfig', | ||
| 164 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::AuxiliaryVersionConfig'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedAuxiliaryVersionConfig', | ||
| 167 | as ArrayRef[AuxiliaryVersionConfig()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedAuxiliaryVersionConfig', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::AuxiliaryVersionConfig'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringAuxiliaryVersionConfig', | ||
| 173 | as HashRef[AuxiliaryVersionConfig()]; | ||
| 174 | |||
| 175 | declare 'ConfigOverridesEntry', | ||
| 176 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::AuxiliaryVersionConfig::ConfigOverridesEntry']; | ||
| 177 | |||
| 178 | coerce 'ConfigOverridesEntry', | ||
| 179 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::AuxiliaryVersionConfig::ConfigOverridesEntry'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedConfigOverridesEntry', | ||
| 182 | as ArrayRef[ConfigOverridesEntry()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedConfigOverridesEntry', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::AuxiliaryVersionConfig::ConfigOverridesEntry'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringConfigOverridesEntry', | ||
| 188 | as HashRef[ConfigOverridesEntry()]; | ||
| 189 | |||
| 190 | declare 'NetworkConfig', | ||
| 191 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::NetworkConfig']; | ||
| 192 | |||
| 193 | coerce 'NetworkConfig', | ||
| 194 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::NetworkConfig'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedNetworkConfig', | ||
| 197 | as ArrayRef[NetworkConfig()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedNetworkConfig', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::NetworkConfig'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringNetworkConfig', | ||
| 203 | as HashRef[NetworkConfig()]; | ||
| 204 | |||
| 205 | declare 'Consumer', | ||
| 206 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::NetworkConfig::Consumer']; | ||
| 207 | |||
| 208 | coerce 'Consumer', | ||
| 209 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::NetworkConfig::Consumer'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedConsumer', | ||
| 212 | as ArrayRef[Consumer()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedConsumer', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::NetworkConfig::Consumer'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringConsumer', | ||
| 218 | as HashRef[Consumer()]; | ||
| 219 | |||
| 220 | declare 'TelemetryConfig', | ||
| 221 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::TelemetryConfig']; | ||
| 222 | |||
| 223 | coerce 'TelemetryConfig', | ||
| 224 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::TelemetryConfig'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedTelemetryConfig', | ||
| 227 | as ArrayRef[TelemetryConfig()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedTelemetryConfig', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::TelemetryConfig'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringTelemetryConfig', | ||
| 233 | as HashRef[TelemetryConfig()]; | ||
| 234 | |||
| 235 | declare 'LogFormat', | ||
| 236 | as (Int | Str); | ||
| 237 | |||
| 238 | declare 'MetadataManagementActivity', | ||
| 239 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::MetadataManagementActivity']; | ||
| 240 | |||
| 241 | coerce 'MetadataManagementActivity', | ||
| 242 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::MetadataManagementActivity'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedMetadataManagementActivity', | ||
| 245 | as ArrayRef[MetadataManagementActivity()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedMetadataManagementActivity', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::MetadataManagementActivity'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringMetadataManagementActivity', | ||
| 251 | as HashRef[MetadataManagementActivity()]; | ||
| 252 | |||
| 253 | declare 'MetadataImport', | ||
| 254 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::MetadataImport']; | ||
| 255 | |||
| 256 | coerce 'MetadataImport', | ||
| 257 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::MetadataImport'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedMetadataImport', | ||
| 260 | as ArrayRef[MetadataImport()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedMetadataImport', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::MetadataImport'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringMetadataImport', | ||
| 266 | as HashRef[MetadataImport()]; | ||
| 267 | |||
| 268 | declare 'State', | ||
| 269 | as (Int | Str); | ||
| 270 | |||
| 271 | declare 'DatabaseDump', | ||
| 272 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::MetadataImport::DatabaseDump']; | ||
| 273 | |||
| 274 | coerce 'DatabaseDump', | ||
| 275 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::MetadataImport::DatabaseDump'->new($_) }; | ||
| 276 | |||
| 277 | declare 'RepeatedDatabaseDump', | ||
| 278 | as ArrayRef[DatabaseDump()]; | ||
| 279 | |||
| 280 | coerce 'RepeatedDatabaseDump', | ||
| 281 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::MetadataImport::DatabaseDump'->new($_) } @$_ ] }; | ||
| 282 | |||
| 283 | declare 'MapStringDatabaseDump', | ||
| 284 | as HashRef[DatabaseDump()]; | ||
| 285 | |||
| 286 | declare 'DatabaseType', | ||
| 287 | as (Int | Str); | ||
| 288 | |||
| 289 | declare 'MetadataExport', | ||
| 290 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::MetadataExport']; | ||
| 291 | |||
| 292 | coerce 'MetadataExport', | ||
| 293 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::MetadataExport'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedMetadataExport', | ||
| 296 | as ArrayRef[MetadataExport()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedMetadataExport', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::MetadataExport'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringMetadataExport', | ||
| 302 | as HashRef[MetadataExport()]; | ||
| 303 | |||
| 304 | declare 'State', | ||
| 305 | as (Int | Str); | ||
| 306 | |||
| 307 | declare 'Backup', | ||
| 308 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::Backup']; | ||
| 309 | |||
| 310 | coerce 'Backup', | ||
| 311 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::Backup'->new($_) }; | ||
| 312 | |||
| 313 | declare 'RepeatedBackup', | ||
| 314 | as ArrayRef[Backup()]; | ||
| 315 | |||
| 316 | coerce 'RepeatedBackup', | ||
| 317 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::Backup'->new($_) } @$_ ] }; | ||
| 318 | |||
| 319 | declare 'MapStringBackup', | ||
| 320 | as HashRef[Backup()]; | ||
| 321 | |||
| 322 | declare 'State', | ||
| 323 | as (Int | Str); | ||
| 324 | |||
| 325 | declare 'Restore', | ||
| 326 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::Restore']; | ||
| 327 | |||
| 328 | coerce 'Restore', | ||
| 329 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::Restore'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedRestore', | ||
| 332 | as ArrayRef[Restore()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedRestore', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::Restore'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringRestore', | ||
| 338 | as HashRef[Restore()]; | ||
| 339 | |||
| 340 | declare 'State', | ||
| 341 | as (Int | Str); | ||
| 342 | |||
| 343 | declare 'RestoreType', | ||
| 344 | as (Int | Str); | ||
| 345 | |||
| 346 | declare 'ScalingConfig', | ||
| 347 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ScalingConfig']; | ||
| 348 | |||
| 349 | coerce 'ScalingConfig', | ||
| 350 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ScalingConfig'->new($_) }; | ||
| 351 | |||
| 352 | declare 'RepeatedScalingConfig', | ||
| 353 | as ArrayRef[ScalingConfig()]; | ||
| 354 | |||
| 355 | coerce 'RepeatedScalingConfig', | ||
| 356 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ScalingConfig'->new($_) } @$_ ] }; | ||
| 357 | |||
| 358 | declare 'MapStringScalingConfig', | ||
| 359 | as HashRef[ScalingConfig()]; | ||
| 360 | |||
| 361 | declare 'InstanceSize', | ||
| 362 | as (Int | Str); | ||
| 363 | |||
| 364 | declare 'ListServicesRequest', | ||
| 365 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ListServicesRequest']; | ||
| 366 | |||
| 367 | coerce 'ListServicesRequest', | ||
| 368 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ListServicesRequest'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedListServicesRequest', | ||
| 371 | as ArrayRef[ListServicesRequest()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedListServicesRequest', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ListServicesRequest'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringListServicesRequest', | ||
| 377 | as HashRef[ListServicesRequest()]; | ||
| 378 | |||
| 379 | declare 'ListServicesResponse', | ||
| 380 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ListServicesResponse']; | ||
| 381 | |||
| 382 | coerce 'ListServicesResponse', | ||
| 383 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ListServicesResponse'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedListServicesResponse', | ||
| 386 | as ArrayRef[ListServicesResponse()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedListServicesResponse', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ListServicesResponse'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringListServicesResponse', | ||
| 392 | as HashRef[ListServicesResponse()]; | ||
| 393 | |||
| 394 | declare 'GetServiceRequest', | ||
| 395 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::GetServiceRequest']; | ||
| 396 | |||
| 397 | coerce 'GetServiceRequest', | ||
| 398 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::GetServiceRequest'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedGetServiceRequest', | ||
| 401 | as ArrayRef[GetServiceRequest()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedGetServiceRequest', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::GetServiceRequest'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringGetServiceRequest', | ||
| 407 | as HashRef[GetServiceRequest()]; | ||
| 408 | |||
| 409 | declare 'CreateServiceRequest', | ||
| 410 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::CreateServiceRequest']; | ||
| 411 | |||
| 412 | coerce 'CreateServiceRequest', | ||
| 413 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::CreateServiceRequest'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedCreateServiceRequest', | ||
| 416 | as ArrayRef[CreateServiceRequest()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedCreateServiceRequest', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::CreateServiceRequest'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringCreateServiceRequest', | ||
| 422 | as HashRef[CreateServiceRequest()]; | ||
| 423 | |||
| 424 | declare 'UpdateServiceRequest', | ||
| 425 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::UpdateServiceRequest']; | ||
| 426 | |||
| 427 | coerce 'UpdateServiceRequest', | ||
| 428 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::UpdateServiceRequest'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedUpdateServiceRequest', | ||
| 431 | as ArrayRef[UpdateServiceRequest()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedUpdateServiceRequest', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::UpdateServiceRequest'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringUpdateServiceRequest', | ||
| 437 | as HashRef[UpdateServiceRequest()]; | ||
| 438 | |||
| 439 | declare 'DeleteServiceRequest', | ||
| 440 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::DeleteServiceRequest']; | ||
| 441 | |||
| 442 | coerce 'DeleteServiceRequest', | ||
| 443 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::DeleteServiceRequest'->new($_) }; | ||
| 444 | |||
| 445 | declare 'RepeatedDeleteServiceRequest', | ||
| 446 | as ArrayRef[DeleteServiceRequest()]; | ||
| 447 | |||
| 448 | coerce 'RepeatedDeleteServiceRequest', | ||
| 449 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::DeleteServiceRequest'->new($_) } @$_ ] }; | ||
| 450 | |||
| 451 | declare 'MapStringDeleteServiceRequest', | ||
| 452 | as HashRef[DeleteServiceRequest()]; | ||
| 453 | |||
| 454 | declare 'ListMetadataImportsRequest', | ||
| 455 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ListMetadataImportsRequest']; | ||
| 456 | |||
| 457 | coerce 'ListMetadataImportsRequest', | ||
| 458 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ListMetadataImportsRequest'->new($_) }; | ||
| 459 | |||
| 460 | declare 'RepeatedListMetadataImportsRequest', | ||
| 461 | as ArrayRef[ListMetadataImportsRequest()]; | ||
| 462 | |||
| 463 | coerce 'RepeatedListMetadataImportsRequest', | ||
| 464 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ListMetadataImportsRequest'->new($_) } @$_ ] }; | ||
| 465 | |||
| 466 | declare 'MapStringListMetadataImportsRequest', | ||
| 467 | as HashRef[ListMetadataImportsRequest()]; | ||
| 468 | |||
| 469 | declare 'ListMetadataImportsResponse', | ||
| 470 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ListMetadataImportsResponse']; | ||
| 471 | |||
| 472 | coerce 'ListMetadataImportsResponse', | ||
| 473 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ListMetadataImportsResponse'->new($_) }; | ||
| 474 | |||
| 475 | declare 'RepeatedListMetadataImportsResponse', | ||
| 476 | as ArrayRef[ListMetadataImportsResponse()]; | ||
| 477 | |||
| 478 | coerce 'RepeatedListMetadataImportsResponse', | ||
| 479 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ListMetadataImportsResponse'->new($_) } @$_ ] }; | ||
| 480 | |||
| 481 | declare 'MapStringListMetadataImportsResponse', | ||
| 482 | as HashRef[ListMetadataImportsResponse()]; | ||
| 483 | |||
| 484 | declare 'GetMetadataImportRequest', | ||
| 485 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::GetMetadataImportRequest']; | ||
| 486 | |||
| 487 | coerce 'GetMetadataImportRequest', | ||
| 488 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::GetMetadataImportRequest'->new($_) }; | ||
| 489 | |||
| 490 | declare 'RepeatedGetMetadataImportRequest', | ||
| 491 | as ArrayRef[GetMetadataImportRequest()]; | ||
| 492 | |||
| 493 | coerce 'RepeatedGetMetadataImportRequest', | ||
| 494 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::GetMetadataImportRequest'->new($_) } @$_ ] }; | ||
| 495 | |||
| 496 | declare 'MapStringGetMetadataImportRequest', | ||
| 497 | as HashRef[GetMetadataImportRequest()]; | ||
| 498 | |||
| 499 | declare 'CreateMetadataImportRequest', | ||
| 500 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::CreateMetadataImportRequest']; | ||
| 501 | |||
| 502 | coerce 'CreateMetadataImportRequest', | ||
| 503 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::CreateMetadataImportRequest'->new($_) }; | ||
| 504 | |||
| 505 | declare 'RepeatedCreateMetadataImportRequest', | ||
| 506 | as ArrayRef[CreateMetadataImportRequest()]; | ||
| 507 | |||
| 508 | coerce 'RepeatedCreateMetadataImportRequest', | ||
| 509 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::CreateMetadataImportRequest'->new($_) } @$_ ] }; | ||
| 510 | |||
| 511 | declare 'MapStringCreateMetadataImportRequest', | ||
| 512 | as HashRef[CreateMetadataImportRequest()]; | ||
| 513 | |||
| 514 | declare 'UpdateMetadataImportRequest', | ||
| 515 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::UpdateMetadataImportRequest']; | ||
| 516 | |||
| 517 | coerce 'UpdateMetadataImportRequest', | ||
| 518 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::UpdateMetadataImportRequest'->new($_) }; | ||
| 519 | |||
| 520 | declare 'RepeatedUpdateMetadataImportRequest', | ||
| 521 | as ArrayRef[UpdateMetadataImportRequest()]; | ||
| 522 | |||
| 523 | coerce 'RepeatedUpdateMetadataImportRequest', | ||
| 524 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::UpdateMetadataImportRequest'->new($_) } @$_ ] }; | ||
| 525 | |||
| 526 | declare 'MapStringUpdateMetadataImportRequest', | ||
| 527 | as HashRef[UpdateMetadataImportRequest()]; | ||
| 528 | |||
| 529 | declare 'ListBackupsRequest', | ||
| 530 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ListBackupsRequest']; | ||
| 531 | |||
| 532 | coerce 'ListBackupsRequest', | ||
| 533 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ListBackupsRequest'->new($_) }; | ||
| 534 | |||
| 535 | declare 'RepeatedListBackupsRequest', | ||
| 536 | as ArrayRef[ListBackupsRequest()]; | ||
| 537 | |||
| 538 | coerce 'RepeatedListBackupsRequest', | ||
| 539 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ListBackupsRequest'->new($_) } @$_ ] }; | ||
| 540 | |||
| 541 | declare 'MapStringListBackupsRequest', | ||
| 542 | as HashRef[ListBackupsRequest()]; | ||
| 543 | |||
| 544 | declare 'ListBackupsResponse', | ||
| 545 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ListBackupsResponse']; | ||
| 546 | |||
| 547 | coerce 'ListBackupsResponse', | ||
| 548 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ListBackupsResponse'->new($_) }; | ||
| 549 | |||
| 550 | declare 'RepeatedListBackupsResponse', | ||
| 551 | as ArrayRef[ListBackupsResponse()]; | ||
| 552 | |||
| 553 | coerce 'RepeatedListBackupsResponse', | ||
| 554 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ListBackupsResponse'->new($_) } @$_ ] }; | ||
| 555 | |||
| 556 | declare 'MapStringListBackupsResponse', | ||
| 557 | as HashRef[ListBackupsResponse()]; | ||
| 558 | |||
| 559 | declare 'GetBackupRequest', | ||
| 560 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::GetBackupRequest']; | ||
| 561 | |||
| 562 | coerce 'GetBackupRequest', | ||
| 563 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::GetBackupRequest'->new($_) }; | ||
| 564 | |||
| 565 | declare 'RepeatedGetBackupRequest', | ||
| 566 | as ArrayRef[GetBackupRequest()]; | ||
| 567 | |||
| 568 | coerce 'RepeatedGetBackupRequest', | ||
| 569 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::GetBackupRequest'->new($_) } @$_ ] }; | ||
| 570 | |||
| 571 | declare 'MapStringGetBackupRequest', | ||
| 572 | as HashRef[GetBackupRequest()]; | ||
| 573 | |||
| 574 | declare 'CreateBackupRequest', | ||
| 575 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::CreateBackupRequest']; | ||
| 576 | |||
| 577 | coerce 'CreateBackupRequest', | ||
| 578 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::CreateBackupRequest'->new($_) }; | ||
| 579 | |||
| 580 | declare 'RepeatedCreateBackupRequest', | ||
| 581 | as ArrayRef[CreateBackupRequest()]; | ||
| 582 | |||
| 583 | coerce 'RepeatedCreateBackupRequest', | ||
| 584 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::CreateBackupRequest'->new($_) } @$_ ] }; | ||
| 585 | |||
| 586 | declare 'MapStringCreateBackupRequest', | ||
| 587 | as HashRef[CreateBackupRequest()]; | ||
| 588 | |||
| 589 | declare 'DeleteBackupRequest', | ||
| 590 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::DeleteBackupRequest']; | ||
| 591 | |||
| 592 | coerce 'DeleteBackupRequest', | ||
| 593 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::DeleteBackupRequest'->new($_) }; | ||
| 594 | |||
| 595 | declare 'RepeatedDeleteBackupRequest', | ||
| 596 | as ArrayRef[DeleteBackupRequest()]; | ||
| 597 | |||
| 598 | coerce 'RepeatedDeleteBackupRequest', | ||
| 599 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::DeleteBackupRequest'->new($_) } @$_ ] }; | ||
| 600 | |||
| 601 | declare 'MapStringDeleteBackupRequest', | ||
| 602 | as HashRef[DeleteBackupRequest()]; | ||
| 603 | |||
| 604 | declare 'ExportMetadataRequest', | ||
| 605 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ExportMetadataRequest']; | ||
| 606 | |||
| 607 | coerce 'ExportMetadataRequest', | ||
| 608 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ExportMetadataRequest'->new($_) }; | ||
| 609 | |||
| 610 | declare 'RepeatedExportMetadataRequest', | ||
| 611 | as ArrayRef[ExportMetadataRequest()]; | ||
| 612 | |||
| 613 | coerce 'RepeatedExportMetadataRequest', | ||
| 614 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ExportMetadataRequest'->new($_) } @$_ ] }; | ||
| 615 | |||
| 616 | declare 'MapStringExportMetadataRequest', | ||
| 617 | as HashRef[ExportMetadataRequest()]; | ||
| 618 | |||
| 619 | declare 'RestoreServiceRequest', | ||
| 620 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::RestoreServiceRequest']; | ||
| 621 | |||
| 622 | coerce 'RestoreServiceRequest', | ||
| 623 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::RestoreServiceRequest'->new($_) }; | ||
| 624 | |||
| 625 | declare 'RepeatedRestoreServiceRequest', | ||
| 626 | as ArrayRef[RestoreServiceRequest()]; | ||
| 627 | |||
| 628 | coerce 'RepeatedRestoreServiceRequest', | ||
| 629 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::RestoreServiceRequest'->new($_) } @$_ ] }; | ||
| 630 | |||
| 631 | declare 'MapStringRestoreServiceRequest', | ||
| 632 | as HashRef[RestoreServiceRequest()]; | ||
| 633 | |||
| 634 | declare 'OperationMetadata', | ||
| 635 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::OperationMetadata']; | ||
| 636 | |||
| 637 | coerce 'OperationMetadata', | ||
| 638 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::OperationMetadata'->new($_) }; | ||
| 639 | |||
| 640 | declare 'RepeatedOperationMetadata', | ||
| 641 | as ArrayRef[OperationMetadata()]; | ||
| 642 | |||
| 643 | coerce 'RepeatedOperationMetadata', | ||
| 644 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::OperationMetadata'->new($_) } @$_ ] }; | ||
| 645 | |||
| 646 | declare 'MapStringOperationMetadata', | ||
| 647 | as HashRef[OperationMetadata()]; | ||
| 648 | |||
| 649 | declare 'LocationMetadata', | ||
| 650 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::LocationMetadata']; | ||
| 651 | |||
| 652 | coerce 'LocationMetadata', | ||
| 653 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::LocationMetadata'->new($_) }; | ||
| 654 | |||
| 655 | declare 'RepeatedLocationMetadata', | ||
| 656 | as ArrayRef[LocationMetadata()]; | ||
| 657 | |||
| 658 | coerce 'RepeatedLocationMetadata', | ||
| 659 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::LocationMetadata'->new($_) } @$_ ] }; | ||
| 660 | |||
| 661 | declare 'MapStringLocationMetadata', | ||
| 662 | as HashRef[LocationMetadata()]; | ||
| 663 | |||
| 664 | declare 'HiveMetastoreVersion', | ||
| 665 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::LocationMetadata::HiveMetastoreVersion']; | ||
| 666 | |||
| 667 | coerce 'HiveMetastoreVersion', | ||
| 668 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::LocationMetadata::HiveMetastoreVersion'->new($_) }; | ||
| 669 | |||
| 670 | declare 'RepeatedHiveMetastoreVersion', | ||
| 671 | as ArrayRef[HiveMetastoreVersion()]; | ||
| 672 | |||
| 673 | coerce 'RepeatedHiveMetastoreVersion', | ||
| 674 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::LocationMetadata::HiveMetastoreVersion'->new($_) } @$_ ] }; | ||
| 675 | |||
| 676 | declare 'MapStringHiveMetastoreVersion', | ||
| 677 | as HashRef[HiveMetastoreVersion()]; | ||
| 678 | |||
| 679 | declare 'DatabaseDumpSpec', | ||
| 680 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::DatabaseDumpSpec']; | ||
| 681 | |||
| 682 | coerce 'DatabaseDumpSpec', | ||
| 683 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::DatabaseDumpSpec'->new($_) }; | ||
| 684 | |||
| 685 | declare 'RepeatedDatabaseDumpSpec', | ||
| 686 | as ArrayRef[DatabaseDumpSpec()]; | ||
| 687 | |||
| 688 | coerce 'RepeatedDatabaseDumpSpec', | ||
| 689 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::DatabaseDumpSpec'->new($_) } @$_ ] }; | ||
| 690 | |||
| 691 | declare 'MapStringDatabaseDumpSpec', | ||
| 692 | as HashRef[DatabaseDumpSpec()]; | ||
| 693 | |||
| 694 | declare 'Type', | ||
| 695 | as (Int | Str); | ||
| 696 | |||
| 697 | declare 'QueryMetadataRequest', | ||
| 698 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::QueryMetadataRequest']; | ||
| 699 | |||
| 700 | coerce 'QueryMetadataRequest', | ||
| 701 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::QueryMetadataRequest'->new($_) }; | ||
| 702 | |||
| 703 | declare 'RepeatedQueryMetadataRequest', | ||
| 704 | as ArrayRef[QueryMetadataRequest()]; | ||
| 705 | |||
| 706 | coerce 'RepeatedQueryMetadataRequest', | ||
| 707 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::QueryMetadataRequest'->new($_) } @$_ ] }; | ||
| 708 | |||
| 709 | declare 'MapStringQueryMetadataRequest', | ||
| 710 | as HashRef[QueryMetadataRequest()]; | ||
| 711 | |||
| 712 | declare 'QueryMetadataResponse', | ||
| 713 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::QueryMetadataResponse']; | ||
| 714 | |||
| 715 | coerce 'QueryMetadataResponse', | ||
| 716 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::QueryMetadataResponse'->new($_) }; | ||
| 717 | |||
| 718 | declare 'RepeatedQueryMetadataResponse', | ||
| 719 | as ArrayRef[QueryMetadataResponse()]; | ||
| 720 | |||
| 721 | coerce 'RepeatedQueryMetadataResponse', | ||
| 722 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::QueryMetadataResponse'->new($_) } @$_ ] }; | ||
| 723 | |||
| 724 | declare 'MapStringQueryMetadataResponse', | ||
| 725 | as HashRef[QueryMetadataResponse()]; | ||
| 726 | |||
| 727 | declare 'ErrorDetails', | ||
| 728 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ErrorDetails']; | ||
| 729 | |||
| 730 | coerce 'ErrorDetails', | ||
| 731 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ErrorDetails'->new($_) }; | ||
| 732 | |||
| 733 | declare 'RepeatedErrorDetails', | ||
| 734 | as ArrayRef[ErrorDetails()]; | ||
| 735 | |||
| 736 | coerce 'RepeatedErrorDetails', | ||
| 737 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ErrorDetails'->new($_) } @$_ ] }; | ||
| 738 | |||
| 739 | declare 'MapStringErrorDetails', | ||
| 740 | as HashRef[ErrorDetails()]; | ||
| 741 | |||
| 742 | declare 'DetailsEntry', | ||
| 743 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::ErrorDetails::DetailsEntry']; | ||
| 744 | |||
| 745 | coerce 'DetailsEntry', | ||
| 746 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::ErrorDetails::DetailsEntry'->new($_) }; | ||
| 747 | |||
| 748 | declare 'RepeatedDetailsEntry', | ||
| 749 | as ArrayRef[DetailsEntry()]; | ||
| 750 | |||
| 751 | coerce 'RepeatedDetailsEntry', | ||
| 752 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::ErrorDetails::DetailsEntry'->new($_) } @$_ ] }; | ||
| 753 | |||
| 754 | declare 'MapStringDetailsEntry', | ||
| 755 | as HashRef[DetailsEntry()]; | ||
| 756 | |||
| 757 | declare 'MoveTableToDatabaseRequest', | ||
| 758 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::MoveTableToDatabaseRequest']; | ||
| 759 | |||
| 760 | coerce 'MoveTableToDatabaseRequest', | ||
| 761 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::MoveTableToDatabaseRequest'->new($_) }; | ||
| 762 | |||
| 763 | declare 'RepeatedMoveTableToDatabaseRequest', | ||
| 764 | as ArrayRef[MoveTableToDatabaseRequest()]; | ||
| 765 | |||
| 766 | coerce 'RepeatedMoveTableToDatabaseRequest', | ||
| 767 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::MoveTableToDatabaseRequest'->new($_) } @$_ ] }; | ||
| 768 | |||
| 769 | declare 'MapStringMoveTableToDatabaseRequest', | ||
| 770 | as HashRef[MoveTableToDatabaseRequest()]; | ||
| 771 | |||
| 772 | declare 'MoveTableToDatabaseResponse', | ||
| 773 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::MoveTableToDatabaseResponse']; | ||
| 774 | |||
| 775 | coerce 'MoveTableToDatabaseResponse', | ||
| 776 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::MoveTableToDatabaseResponse'->new($_) }; | ||
| 777 | |||
| 778 | declare 'RepeatedMoveTableToDatabaseResponse', | ||
| 779 | as ArrayRef[MoveTableToDatabaseResponse()]; | ||
| 780 | |||
| 781 | coerce 'RepeatedMoveTableToDatabaseResponse', | ||
| 782 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::MoveTableToDatabaseResponse'->new($_) } @$_ ] }; | ||
| 783 | |||
| 784 | declare 'MapStringMoveTableToDatabaseResponse', | ||
| 785 | as HashRef[MoveTableToDatabaseResponse()]; | ||
| 786 | |||
| 787 | declare 'AlterMetadataResourceLocationRequest', | ||
| 788 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::AlterMetadataResourceLocationRequest']; | ||
| 789 | |||
| 790 | coerce 'AlterMetadataResourceLocationRequest', | ||
| 791 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::AlterMetadataResourceLocationRequest'->new($_) }; | ||
| 792 | |||
| 793 | declare 'RepeatedAlterMetadataResourceLocationRequest', | ||
| 794 | as ArrayRef[AlterMetadataResourceLocationRequest()]; | ||
| 795 | |||
| 796 | coerce 'RepeatedAlterMetadataResourceLocationRequest', | ||
| 797 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::AlterMetadataResourceLocationRequest'->new($_) } @$_ ] }; | ||
| 798 | |||
| 799 | declare 'MapStringAlterMetadataResourceLocationRequest', | ||
| 800 | as HashRef[AlterMetadataResourceLocationRequest()]; | ||
| 801 | |||
| 802 | declare 'AlterMetadataResourceLocationResponse', | ||
| 803 | as InstanceOf['Google::Cloud::Metastore::V1::Metastore::AlterMetadataResourceLocationResponse']; | ||
| 804 | |||
| 805 | coerce 'AlterMetadataResourceLocationResponse', | ||
| 806 | from HashRef, via { 'Google::Cloud::Metastore::V1::Metastore::AlterMetadataResourceLocationResponse'->new($_) }; | ||
| 807 | |||
| 808 | declare 'RepeatedAlterMetadataResourceLocationResponse', | ||
| 809 | as ArrayRef[AlterMetadataResourceLocationResponse()]; | ||
| 810 | |||
| 811 | coerce 'RepeatedAlterMetadataResourceLocationResponse', | ||
| 812 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::Metastore::AlterMetadataResourceLocationResponse'->new($_) } @$_ ] }; | ||
| 813 | |||
| 814 | declare 'MapStringAlterMetadataResourceLocationResponse', | ||
| 815 | as HashRef[AlterMetadataResourceLocationResponse()]; | ||
| 816 | |||
| 817 | 1; | ||
| 818 | |||
| 819 | __END__ |