| 1 | package Google::Cloud::Cloudsecuritycompliance::V1::Deployment::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 'DeploymentState', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'FrameworkDeployment', | ||
| 14 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeployment']; | ||
| 15 | |||
| 16 | coerce 'FrameworkDeployment', | ||
| 17 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeployment'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedFrameworkDeployment', | ||
| 20 | as ArrayRef[FrameworkDeployment()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedFrameworkDeployment', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeployment'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringFrameworkDeployment', | ||
| 26 | as HashRef[FrameworkDeployment()]; | ||
| 27 | |||
| 28 | declare 'CloudControlDeployment', | ||
| 29 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeployment']; | ||
| 30 | |||
| 31 | coerce 'CloudControlDeployment', | ||
| 32 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeployment'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedCloudControlDeployment', | ||
| 35 | as ArrayRef[CloudControlDeployment()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedCloudControlDeployment', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeployment'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringCloudControlDeployment', | ||
| 41 | as HashRef[CloudControlDeployment()]; | ||
| 42 | |||
| 43 | declare 'TargetResourceConfig', | ||
| 44 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceConfig']; | ||
| 45 | |||
| 46 | coerce 'TargetResourceConfig', | ||
| 47 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceConfig'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedTargetResourceConfig', | ||
| 50 | as ArrayRef[TargetResourceConfig()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedTargetResourceConfig', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceConfig'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringTargetResourceConfig', | ||
| 56 | as HashRef[TargetResourceConfig()]; | ||
| 57 | |||
| 58 | declare 'TargetResourceCreationConfig', | ||
| 59 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceCreationConfig']; | ||
| 60 | |||
| 61 | coerce 'TargetResourceCreationConfig', | ||
| 62 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceCreationConfig'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedTargetResourceCreationConfig', | ||
| 65 | as ArrayRef[TargetResourceCreationConfig()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedTargetResourceCreationConfig', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::TargetResourceCreationConfig'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringTargetResourceCreationConfig', | ||
| 71 | as HashRef[TargetResourceCreationConfig()]; | ||
| 72 | |||
| 73 | declare 'FolderCreationConfig', | ||
| 74 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FolderCreationConfig']; | ||
| 75 | |||
| 76 | coerce 'FolderCreationConfig', | ||
| 77 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FolderCreationConfig'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedFolderCreationConfig', | ||
| 80 | as ArrayRef[FolderCreationConfig()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedFolderCreationConfig', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FolderCreationConfig'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringFolderCreationConfig', | ||
| 86 | as HashRef[FolderCreationConfig()]; | ||
| 87 | |||
| 88 | declare 'ProjectCreationConfig', | ||
| 89 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ProjectCreationConfig']; | ||
| 90 | |||
| 91 | coerce 'ProjectCreationConfig', | ||
| 92 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ProjectCreationConfig'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedProjectCreationConfig', | ||
| 95 | as ArrayRef[ProjectCreationConfig()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedProjectCreationConfig', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ProjectCreationConfig'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringProjectCreationConfig', | ||
| 101 | as HashRef[ProjectCreationConfig()]; | ||
| 102 | |||
| 103 | declare 'CloudControlMetadata', | ||
| 104 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlMetadata']; | ||
| 105 | |||
| 106 | coerce 'CloudControlMetadata', | ||
| 107 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlMetadata'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedCloudControlMetadata', | ||
| 110 | as ArrayRef[CloudControlMetadata()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedCloudControlMetadata', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlMetadata'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringCloudControlMetadata', | ||
| 116 | as HashRef[CloudControlMetadata()]; | ||
| 117 | |||
| 118 | declare 'CreateFrameworkDeploymentRequest', | ||
| 119 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CreateFrameworkDeploymentRequest']; | ||
| 120 | |||
| 121 | coerce 'CreateFrameworkDeploymentRequest', | ||
| 122 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CreateFrameworkDeploymentRequest'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedCreateFrameworkDeploymentRequest', | ||
| 125 | as ArrayRef[CreateFrameworkDeploymentRequest()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedCreateFrameworkDeploymentRequest', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CreateFrameworkDeploymentRequest'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringCreateFrameworkDeploymentRequest', | ||
| 131 | as HashRef[CreateFrameworkDeploymentRequest()]; | ||
| 132 | |||
| 133 | declare 'DeleteFrameworkDeploymentRequest', | ||
| 134 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::DeleteFrameworkDeploymentRequest']; | ||
| 135 | |||
| 136 | coerce 'DeleteFrameworkDeploymentRequest', | ||
| 137 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::DeleteFrameworkDeploymentRequest'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedDeleteFrameworkDeploymentRequest', | ||
| 140 | as ArrayRef[DeleteFrameworkDeploymentRequest()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedDeleteFrameworkDeploymentRequest', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::DeleteFrameworkDeploymentRequest'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringDeleteFrameworkDeploymentRequest', | ||
| 146 | as HashRef[DeleteFrameworkDeploymentRequest()]; | ||
| 147 | |||
| 148 | declare 'GetFrameworkDeploymentRequest', | ||
| 149 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::GetFrameworkDeploymentRequest']; | ||
| 150 | |||
| 151 | coerce 'GetFrameworkDeploymentRequest', | ||
| 152 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::GetFrameworkDeploymentRequest'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedGetFrameworkDeploymentRequest', | ||
| 155 | as ArrayRef[GetFrameworkDeploymentRequest()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedGetFrameworkDeploymentRequest', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::GetFrameworkDeploymentRequest'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringGetFrameworkDeploymentRequest', | ||
| 161 | as HashRef[GetFrameworkDeploymentRequest()]; | ||
| 162 | |||
| 163 | declare 'ListFrameworkDeploymentsRequest', | ||
| 164 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListFrameworkDeploymentsRequest']; | ||
| 165 | |||
| 166 | coerce 'ListFrameworkDeploymentsRequest', | ||
| 167 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListFrameworkDeploymentsRequest'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedListFrameworkDeploymentsRequest', | ||
| 170 | as ArrayRef[ListFrameworkDeploymentsRequest()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedListFrameworkDeploymentsRequest', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListFrameworkDeploymentsRequest'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringListFrameworkDeploymentsRequest', | ||
| 176 | as HashRef[ListFrameworkDeploymentsRequest()]; | ||
| 177 | |||
| 178 | declare 'ListFrameworkDeploymentsResponse', | ||
| 179 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListFrameworkDeploymentsResponse']; | ||
| 180 | |||
| 181 | coerce 'ListFrameworkDeploymentsResponse', | ||
| 182 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListFrameworkDeploymentsResponse'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedListFrameworkDeploymentsResponse', | ||
| 185 | as ArrayRef[ListFrameworkDeploymentsResponse()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedListFrameworkDeploymentsResponse', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListFrameworkDeploymentsResponse'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringListFrameworkDeploymentsResponse', | ||
| 191 | as HashRef[ListFrameworkDeploymentsResponse()]; | ||
| 192 | |||
| 193 | declare 'GetCloudControlDeploymentRequest', | ||
| 194 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::GetCloudControlDeploymentRequest']; | ||
| 195 | |||
| 196 | coerce 'GetCloudControlDeploymentRequest', | ||
| 197 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::GetCloudControlDeploymentRequest'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedGetCloudControlDeploymentRequest', | ||
| 200 | as ArrayRef[GetCloudControlDeploymentRequest()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedGetCloudControlDeploymentRequest', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::GetCloudControlDeploymentRequest'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringGetCloudControlDeploymentRequest', | ||
| 206 | as HashRef[GetCloudControlDeploymentRequest()]; | ||
| 207 | |||
| 208 | declare 'ListCloudControlDeploymentsRequest', | ||
| 209 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListCloudControlDeploymentsRequest']; | ||
| 210 | |||
| 211 | coerce 'ListCloudControlDeploymentsRequest', | ||
| 212 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListCloudControlDeploymentsRequest'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedListCloudControlDeploymentsRequest', | ||
| 215 | as ArrayRef[ListCloudControlDeploymentsRequest()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedListCloudControlDeploymentsRequest', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListCloudControlDeploymentsRequest'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringListCloudControlDeploymentsRequest', | ||
| 221 | as HashRef[ListCloudControlDeploymentsRequest()]; | ||
| 222 | |||
| 223 | declare 'ListCloudControlDeploymentsResponse', | ||
| 224 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListCloudControlDeploymentsResponse']; | ||
| 225 | |||
| 226 | coerce 'ListCloudControlDeploymentsResponse', | ||
| 227 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListCloudControlDeploymentsResponse'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedListCloudControlDeploymentsResponse', | ||
| 230 | as ArrayRef[ListCloudControlDeploymentsResponse()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedListCloudControlDeploymentsResponse', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::ListCloudControlDeploymentsResponse'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringListCloudControlDeploymentsResponse', | ||
| 236 | as HashRef[ListCloudControlDeploymentsResponse()]; | ||
| 237 | |||
| 238 | declare 'CloudControlDeploymentReference', | ||
| 239 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeploymentReference']; | ||
| 240 | |||
| 241 | coerce 'CloudControlDeploymentReference', | ||
| 242 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeploymentReference'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedCloudControlDeploymentReference', | ||
| 245 | as ArrayRef[CloudControlDeploymentReference()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedCloudControlDeploymentReference', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::CloudControlDeploymentReference'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringCloudControlDeploymentReference', | ||
| 251 | as HashRef[CloudControlDeploymentReference()]; | ||
| 252 | |||
| 253 | declare 'FrameworkDeploymentReference', | ||
| 254 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeploymentReference']; | ||
| 255 | |||
| 256 | coerce 'FrameworkDeploymentReference', | ||
| 257 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeploymentReference'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedFrameworkDeploymentReference', | ||
| 260 | as ArrayRef[FrameworkDeploymentReference()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedFrameworkDeploymentReference', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Deployment::FrameworkDeploymentReference'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringFrameworkDeploymentReference', | ||
| 266 | as HashRef[FrameworkDeploymentReference()]; | ||
| 267 | |||
| 268 | 1; | ||
| 269 | |||
| 270 | __END__ |