| 1 | package Google::Cloud::Dataplex::V1::DataProfile::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 'DataProfileSpec', | ||
| 11 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec']; | ||
| 12 | |||
| 13 | coerce 'DataProfileSpec', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedDataProfileSpec', | ||
| 17 | as ArrayRef[DataProfileSpec()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedDataProfileSpec', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringDataProfileSpec', | ||
| 23 | as HashRef[DataProfileSpec()]; | ||
| 24 | |||
| 25 | declare 'Mode', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'PostScanActions', | ||
| 29 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::PostScanActions']; | ||
| 30 | |||
| 31 | coerce 'PostScanActions', | ||
| 32 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::PostScanActions'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedPostScanActions', | ||
| 35 | as ArrayRef[PostScanActions()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedPostScanActions', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::PostScanActions'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringPostScanActions', | ||
| 41 | as HashRef[PostScanActions()]; | ||
| 42 | |||
| 43 | declare 'BigQueryExport', | ||
| 44 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::PostScanActions::BigQueryExport']; | ||
| 45 | |||
| 46 | coerce 'BigQueryExport', | ||
| 47 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::PostScanActions::BigQueryExport'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedBigQueryExport', | ||
| 50 | as ArrayRef[BigQueryExport()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedBigQueryExport', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::PostScanActions::BigQueryExport'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringBigQueryExport', | ||
| 56 | as HashRef[BigQueryExport()]; | ||
| 57 | |||
| 58 | declare 'SelectedFields', | ||
| 59 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::SelectedFields']; | ||
| 60 | |||
| 61 | coerce 'SelectedFields', | ||
| 62 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::SelectedFields'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedSelectedFields', | ||
| 65 | as ArrayRef[SelectedFields()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedSelectedFields', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileSpec::SelectedFields'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringSelectedFields', | ||
| 71 | as HashRef[SelectedFields()]; | ||
| 72 | |||
| 73 | declare 'DataProfileResult', | ||
| 74 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult']; | ||
| 75 | |||
| 76 | coerce 'DataProfileResult', | ||
| 77 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedDataProfileResult', | ||
| 80 | as ArrayRef[DataProfileResult()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedDataProfileResult', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringDataProfileResult', | ||
| 86 | as HashRef[DataProfileResult()]; | ||
| 87 | |||
| 88 | declare 'Profile', | ||
| 89 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile']; | ||
| 90 | |||
| 91 | coerce 'Profile', | ||
| 92 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedProfile', | ||
| 95 | as ArrayRef[Profile()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedProfile', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringProfile', | ||
| 101 | as HashRef[Profile()]; | ||
| 102 | |||
| 103 | declare 'Field', | ||
| 104 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field']; | ||
| 105 | |||
| 106 | coerce 'Field', | ||
| 107 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedField', | ||
| 110 | as ArrayRef[Field()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedField', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringField', | ||
| 116 | as HashRef[Field()]; | ||
| 117 | |||
| 118 | declare 'ProfileInfo', | ||
| 119 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo']; | ||
| 120 | |||
| 121 | coerce 'ProfileInfo', | ||
| 122 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedProfileInfo', | ||
| 125 | as ArrayRef[ProfileInfo()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedProfileInfo', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringProfileInfo', | ||
| 131 | as HashRef[ProfileInfo()]; | ||
| 132 | |||
| 133 | declare 'StringFieldInfo', | ||
| 134 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::StringFieldInfo']; | ||
| 135 | |||
| 136 | coerce 'StringFieldInfo', | ||
| 137 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::StringFieldInfo'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedStringFieldInfo', | ||
| 140 | as ArrayRef[StringFieldInfo()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedStringFieldInfo', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::StringFieldInfo'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringStringFieldInfo', | ||
| 146 | as HashRef[StringFieldInfo()]; | ||
| 147 | |||
| 148 | declare 'IntegerFieldInfo', | ||
| 149 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::IntegerFieldInfo']; | ||
| 150 | |||
| 151 | coerce 'IntegerFieldInfo', | ||
| 152 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::IntegerFieldInfo'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedIntegerFieldInfo', | ||
| 155 | as ArrayRef[IntegerFieldInfo()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedIntegerFieldInfo', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::IntegerFieldInfo'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringIntegerFieldInfo', | ||
| 161 | as HashRef[IntegerFieldInfo()]; | ||
| 162 | |||
| 163 | declare 'DoubleFieldInfo', | ||
| 164 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::DoubleFieldInfo']; | ||
| 165 | |||
| 166 | coerce 'DoubleFieldInfo', | ||
| 167 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::DoubleFieldInfo'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedDoubleFieldInfo', | ||
| 170 | as ArrayRef[DoubleFieldInfo()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedDoubleFieldInfo', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::DoubleFieldInfo'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringDoubleFieldInfo', | ||
| 176 | as HashRef[DoubleFieldInfo()]; | ||
| 177 | |||
| 178 | declare 'TopNValue', | ||
| 179 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::TopNValue']; | ||
| 180 | |||
| 181 | coerce 'TopNValue', | ||
| 182 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::TopNValue'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedTopNValue', | ||
| 185 | as ArrayRef[TopNValue()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedTopNValue', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::Profile::Field::ProfileInfo::TopNValue'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringTopNValue', | ||
| 191 | as HashRef[TopNValue()]; | ||
| 192 | |||
| 193 | declare 'PostScanActionsResult', | ||
| 194 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::PostScanActionsResult']; | ||
| 195 | |||
| 196 | coerce 'PostScanActionsResult', | ||
| 197 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::PostScanActionsResult'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedPostScanActionsResult', | ||
| 200 | as ArrayRef[PostScanActionsResult()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedPostScanActionsResult', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::PostScanActionsResult'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringPostScanActionsResult', | ||
| 206 | as HashRef[PostScanActionsResult()]; | ||
| 207 | |||
| 208 | declare 'BigQueryExportResult', | ||
| 209 | as InstanceOf['Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::PostScanActionsResult::BigQueryExportResult']; | ||
| 210 | |||
| 211 | coerce 'BigQueryExportResult', | ||
| 212 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::PostScanActionsResult::BigQueryExportResult'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedBigQueryExportResult', | ||
| 215 | as ArrayRef[BigQueryExportResult()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedBigQueryExportResult', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataProfile::DataProfileResult::PostScanActionsResult::BigQueryExportResult'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringBigQueryExportResult', | ||
| 221 | as HashRef[BigQueryExportResult()]; | ||
| 222 | |||
| 223 | declare 'State', | ||
| 224 | as (Int | Str); | ||
| 225 | |||
| 226 | 1; | ||
| 227 | |||
| 228 | __END__ |