| 1 | package Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::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 'ReplicaInfo', | ||
| 11 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ReplicaInfo']; | ||
| 12 | |||
| 13 | coerce 'ReplicaInfo', | ||
| 14 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ReplicaInfo'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedReplicaInfo', | ||
| 17 | as ArrayRef[ReplicaInfo()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedReplicaInfo', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ReplicaInfo'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringReplicaInfo', | ||
| 23 | as HashRef[ReplicaInfo()]; | ||
| 24 | |||
| 25 | declare 'ReplicaType', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'InstanceConfig', | ||
| 29 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig']; | ||
| 30 | |||
| 31 | coerce 'InstanceConfig', | ||
| 32 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedInstanceConfig', | ||
| 35 | as ArrayRef[InstanceConfig()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedInstanceConfig', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringInstanceConfig', | ||
| 41 | as HashRef[InstanceConfig()]; | ||
| 42 | |||
| 43 | declare 'Type', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'State', | ||
| 47 | as (Int | Str); | ||
| 48 | |||
| 49 | declare 'FreeInstanceAvailability', | ||
| 50 | as (Int | Str); | ||
| 51 | |||
| 52 | declare 'QuorumType', | ||
| 53 | as (Int | Str); | ||
| 54 | |||
| 55 | declare 'AllowedProcessingUnits', | ||
| 56 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig::AllowedProcessingUnits']; | ||
| 57 | |||
| 58 | coerce 'AllowedProcessingUnits', | ||
| 59 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig::AllowedProcessingUnits'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedAllowedProcessingUnits', | ||
| 62 | as ArrayRef[AllowedProcessingUnits()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedAllowedProcessingUnits', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig::AllowedProcessingUnits'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringAllowedProcessingUnits', | ||
| 68 | as HashRef[AllowedProcessingUnits()]; | ||
| 69 | |||
| 70 | declare 'LabelsEntry', | ||
| 71 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig::LabelsEntry']; | ||
| 72 | |||
| 73 | coerce 'LabelsEntry', | ||
| 74 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig::LabelsEntry'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedLabelsEntry', | ||
| 77 | as ArrayRef[LabelsEntry()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedLabelsEntry', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstanceConfig::LabelsEntry'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringLabelsEntry', | ||
| 83 | as HashRef[LabelsEntry()]; | ||
| 84 | |||
| 85 | declare 'ReplicaComputeCapacity', | ||
| 86 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ReplicaComputeCapacity']; | ||
| 87 | |||
| 88 | coerce 'ReplicaComputeCapacity', | ||
| 89 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ReplicaComputeCapacity'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedReplicaComputeCapacity', | ||
| 92 | as ArrayRef[ReplicaComputeCapacity()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedReplicaComputeCapacity', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ReplicaComputeCapacity'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringReplicaComputeCapacity', | ||
| 98 | as HashRef[ReplicaComputeCapacity()]; | ||
| 99 | |||
| 100 | declare 'AutoscalingConfig', | ||
| 101 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig']; | ||
| 102 | |||
| 103 | coerce 'AutoscalingConfig', | ||
| 104 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedAutoscalingConfig', | ||
| 107 | as ArrayRef[AutoscalingConfig()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedAutoscalingConfig', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringAutoscalingConfig', | ||
| 113 | as HashRef[AutoscalingConfig()]; | ||
| 114 | |||
| 115 | declare 'AutoscalingLimits', | ||
| 116 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AutoscalingLimits']; | ||
| 117 | |||
| 118 | coerce 'AutoscalingLimits', | ||
| 119 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AutoscalingLimits'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedAutoscalingLimits', | ||
| 122 | as ArrayRef[AutoscalingLimits()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedAutoscalingLimits', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AutoscalingLimits'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringAutoscalingLimits', | ||
| 128 | as HashRef[AutoscalingLimits()]; | ||
| 129 | |||
| 130 | declare 'AutoscalingTargets', | ||
| 131 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AutoscalingTargets']; | ||
| 132 | |||
| 133 | coerce 'AutoscalingTargets', | ||
| 134 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AutoscalingTargets'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedAutoscalingTargets', | ||
| 137 | as ArrayRef[AutoscalingTargets()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedAutoscalingTargets', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AutoscalingTargets'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringAutoscalingTargets', | ||
| 143 | as HashRef[AutoscalingTargets()]; | ||
| 144 | |||
| 145 | declare 'AsymmetricAutoscalingOption', | ||
| 146 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AsymmetricAutoscalingOption']; | ||
| 147 | |||
| 148 | coerce 'AsymmetricAutoscalingOption', | ||
| 149 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AsymmetricAutoscalingOption'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedAsymmetricAutoscalingOption', | ||
| 152 | as ArrayRef[AsymmetricAutoscalingOption()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedAsymmetricAutoscalingOption', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AsymmetricAutoscalingOption'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringAsymmetricAutoscalingOption', | ||
| 158 | as HashRef[AsymmetricAutoscalingOption()]; | ||
| 159 | |||
| 160 | declare 'AutoscalingConfigOverrides', | ||
| 161 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides']; | ||
| 162 | |||
| 163 | coerce 'AutoscalingConfigOverrides', | ||
| 164 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedAutoscalingConfigOverrides', | ||
| 167 | as ArrayRef[AutoscalingConfigOverrides()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedAutoscalingConfigOverrides', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::AutoscalingConfig::AsymmetricAutoscalingOption::AutoscalingConfigOverrides'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringAutoscalingConfigOverrides', | ||
| 173 | as HashRef[AutoscalingConfigOverrides()]; | ||
| 174 | |||
| 175 | declare 'Instance', | ||
| 176 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::Instance']; | ||
| 177 | |||
| 178 | coerce 'Instance', | ||
| 179 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::Instance'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedInstance', | ||
| 182 | as ArrayRef[Instance()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedInstance', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::Instance'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringInstance', | ||
| 188 | as HashRef[Instance()]; | ||
| 189 | |||
| 190 | declare 'State', | ||
| 191 | as (Int | Str); | ||
| 192 | |||
| 193 | declare 'InstanceType', | ||
| 194 | as (Int | Str); | ||
| 195 | |||
| 196 | declare 'Edition', | ||
| 197 | as (Int | Str); | ||
| 198 | |||
| 199 | declare 'DefaultBackupScheduleType', | ||
| 200 | as (Int | Str); | ||
| 201 | |||
| 202 | declare 'LabelsEntry', | ||
| 203 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::Instance::LabelsEntry']; | ||
| 204 | |||
| 205 | coerce 'LabelsEntry', | ||
| 206 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::Instance::LabelsEntry'->new($_) }; | ||
| 207 | |||
| 208 | declare 'RepeatedLabelsEntry', | ||
| 209 | as ArrayRef[LabelsEntry()]; | ||
| 210 | |||
| 211 | coerce 'RepeatedLabelsEntry', | ||
| 212 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::Instance::LabelsEntry'->new($_) } @$_ ] }; | ||
| 213 | |||
| 214 | declare 'MapStringLabelsEntry', | ||
| 215 | as HashRef[LabelsEntry()]; | ||
| 216 | |||
| 217 | declare 'ListInstanceConfigsRequest', | ||
| 218 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigsRequest']; | ||
| 219 | |||
| 220 | coerce 'ListInstanceConfigsRequest', | ||
| 221 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigsRequest'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedListInstanceConfigsRequest', | ||
| 224 | as ArrayRef[ListInstanceConfigsRequest()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedListInstanceConfigsRequest', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigsRequest'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringListInstanceConfigsRequest', | ||
| 230 | as HashRef[ListInstanceConfigsRequest()]; | ||
| 231 | |||
| 232 | declare 'ListInstanceConfigsResponse', | ||
| 233 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigsResponse']; | ||
| 234 | |||
| 235 | coerce 'ListInstanceConfigsResponse', | ||
| 236 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigsResponse'->new($_) }; | ||
| 237 | |||
| 238 | declare 'RepeatedListInstanceConfigsResponse', | ||
| 239 | as ArrayRef[ListInstanceConfigsResponse()]; | ||
| 240 | |||
| 241 | coerce 'RepeatedListInstanceConfigsResponse', | ||
| 242 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigsResponse'->new($_) } @$_ ] }; | ||
| 243 | |||
| 244 | declare 'MapStringListInstanceConfigsResponse', | ||
| 245 | as HashRef[ListInstanceConfigsResponse()]; | ||
| 246 | |||
| 247 | declare 'GetInstanceConfigRequest', | ||
| 248 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstanceConfigRequest']; | ||
| 249 | |||
| 250 | coerce 'GetInstanceConfigRequest', | ||
| 251 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstanceConfigRequest'->new($_) }; | ||
| 252 | |||
| 253 | declare 'RepeatedGetInstanceConfigRequest', | ||
| 254 | as ArrayRef[GetInstanceConfigRequest()]; | ||
| 255 | |||
| 256 | coerce 'RepeatedGetInstanceConfigRequest', | ||
| 257 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstanceConfigRequest'->new($_) } @$_ ] }; | ||
| 258 | |||
| 259 | declare 'MapStringGetInstanceConfigRequest', | ||
| 260 | as HashRef[GetInstanceConfigRequest()]; | ||
| 261 | |||
| 262 | declare 'CreateInstanceConfigRequest', | ||
| 263 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceConfigRequest']; | ||
| 264 | |||
| 265 | coerce 'CreateInstanceConfigRequest', | ||
| 266 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceConfigRequest'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedCreateInstanceConfigRequest', | ||
| 269 | as ArrayRef[CreateInstanceConfigRequest()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedCreateInstanceConfigRequest', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceConfigRequest'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringCreateInstanceConfigRequest', | ||
| 275 | as HashRef[CreateInstanceConfigRequest()]; | ||
| 276 | |||
| 277 | declare 'UpdateInstanceConfigRequest', | ||
| 278 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceConfigRequest']; | ||
| 279 | |||
| 280 | coerce 'UpdateInstanceConfigRequest', | ||
| 281 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceConfigRequest'->new($_) }; | ||
| 282 | |||
| 283 | declare 'RepeatedUpdateInstanceConfigRequest', | ||
| 284 | as ArrayRef[UpdateInstanceConfigRequest()]; | ||
| 285 | |||
| 286 | coerce 'RepeatedUpdateInstanceConfigRequest', | ||
| 287 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceConfigRequest'->new($_) } @$_ ] }; | ||
| 288 | |||
| 289 | declare 'MapStringUpdateInstanceConfigRequest', | ||
| 290 | as HashRef[UpdateInstanceConfigRequest()]; | ||
| 291 | |||
| 292 | declare 'DeleteInstanceConfigRequest', | ||
| 293 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstanceConfigRequest']; | ||
| 294 | |||
| 295 | coerce 'DeleteInstanceConfigRequest', | ||
| 296 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstanceConfigRequest'->new($_) }; | ||
| 297 | |||
| 298 | declare 'RepeatedDeleteInstanceConfigRequest', | ||
| 299 | as ArrayRef[DeleteInstanceConfigRequest()]; | ||
| 300 | |||
| 301 | coerce 'RepeatedDeleteInstanceConfigRequest', | ||
| 302 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstanceConfigRequest'->new($_) } @$_ ] }; | ||
| 303 | |||
| 304 | declare 'MapStringDeleteInstanceConfigRequest', | ||
| 305 | as HashRef[DeleteInstanceConfigRequest()]; | ||
| 306 | |||
| 307 | declare 'ListInstanceConfigOperationsRequest', | ||
| 308 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigOperationsRequest']; | ||
| 309 | |||
| 310 | coerce 'ListInstanceConfigOperationsRequest', | ||
| 311 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigOperationsRequest'->new($_) }; | ||
| 312 | |||
| 313 | declare 'RepeatedListInstanceConfigOperationsRequest', | ||
| 314 | as ArrayRef[ListInstanceConfigOperationsRequest()]; | ||
| 315 | |||
| 316 | coerce 'RepeatedListInstanceConfigOperationsRequest', | ||
| 317 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigOperationsRequest'->new($_) } @$_ ] }; | ||
| 318 | |||
| 319 | declare 'MapStringListInstanceConfigOperationsRequest', | ||
| 320 | as HashRef[ListInstanceConfigOperationsRequest()]; | ||
| 321 | |||
| 322 | declare 'ListInstanceConfigOperationsResponse', | ||
| 323 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigOperationsResponse']; | ||
| 324 | |||
| 325 | coerce 'ListInstanceConfigOperationsResponse', | ||
| 326 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigOperationsResponse'->new($_) }; | ||
| 327 | |||
| 328 | declare 'RepeatedListInstanceConfigOperationsResponse', | ||
| 329 | as ArrayRef[ListInstanceConfigOperationsResponse()]; | ||
| 330 | |||
| 331 | coerce 'RepeatedListInstanceConfigOperationsResponse', | ||
| 332 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstanceConfigOperationsResponse'->new($_) } @$_ ] }; | ||
| 333 | |||
| 334 | declare 'MapStringListInstanceConfigOperationsResponse', | ||
| 335 | as HashRef[ListInstanceConfigOperationsResponse()]; | ||
| 336 | |||
| 337 | declare 'GetInstanceRequest', | ||
| 338 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstanceRequest']; | ||
| 339 | |||
| 340 | coerce 'GetInstanceRequest', | ||
| 341 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstanceRequest'->new($_) }; | ||
| 342 | |||
| 343 | declare 'RepeatedGetInstanceRequest', | ||
| 344 | as ArrayRef[GetInstanceRequest()]; | ||
| 345 | |||
| 346 | coerce 'RepeatedGetInstanceRequest', | ||
| 347 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstanceRequest'->new($_) } @$_ ] }; | ||
| 348 | |||
| 349 | declare 'MapStringGetInstanceRequest', | ||
| 350 | as HashRef[GetInstanceRequest()]; | ||
| 351 | |||
| 352 | declare 'CreateInstanceRequest', | ||
| 353 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceRequest']; | ||
| 354 | |||
| 355 | coerce 'CreateInstanceRequest', | ||
| 356 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceRequest'->new($_) }; | ||
| 357 | |||
| 358 | declare 'RepeatedCreateInstanceRequest', | ||
| 359 | as ArrayRef[CreateInstanceRequest()]; | ||
| 360 | |||
| 361 | coerce 'RepeatedCreateInstanceRequest', | ||
| 362 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceRequest'->new($_) } @$_ ] }; | ||
| 363 | |||
| 364 | declare 'MapStringCreateInstanceRequest', | ||
| 365 | as HashRef[CreateInstanceRequest()]; | ||
| 366 | |||
| 367 | declare 'ListInstancesRequest', | ||
| 368 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancesRequest']; | ||
| 369 | |||
| 370 | coerce 'ListInstancesRequest', | ||
| 371 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancesRequest'->new($_) }; | ||
| 372 | |||
| 373 | declare 'RepeatedListInstancesRequest', | ||
| 374 | as ArrayRef[ListInstancesRequest()]; | ||
| 375 | |||
| 376 | coerce 'RepeatedListInstancesRequest', | ||
| 377 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancesRequest'->new($_) } @$_ ] }; | ||
| 378 | |||
| 379 | declare 'MapStringListInstancesRequest', | ||
| 380 | as HashRef[ListInstancesRequest()]; | ||
| 381 | |||
| 382 | declare 'ListInstancesResponse', | ||
| 383 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancesResponse']; | ||
| 384 | |||
| 385 | coerce 'ListInstancesResponse', | ||
| 386 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancesResponse'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedListInstancesResponse', | ||
| 389 | as ArrayRef[ListInstancesResponse()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedListInstancesResponse', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancesResponse'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringListInstancesResponse', | ||
| 395 | as HashRef[ListInstancesResponse()]; | ||
| 396 | |||
| 397 | declare 'UpdateInstanceRequest', | ||
| 398 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceRequest']; | ||
| 399 | |||
| 400 | coerce 'UpdateInstanceRequest', | ||
| 401 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceRequest'->new($_) }; | ||
| 402 | |||
| 403 | declare 'RepeatedUpdateInstanceRequest', | ||
| 404 | as ArrayRef[UpdateInstanceRequest()]; | ||
| 405 | |||
| 406 | coerce 'RepeatedUpdateInstanceRequest', | ||
| 407 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceRequest'->new($_) } @$_ ] }; | ||
| 408 | |||
| 409 | declare 'MapStringUpdateInstanceRequest', | ||
| 410 | as HashRef[UpdateInstanceRequest()]; | ||
| 411 | |||
| 412 | declare 'DeleteInstanceRequest', | ||
| 413 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstanceRequest']; | ||
| 414 | |||
| 415 | coerce 'DeleteInstanceRequest', | ||
| 416 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstanceRequest'->new($_) }; | ||
| 417 | |||
| 418 | declare 'RepeatedDeleteInstanceRequest', | ||
| 419 | as ArrayRef[DeleteInstanceRequest()]; | ||
| 420 | |||
| 421 | coerce 'RepeatedDeleteInstanceRequest', | ||
| 422 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstanceRequest'->new($_) } @$_ ] }; | ||
| 423 | |||
| 424 | declare 'MapStringDeleteInstanceRequest', | ||
| 425 | as HashRef[DeleteInstanceRequest()]; | ||
| 426 | |||
| 427 | declare 'CreateInstanceMetadata', | ||
| 428 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceMetadata']; | ||
| 429 | |||
| 430 | coerce 'CreateInstanceMetadata', | ||
| 431 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceMetadata'->new($_) }; | ||
| 432 | |||
| 433 | declare 'RepeatedCreateInstanceMetadata', | ||
| 434 | as ArrayRef[CreateInstanceMetadata()]; | ||
| 435 | |||
| 436 | coerce 'RepeatedCreateInstanceMetadata', | ||
| 437 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceMetadata'->new($_) } @$_ ] }; | ||
| 438 | |||
| 439 | declare 'MapStringCreateInstanceMetadata', | ||
| 440 | as HashRef[CreateInstanceMetadata()]; | ||
| 441 | |||
| 442 | declare 'UpdateInstanceMetadata', | ||
| 443 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceMetadata']; | ||
| 444 | |||
| 445 | coerce 'UpdateInstanceMetadata', | ||
| 446 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceMetadata'->new($_) }; | ||
| 447 | |||
| 448 | declare 'RepeatedUpdateInstanceMetadata', | ||
| 449 | as ArrayRef[UpdateInstanceMetadata()]; | ||
| 450 | |||
| 451 | coerce 'RepeatedUpdateInstanceMetadata', | ||
| 452 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceMetadata'->new($_) } @$_ ] }; | ||
| 453 | |||
| 454 | declare 'MapStringUpdateInstanceMetadata', | ||
| 455 | as HashRef[UpdateInstanceMetadata()]; | ||
| 456 | |||
| 457 | declare 'FreeInstanceMetadata', | ||
| 458 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::FreeInstanceMetadata']; | ||
| 459 | |||
| 460 | coerce 'FreeInstanceMetadata', | ||
| 461 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::FreeInstanceMetadata'->new($_) }; | ||
| 462 | |||
| 463 | declare 'RepeatedFreeInstanceMetadata', | ||
| 464 | as ArrayRef[FreeInstanceMetadata()]; | ||
| 465 | |||
| 466 | coerce 'RepeatedFreeInstanceMetadata', | ||
| 467 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::FreeInstanceMetadata'->new($_) } @$_ ] }; | ||
| 468 | |||
| 469 | declare 'MapStringFreeInstanceMetadata', | ||
| 470 | as HashRef[FreeInstanceMetadata()]; | ||
| 471 | |||
| 472 | declare 'ExpireBehavior', | ||
| 473 | as (Int | Str); | ||
| 474 | |||
| 475 | declare 'CreateInstanceConfigMetadata', | ||
| 476 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceConfigMetadata']; | ||
| 477 | |||
| 478 | coerce 'CreateInstanceConfigMetadata', | ||
| 479 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceConfigMetadata'->new($_) }; | ||
| 480 | |||
| 481 | declare 'RepeatedCreateInstanceConfigMetadata', | ||
| 482 | as ArrayRef[CreateInstanceConfigMetadata()]; | ||
| 483 | |||
| 484 | coerce 'RepeatedCreateInstanceConfigMetadata', | ||
| 485 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstanceConfigMetadata'->new($_) } @$_ ] }; | ||
| 486 | |||
| 487 | declare 'MapStringCreateInstanceConfigMetadata', | ||
| 488 | as HashRef[CreateInstanceConfigMetadata()]; | ||
| 489 | |||
| 490 | declare 'UpdateInstanceConfigMetadata', | ||
| 491 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceConfigMetadata']; | ||
| 492 | |||
| 493 | coerce 'UpdateInstanceConfigMetadata', | ||
| 494 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceConfigMetadata'->new($_) }; | ||
| 495 | |||
| 496 | declare 'RepeatedUpdateInstanceConfigMetadata', | ||
| 497 | as ArrayRef[UpdateInstanceConfigMetadata()]; | ||
| 498 | |||
| 499 | coerce 'RepeatedUpdateInstanceConfigMetadata', | ||
| 500 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstanceConfigMetadata'->new($_) } @$_ ] }; | ||
| 501 | |||
| 502 | declare 'MapStringUpdateInstanceConfigMetadata', | ||
| 503 | as HashRef[UpdateInstanceConfigMetadata()]; | ||
| 504 | |||
| 505 | declare 'InstancePartition', | ||
| 506 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstancePartition']; | ||
| 507 | |||
| 508 | coerce 'InstancePartition', | ||
| 509 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstancePartition'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedInstancePartition', | ||
| 512 | as ArrayRef[InstancePartition()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedInstancePartition', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::InstancePartition'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringInstancePartition', | ||
| 518 | as HashRef[InstancePartition()]; | ||
| 519 | |||
| 520 | declare 'State', | ||
| 521 | as (Int | Str); | ||
| 522 | |||
| 523 | declare 'CreateInstancePartitionMetadata', | ||
| 524 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstancePartitionMetadata']; | ||
| 525 | |||
| 526 | coerce 'CreateInstancePartitionMetadata', | ||
| 527 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstancePartitionMetadata'->new($_) }; | ||
| 528 | |||
| 529 | declare 'RepeatedCreateInstancePartitionMetadata', | ||
| 530 | as ArrayRef[CreateInstancePartitionMetadata()]; | ||
| 531 | |||
| 532 | coerce 'RepeatedCreateInstancePartitionMetadata', | ||
| 533 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstancePartitionMetadata'->new($_) } @$_ ] }; | ||
| 534 | |||
| 535 | declare 'MapStringCreateInstancePartitionMetadata', | ||
| 536 | as HashRef[CreateInstancePartitionMetadata()]; | ||
| 537 | |||
| 538 | declare 'CreateInstancePartitionRequest', | ||
| 539 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstancePartitionRequest']; | ||
| 540 | |||
| 541 | coerce 'CreateInstancePartitionRequest', | ||
| 542 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstancePartitionRequest'->new($_) }; | ||
| 543 | |||
| 544 | declare 'RepeatedCreateInstancePartitionRequest', | ||
| 545 | as ArrayRef[CreateInstancePartitionRequest()]; | ||
| 546 | |||
| 547 | coerce 'RepeatedCreateInstancePartitionRequest', | ||
| 548 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::CreateInstancePartitionRequest'->new($_) } @$_ ] }; | ||
| 549 | |||
| 550 | declare 'MapStringCreateInstancePartitionRequest', | ||
| 551 | as HashRef[CreateInstancePartitionRequest()]; | ||
| 552 | |||
| 553 | declare 'DeleteInstancePartitionRequest', | ||
| 554 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstancePartitionRequest']; | ||
| 555 | |||
| 556 | coerce 'DeleteInstancePartitionRequest', | ||
| 557 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstancePartitionRequest'->new($_) }; | ||
| 558 | |||
| 559 | declare 'RepeatedDeleteInstancePartitionRequest', | ||
| 560 | as ArrayRef[DeleteInstancePartitionRequest()]; | ||
| 561 | |||
| 562 | coerce 'RepeatedDeleteInstancePartitionRequest', | ||
| 563 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::DeleteInstancePartitionRequest'->new($_) } @$_ ] }; | ||
| 564 | |||
| 565 | declare 'MapStringDeleteInstancePartitionRequest', | ||
| 566 | as HashRef[DeleteInstancePartitionRequest()]; | ||
| 567 | |||
| 568 | declare 'GetInstancePartitionRequest', | ||
| 569 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstancePartitionRequest']; | ||
| 570 | |||
| 571 | coerce 'GetInstancePartitionRequest', | ||
| 572 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstancePartitionRequest'->new($_) }; | ||
| 573 | |||
| 574 | declare 'RepeatedGetInstancePartitionRequest', | ||
| 575 | as ArrayRef[GetInstancePartitionRequest()]; | ||
| 576 | |||
| 577 | coerce 'RepeatedGetInstancePartitionRequest', | ||
| 578 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::GetInstancePartitionRequest'->new($_) } @$_ ] }; | ||
| 579 | |||
| 580 | declare 'MapStringGetInstancePartitionRequest', | ||
| 581 | as HashRef[GetInstancePartitionRequest()]; | ||
| 582 | |||
| 583 | declare 'UpdateInstancePartitionRequest', | ||
| 584 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstancePartitionRequest']; | ||
| 585 | |||
| 586 | coerce 'UpdateInstancePartitionRequest', | ||
| 587 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstancePartitionRequest'->new($_) }; | ||
| 588 | |||
| 589 | declare 'RepeatedUpdateInstancePartitionRequest', | ||
| 590 | as ArrayRef[UpdateInstancePartitionRequest()]; | ||
| 591 | |||
| 592 | coerce 'RepeatedUpdateInstancePartitionRequest', | ||
| 593 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstancePartitionRequest'->new($_) } @$_ ] }; | ||
| 594 | |||
| 595 | declare 'MapStringUpdateInstancePartitionRequest', | ||
| 596 | as HashRef[UpdateInstancePartitionRequest()]; | ||
| 597 | |||
| 598 | declare 'UpdateInstancePartitionMetadata', | ||
| 599 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstancePartitionMetadata']; | ||
| 600 | |||
| 601 | coerce 'UpdateInstancePartitionMetadata', | ||
| 602 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstancePartitionMetadata'->new($_) }; | ||
| 603 | |||
| 604 | declare 'RepeatedUpdateInstancePartitionMetadata', | ||
| 605 | as ArrayRef[UpdateInstancePartitionMetadata()]; | ||
| 606 | |||
| 607 | coerce 'RepeatedUpdateInstancePartitionMetadata', | ||
| 608 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::UpdateInstancePartitionMetadata'->new($_) } @$_ ] }; | ||
| 609 | |||
| 610 | declare 'MapStringUpdateInstancePartitionMetadata', | ||
| 611 | as HashRef[UpdateInstancePartitionMetadata()]; | ||
| 612 | |||
| 613 | declare 'ListInstancePartitionsRequest', | ||
| 614 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionsRequest']; | ||
| 615 | |||
| 616 | coerce 'ListInstancePartitionsRequest', | ||
| 617 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionsRequest'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedListInstancePartitionsRequest', | ||
| 620 | as ArrayRef[ListInstancePartitionsRequest()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedListInstancePartitionsRequest', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionsRequest'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringListInstancePartitionsRequest', | ||
| 626 | as HashRef[ListInstancePartitionsRequest()]; | ||
| 627 | |||
| 628 | declare 'ListInstancePartitionsResponse', | ||
| 629 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionsResponse']; | ||
| 630 | |||
| 631 | coerce 'ListInstancePartitionsResponse', | ||
| 632 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionsResponse'->new($_) }; | ||
| 633 | |||
| 634 | declare 'RepeatedListInstancePartitionsResponse', | ||
| 635 | as ArrayRef[ListInstancePartitionsResponse()]; | ||
| 636 | |||
| 637 | coerce 'RepeatedListInstancePartitionsResponse', | ||
| 638 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionsResponse'->new($_) } @$_ ] }; | ||
| 639 | |||
| 640 | declare 'MapStringListInstancePartitionsResponse', | ||
| 641 | as HashRef[ListInstancePartitionsResponse()]; | ||
| 642 | |||
| 643 | declare 'ListInstancePartitionOperationsRequest', | ||
| 644 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionOperationsRequest']; | ||
| 645 | |||
| 646 | coerce 'ListInstancePartitionOperationsRequest', | ||
| 647 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionOperationsRequest'->new($_) }; | ||
| 648 | |||
| 649 | declare 'RepeatedListInstancePartitionOperationsRequest', | ||
| 650 | as ArrayRef[ListInstancePartitionOperationsRequest()]; | ||
| 651 | |||
| 652 | coerce 'RepeatedListInstancePartitionOperationsRequest', | ||
| 653 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionOperationsRequest'->new($_) } @$_ ] }; | ||
| 654 | |||
| 655 | declare 'MapStringListInstancePartitionOperationsRequest', | ||
| 656 | as HashRef[ListInstancePartitionOperationsRequest()]; | ||
| 657 | |||
| 658 | declare 'ListInstancePartitionOperationsResponse', | ||
| 659 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionOperationsResponse']; | ||
| 660 | |||
| 661 | coerce 'ListInstancePartitionOperationsResponse', | ||
| 662 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionOperationsResponse'->new($_) }; | ||
| 663 | |||
| 664 | declare 'RepeatedListInstancePartitionOperationsResponse', | ||
| 665 | as ArrayRef[ListInstancePartitionOperationsResponse()]; | ||
| 666 | |||
| 667 | coerce 'RepeatedListInstancePartitionOperationsResponse', | ||
| 668 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::ListInstancePartitionOperationsResponse'->new($_) } @$_ ] }; | ||
| 669 | |||
| 670 | declare 'MapStringListInstancePartitionOperationsResponse', | ||
| 671 | as HashRef[ListInstancePartitionOperationsResponse()]; | ||
| 672 | |||
| 673 | declare 'MoveInstanceRequest', | ||
| 674 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceRequest']; | ||
| 675 | |||
| 676 | coerce 'MoveInstanceRequest', | ||
| 677 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceRequest'->new($_) }; | ||
| 678 | |||
| 679 | declare 'RepeatedMoveInstanceRequest', | ||
| 680 | as ArrayRef[MoveInstanceRequest()]; | ||
| 681 | |||
| 682 | coerce 'RepeatedMoveInstanceRequest', | ||
| 683 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceRequest'->new($_) } @$_ ] }; | ||
| 684 | |||
| 685 | declare 'MapStringMoveInstanceRequest', | ||
| 686 | as HashRef[MoveInstanceRequest()]; | ||
| 687 | |||
| 688 | declare 'MoveInstanceResponse', | ||
| 689 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceResponse']; | ||
| 690 | |||
| 691 | coerce 'MoveInstanceResponse', | ||
| 692 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceResponse'->new($_) }; | ||
| 693 | |||
| 694 | declare 'RepeatedMoveInstanceResponse', | ||
| 695 | as ArrayRef[MoveInstanceResponse()]; | ||
| 696 | |||
| 697 | coerce 'RepeatedMoveInstanceResponse', | ||
| 698 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceResponse'->new($_) } @$_ ] }; | ||
| 699 | |||
| 700 | declare 'MapStringMoveInstanceResponse', | ||
| 701 | as HashRef[MoveInstanceResponse()]; | ||
| 702 | |||
| 703 | declare 'MoveInstanceMetadata', | ||
| 704 | as InstanceOf['Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceMetadata']; | ||
| 705 | |||
| 706 | coerce 'MoveInstanceMetadata', | ||
| 707 | from HashRef, via { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceMetadata'->new($_) }; | ||
| 708 | |||
| 709 | declare 'RepeatedMoveInstanceMetadata', | ||
| 710 | as ArrayRef[MoveInstanceMetadata()]; | ||
| 711 | |||
| 712 | coerce 'RepeatedMoveInstanceMetadata', | ||
| 713 | from ArrayRef[HashRef], via { [ map { 'Google::Spanner::Admin::Instance::V1::SpannerInstanceAdmin::MoveInstanceMetadata'->new($_) } @$_ ] }; | ||
| 714 | |||
| 715 | declare 'MapStringMoveInstanceMetadata', | ||
| 716 | as HashRef[MoveInstanceMetadata()]; | ||
| 717 | |||
| 718 | 1; | ||
| 719 | |||
| 720 | __END__ |