| 1 | package Google::Cloud::Oracledatabase::V1::ExadataInfra::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 'CloudExadataInfrastructure', | ||
| 11 | as InstanceOf['Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructure']; | ||
| 12 | |||
| 13 | coerce 'CloudExadataInfrastructure', | ||
| 14 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructure'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCloudExadataInfrastructure', | ||
| 17 | as ArrayRef[CloudExadataInfrastructure()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCloudExadataInfrastructure', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructure'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCloudExadataInfrastructure', | ||
| 23 | as HashRef[CloudExadataInfrastructure()]; | ||
| 24 | |||
| 25 | declare 'LabelsEntry', | ||
| 26 | as InstanceOf['Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructure::LabelsEntry']; | ||
| 27 | |||
| 28 | coerce 'LabelsEntry', | ||
| 29 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructure::LabelsEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedLabelsEntry', | ||
| 32 | as ArrayRef[LabelsEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedLabelsEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructure::LabelsEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringLabelsEntry', | ||
| 38 | as HashRef[LabelsEntry()]; | ||
| 39 | |||
| 40 | declare 'CloudExadataInfrastructureProperties', | ||
| 41 | as InstanceOf['Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructureProperties']; | ||
| 42 | |||
| 43 | coerce 'CloudExadataInfrastructureProperties', | ||
| 44 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructureProperties'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedCloudExadataInfrastructureProperties', | ||
| 47 | as ArrayRef[CloudExadataInfrastructureProperties()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedCloudExadataInfrastructureProperties', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::CloudExadataInfrastructureProperties'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringCloudExadataInfrastructureProperties', | ||
| 53 | as HashRef[CloudExadataInfrastructureProperties()]; | ||
| 54 | |||
| 55 | declare 'State', | ||
| 56 | as (Int | Str); | ||
| 57 | |||
| 58 | declare 'ExascaleConfig', | ||
| 59 | as InstanceOf['Google::Cloud::Oracledatabase::V1::ExadataInfra::ExascaleConfig']; | ||
| 60 | |||
| 61 | coerce 'ExascaleConfig', | ||
| 62 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::ExascaleConfig'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedExascaleConfig', | ||
| 65 | as ArrayRef[ExascaleConfig()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedExascaleConfig', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::ExascaleConfig'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringExascaleConfig', | ||
| 71 | as HashRef[ExascaleConfig()]; | ||
| 72 | |||
| 73 | declare 'MaintenanceWindow', | ||
| 74 | as InstanceOf['Google::Cloud::Oracledatabase::V1::ExadataInfra::MaintenanceWindow']; | ||
| 75 | |||
| 76 | coerce 'MaintenanceWindow', | ||
| 77 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::MaintenanceWindow'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedMaintenanceWindow', | ||
| 80 | as ArrayRef[MaintenanceWindow()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedMaintenanceWindow', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::MaintenanceWindow'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringMaintenanceWindow', | ||
| 86 | as HashRef[MaintenanceWindow()]; | ||
| 87 | |||
| 88 | declare 'MaintenanceWindowPreference', | ||
| 89 | as (Int | Str); | ||
| 90 | |||
| 91 | declare 'PatchingMode', | ||
| 92 | as (Int | Str); | ||
| 93 | |||
| 94 | declare 'ConfigureExascaleCloudExadataInfrastructureRequest', | ||
| 95 | as InstanceOf['Google::Cloud::Oracledatabase::V1::ExadataInfra::ConfigureExascaleCloudExadataInfrastructureRequest']; | ||
| 96 | |||
| 97 | coerce 'ConfigureExascaleCloudExadataInfrastructureRequest', | ||
| 98 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::ConfigureExascaleCloudExadataInfrastructureRequest'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedConfigureExascaleCloudExadataInfrastructureRequest', | ||
| 101 | as ArrayRef[ConfigureExascaleCloudExadataInfrastructureRequest()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedConfigureExascaleCloudExadataInfrastructureRequest', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::ExadataInfra::ConfigureExascaleCloudExadataInfrastructureRequest'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringConfigureExascaleCloudExadataInfrastructureRequest', | ||
| 107 | as HashRef[ConfigureExascaleCloudExadataInfrastructureRequest()]; | ||
| 108 | |||
| 109 | 1; | ||
| 110 | |||
| 111 | __END__ |