| 1 | package Google::Cloud::Alloydb::V1alpha::Service::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 'ListClustersRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListClustersRequest']; | ||
| 12 | |||
| 13 | coerce 'ListClustersRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListClustersRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListClustersRequest', | ||
| 17 | as ArrayRef[ListClustersRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListClustersRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListClustersRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListClustersRequest', | ||
| 23 | as HashRef[ListClustersRequest()]; | ||
| 24 | |||
| 25 | declare 'ListClustersResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListClustersResponse']; | ||
| 27 | |||
| 28 | coerce 'ListClustersResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListClustersResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListClustersResponse', | ||
| 32 | as ArrayRef[ListClustersResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListClustersResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListClustersResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListClustersResponse', | ||
| 38 | as HashRef[ListClustersResponse()]; | ||
| 39 | |||
| 40 | declare 'GetClusterRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::GetClusterRequest']; | ||
| 42 | |||
| 43 | coerce 'GetClusterRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::GetClusterRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGetClusterRequest', | ||
| 47 | as ArrayRef[GetClusterRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGetClusterRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::GetClusterRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGetClusterRequest', | ||
| 53 | as HashRef[GetClusterRequest()]; | ||
| 54 | |||
| 55 | declare 'CreateSecondaryClusterRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::CreateSecondaryClusterRequest']; | ||
| 57 | |||
| 58 | coerce 'CreateSecondaryClusterRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::CreateSecondaryClusterRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedCreateSecondaryClusterRequest', | ||
| 62 | as ArrayRef[CreateSecondaryClusterRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedCreateSecondaryClusterRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::CreateSecondaryClusterRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringCreateSecondaryClusterRequest', | ||
| 68 | as HashRef[CreateSecondaryClusterRequest()]; | ||
| 69 | |||
| 70 | declare 'CreateClusterRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::CreateClusterRequest']; | ||
| 72 | |||
| 73 | coerce 'CreateClusterRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::CreateClusterRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCreateClusterRequest', | ||
| 77 | as ArrayRef[CreateClusterRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCreateClusterRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::CreateClusterRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCreateClusterRequest', | ||
| 83 | as HashRef[CreateClusterRequest()]; | ||
| 84 | |||
| 85 | declare 'UpdateClusterRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpdateClusterRequest']; | ||
| 87 | |||
| 88 | coerce 'UpdateClusterRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpdateClusterRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedUpdateClusterRequest', | ||
| 92 | as ArrayRef[UpdateClusterRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedUpdateClusterRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpdateClusterRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringUpdateClusterRequest', | ||
| 98 | as HashRef[UpdateClusterRequest()]; | ||
| 99 | |||
| 100 | declare 'GcsDestination', | ||
| 101 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::GcsDestination']; | ||
| 102 | |||
| 103 | coerce 'GcsDestination', | ||
| 104 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::GcsDestination'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedGcsDestination', | ||
| 107 | as ArrayRef[GcsDestination()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedGcsDestination', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::GcsDestination'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringGcsDestination', | ||
| 113 | as HashRef[GcsDestination()]; | ||
| 114 | |||
| 115 | declare 'ExportClusterRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest']; | ||
| 117 | |||
| 118 | coerce 'ExportClusterRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedExportClusterRequest', | ||
| 122 | as ArrayRef[ExportClusterRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedExportClusterRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringExportClusterRequest', | ||
| 128 | as HashRef[ExportClusterRequest()]; | ||
| 129 | |||
| 130 | declare 'CsvExportOptions', | ||
| 131 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest::CsvExportOptions']; | ||
| 132 | |||
| 133 | coerce 'CsvExportOptions', | ||
| 134 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest::CsvExportOptions'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedCsvExportOptions', | ||
| 137 | as ArrayRef[CsvExportOptions()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedCsvExportOptions', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest::CsvExportOptions'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringCsvExportOptions', | ||
| 143 | as HashRef[CsvExportOptions()]; | ||
| 144 | |||
| 145 | declare 'SqlExportOptions', | ||
| 146 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest::SqlExportOptions']; | ||
| 147 | |||
| 148 | coerce 'SqlExportOptions', | ||
| 149 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest::SqlExportOptions'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedSqlExportOptions', | ||
| 152 | as ArrayRef[SqlExportOptions()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedSqlExportOptions', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest::SqlExportOptions'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringSqlExportOptions', | ||
| 158 | as HashRef[SqlExportOptions()]; | ||
| 159 | |||
| 160 | declare 'ExportClusterResponse', | ||
| 161 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ExportClusterResponse']; | ||
| 162 | |||
| 163 | coerce 'ExportClusterResponse', | ||
| 164 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ExportClusterResponse'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedExportClusterResponse', | ||
| 167 | as ArrayRef[ExportClusterResponse()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedExportClusterResponse', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ExportClusterResponse'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringExportClusterResponse', | ||
| 173 | as HashRef[ExportClusterResponse()]; | ||
| 174 | |||
| 175 | declare 'ImportClusterRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest']; | ||
| 177 | |||
| 178 | coerce 'ImportClusterRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedImportClusterRequest', | ||
| 182 | as ArrayRef[ImportClusterRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedImportClusterRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringImportClusterRequest', | ||
| 188 | as HashRef[ImportClusterRequest()]; | ||
| 189 | |||
| 190 | declare 'SqlImportOptions', | ||
| 191 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest::SqlImportOptions']; | ||
| 192 | |||
| 193 | coerce 'SqlImportOptions', | ||
| 194 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest::SqlImportOptions'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedSqlImportOptions', | ||
| 197 | as ArrayRef[SqlImportOptions()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedSqlImportOptions', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest::SqlImportOptions'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringSqlImportOptions', | ||
| 203 | as HashRef[SqlImportOptions()]; | ||
| 204 | |||
| 205 | declare 'CsvImportOptions', | ||
| 206 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest::CsvImportOptions']; | ||
| 207 | |||
| 208 | coerce 'CsvImportOptions', | ||
| 209 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest::CsvImportOptions'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedCsvImportOptions', | ||
| 212 | as ArrayRef[CsvImportOptions()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedCsvImportOptions', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest::CsvImportOptions'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringCsvImportOptions', | ||
| 218 | as HashRef[CsvImportOptions()]; | ||
| 219 | |||
| 220 | declare 'ImportClusterResponse', | ||
| 221 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ImportClusterResponse']; | ||
| 222 | |||
| 223 | coerce 'ImportClusterResponse', | ||
| 224 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ImportClusterResponse'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedImportClusterResponse', | ||
| 227 | as ArrayRef[ImportClusterResponse()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedImportClusterResponse', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ImportClusterResponse'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringImportClusterResponse', | ||
| 233 | as HashRef[ImportClusterResponse()]; | ||
| 234 | |||
| 235 | declare 'UpgradeClusterRequest', | ||
| 236 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterRequest']; | ||
| 237 | |||
| 238 | coerce 'UpgradeClusterRequest', | ||
| 239 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterRequest'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedUpgradeClusterRequest', | ||
| 242 | as ArrayRef[UpgradeClusterRequest()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedUpgradeClusterRequest', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterRequest'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringUpgradeClusterRequest', | ||
| 248 | as HashRef[UpgradeClusterRequest()]; | ||
| 249 | |||
| 250 | declare 'UpgradeClusterResponse', | ||
| 251 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse']; | ||
| 252 | |||
| 253 | coerce 'UpgradeClusterResponse', | ||
| 254 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedUpgradeClusterResponse', | ||
| 257 | as ArrayRef[UpgradeClusterResponse()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedUpgradeClusterResponse', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringUpgradeClusterResponse', | ||
| 263 | as HashRef[UpgradeClusterResponse()]; | ||
| 264 | |||
| 265 | declare 'Status', | ||
| 266 | as (Int | Str); | ||
| 267 | |||
| 268 | declare 'Stage', | ||
| 269 | as (Int | Str); | ||
| 270 | |||
| 271 | declare 'StageInfo', | ||
| 272 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::StageInfo']; | ||
| 273 | |||
| 274 | coerce 'StageInfo', | ||
| 275 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::StageInfo'->new($_) }; | ||
| 276 | |||
| 277 | declare 'RepeatedStageInfo', | ||
| 278 | as ArrayRef[StageInfo()]; | ||
| 279 | |||
| 280 | coerce 'RepeatedStageInfo', | ||
| 281 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::StageInfo'->new($_) } @$_ ] }; | ||
| 282 | |||
| 283 | declare 'MapStringStageInfo', | ||
| 284 | as HashRef[StageInfo()]; | ||
| 285 | |||
| 286 | declare 'InstanceUpgradeDetails', | ||
| 287 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::InstanceUpgradeDetails']; | ||
| 288 | |||
| 289 | coerce 'InstanceUpgradeDetails', | ||
| 290 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::InstanceUpgradeDetails'->new($_) }; | ||
| 291 | |||
| 292 | declare 'RepeatedInstanceUpgradeDetails', | ||
| 293 | as ArrayRef[InstanceUpgradeDetails()]; | ||
| 294 | |||
| 295 | coerce 'RepeatedInstanceUpgradeDetails', | ||
| 296 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::InstanceUpgradeDetails'->new($_) } @$_ ] }; | ||
| 297 | |||
| 298 | declare 'MapStringInstanceUpgradeDetails', | ||
| 299 | as HashRef[InstanceUpgradeDetails()]; | ||
| 300 | |||
| 301 | declare 'ClusterUpgradeDetails', | ||
| 302 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::ClusterUpgradeDetails']; | ||
| 303 | |||
| 304 | coerce 'ClusterUpgradeDetails', | ||
| 305 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::ClusterUpgradeDetails'->new($_) }; | ||
| 306 | |||
| 307 | declare 'RepeatedClusterUpgradeDetails', | ||
| 308 | as ArrayRef[ClusterUpgradeDetails()]; | ||
| 309 | |||
| 310 | coerce 'RepeatedClusterUpgradeDetails', | ||
| 311 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse::ClusterUpgradeDetails'->new($_) } @$_ ] }; | ||
| 312 | |||
| 313 | declare 'MapStringClusterUpgradeDetails', | ||
| 314 | as HashRef[ClusterUpgradeDetails()]; | ||
| 315 | |||
| 316 | declare 'DeleteClusterRequest', | ||
| 317 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::DeleteClusterRequest']; | ||
| 318 | |||
| 319 | coerce 'DeleteClusterRequest', | ||
| 320 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::DeleteClusterRequest'->new($_) }; | ||
| 321 | |||
| 322 | declare 'RepeatedDeleteClusterRequest', | ||
| 323 | as ArrayRef[DeleteClusterRequest()]; | ||
| 324 | |||
| 325 | coerce 'RepeatedDeleteClusterRequest', | ||
| 326 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::DeleteClusterRequest'->new($_) } @$_ ] }; | ||
| 327 | |||
| 328 | declare 'MapStringDeleteClusterRequest', | ||
| 329 | as HashRef[DeleteClusterRequest()]; | ||
| 330 | |||
| 331 | declare 'SwitchoverClusterRequest', | ||
| 332 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::SwitchoverClusterRequest']; | ||
| 333 | |||
| 334 | coerce 'SwitchoverClusterRequest', | ||
| 335 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::SwitchoverClusterRequest'->new($_) }; | ||
| 336 | |||
| 337 | declare 'RepeatedSwitchoverClusterRequest', | ||
| 338 | as ArrayRef[SwitchoverClusterRequest()]; | ||
| 339 | |||
| 340 | coerce 'RepeatedSwitchoverClusterRequest', | ||
| 341 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::SwitchoverClusterRequest'->new($_) } @$_ ] }; | ||
| 342 | |||
| 343 | declare 'MapStringSwitchoverClusterRequest', | ||
| 344 | as HashRef[SwitchoverClusterRequest()]; | ||
| 345 | |||
| 346 | declare 'PromoteClusterRequest', | ||
| 347 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::PromoteClusterRequest']; | ||
| 348 | |||
| 349 | coerce 'PromoteClusterRequest', | ||
| 350 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::PromoteClusterRequest'->new($_) }; | ||
| 351 | |||
| 352 | declare 'RepeatedPromoteClusterRequest', | ||
| 353 | as ArrayRef[PromoteClusterRequest()]; | ||
| 354 | |||
| 355 | coerce 'RepeatedPromoteClusterRequest', | ||
| 356 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::PromoteClusterRequest'->new($_) } @$_ ] }; | ||
| 357 | |||
| 358 | declare 'MapStringPromoteClusterRequest', | ||
| 359 | as HashRef[PromoteClusterRequest()]; | ||
| 360 | |||
| 361 | declare 'RestoreClusterRequest', | ||
| 362 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::RestoreClusterRequest']; | ||
| 363 | |||
| 364 | coerce 'RestoreClusterRequest', | ||
| 365 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::RestoreClusterRequest'->new($_) }; | ||
| 366 | |||
| 367 | declare 'RepeatedRestoreClusterRequest', | ||
| 368 | as ArrayRef[RestoreClusterRequest()]; | ||
| 369 | |||
| 370 | coerce 'RepeatedRestoreClusterRequest', | ||
| 371 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::RestoreClusterRequest'->new($_) } @$_ ] }; | ||
| 372 | |||
| 373 | declare 'MapStringRestoreClusterRequest', | ||
| 374 | as HashRef[RestoreClusterRequest()]; | ||
| 375 | |||
| 376 | declare 'ListInstancesRequest', | ||
| 377 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListInstancesRequest']; | ||
| 378 | |||
| 379 | coerce 'ListInstancesRequest', | ||
| 380 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListInstancesRequest'->new($_) }; | ||
| 381 | |||
| 382 | declare 'RepeatedListInstancesRequest', | ||
| 383 | as ArrayRef[ListInstancesRequest()]; | ||
| 384 | |||
| 385 | coerce 'RepeatedListInstancesRequest', | ||
| 386 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListInstancesRequest'->new($_) } @$_ ] }; | ||
| 387 | |||
| 388 | declare 'MapStringListInstancesRequest', | ||
| 389 | as HashRef[ListInstancesRequest()]; | ||
| 390 | |||
| 391 | declare 'ListInstancesResponse', | ||
| 392 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListInstancesResponse']; | ||
| 393 | |||
| 394 | coerce 'ListInstancesResponse', | ||
| 395 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListInstancesResponse'->new($_) }; | ||
| 396 | |||
| 397 | declare 'RepeatedListInstancesResponse', | ||
| 398 | as ArrayRef[ListInstancesResponse()]; | ||
| 399 | |||
| 400 | coerce 'RepeatedListInstancesResponse', | ||
| 401 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListInstancesResponse'->new($_) } @$_ ] }; | ||
| 402 | |||
| 403 | declare 'MapStringListInstancesResponse', | ||
| 404 | as HashRef[ListInstancesResponse()]; | ||
| 405 | |||
| 406 | declare 'GetInstanceRequest', | ||
| 407 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::GetInstanceRequest']; | ||
| 408 | |||
| 409 | coerce 'GetInstanceRequest', | ||
| 410 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::GetInstanceRequest'->new($_) }; | ||
| 411 | |||
| 412 | declare 'RepeatedGetInstanceRequest', | ||
| 413 | as ArrayRef[GetInstanceRequest()]; | ||
| 414 | |||
| 415 | coerce 'RepeatedGetInstanceRequest', | ||
| 416 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::GetInstanceRequest'->new($_) } @$_ ] }; | ||
| 417 | |||
| 418 | declare 'MapStringGetInstanceRequest', | ||
| 419 | as HashRef[GetInstanceRequest()]; | ||
| 420 | |||
| 421 | declare 'CreateInstanceRequest', | ||
| 422 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequest']; | ||
| 423 | |||
| 424 | coerce 'CreateInstanceRequest', | ||
| 425 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequest'->new($_) }; | ||
| 426 | |||
| 427 | declare 'RepeatedCreateInstanceRequest', | ||
| 428 | as ArrayRef[CreateInstanceRequest()]; | ||
| 429 | |||
| 430 | coerce 'RepeatedCreateInstanceRequest', | ||
| 431 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequest'->new($_) } @$_ ] }; | ||
| 432 | |||
| 433 | declare 'MapStringCreateInstanceRequest', | ||
| 434 | as HashRef[CreateInstanceRequest()]; | ||
| 435 | |||
| 436 | declare 'CreateSecondaryInstanceRequest', | ||
| 437 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::CreateSecondaryInstanceRequest']; | ||
| 438 | |||
| 439 | coerce 'CreateSecondaryInstanceRequest', | ||
| 440 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::CreateSecondaryInstanceRequest'->new($_) }; | ||
| 441 | |||
| 442 | declare 'RepeatedCreateSecondaryInstanceRequest', | ||
| 443 | as ArrayRef[CreateSecondaryInstanceRequest()]; | ||
| 444 | |||
| 445 | coerce 'RepeatedCreateSecondaryInstanceRequest', | ||
| 446 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::CreateSecondaryInstanceRequest'->new($_) } @$_ ] }; | ||
| 447 | |||
| 448 | declare 'MapStringCreateSecondaryInstanceRequest', | ||
| 449 | as HashRef[CreateSecondaryInstanceRequest()]; | ||
| 450 | |||
| 451 | declare 'CreateInstanceRequests', | ||
| 452 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequests']; | ||
| 453 | |||
| 454 | coerce 'CreateInstanceRequests', | ||
| 455 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequests'->new($_) }; | ||
| 456 | |||
| 457 | declare 'RepeatedCreateInstanceRequests', | ||
| 458 | as ArrayRef[CreateInstanceRequests()]; | ||
| 459 | |||
| 460 | coerce 'RepeatedCreateInstanceRequests', | ||
| 461 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequests'->new($_) } @$_ ] }; | ||
| 462 | |||
| 463 | declare 'MapStringCreateInstanceRequests', | ||
| 464 | as HashRef[CreateInstanceRequests()]; | ||
| 465 | |||
| 466 | declare 'BatchCreateInstancesRequest', | ||
| 467 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesRequest']; | ||
| 468 | |||
| 469 | coerce 'BatchCreateInstancesRequest', | ||
| 470 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesRequest'->new($_) }; | ||
| 471 | |||
| 472 | declare 'RepeatedBatchCreateInstancesRequest', | ||
| 473 | as ArrayRef[BatchCreateInstancesRequest()]; | ||
| 474 | |||
| 475 | coerce 'RepeatedBatchCreateInstancesRequest', | ||
| 476 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesRequest'->new($_) } @$_ ] }; | ||
| 477 | |||
| 478 | declare 'MapStringBatchCreateInstancesRequest', | ||
| 479 | as HashRef[BatchCreateInstancesRequest()]; | ||
| 480 | |||
| 481 | declare 'BatchCreateInstancesResponse', | ||
| 482 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesResponse']; | ||
| 483 | |||
| 484 | coerce 'BatchCreateInstancesResponse', | ||
| 485 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesResponse'->new($_) }; | ||
| 486 | |||
| 487 | declare 'RepeatedBatchCreateInstancesResponse', | ||
| 488 | as ArrayRef[BatchCreateInstancesResponse()]; | ||
| 489 | |||
| 490 | coerce 'RepeatedBatchCreateInstancesResponse', | ||
| 491 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesResponse'->new($_) } @$_ ] }; | ||
| 492 | |||
| 493 | declare 'MapStringBatchCreateInstancesResponse', | ||
| 494 | as HashRef[BatchCreateInstancesResponse()]; | ||
| 495 | |||
| 496 | declare 'BatchCreateInstancesMetadata', | ||
| 497 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata']; | ||
| 498 | |||
| 499 | coerce 'BatchCreateInstancesMetadata', | ||
| 500 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata'->new($_) }; | ||
| 501 | |||
| 502 | declare 'RepeatedBatchCreateInstancesMetadata', | ||
| 503 | as ArrayRef[BatchCreateInstancesMetadata()]; | ||
| 504 | |||
| 505 | coerce 'RepeatedBatchCreateInstancesMetadata', | ||
| 506 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata'->new($_) } @$_ ] }; | ||
| 507 | |||
| 508 | declare 'MapStringBatchCreateInstancesMetadata', | ||
| 509 | as HashRef[BatchCreateInstancesMetadata()]; | ||
| 510 | |||
| 511 | declare 'InstanceStatusesEntry', | ||
| 512 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata::InstanceStatusesEntry']; | ||
| 513 | |||
| 514 | coerce 'InstanceStatusesEntry', | ||
| 515 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata::InstanceStatusesEntry'->new($_) }; | ||
| 516 | |||
| 517 | declare 'RepeatedInstanceStatusesEntry', | ||
| 518 | as ArrayRef[InstanceStatusesEntry()]; | ||
| 519 | |||
| 520 | coerce 'RepeatedInstanceStatusesEntry', | ||
| 521 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata::InstanceStatusesEntry'->new($_) } @$_ ] }; | ||
| 522 | |||
| 523 | declare 'MapStringInstanceStatusesEntry', | ||
| 524 | as HashRef[InstanceStatusesEntry()]; | ||
| 525 | |||
| 526 | declare 'BatchCreateInstanceStatus', | ||
| 527 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstanceStatus']; | ||
| 528 | |||
| 529 | coerce 'BatchCreateInstanceStatus', | ||
| 530 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstanceStatus'->new($_) }; | ||
| 531 | |||
| 532 | declare 'RepeatedBatchCreateInstanceStatus', | ||
| 533 | as ArrayRef[BatchCreateInstanceStatus()]; | ||
| 534 | |||
| 535 | coerce 'RepeatedBatchCreateInstanceStatus', | ||
| 536 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstanceStatus'->new($_) } @$_ ] }; | ||
| 537 | |||
| 538 | declare 'MapStringBatchCreateInstanceStatus', | ||
| 539 | as HashRef[BatchCreateInstanceStatus()]; | ||
| 540 | |||
| 541 | declare 'State', | ||
| 542 | as (Int | Str); | ||
| 543 | |||
| 544 | declare 'UpdateInstanceRequest', | ||
| 545 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpdateInstanceRequest']; | ||
| 546 | |||
| 547 | coerce 'UpdateInstanceRequest', | ||
| 548 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpdateInstanceRequest'->new($_) }; | ||
| 549 | |||
| 550 | declare 'RepeatedUpdateInstanceRequest', | ||
| 551 | as ArrayRef[UpdateInstanceRequest()]; | ||
| 552 | |||
| 553 | coerce 'RepeatedUpdateInstanceRequest', | ||
| 554 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpdateInstanceRequest'->new($_) } @$_ ] }; | ||
| 555 | |||
| 556 | declare 'MapStringUpdateInstanceRequest', | ||
| 557 | as HashRef[UpdateInstanceRequest()]; | ||
| 558 | |||
| 559 | declare 'DeleteInstanceRequest', | ||
| 560 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::DeleteInstanceRequest']; | ||
| 561 | |||
| 562 | coerce 'DeleteInstanceRequest', | ||
| 563 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::DeleteInstanceRequest'->new($_) }; | ||
| 564 | |||
| 565 | declare 'RepeatedDeleteInstanceRequest', | ||
| 566 | as ArrayRef[DeleteInstanceRequest()]; | ||
| 567 | |||
| 568 | coerce 'RepeatedDeleteInstanceRequest', | ||
| 569 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::DeleteInstanceRequest'->new($_) } @$_ ] }; | ||
| 570 | |||
| 571 | declare 'MapStringDeleteInstanceRequest', | ||
| 572 | as HashRef[DeleteInstanceRequest()]; | ||
| 573 | |||
| 574 | declare 'FailoverInstanceRequest', | ||
| 575 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::FailoverInstanceRequest']; | ||
| 576 | |||
| 577 | coerce 'FailoverInstanceRequest', | ||
| 578 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::FailoverInstanceRequest'->new($_) }; | ||
| 579 | |||
| 580 | declare 'RepeatedFailoverInstanceRequest', | ||
| 581 | as ArrayRef[FailoverInstanceRequest()]; | ||
| 582 | |||
| 583 | coerce 'RepeatedFailoverInstanceRequest', | ||
| 584 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::FailoverInstanceRequest'->new($_) } @$_ ] }; | ||
| 585 | |||
| 586 | declare 'MapStringFailoverInstanceRequest', | ||
| 587 | as HashRef[FailoverInstanceRequest()]; | ||
| 588 | |||
| 589 | declare 'InjectFaultRequest', | ||
| 590 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::InjectFaultRequest']; | ||
| 591 | |||
| 592 | coerce 'InjectFaultRequest', | ||
| 593 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::InjectFaultRequest'->new($_) }; | ||
| 594 | |||
| 595 | declare 'RepeatedInjectFaultRequest', | ||
| 596 | as ArrayRef[InjectFaultRequest()]; | ||
| 597 | |||
| 598 | coerce 'RepeatedInjectFaultRequest', | ||
| 599 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::InjectFaultRequest'->new($_) } @$_ ] }; | ||
| 600 | |||
| 601 | declare 'MapStringInjectFaultRequest', | ||
| 602 | as HashRef[InjectFaultRequest()]; | ||
| 603 | |||
| 604 | declare 'FaultType', | ||
| 605 | as (Int | Str); | ||
| 606 | |||
| 607 | declare 'RestartInstanceRequest', | ||
| 608 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::RestartInstanceRequest']; | ||
| 609 | |||
| 610 | coerce 'RestartInstanceRequest', | ||
| 611 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::RestartInstanceRequest'->new($_) }; | ||
| 612 | |||
| 613 | declare 'RepeatedRestartInstanceRequest', | ||
| 614 | as ArrayRef[RestartInstanceRequest()]; | ||
| 615 | |||
| 616 | coerce 'RepeatedRestartInstanceRequest', | ||
| 617 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::RestartInstanceRequest'->new($_) } @$_ ] }; | ||
| 618 | |||
| 619 | declare 'MapStringRestartInstanceRequest', | ||
| 620 | as HashRef[RestartInstanceRequest()]; | ||
| 621 | |||
| 622 | declare 'ExecuteSqlRequest', | ||
| 623 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlRequest']; | ||
| 624 | |||
| 625 | coerce 'ExecuteSqlRequest', | ||
| 626 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlRequest'->new($_) }; | ||
| 627 | |||
| 628 | declare 'RepeatedExecuteSqlRequest', | ||
| 629 | as ArrayRef[ExecuteSqlRequest()]; | ||
| 630 | |||
| 631 | coerce 'RepeatedExecuteSqlRequest', | ||
| 632 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlRequest'->new($_) } @$_ ] }; | ||
| 633 | |||
| 634 | declare 'MapStringExecuteSqlRequest', | ||
| 635 | as HashRef[ExecuteSqlRequest()]; | ||
| 636 | |||
| 637 | declare 'ExecuteSqlResponse', | ||
| 638 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlResponse']; | ||
| 639 | |||
| 640 | coerce 'ExecuteSqlResponse', | ||
| 641 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlResponse'->new($_) }; | ||
| 642 | |||
| 643 | declare 'RepeatedExecuteSqlResponse', | ||
| 644 | as ArrayRef[ExecuteSqlResponse()]; | ||
| 645 | |||
| 646 | coerce 'RepeatedExecuteSqlResponse', | ||
| 647 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlResponse'->new($_) } @$_ ] }; | ||
| 648 | |||
| 649 | declare 'MapStringExecuteSqlResponse', | ||
| 650 | as HashRef[ExecuteSqlResponse()]; | ||
| 651 | |||
| 652 | declare 'ExecuteSqlMetadata', | ||
| 653 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlMetadata']; | ||
| 654 | |||
| 655 | coerce 'ExecuteSqlMetadata', | ||
| 656 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlMetadata'->new($_) }; | ||
| 657 | |||
| 658 | declare 'RepeatedExecuteSqlMetadata', | ||
| 659 | as ArrayRef[ExecuteSqlMetadata()]; | ||
| 660 | |||
| 661 | coerce 'RepeatedExecuteSqlMetadata', | ||
| 662 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlMetadata'->new($_) } @$_ ] }; | ||
| 663 | |||
| 664 | declare 'MapStringExecuteSqlMetadata', | ||
| 665 | as HashRef[ExecuteSqlMetadata()]; | ||
| 666 | |||
| 667 | declare 'Status', | ||
| 668 | as (Int | Str); | ||
| 669 | |||
| 670 | declare 'ListBackupsRequest', | ||
| 671 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListBackupsRequest']; | ||
| 672 | |||
| 673 | coerce 'ListBackupsRequest', | ||
| 674 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListBackupsRequest'->new($_) }; | ||
| 675 | |||
| 676 | declare 'RepeatedListBackupsRequest', | ||
| 677 | as ArrayRef[ListBackupsRequest()]; | ||
| 678 | |||
| 679 | coerce 'RepeatedListBackupsRequest', | ||
| 680 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListBackupsRequest'->new($_) } @$_ ] }; | ||
| 681 | |||
| 682 | declare 'MapStringListBackupsRequest', | ||
| 683 | as HashRef[ListBackupsRequest()]; | ||
| 684 | |||
| 685 | declare 'ListBackupsResponse', | ||
| 686 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListBackupsResponse']; | ||
| 687 | |||
| 688 | coerce 'ListBackupsResponse', | ||
| 689 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListBackupsResponse'->new($_) }; | ||
| 690 | |||
| 691 | declare 'RepeatedListBackupsResponse', | ||
| 692 | as ArrayRef[ListBackupsResponse()]; | ||
| 693 | |||
| 694 | coerce 'RepeatedListBackupsResponse', | ||
| 695 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListBackupsResponse'->new($_) } @$_ ] }; | ||
| 696 | |||
| 697 | declare 'MapStringListBackupsResponse', | ||
| 698 | as HashRef[ListBackupsResponse()]; | ||
| 699 | |||
| 700 | declare 'GetBackupRequest', | ||
| 701 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::GetBackupRequest']; | ||
| 702 | |||
| 703 | coerce 'GetBackupRequest', | ||
| 704 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::GetBackupRequest'->new($_) }; | ||
| 705 | |||
| 706 | declare 'RepeatedGetBackupRequest', | ||
| 707 | as ArrayRef[GetBackupRequest()]; | ||
| 708 | |||
| 709 | coerce 'RepeatedGetBackupRequest', | ||
| 710 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::GetBackupRequest'->new($_) } @$_ ] }; | ||
| 711 | |||
| 712 | declare 'MapStringGetBackupRequest', | ||
| 713 | as HashRef[GetBackupRequest()]; | ||
| 714 | |||
| 715 | declare 'CreateBackupRequest', | ||
| 716 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::CreateBackupRequest']; | ||
| 717 | |||
| 718 | coerce 'CreateBackupRequest', | ||
| 719 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::CreateBackupRequest'->new($_) }; | ||
| 720 | |||
| 721 | declare 'RepeatedCreateBackupRequest', | ||
| 722 | as ArrayRef[CreateBackupRequest()]; | ||
| 723 | |||
| 724 | coerce 'RepeatedCreateBackupRequest', | ||
| 725 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::CreateBackupRequest'->new($_) } @$_ ] }; | ||
| 726 | |||
| 727 | declare 'MapStringCreateBackupRequest', | ||
| 728 | as HashRef[CreateBackupRequest()]; | ||
| 729 | |||
| 730 | declare 'UpdateBackupRequest', | ||
| 731 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpdateBackupRequest']; | ||
| 732 | |||
| 733 | coerce 'UpdateBackupRequest', | ||
| 734 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpdateBackupRequest'->new($_) }; | ||
| 735 | |||
| 736 | declare 'RepeatedUpdateBackupRequest', | ||
| 737 | as ArrayRef[UpdateBackupRequest()]; | ||
| 738 | |||
| 739 | coerce 'RepeatedUpdateBackupRequest', | ||
| 740 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpdateBackupRequest'->new($_) } @$_ ] }; | ||
| 741 | |||
| 742 | declare 'MapStringUpdateBackupRequest', | ||
| 743 | as HashRef[UpdateBackupRequest()]; | ||
| 744 | |||
| 745 | declare 'DeleteBackupRequest', | ||
| 746 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::DeleteBackupRequest']; | ||
| 747 | |||
| 748 | coerce 'DeleteBackupRequest', | ||
| 749 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::DeleteBackupRequest'->new($_) }; | ||
| 750 | |||
| 751 | declare 'RepeatedDeleteBackupRequest', | ||
| 752 | as ArrayRef[DeleteBackupRequest()]; | ||
| 753 | |||
| 754 | coerce 'RepeatedDeleteBackupRequest', | ||
| 755 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::DeleteBackupRequest'->new($_) } @$_ ] }; | ||
| 756 | |||
| 757 | declare 'MapStringDeleteBackupRequest', | ||
| 758 | as HashRef[DeleteBackupRequest()]; | ||
| 759 | |||
| 760 | declare 'ListSupportedDatabaseFlagsRequest', | ||
| 761 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListSupportedDatabaseFlagsRequest']; | ||
| 762 | |||
| 763 | coerce 'ListSupportedDatabaseFlagsRequest', | ||
| 764 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListSupportedDatabaseFlagsRequest'->new($_) }; | ||
| 765 | |||
| 766 | declare 'RepeatedListSupportedDatabaseFlagsRequest', | ||
| 767 | as ArrayRef[ListSupportedDatabaseFlagsRequest()]; | ||
| 768 | |||
| 769 | coerce 'RepeatedListSupportedDatabaseFlagsRequest', | ||
| 770 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListSupportedDatabaseFlagsRequest'->new($_) } @$_ ] }; | ||
| 771 | |||
| 772 | declare 'MapStringListSupportedDatabaseFlagsRequest', | ||
| 773 | as HashRef[ListSupportedDatabaseFlagsRequest()]; | ||
| 774 | |||
| 775 | declare 'ListSupportedDatabaseFlagsResponse', | ||
| 776 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListSupportedDatabaseFlagsResponse']; | ||
| 777 | |||
| 778 | coerce 'ListSupportedDatabaseFlagsResponse', | ||
| 779 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListSupportedDatabaseFlagsResponse'->new($_) }; | ||
| 780 | |||
| 781 | declare 'RepeatedListSupportedDatabaseFlagsResponse', | ||
| 782 | as ArrayRef[ListSupportedDatabaseFlagsResponse()]; | ||
| 783 | |||
| 784 | coerce 'RepeatedListSupportedDatabaseFlagsResponse', | ||
| 785 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListSupportedDatabaseFlagsResponse'->new($_) } @$_ ] }; | ||
| 786 | |||
| 787 | declare 'MapStringListSupportedDatabaseFlagsResponse', | ||
| 788 | as HashRef[ListSupportedDatabaseFlagsResponse()]; | ||
| 789 | |||
| 790 | declare 'GenerateClientCertificateRequest', | ||
| 791 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::GenerateClientCertificateRequest']; | ||
| 792 | |||
| 793 | coerce 'GenerateClientCertificateRequest', | ||
| 794 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::GenerateClientCertificateRequest'->new($_) }; | ||
| 795 | |||
| 796 | declare 'RepeatedGenerateClientCertificateRequest', | ||
| 797 | as ArrayRef[GenerateClientCertificateRequest()]; | ||
| 798 | |||
| 799 | coerce 'RepeatedGenerateClientCertificateRequest', | ||
| 800 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::GenerateClientCertificateRequest'->new($_) } @$_ ] }; | ||
| 801 | |||
| 802 | declare 'MapStringGenerateClientCertificateRequest', | ||
| 803 | as HashRef[GenerateClientCertificateRequest()]; | ||
| 804 | |||
| 805 | declare 'GenerateClientCertificateResponse', | ||
| 806 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::GenerateClientCertificateResponse']; | ||
| 807 | |||
| 808 | coerce 'GenerateClientCertificateResponse', | ||
| 809 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::GenerateClientCertificateResponse'->new($_) }; | ||
| 810 | |||
| 811 | declare 'RepeatedGenerateClientCertificateResponse', | ||
| 812 | as ArrayRef[GenerateClientCertificateResponse()]; | ||
| 813 | |||
| 814 | coerce 'RepeatedGenerateClientCertificateResponse', | ||
| 815 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::GenerateClientCertificateResponse'->new($_) } @$_ ] }; | ||
| 816 | |||
| 817 | declare 'MapStringGenerateClientCertificateResponse', | ||
| 818 | as HashRef[GenerateClientCertificateResponse()]; | ||
| 819 | |||
| 820 | declare 'GetConnectionInfoRequest', | ||
| 821 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::GetConnectionInfoRequest']; | ||
| 822 | |||
| 823 | coerce 'GetConnectionInfoRequest', | ||
| 824 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::GetConnectionInfoRequest'->new($_) }; | ||
| 825 | |||
| 826 | declare 'RepeatedGetConnectionInfoRequest', | ||
| 827 | as ArrayRef[GetConnectionInfoRequest()]; | ||
| 828 | |||
| 829 | coerce 'RepeatedGetConnectionInfoRequest', | ||
| 830 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::GetConnectionInfoRequest'->new($_) } @$_ ] }; | ||
| 831 | |||
| 832 | declare 'MapStringGetConnectionInfoRequest', | ||
| 833 | as HashRef[GetConnectionInfoRequest()]; | ||
| 834 | |||
| 835 | declare 'OperationMetadata', | ||
| 836 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::OperationMetadata']; | ||
| 837 | |||
| 838 | coerce 'OperationMetadata', | ||
| 839 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::OperationMetadata'->new($_) }; | ||
| 840 | |||
| 841 | declare 'RepeatedOperationMetadata', | ||
| 842 | as ArrayRef[OperationMetadata()]; | ||
| 843 | |||
| 844 | coerce 'RepeatedOperationMetadata', | ||
| 845 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::OperationMetadata'->new($_) } @$_ ] }; | ||
| 846 | |||
| 847 | declare 'MapStringOperationMetadata', | ||
| 848 | as HashRef[OperationMetadata()]; | ||
| 849 | |||
| 850 | declare 'PromoteClusterStatus', | ||
| 851 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::PromoteClusterStatus']; | ||
| 852 | |||
| 853 | coerce 'PromoteClusterStatus', | ||
| 854 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::PromoteClusterStatus'->new($_) }; | ||
| 855 | |||
| 856 | declare 'RepeatedPromoteClusterStatus', | ||
| 857 | as ArrayRef[PromoteClusterStatus()]; | ||
| 858 | |||
| 859 | coerce 'RepeatedPromoteClusterStatus', | ||
| 860 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::PromoteClusterStatus'->new($_) } @$_ ] }; | ||
| 861 | |||
| 862 | declare 'MapStringPromoteClusterStatus', | ||
| 863 | as HashRef[PromoteClusterStatus()]; | ||
| 864 | |||
| 865 | declare 'State', | ||
| 866 | as (Int | Str); | ||
| 867 | |||
| 868 | declare 'UpgradeClusterStatus', | ||
| 869 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus']; | ||
| 870 | |||
| 871 | coerce 'UpgradeClusterStatus', | ||
| 872 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus'->new($_) }; | ||
| 873 | |||
| 874 | declare 'RepeatedUpgradeClusterStatus', | ||
| 875 | as ArrayRef[UpgradeClusterStatus()]; | ||
| 876 | |||
| 877 | coerce 'RepeatedUpgradeClusterStatus', | ||
| 878 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus'->new($_) } @$_ ] }; | ||
| 879 | |||
| 880 | declare 'MapStringUpgradeClusterStatus', | ||
| 881 | as HashRef[UpgradeClusterStatus()]; | ||
| 882 | |||
| 883 | declare 'StageStatus', | ||
| 884 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::StageStatus']; | ||
| 885 | |||
| 886 | coerce 'StageStatus', | ||
| 887 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::StageStatus'->new($_) }; | ||
| 888 | |||
| 889 | declare 'RepeatedStageStatus', | ||
| 890 | as ArrayRef[StageStatus()]; | ||
| 891 | |||
| 892 | coerce 'RepeatedStageStatus', | ||
| 893 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::StageStatus'->new($_) } @$_ ] }; | ||
| 894 | |||
| 895 | declare 'MapStringStageStatus', | ||
| 896 | as HashRef[StageStatus()]; | ||
| 897 | |||
| 898 | declare 'StageSchedule', | ||
| 899 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::StageStatus::StageSchedule']; | ||
| 900 | |||
| 901 | coerce 'StageSchedule', | ||
| 902 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::StageStatus::StageSchedule'->new($_) }; | ||
| 903 | |||
| 904 | declare 'RepeatedStageSchedule', | ||
| 905 | as ArrayRef[StageSchedule()]; | ||
| 906 | |||
| 907 | coerce 'RepeatedStageSchedule', | ||
| 908 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::StageStatus::StageSchedule'->new($_) } @$_ ] }; | ||
| 909 | |||
| 910 | declare 'MapStringStageSchedule', | ||
| 911 | as HashRef[StageSchedule()]; | ||
| 912 | |||
| 913 | declare 'ReadPoolInstancesUpgradeStageStatus', | ||
| 914 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus']; | ||
| 915 | |||
| 916 | coerce 'ReadPoolInstancesUpgradeStageStatus', | ||
| 917 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus'->new($_) }; | ||
| 918 | |||
| 919 | declare 'RepeatedReadPoolInstancesUpgradeStageStatus', | ||
| 920 | as ArrayRef[ReadPoolInstancesUpgradeStageStatus()]; | ||
| 921 | |||
| 922 | coerce 'RepeatedReadPoolInstancesUpgradeStageStatus', | ||
| 923 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus'->new($_) } @$_ ] }; | ||
| 924 | |||
| 925 | declare 'MapStringReadPoolInstancesUpgradeStageStatus', | ||
| 926 | as HashRef[ReadPoolInstancesUpgradeStageStatus()]; | ||
| 927 | |||
| 928 | declare 'Stats', | ||
| 929 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats']; | ||
| 930 | |||
| 931 | coerce 'Stats', | ||
| 932 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats'->new($_) }; | ||
| 933 | |||
| 934 | declare 'RepeatedStats', | ||
| 935 | as ArrayRef[Stats()]; | ||
| 936 | |||
| 937 | coerce 'RepeatedStats', | ||
| 938 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats'->new($_) } @$_ ] }; | ||
| 939 | |||
| 940 | declare 'MapStringStats', | ||
| 941 | as HashRef[Stats()]; | ||
| 942 | |||
| 943 | declare 'ListUsersRequest', | ||
| 944 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListUsersRequest']; | ||
| 945 | |||
| 946 | coerce 'ListUsersRequest', | ||
| 947 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListUsersRequest'->new($_) }; | ||
| 948 | |||
| 949 | declare 'RepeatedListUsersRequest', | ||
| 950 | as ArrayRef[ListUsersRequest()]; | ||
| 951 | |||
| 952 | coerce 'RepeatedListUsersRequest', | ||
| 953 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListUsersRequest'->new($_) } @$_ ] }; | ||
| 954 | |||
| 955 | declare 'MapStringListUsersRequest', | ||
| 956 | as HashRef[ListUsersRequest()]; | ||
| 957 | |||
| 958 | declare 'ListUsersResponse', | ||
| 959 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListUsersResponse']; | ||
| 960 | |||
| 961 | coerce 'ListUsersResponse', | ||
| 962 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListUsersResponse'->new($_) }; | ||
| 963 | |||
| 964 | declare 'RepeatedListUsersResponse', | ||
| 965 | as ArrayRef[ListUsersResponse()]; | ||
| 966 | |||
| 967 | coerce 'RepeatedListUsersResponse', | ||
| 968 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListUsersResponse'->new($_) } @$_ ] }; | ||
| 969 | |||
| 970 | declare 'MapStringListUsersResponse', | ||
| 971 | as HashRef[ListUsersResponse()]; | ||
| 972 | |||
| 973 | declare 'GetUserRequest', | ||
| 974 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::GetUserRequest']; | ||
| 975 | |||
| 976 | coerce 'GetUserRequest', | ||
| 977 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::GetUserRequest'->new($_) }; | ||
| 978 | |||
| 979 | declare 'RepeatedGetUserRequest', | ||
| 980 | as ArrayRef[GetUserRequest()]; | ||
| 981 | |||
| 982 | coerce 'RepeatedGetUserRequest', | ||
| 983 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::GetUserRequest'->new($_) } @$_ ] }; | ||
| 984 | |||
| 985 | declare 'MapStringGetUserRequest', | ||
| 986 | as HashRef[GetUserRequest()]; | ||
| 987 | |||
| 988 | declare 'CreateUserRequest', | ||
| 989 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::CreateUserRequest']; | ||
| 990 | |||
| 991 | coerce 'CreateUserRequest', | ||
| 992 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::CreateUserRequest'->new($_) }; | ||
| 993 | |||
| 994 | declare 'RepeatedCreateUserRequest', | ||
| 995 | as ArrayRef[CreateUserRequest()]; | ||
| 996 | |||
| 997 | coerce 'RepeatedCreateUserRequest', | ||
| 998 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::CreateUserRequest'->new($_) } @$_ ] }; | ||
| 999 | |||
| 1000 | declare 'MapStringCreateUserRequest', | ||
| 1001 | as HashRef[CreateUserRequest()]; | ||
| 1002 | |||
| 1003 | declare 'UpdateUserRequest', | ||
| 1004 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::UpdateUserRequest']; | ||
| 1005 | |||
| 1006 | coerce 'UpdateUserRequest', | ||
| 1007 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::UpdateUserRequest'->new($_) }; | ||
| 1008 | |||
| 1009 | declare 'RepeatedUpdateUserRequest', | ||
| 1010 | as ArrayRef[UpdateUserRequest()]; | ||
| 1011 | |||
| 1012 | coerce 'RepeatedUpdateUserRequest', | ||
| 1013 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::UpdateUserRequest'->new($_) } @$_ ] }; | ||
| 1014 | |||
| 1015 | declare 'MapStringUpdateUserRequest', | ||
| 1016 | as HashRef[UpdateUserRequest()]; | ||
| 1017 | |||
| 1018 | declare 'DeleteUserRequest', | ||
| 1019 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::DeleteUserRequest']; | ||
| 1020 | |||
| 1021 | coerce 'DeleteUserRequest', | ||
| 1022 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::DeleteUserRequest'->new($_) }; | ||
| 1023 | |||
| 1024 | declare 'RepeatedDeleteUserRequest', | ||
| 1025 | as ArrayRef[DeleteUserRequest()]; | ||
| 1026 | |||
| 1027 | coerce 'RepeatedDeleteUserRequest', | ||
| 1028 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::DeleteUserRequest'->new($_) } @$_ ] }; | ||
| 1029 | |||
| 1030 | declare 'MapStringDeleteUserRequest', | ||
| 1031 | as HashRef[DeleteUserRequest()]; | ||
| 1032 | |||
| 1033 | declare 'ListDatabasesRequest', | ||
| 1034 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListDatabasesRequest']; | ||
| 1035 | |||
| 1036 | coerce 'ListDatabasesRequest', | ||
| 1037 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListDatabasesRequest'->new($_) }; | ||
| 1038 | |||
| 1039 | declare 'RepeatedListDatabasesRequest', | ||
| 1040 | as ArrayRef[ListDatabasesRequest()]; | ||
| 1041 | |||
| 1042 | coerce 'RepeatedListDatabasesRequest', | ||
| 1043 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListDatabasesRequest'->new($_) } @$_ ] }; | ||
| 1044 | |||
| 1045 | declare 'MapStringListDatabasesRequest', | ||
| 1046 | as HashRef[ListDatabasesRequest()]; | ||
| 1047 | |||
| 1048 | declare 'ListDatabasesResponse', | ||
| 1049 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::ListDatabasesResponse']; | ||
| 1050 | |||
| 1051 | coerce 'ListDatabasesResponse', | ||
| 1052 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::ListDatabasesResponse'->new($_) }; | ||
| 1053 | |||
| 1054 | declare 'RepeatedListDatabasesResponse', | ||
| 1055 | as ArrayRef[ListDatabasesResponse()]; | ||
| 1056 | |||
| 1057 | coerce 'RepeatedListDatabasesResponse', | ||
| 1058 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::ListDatabasesResponse'->new($_) } @$_ ] }; | ||
| 1059 | |||
| 1060 | declare 'MapStringListDatabasesResponse', | ||
| 1061 | as HashRef[ListDatabasesResponse()]; | ||
| 1062 | |||
| 1063 | declare 'CreateDatabaseRequest', | ||
| 1064 | as InstanceOf['Google::Cloud::Alloydb::V1alpha::Service::CreateDatabaseRequest']; | ||
| 1065 | |||
| 1066 | coerce 'CreateDatabaseRequest', | ||
| 1067 | from HashRef, via { 'Google::Cloud::Alloydb::V1alpha::Service::CreateDatabaseRequest'->new($_) }; | ||
| 1068 | |||
| 1069 | declare 'RepeatedCreateDatabaseRequest', | ||
| 1070 | as ArrayRef[CreateDatabaseRequest()]; | ||
| 1071 | |||
| 1072 | coerce 'RepeatedCreateDatabaseRequest', | ||
| 1073 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1alpha::Service::CreateDatabaseRequest'->new($_) } @$_ ] }; | ||
| 1074 | |||
| 1075 | declare 'MapStringCreateDatabaseRequest', | ||
| 1076 | as HashRef[CreateDatabaseRequest()]; | ||
| 1077 | |||
| 1078 | 1; | ||
| 1079 | |||
| 1080 | __END__ |