| 1 | package Google::Cloud::Osconfig::V1::Inventory::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 'InventoryView', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'Inventory', | ||
| 14 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory']; | ||
| 15 | |||
| 16 | coerce 'Inventory', | ||
| 17 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedInventory', | ||
| 20 | as ArrayRef[Inventory()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedInventory', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringInventory', | ||
| 26 | as HashRef[Inventory()]; | ||
| 27 | |||
| 28 | declare 'OsInfo', | ||
| 29 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::OsInfo']; | ||
| 30 | |||
| 31 | coerce 'OsInfo', | ||
| 32 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::OsInfo'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedOsInfo', | ||
| 35 | as ArrayRef[OsInfo()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedOsInfo', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::OsInfo'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringOsInfo', | ||
| 41 | as HashRef[OsInfo()]; | ||
| 42 | |||
| 43 | declare 'Item', | ||
| 44 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::Item']; | ||
| 45 | |||
| 46 | coerce 'Item', | ||
| 47 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::Item'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedItem', | ||
| 50 | as ArrayRef[Item()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedItem', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::Item'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringItem', | ||
| 56 | as HashRef[Item()]; | ||
| 57 | |||
| 58 | declare 'OriginType', | ||
| 59 | as (Int | Str); | ||
| 60 | |||
| 61 | declare 'Type', | ||
| 62 | as (Int | Str); | ||
| 63 | |||
| 64 | declare 'SoftwarePackage', | ||
| 65 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::SoftwarePackage']; | ||
| 66 | |||
| 67 | coerce 'SoftwarePackage', | ||
| 68 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::SoftwarePackage'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedSoftwarePackage', | ||
| 71 | as ArrayRef[SoftwarePackage()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedSoftwarePackage', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::SoftwarePackage'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringSoftwarePackage', | ||
| 77 | as HashRef[SoftwarePackage()]; | ||
| 78 | |||
| 79 | declare 'VersionedPackage', | ||
| 80 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::VersionedPackage']; | ||
| 81 | |||
| 82 | coerce 'VersionedPackage', | ||
| 83 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::VersionedPackage'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedVersionedPackage', | ||
| 86 | as ArrayRef[VersionedPackage()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedVersionedPackage', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::VersionedPackage'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringVersionedPackage', | ||
| 92 | as HashRef[VersionedPackage()]; | ||
| 93 | |||
| 94 | declare 'ZypperPatch', | ||
| 95 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::ZypperPatch']; | ||
| 96 | |||
| 97 | coerce 'ZypperPatch', | ||
| 98 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::ZypperPatch'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedZypperPatch', | ||
| 101 | as ArrayRef[ZypperPatch()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedZypperPatch', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::ZypperPatch'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringZypperPatch', | ||
| 107 | as HashRef[ZypperPatch()]; | ||
| 108 | |||
| 109 | declare 'WindowsUpdatePackage', | ||
| 110 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsUpdatePackage']; | ||
| 111 | |||
| 112 | coerce 'WindowsUpdatePackage', | ||
| 113 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsUpdatePackage'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedWindowsUpdatePackage', | ||
| 116 | as ArrayRef[WindowsUpdatePackage()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedWindowsUpdatePackage', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsUpdatePackage'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringWindowsUpdatePackage', | ||
| 122 | as HashRef[WindowsUpdatePackage()]; | ||
| 123 | |||
| 124 | declare 'WindowsUpdateCategory', | ||
| 125 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsUpdatePackage::WindowsUpdateCategory']; | ||
| 126 | |||
| 127 | coerce 'WindowsUpdateCategory', | ||
| 128 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsUpdatePackage::WindowsUpdateCategory'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedWindowsUpdateCategory', | ||
| 131 | as ArrayRef[WindowsUpdateCategory()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedWindowsUpdateCategory', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsUpdatePackage::WindowsUpdateCategory'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringWindowsUpdateCategory', | ||
| 137 | as HashRef[WindowsUpdateCategory()]; | ||
| 138 | |||
| 139 | declare 'WindowsQuickFixEngineeringPackage', | ||
| 140 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsQuickFixEngineeringPackage']; | ||
| 141 | |||
| 142 | coerce 'WindowsQuickFixEngineeringPackage', | ||
| 143 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsQuickFixEngineeringPackage'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedWindowsQuickFixEngineeringPackage', | ||
| 146 | as ArrayRef[WindowsQuickFixEngineeringPackage()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedWindowsQuickFixEngineeringPackage', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsQuickFixEngineeringPackage'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringWindowsQuickFixEngineeringPackage', | ||
| 152 | as HashRef[WindowsQuickFixEngineeringPackage()]; | ||
| 153 | |||
| 154 | declare 'WindowsApplication', | ||
| 155 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsApplication']; | ||
| 156 | |||
| 157 | coerce 'WindowsApplication', | ||
| 158 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsApplication'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedWindowsApplication', | ||
| 161 | as ArrayRef[WindowsApplication()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedWindowsApplication', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::WindowsApplication'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringWindowsApplication', | ||
| 167 | as HashRef[WindowsApplication()]; | ||
| 168 | |||
| 169 | declare 'ItemsEntry', | ||
| 170 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::Inventory::ItemsEntry']; | ||
| 171 | |||
| 172 | coerce 'ItemsEntry', | ||
| 173 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::ItemsEntry'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedItemsEntry', | ||
| 176 | as ArrayRef[ItemsEntry()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedItemsEntry', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::Inventory::ItemsEntry'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringItemsEntry', | ||
| 182 | as HashRef[ItemsEntry()]; | ||
| 183 | |||
| 184 | declare 'GetInventoryRequest', | ||
| 185 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::GetInventoryRequest']; | ||
| 186 | |||
| 187 | coerce 'GetInventoryRequest', | ||
| 188 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::GetInventoryRequest'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedGetInventoryRequest', | ||
| 191 | as ArrayRef[GetInventoryRequest()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedGetInventoryRequest', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::GetInventoryRequest'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringGetInventoryRequest', | ||
| 197 | as HashRef[GetInventoryRequest()]; | ||
| 198 | |||
| 199 | declare 'ListInventoriesRequest', | ||
| 200 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::ListInventoriesRequest']; | ||
| 201 | |||
| 202 | coerce 'ListInventoriesRequest', | ||
| 203 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::ListInventoriesRequest'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedListInventoriesRequest', | ||
| 206 | as ArrayRef[ListInventoriesRequest()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedListInventoriesRequest', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::ListInventoriesRequest'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringListInventoriesRequest', | ||
| 212 | as HashRef[ListInventoriesRequest()]; | ||
| 213 | |||
| 214 | declare 'ListInventoriesResponse', | ||
| 215 | as InstanceOf['Google::Cloud::Osconfig::V1::Inventory::ListInventoriesResponse']; | ||
| 216 | |||
| 217 | coerce 'ListInventoriesResponse', | ||
| 218 | from HashRef, via { 'Google::Cloud::Osconfig::V1::Inventory::ListInventoriesResponse'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedListInventoriesResponse', | ||
| 221 | as ArrayRef[ListInventoriesResponse()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedListInventoriesResponse', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1::Inventory::ListInventoriesResponse'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringListInventoriesResponse', | ||
| 227 | as HashRef[ListInventoriesResponse()]; | ||
| 228 | |||
| 229 | 1; | ||
| 230 | |||
| 231 | __END__ |