| 1 | package Google::Cloud::Kms::Inventory::V1::KeyTrackingService::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 'FallbackScope', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'GetProtectedResourcesSummaryRequest', | ||
| 14 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::GetProtectedResourcesSummaryRequest']; | ||
| 15 | |||
| 16 | coerce 'GetProtectedResourcesSummaryRequest', | ||
| 17 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::GetProtectedResourcesSummaryRequest'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedGetProtectedResourcesSummaryRequest', | ||
| 20 | as ArrayRef[GetProtectedResourcesSummaryRequest()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedGetProtectedResourcesSummaryRequest', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::GetProtectedResourcesSummaryRequest'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringGetProtectedResourcesSummaryRequest', | ||
| 26 | as HashRef[GetProtectedResourcesSummaryRequest()]; | ||
| 27 | |||
| 28 | declare 'ProtectedResourcesSummary', | ||
| 29 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary']; | ||
| 30 | |||
| 31 | coerce 'ProtectedResourcesSummary', | ||
| 32 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedProtectedResourcesSummary', | ||
| 35 | as ArrayRef[ProtectedResourcesSummary()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedProtectedResourcesSummary', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringProtectedResourcesSummary', | ||
| 41 | as HashRef[ProtectedResourcesSummary()]; | ||
| 42 | |||
| 43 | declare 'ResourceTypesEntry', | ||
| 44 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::ResourceTypesEntry']; | ||
| 45 | |||
| 46 | coerce 'ResourceTypesEntry', | ||
| 47 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::ResourceTypesEntry'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedResourceTypesEntry', | ||
| 50 | as ArrayRef[ResourceTypesEntry()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedResourceTypesEntry', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::ResourceTypesEntry'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringResourceTypesEntry', | ||
| 56 | as HashRef[ResourceTypesEntry()]; | ||
| 57 | |||
| 58 | declare 'CloudProductsEntry', | ||
| 59 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::CloudProductsEntry']; | ||
| 60 | |||
| 61 | coerce 'CloudProductsEntry', | ||
| 62 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::CloudProductsEntry'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedCloudProductsEntry', | ||
| 65 | as ArrayRef[CloudProductsEntry()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedCloudProductsEntry', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::CloudProductsEntry'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringCloudProductsEntry', | ||
| 71 | as HashRef[CloudProductsEntry()]; | ||
| 72 | |||
| 73 | declare 'LocationsEntry', | ||
| 74 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::LocationsEntry']; | ||
| 75 | |||
| 76 | coerce 'LocationsEntry', | ||
| 77 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::LocationsEntry'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedLocationsEntry', | ||
| 80 | as ArrayRef[LocationsEntry()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedLocationsEntry', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResourcesSummary::LocationsEntry'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringLocationsEntry', | ||
| 86 | as HashRef[LocationsEntry()]; | ||
| 87 | |||
| 88 | declare 'SearchProtectedResourcesRequest', | ||
| 89 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::SearchProtectedResourcesRequest']; | ||
| 90 | |||
| 91 | coerce 'SearchProtectedResourcesRequest', | ||
| 92 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::SearchProtectedResourcesRequest'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedSearchProtectedResourcesRequest', | ||
| 95 | as ArrayRef[SearchProtectedResourcesRequest()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedSearchProtectedResourcesRequest', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::SearchProtectedResourcesRequest'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringSearchProtectedResourcesRequest', | ||
| 101 | as HashRef[SearchProtectedResourcesRequest()]; | ||
| 102 | |||
| 103 | declare 'SearchProtectedResourcesResponse', | ||
| 104 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::SearchProtectedResourcesResponse']; | ||
| 105 | |||
| 106 | coerce 'SearchProtectedResourcesResponse', | ||
| 107 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::SearchProtectedResourcesResponse'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedSearchProtectedResourcesResponse', | ||
| 110 | as ArrayRef[SearchProtectedResourcesResponse()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedSearchProtectedResourcesResponse', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::SearchProtectedResourcesResponse'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringSearchProtectedResourcesResponse', | ||
| 116 | as HashRef[SearchProtectedResourcesResponse()]; | ||
| 117 | |||
| 118 | declare 'ProtectedResource', | ||
| 119 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResource']; | ||
| 120 | |||
| 121 | coerce 'ProtectedResource', | ||
| 122 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResource'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedProtectedResource', | ||
| 125 | as ArrayRef[ProtectedResource()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedProtectedResource', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResource'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringProtectedResource', | ||
| 131 | as HashRef[ProtectedResource()]; | ||
| 132 | |||
| 133 | declare 'LabelsEntry', | ||
| 134 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResource::LabelsEntry']; | ||
| 135 | |||
| 136 | coerce 'LabelsEntry', | ||
| 137 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResource::LabelsEntry'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedLabelsEntry', | ||
| 140 | as ArrayRef[LabelsEntry()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedLabelsEntry', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::ProtectedResource::LabelsEntry'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringLabelsEntry', | ||
| 146 | as HashRef[LabelsEntry()]; | ||
| 147 | |||
| 148 | declare 'Warning', | ||
| 149 | as InstanceOf['Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Warning']; | ||
| 150 | |||
| 151 | coerce 'Warning', | ||
| 152 | from HashRef, via { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Warning'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedWarning', | ||
| 155 | as ArrayRef[Warning()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedWarning', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Warning'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringWarning', | ||
| 161 | as HashRef[Warning()]; | ||
| 162 | |||
| 163 | declare 'WarningCode', | ||
| 164 | as (Int | Str); | ||
| 165 | |||
| 166 | 1; | ||
| 167 | |||
| 168 | __END__ |