| 1 | package Google::Cloud::Gkemulticloud::V1::AttachedResources::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 'AttachedCluster', | ||
| 11 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster']; | ||
| 12 | |||
| 13 | coerce 'AttachedCluster', | ||
| 14 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedAttachedCluster', | ||
| 17 | as ArrayRef[AttachedCluster()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedAttachedCluster', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringAttachedCluster', | ||
| 23 | as HashRef[AttachedCluster()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'AnnotationsEntry', | ||
| 29 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster::AnnotationsEntry']; | ||
| 30 | |||
| 31 | coerce 'AnnotationsEntry', | ||
| 32 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster::AnnotationsEntry'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedAnnotationsEntry', | ||
| 35 | as ArrayRef[AnnotationsEntry()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedAnnotationsEntry', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringAnnotationsEntry', | ||
| 41 | as HashRef[AnnotationsEntry()]; | ||
| 42 | |||
| 43 | declare 'TagsEntry', | ||
| 44 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster::TagsEntry']; | ||
| 45 | |||
| 46 | coerce 'TagsEntry', | ||
| 47 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster::TagsEntry'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedTagsEntry', | ||
| 50 | as ArrayRef[TagsEntry()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedTagsEntry', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedCluster::TagsEntry'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringTagsEntry', | ||
| 56 | as HashRef[TagsEntry()]; | ||
| 57 | |||
| 58 | declare 'AttachedClustersAuthorization', | ||
| 59 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClustersAuthorization']; | ||
| 60 | |||
| 61 | coerce 'AttachedClustersAuthorization', | ||
| 62 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClustersAuthorization'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedAttachedClustersAuthorization', | ||
| 65 | as ArrayRef[AttachedClustersAuthorization()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedAttachedClustersAuthorization', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClustersAuthorization'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringAttachedClustersAuthorization', | ||
| 71 | as HashRef[AttachedClustersAuthorization()]; | ||
| 72 | |||
| 73 | declare 'AttachedClusterUser', | ||
| 74 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterUser']; | ||
| 75 | |||
| 76 | coerce 'AttachedClusterUser', | ||
| 77 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterUser'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedAttachedClusterUser', | ||
| 80 | as ArrayRef[AttachedClusterUser()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedAttachedClusterUser', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterUser'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringAttachedClusterUser', | ||
| 86 | as HashRef[AttachedClusterUser()]; | ||
| 87 | |||
| 88 | declare 'AttachedClusterGroup', | ||
| 89 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterGroup']; | ||
| 90 | |||
| 91 | coerce 'AttachedClusterGroup', | ||
| 92 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterGroup'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedAttachedClusterGroup', | ||
| 95 | as ArrayRef[AttachedClusterGroup()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedAttachedClusterGroup', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterGroup'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringAttachedClusterGroup', | ||
| 101 | as HashRef[AttachedClusterGroup()]; | ||
| 102 | |||
| 103 | declare 'AttachedOidcConfig', | ||
| 104 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedOidcConfig']; | ||
| 105 | |||
| 106 | coerce 'AttachedOidcConfig', | ||
| 107 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedOidcConfig'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedAttachedOidcConfig', | ||
| 110 | as ArrayRef[AttachedOidcConfig()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedAttachedOidcConfig', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedOidcConfig'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringAttachedOidcConfig', | ||
| 116 | as HashRef[AttachedOidcConfig()]; | ||
| 117 | |||
| 118 | declare 'AttachedServerConfig', | ||
| 119 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedServerConfig']; | ||
| 120 | |||
| 121 | coerce 'AttachedServerConfig', | ||
| 122 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedServerConfig'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedAttachedServerConfig', | ||
| 125 | as ArrayRef[AttachedServerConfig()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedAttachedServerConfig', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedServerConfig'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringAttachedServerConfig', | ||
| 131 | as HashRef[AttachedServerConfig()]; | ||
| 132 | |||
| 133 | declare 'AttachedPlatformVersionInfo', | ||
| 134 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedPlatformVersionInfo']; | ||
| 135 | |||
| 136 | coerce 'AttachedPlatformVersionInfo', | ||
| 137 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedPlatformVersionInfo'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedAttachedPlatformVersionInfo', | ||
| 140 | as ArrayRef[AttachedPlatformVersionInfo()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedAttachedPlatformVersionInfo', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedPlatformVersionInfo'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringAttachedPlatformVersionInfo', | ||
| 146 | as HashRef[AttachedPlatformVersionInfo()]; | ||
| 147 | |||
| 148 | declare 'AttachedClusterError', | ||
| 149 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterError']; | ||
| 150 | |||
| 151 | coerce 'AttachedClusterError', | ||
| 152 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterError'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedAttachedClusterError', | ||
| 155 | as ArrayRef[AttachedClusterError()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedAttachedClusterError', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedClusterError'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringAttachedClusterError', | ||
| 161 | as HashRef[AttachedClusterError()]; | ||
| 162 | |||
| 163 | declare 'AttachedProxyConfig', | ||
| 164 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedProxyConfig']; | ||
| 165 | |||
| 166 | coerce 'AttachedProxyConfig', | ||
| 167 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedProxyConfig'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedAttachedProxyConfig', | ||
| 170 | as ArrayRef[AttachedProxyConfig()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedAttachedProxyConfig', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::AttachedProxyConfig'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringAttachedProxyConfig', | ||
| 176 | as HashRef[AttachedProxyConfig()]; | ||
| 177 | |||
| 178 | declare 'KubernetesSecret', | ||
| 179 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::KubernetesSecret']; | ||
| 180 | |||
| 181 | coerce 'KubernetesSecret', | ||
| 182 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::KubernetesSecret'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedKubernetesSecret', | ||
| 185 | as ArrayRef[KubernetesSecret()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedKubernetesSecret', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::KubernetesSecret'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringKubernetesSecret', | ||
| 191 | as HashRef[KubernetesSecret()]; | ||
| 192 | |||
| 193 | declare 'SystemComponentsConfig', | ||
| 194 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::SystemComponentsConfig']; | ||
| 195 | |||
| 196 | coerce 'SystemComponentsConfig', | ||
| 197 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::SystemComponentsConfig'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedSystemComponentsConfig', | ||
| 200 | as ArrayRef[SystemComponentsConfig()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedSystemComponentsConfig', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::SystemComponentsConfig'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringSystemComponentsConfig', | ||
| 206 | as HashRef[SystemComponentsConfig()]; | ||
| 207 | |||
| 208 | declare 'Toleration', | ||
| 209 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::Toleration']; | ||
| 210 | |||
| 211 | coerce 'Toleration', | ||
| 212 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::Toleration'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedToleration', | ||
| 215 | as ArrayRef[Toleration()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedToleration', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::Toleration'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringToleration', | ||
| 221 | as HashRef[Toleration()]; | ||
| 222 | |||
| 223 | declare 'KeyOperator', | ||
| 224 | as (Int | Str); | ||
| 225 | |||
| 226 | declare 'Effect', | ||
| 227 | as (Int | Str); | ||
| 228 | |||
| 229 | declare 'Label', | ||
| 230 | as InstanceOf['Google::Cloud::Gkemulticloud::V1::AttachedResources::Label']; | ||
| 231 | |||
| 232 | coerce 'Label', | ||
| 233 | from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::Label'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedLabel', | ||
| 236 | as ArrayRef[Label()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedLabel', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::AttachedResources::Label'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringLabel', | ||
| 242 | as HashRef[Label()]; | ||
| 243 | |||
| 244 | 1; | ||
| 245 | |||
| 246 | __END__ |