| 1 | package Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::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 'OSPolicyAssignment', | ||
| 11 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment']; | ||
| 12 | |||
| 13 | coerce 'OSPolicyAssignment', | ||
| 14 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedOSPolicyAssignment', | ||
| 17 | as ArrayRef[OSPolicyAssignment()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedOSPolicyAssignment', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringOSPolicyAssignment', | ||
| 23 | as HashRef[OSPolicyAssignment()]; | ||
| 24 | |||
| 25 | declare 'RolloutState', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'LabelSet', | ||
| 29 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::LabelSet']; | ||
| 30 | |||
| 31 | coerce 'LabelSet', | ||
| 32 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::LabelSet'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedLabelSet', | ||
| 35 | as ArrayRef[LabelSet()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedLabelSet', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::LabelSet'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringLabelSet', | ||
| 41 | as HashRef[LabelSet()]; | ||
| 42 | |||
| 43 | declare 'LabelsEntry', | ||
| 44 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::LabelSet::LabelsEntry']; | ||
| 45 | |||
| 46 | coerce 'LabelsEntry', | ||
| 47 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::LabelSet::LabelsEntry'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedLabelsEntry', | ||
| 50 | as ArrayRef[LabelsEntry()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedLabelsEntry', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::LabelSet::LabelsEntry'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringLabelsEntry', | ||
| 56 | as HashRef[LabelsEntry()]; | ||
| 57 | |||
| 58 | declare 'InstanceFilter', | ||
| 59 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::InstanceFilter']; | ||
| 60 | |||
| 61 | coerce 'InstanceFilter', | ||
| 62 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::InstanceFilter'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedInstanceFilter', | ||
| 65 | as ArrayRef[InstanceFilter()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedInstanceFilter', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::InstanceFilter'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringInstanceFilter', | ||
| 71 | as HashRef[InstanceFilter()]; | ||
| 72 | |||
| 73 | declare 'Inventory', | ||
| 74 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::InstanceFilter::Inventory']; | ||
| 75 | |||
| 76 | coerce 'Inventory', | ||
| 77 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::InstanceFilter::Inventory'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedInventory', | ||
| 80 | as ArrayRef[Inventory()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedInventory', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::InstanceFilter::Inventory'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringInventory', | ||
| 86 | as HashRef[Inventory()]; | ||
| 87 | |||
| 88 | declare 'Rollout', | ||
| 89 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::Rollout']; | ||
| 90 | |||
| 91 | coerce 'Rollout', | ||
| 92 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::Rollout'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedRollout', | ||
| 95 | as ArrayRef[Rollout()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedRollout', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignment::Rollout'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringRollout', | ||
| 101 | as HashRef[Rollout()]; | ||
| 102 | |||
| 103 | declare 'OSPolicyAssignmentOperationMetadata', | ||
| 104 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignmentOperationMetadata']; | ||
| 105 | |||
| 106 | coerce 'OSPolicyAssignmentOperationMetadata', | ||
| 107 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignmentOperationMetadata'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedOSPolicyAssignmentOperationMetadata', | ||
| 110 | as ArrayRef[OSPolicyAssignmentOperationMetadata()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedOSPolicyAssignmentOperationMetadata', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::OSPolicyAssignmentOperationMetadata'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringOSPolicyAssignmentOperationMetadata', | ||
| 116 | as HashRef[OSPolicyAssignmentOperationMetadata()]; | ||
| 117 | |||
| 118 | declare 'APIMethod', | ||
| 119 | as (Int | Str); | ||
| 120 | |||
| 121 | declare 'RolloutState', | ||
| 122 | as (Int | Str); | ||
| 123 | |||
| 124 | declare 'CreateOSPolicyAssignmentRequest', | ||
| 125 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::CreateOSPolicyAssignmentRequest']; | ||
| 126 | |||
| 127 | coerce 'CreateOSPolicyAssignmentRequest', | ||
| 128 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::CreateOSPolicyAssignmentRequest'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedCreateOSPolicyAssignmentRequest', | ||
| 131 | as ArrayRef[CreateOSPolicyAssignmentRequest()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedCreateOSPolicyAssignmentRequest', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::CreateOSPolicyAssignmentRequest'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringCreateOSPolicyAssignmentRequest', | ||
| 137 | as HashRef[CreateOSPolicyAssignmentRequest()]; | ||
| 138 | |||
| 139 | declare 'UpdateOSPolicyAssignmentRequest', | ||
| 140 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::UpdateOSPolicyAssignmentRequest']; | ||
| 141 | |||
| 142 | coerce 'UpdateOSPolicyAssignmentRequest', | ||
| 143 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::UpdateOSPolicyAssignmentRequest'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedUpdateOSPolicyAssignmentRequest', | ||
| 146 | as ArrayRef[UpdateOSPolicyAssignmentRequest()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedUpdateOSPolicyAssignmentRequest', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::UpdateOSPolicyAssignmentRequest'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringUpdateOSPolicyAssignmentRequest', | ||
| 152 | as HashRef[UpdateOSPolicyAssignmentRequest()]; | ||
| 153 | |||
| 154 | declare 'GetOSPolicyAssignmentRequest', | ||
| 155 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::GetOSPolicyAssignmentRequest']; | ||
| 156 | |||
| 157 | coerce 'GetOSPolicyAssignmentRequest', | ||
| 158 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::GetOSPolicyAssignmentRequest'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedGetOSPolicyAssignmentRequest', | ||
| 161 | as ArrayRef[GetOSPolicyAssignmentRequest()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedGetOSPolicyAssignmentRequest', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::GetOSPolicyAssignmentRequest'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringGetOSPolicyAssignmentRequest', | ||
| 167 | as HashRef[GetOSPolicyAssignmentRequest()]; | ||
| 168 | |||
| 169 | declare 'ListOSPolicyAssignmentsRequest', | ||
| 170 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentsRequest']; | ||
| 171 | |||
| 172 | coerce 'ListOSPolicyAssignmentsRequest', | ||
| 173 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentsRequest'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedListOSPolicyAssignmentsRequest', | ||
| 176 | as ArrayRef[ListOSPolicyAssignmentsRequest()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedListOSPolicyAssignmentsRequest', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentsRequest'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringListOSPolicyAssignmentsRequest', | ||
| 182 | as HashRef[ListOSPolicyAssignmentsRequest()]; | ||
| 183 | |||
| 184 | declare 'ListOSPolicyAssignmentsResponse', | ||
| 185 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentsResponse']; | ||
| 186 | |||
| 187 | coerce 'ListOSPolicyAssignmentsResponse', | ||
| 188 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentsResponse'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedListOSPolicyAssignmentsResponse', | ||
| 191 | as ArrayRef[ListOSPolicyAssignmentsResponse()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedListOSPolicyAssignmentsResponse', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentsResponse'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringListOSPolicyAssignmentsResponse', | ||
| 197 | as HashRef[ListOSPolicyAssignmentsResponse()]; | ||
| 198 | |||
| 199 | declare 'ListOSPolicyAssignmentRevisionsRequest', | ||
| 200 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentRevisionsRequest']; | ||
| 201 | |||
| 202 | coerce 'ListOSPolicyAssignmentRevisionsRequest', | ||
| 203 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentRevisionsRequest'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedListOSPolicyAssignmentRevisionsRequest', | ||
| 206 | as ArrayRef[ListOSPolicyAssignmentRevisionsRequest()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedListOSPolicyAssignmentRevisionsRequest', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentRevisionsRequest'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringListOSPolicyAssignmentRevisionsRequest', | ||
| 212 | as HashRef[ListOSPolicyAssignmentRevisionsRequest()]; | ||
| 213 | |||
| 214 | declare 'ListOSPolicyAssignmentRevisionsResponse', | ||
| 215 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentRevisionsResponse']; | ||
| 216 | |||
| 217 | coerce 'ListOSPolicyAssignmentRevisionsResponse', | ||
| 218 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentRevisionsResponse'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedListOSPolicyAssignmentRevisionsResponse', | ||
| 221 | as ArrayRef[ListOSPolicyAssignmentRevisionsResponse()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedListOSPolicyAssignmentRevisionsResponse', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::ListOSPolicyAssignmentRevisionsResponse'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringListOSPolicyAssignmentRevisionsResponse', | ||
| 227 | as HashRef[ListOSPolicyAssignmentRevisionsResponse()]; | ||
| 228 | |||
| 229 | declare 'DeleteOSPolicyAssignmentRequest', | ||
| 230 | as InstanceOf['Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::DeleteOSPolicyAssignmentRequest']; | ||
| 231 | |||
| 232 | coerce 'DeleteOSPolicyAssignmentRequest', | ||
| 233 | from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::DeleteOSPolicyAssignmentRequest'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedDeleteOSPolicyAssignmentRequest', | ||
| 236 | as ArrayRef[DeleteOSPolicyAssignmentRequest()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedDeleteOSPolicyAssignmentRequest', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::OsPolicyAssignments::DeleteOSPolicyAssignmentRequest'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringDeleteOSPolicyAssignmentRequest', | ||
| 242 | as HashRef[DeleteOSPolicyAssignmentRequest()]; | ||
| 243 | |||
| 244 | 1; | ||
| 245 | |||
| 246 | __END__ |