| 1 | package Google::Cloud::Run::V2::VendorSettings::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 'AmbientScope', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'IngressTraffic', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'ExecutionEnvironment', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'EncryptionKeyRevocationAction', | ||
| 20 | as (Int | Str); | ||
| 21 | |||
| 22 | declare 'IdentityType', | ||
| 23 | as (Int | Str); | ||
| 24 | |||
| 25 | declare 'FunctionalType', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'VpcAccess', | ||
| 29 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::VpcAccess']; | ||
| 30 | |||
| 31 | coerce 'VpcAccess', | ||
| 32 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::VpcAccess'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedVpcAccess', | ||
| 35 | as ArrayRef[VpcAccess()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedVpcAccess', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::VpcAccess'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringVpcAccess', | ||
| 41 | as HashRef[VpcAccess()]; | ||
| 42 | |||
| 43 | declare 'VpcEgress', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'NetworkInterface', | ||
| 47 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::VpcAccess::NetworkInterface']; | ||
| 48 | |||
| 49 | coerce 'NetworkInterface', | ||
| 50 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::VpcAccess::NetworkInterface'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedNetworkInterface', | ||
| 53 | as ArrayRef[NetworkInterface()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedNetworkInterface', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::VpcAccess::NetworkInterface'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringNetworkInterface', | ||
| 59 | as HashRef[NetworkInterface()]; | ||
| 60 | |||
| 61 | declare 'BinaryAuthorization', | ||
| 62 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::BinaryAuthorization']; | ||
| 63 | |||
| 64 | coerce 'BinaryAuthorization', | ||
| 65 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::BinaryAuthorization'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedBinaryAuthorization', | ||
| 68 | as ArrayRef[BinaryAuthorization()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedBinaryAuthorization', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::BinaryAuthorization'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringBinaryAuthorization', | ||
| 74 | as HashRef[BinaryAuthorization()]; | ||
| 75 | |||
| 76 | declare 'RevisionScaling', | ||
| 77 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::RevisionScaling']; | ||
| 78 | |||
| 79 | coerce 'RevisionScaling', | ||
| 80 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::RevisionScaling'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedRevisionScaling', | ||
| 83 | as ArrayRef[RevisionScaling()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedRevisionScaling', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::RevisionScaling'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringRevisionScaling', | ||
| 89 | as HashRef[RevisionScaling()]; | ||
| 90 | |||
| 91 | declare 'ServiceMesh', | ||
| 92 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::ServiceMesh']; | ||
| 93 | |||
| 94 | coerce 'ServiceMesh', | ||
| 95 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::ServiceMesh'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedServiceMesh', | ||
| 98 | as ArrayRef[ServiceMesh()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedServiceMesh', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::ServiceMesh'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringServiceMesh', | ||
| 104 | as HashRef[ServiceMesh()]; | ||
| 105 | |||
| 106 | declare 'AmbientNetworking', | ||
| 107 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::AmbientNetworking']; | ||
| 108 | |||
| 109 | coerce 'AmbientNetworking', | ||
| 110 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::AmbientNetworking'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedAmbientNetworking', | ||
| 113 | as ArrayRef[AmbientNetworking()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedAmbientNetworking', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::AmbientNetworking'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringAmbientNetworking', | ||
| 119 | as HashRef[AmbientNetworking()]; | ||
| 120 | |||
| 121 | declare 'ServiceScaling', | ||
| 122 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::ServiceScaling']; | ||
| 123 | |||
| 124 | coerce 'ServiceScaling', | ||
| 125 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::ServiceScaling'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedServiceScaling', | ||
| 128 | as ArrayRef[ServiceScaling()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedServiceScaling', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::ServiceScaling'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringServiceScaling', | ||
| 134 | as HashRef[ServiceScaling()]; | ||
| 135 | |||
| 136 | declare 'ScalingMode', | ||
| 137 | as (Int | Str); | ||
| 138 | |||
| 139 | declare 'WorkerPoolScaling', | ||
| 140 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::WorkerPoolScaling']; | ||
| 141 | |||
| 142 | coerce 'WorkerPoolScaling', | ||
| 143 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::WorkerPoolScaling'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedWorkerPoolScaling', | ||
| 146 | as ArrayRef[WorkerPoolScaling()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedWorkerPoolScaling', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::WorkerPoolScaling'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringWorkerPoolScaling', | ||
| 152 | as HashRef[WorkerPoolScaling()]; | ||
| 153 | |||
| 154 | declare 'NodeSelector', | ||
| 155 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::NodeSelector']; | ||
| 156 | |||
| 157 | coerce 'NodeSelector', | ||
| 158 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::NodeSelector'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedNodeSelector', | ||
| 161 | as ArrayRef[NodeSelector()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedNodeSelector', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::NodeSelector'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringNodeSelector', | ||
| 167 | as HashRef[NodeSelector()]; | ||
| 168 | |||
| 169 | declare 'BuildConfig', | ||
| 170 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::BuildConfig']; | ||
| 171 | |||
| 172 | coerce 'BuildConfig', | ||
| 173 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::BuildConfig'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedBuildConfig', | ||
| 176 | as ArrayRef[BuildConfig()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedBuildConfig', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::BuildConfig'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringBuildConfig', | ||
| 182 | as HashRef[BuildConfig()]; | ||
| 183 | |||
| 184 | declare 'EnvironmentVariablesEntry', | ||
| 185 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::BuildConfig::EnvironmentVariablesEntry']; | ||
| 186 | |||
| 187 | coerce 'EnvironmentVariablesEntry', | ||
| 188 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::BuildConfig::EnvironmentVariablesEntry'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedEnvironmentVariablesEntry', | ||
| 191 | as ArrayRef[EnvironmentVariablesEntry()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedEnvironmentVariablesEntry', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::BuildConfig::EnvironmentVariablesEntry'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringEnvironmentVariablesEntry', | ||
| 197 | as HashRef[EnvironmentVariablesEntry()]; | ||
| 198 | |||
| 199 | declare 'WorkloadIdentityConfig', | ||
| 200 | as InstanceOf['Google::Cloud::Run::V2::VendorSettings::WorkloadIdentityConfig']; | ||
| 201 | |||
| 202 | coerce 'WorkloadIdentityConfig', | ||
| 203 | from HashRef, via { 'Google::Cloud::Run::V2::VendorSettings::WorkloadIdentityConfig'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedWorkloadIdentityConfig', | ||
| 206 | as ArrayRef[WorkloadIdentityConfig()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedWorkloadIdentityConfig', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::VendorSettings::WorkloadIdentityConfig'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringWorkloadIdentityConfig', | ||
| 212 | as HashRef[WorkloadIdentityConfig()]; | ||
| 213 | |||
| 214 | 1; | ||
| 215 | |||
| 216 | __END__ |