| 1 | package Google::Cloud::Dataplex::V1::Logs::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 'DiscoveryEvent', | ||
| 11 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent']; | ||
| 12 | |||
| 13 | coerce 'DiscoveryEvent', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedDiscoveryEvent', | ||
| 17 | as ArrayRef[DiscoveryEvent()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedDiscoveryEvent', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringDiscoveryEvent', | ||
| 23 | as HashRef[DiscoveryEvent()]; | ||
| 24 | |||
| 25 | declare 'EventType', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'EntityType', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'TableType', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'ConfigDetails', | ||
| 35 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ConfigDetails']; | ||
| 36 | |||
| 37 | coerce 'ConfigDetails', | ||
| 38 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ConfigDetails'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedConfigDetails', | ||
| 41 | as ArrayRef[ConfigDetails()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedConfigDetails', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ConfigDetails'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringConfigDetails', | ||
| 47 | as HashRef[ConfigDetails()]; | ||
| 48 | |||
| 49 | declare 'ParametersEntry', | ||
| 50 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ConfigDetails::ParametersEntry']; | ||
| 51 | |||
| 52 | coerce 'ParametersEntry', | ||
| 53 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ConfigDetails::ParametersEntry'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedParametersEntry', | ||
| 56 | as ArrayRef[ParametersEntry()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedParametersEntry', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ConfigDetails::ParametersEntry'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringParametersEntry', | ||
| 62 | as HashRef[ParametersEntry()]; | ||
| 63 | |||
| 64 | declare 'EntityDetails', | ||
| 65 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::EntityDetails']; | ||
| 66 | |||
| 67 | coerce 'EntityDetails', | ||
| 68 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::EntityDetails'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedEntityDetails', | ||
| 71 | as ArrayRef[EntityDetails()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedEntityDetails', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::EntityDetails'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringEntityDetails', | ||
| 77 | as HashRef[EntityDetails()]; | ||
| 78 | |||
| 79 | declare 'TableDetails', | ||
| 80 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::TableDetails']; | ||
| 81 | |||
| 82 | coerce 'TableDetails', | ||
| 83 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::TableDetails'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedTableDetails', | ||
| 86 | as ArrayRef[TableDetails()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedTableDetails', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::TableDetails'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringTableDetails', | ||
| 92 | as HashRef[TableDetails()]; | ||
| 93 | |||
| 94 | declare 'PartitionDetails', | ||
| 95 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::PartitionDetails']; | ||
| 96 | |||
| 97 | coerce 'PartitionDetails', | ||
| 98 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::PartitionDetails'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedPartitionDetails', | ||
| 101 | as ArrayRef[PartitionDetails()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedPartitionDetails', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::PartitionDetails'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringPartitionDetails', | ||
| 107 | as HashRef[PartitionDetails()]; | ||
| 108 | |||
| 109 | declare 'ActionDetails', | ||
| 110 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ActionDetails']; | ||
| 111 | |||
| 112 | coerce 'ActionDetails', | ||
| 113 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ActionDetails'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedActionDetails', | ||
| 116 | as ArrayRef[ActionDetails()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedActionDetails', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DiscoveryEvent::ActionDetails'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringActionDetails', | ||
| 122 | as HashRef[ActionDetails()]; | ||
| 123 | |||
| 124 | declare 'JobEvent', | ||
| 125 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::JobEvent']; | ||
| 126 | |||
| 127 | coerce 'JobEvent', | ||
| 128 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::JobEvent'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedJobEvent', | ||
| 131 | as ArrayRef[JobEvent()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedJobEvent', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::JobEvent'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringJobEvent', | ||
| 137 | as HashRef[JobEvent()]; | ||
| 138 | |||
| 139 | declare 'Type', | ||
| 140 | as (Int | Str); | ||
| 141 | |||
| 142 | declare 'State', | ||
| 143 | as (Int | Str); | ||
| 144 | |||
| 145 | declare 'Service', | ||
| 146 | as (Int | Str); | ||
| 147 | |||
| 148 | declare 'ExecutionTrigger', | ||
| 149 | as (Int | Str); | ||
| 150 | |||
| 151 | declare 'SessionEvent', | ||
| 152 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::SessionEvent']; | ||
| 153 | |||
| 154 | coerce 'SessionEvent', | ||
| 155 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::SessionEvent'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedSessionEvent', | ||
| 158 | as ArrayRef[SessionEvent()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedSessionEvent', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::SessionEvent'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringSessionEvent', | ||
| 164 | as HashRef[SessionEvent()]; | ||
| 165 | |||
| 166 | declare 'EventType', | ||
| 167 | as (Int | Str); | ||
| 168 | |||
| 169 | declare 'QueryDetail', | ||
| 170 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::SessionEvent::QueryDetail']; | ||
| 171 | |||
| 172 | coerce 'QueryDetail', | ||
| 173 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::SessionEvent::QueryDetail'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedQueryDetail', | ||
| 176 | as ArrayRef[QueryDetail()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedQueryDetail', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::SessionEvent::QueryDetail'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringQueryDetail', | ||
| 182 | as HashRef[QueryDetail()]; | ||
| 183 | |||
| 184 | declare 'Engine', | ||
| 185 | as (Int | Str); | ||
| 186 | |||
| 187 | declare 'GovernanceEvent', | ||
| 188 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::GovernanceEvent']; | ||
| 189 | |||
| 190 | coerce 'GovernanceEvent', | ||
| 191 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::GovernanceEvent'->new($_) }; | ||
| 192 | |||
| 193 | declare 'RepeatedGovernanceEvent', | ||
| 194 | as ArrayRef[GovernanceEvent()]; | ||
| 195 | |||
| 196 | coerce 'RepeatedGovernanceEvent', | ||
| 197 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::GovernanceEvent'->new($_) } @$_ ] }; | ||
| 198 | |||
| 199 | declare 'MapStringGovernanceEvent', | ||
| 200 | as HashRef[GovernanceEvent()]; | ||
| 201 | |||
| 202 | declare 'EventType', | ||
| 203 | as (Int | Str); | ||
| 204 | |||
| 205 | declare 'Entity', | ||
| 206 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::GovernanceEvent::Entity']; | ||
| 207 | |||
| 208 | coerce 'Entity', | ||
| 209 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::GovernanceEvent::Entity'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedEntity', | ||
| 212 | as ArrayRef[Entity()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedEntity', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::GovernanceEvent::Entity'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringEntity', | ||
| 218 | as HashRef[Entity()]; | ||
| 219 | |||
| 220 | declare 'EntityType', | ||
| 221 | as (Int | Str); | ||
| 222 | |||
| 223 | declare 'DataScanEvent', | ||
| 224 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent']; | ||
| 225 | |||
| 226 | coerce 'DataScanEvent', | ||
| 227 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedDataScanEvent', | ||
| 230 | as ArrayRef[DataScanEvent()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedDataScanEvent', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringDataScanEvent', | ||
| 236 | as HashRef[DataScanEvent()]; | ||
| 237 | |||
| 238 | declare 'ScanType', | ||
| 239 | as (Int | Str); | ||
| 240 | |||
| 241 | declare 'State', | ||
| 242 | as (Int | Str); | ||
| 243 | |||
| 244 | declare 'Trigger', | ||
| 245 | as (Int | Str); | ||
| 246 | |||
| 247 | declare 'Scope', | ||
| 248 | as (Int | Str); | ||
| 249 | |||
| 250 | declare 'DataProfileResult', | ||
| 251 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataProfileResult']; | ||
| 252 | |||
| 253 | coerce 'DataProfileResult', | ||
| 254 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataProfileResult'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedDataProfileResult', | ||
| 257 | as ArrayRef[DataProfileResult()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedDataProfileResult', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataProfileResult'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringDataProfileResult', | ||
| 263 | as HashRef[DataProfileResult()]; | ||
| 264 | |||
| 265 | declare 'DataQualityResult', | ||
| 266 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult']; | ||
| 267 | |||
| 268 | coerce 'DataQualityResult', | ||
| 269 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedDataQualityResult', | ||
| 272 | as ArrayRef[DataQualityResult()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedDataQualityResult', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringDataQualityResult', | ||
| 278 | as HashRef[DataQualityResult()]; | ||
| 279 | |||
| 280 | declare 'DimensionPassedEntry', | ||
| 281 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::DimensionPassedEntry']; | ||
| 282 | |||
| 283 | coerce 'DimensionPassedEntry', | ||
| 284 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::DimensionPassedEntry'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedDimensionPassedEntry', | ||
| 287 | as ArrayRef[DimensionPassedEntry()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedDimensionPassedEntry', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::DimensionPassedEntry'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringDimensionPassedEntry', | ||
| 293 | as HashRef[DimensionPassedEntry()]; | ||
| 294 | |||
| 295 | declare 'DimensionScoreEntry', | ||
| 296 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::DimensionScoreEntry']; | ||
| 297 | |||
| 298 | coerce 'DimensionScoreEntry', | ||
| 299 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::DimensionScoreEntry'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedDimensionScoreEntry', | ||
| 302 | as ArrayRef[DimensionScoreEntry()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedDimensionScoreEntry', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::DimensionScoreEntry'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringDimensionScoreEntry', | ||
| 308 | as HashRef[DimensionScoreEntry()]; | ||
| 309 | |||
| 310 | declare 'ColumnScoreEntry', | ||
| 311 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::ColumnScoreEntry']; | ||
| 312 | |||
| 313 | coerce 'ColumnScoreEntry', | ||
| 314 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::ColumnScoreEntry'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedColumnScoreEntry', | ||
| 317 | as ArrayRef[ColumnScoreEntry()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedColumnScoreEntry', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityResult::ColumnScoreEntry'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringColumnScoreEntry', | ||
| 323 | as HashRef[ColumnScoreEntry()]; | ||
| 324 | |||
| 325 | declare 'DataProfileAppliedConfigs', | ||
| 326 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataProfileAppliedConfigs']; | ||
| 327 | |||
| 328 | coerce 'DataProfileAppliedConfigs', | ||
| 329 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataProfileAppliedConfigs'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedDataProfileAppliedConfigs', | ||
| 332 | as ArrayRef[DataProfileAppliedConfigs()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedDataProfileAppliedConfigs', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataProfileAppliedConfigs'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringDataProfileAppliedConfigs', | ||
| 338 | as HashRef[DataProfileAppliedConfigs()]; | ||
| 339 | |||
| 340 | declare 'DataQualityAppliedConfigs', | ||
| 341 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityAppliedConfigs']; | ||
| 342 | |||
| 343 | coerce 'DataQualityAppliedConfigs', | ||
| 344 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityAppliedConfigs'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedDataQualityAppliedConfigs', | ||
| 347 | as ArrayRef[DataQualityAppliedConfigs()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedDataQualityAppliedConfigs', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::DataQualityAppliedConfigs'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringDataQualityAppliedConfigs', | ||
| 353 | as HashRef[DataQualityAppliedConfigs()]; | ||
| 354 | |||
| 355 | declare 'PostScanActionsResult', | ||
| 356 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::PostScanActionsResult']; | ||
| 357 | |||
| 358 | coerce 'PostScanActionsResult', | ||
| 359 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::PostScanActionsResult'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedPostScanActionsResult', | ||
| 362 | as ArrayRef[PostScanActionsResult()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedPostScanActionsResult', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::PostScanActionsResult'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringPostScanActionsResult', | ||
| 368 | as HashRef[PostScanActionsResult()]; | ||
| 369 | |||
| 370 | declare 'BigQueryExportResult', | ||
| 371 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataScanEvent::PostScanActionsResult::BigQueryExportResult']; | ||
| 372 | |||
| 373 | coerce 'BigQueryExportResult', | ||
| 374 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::PostScanActionsResult::BigQueryExportResult'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedBigQueryExportResult', | ||
| 377 | as ArrayRef[BigQueryExportResult()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedBigQueryExportResult', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataScanEvent::PostScanActionsResult::BigQueryExportResult'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringBigQueryExportResult', | ||
| 383 | as HashRef[BigQueryExportResult()]; | ||
| 384 | |||
| 385 | declare 'State', | ||
| 386 | as (Int | Str); | ||
| 387 | |||
| 388 | declare 'DataQualityScanRuleResult', | ||
| 389 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::DataQualityScanRuleResult']; | ||
| 390 | |||
| 391 | coerce 'DataQualityScanRuleResult', | ||
| 392 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::DataQualityScanRuleResult'->new($_) }; | ||
| 393 | |||
| 394 | declare 'RepeatedDataQualityScanRuleResult', | ||
| 395 | as ArrayRef[DataQualityScanRuleResult()]; | ||
| 396 | |||
| 397 | coerce 'RepeatedDataQualityScanRuleResult', | ||
| 398 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::DataQualityScanRuleResult'->new($_) } @$_ ] }; | ||
| 399 | |||
| 400 | declare 'MapStringDataQualityScanRuleResult', | ||
| 401 | as HashRef[DataQualityScanRuleResult()]; | ||
| 402 | |||
| 403 | declare 'RuleType', | ||
| 404 | as (Int | Str); | ||
| 405 | |||
| 406 | declare 'EvaluationType', | ||
| 407 | as (Int | Str); | ||
| 408 | |||
| 409 | declare 'Result', | ||
| 410 | as (Int | Str); | ||
| 411 | |||
| 412 | declare 'BusinessGlossaryEvent', | ||
| 413 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::BusinessGlossaryEvent']; | ||
| 414 | |||
| 415 | coerce 'BusinessGlossaryEvent', | ||
| 416 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::BusinessGlossaryEvent'->new($_) }; | ||
| 417 | |||
| 418 | declare 'RepeatedBusinessGlossaryEvent', | ||
| 419 | as ArrayRef[BusinessGlossaryEvent()]; | ||
| 420 | |||
| 421 | coerce 'RepeatedBusinessGlossaryEvent', | ||
| 422 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::BusinessGlossaryEvent'->new($_) } @$_ ] }; | ||
| 423 | |||
| 424 | declare 'MapStringBusinessGlossaryEvent', | ||
| 425 | as HashRef[BusinessGlossaryEvent()]; | ||
| 426 | |||
| 427 | declare 'EventType', | ||
| 428 | as (Int | Str); | ||
| 429 | |||
| 430 | declare 'EntryLinkEvent', | ||
| 431 | as InstanceOf['Google::Cloud::Dataplex::V1::Logs::EntryLinkEvent']; | ||
| 432 | |||
| 433 | coerce 'EntryLinkEvent', | ||
| 434 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Logs::EntryLinkEvent'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedEntryLinkEvent', | ||
| 437 | as ArrayRef[EntryLinkEvent()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedEntryLinkEvent', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Logs::EntryLinkEvent'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringEntryLinkEvent', | ||
| 443 | as HashRef[EntryLinkEvent()]; | ||
| 444 | |||
| 445 | declare 'EventType', | ||
| 446 | as (Int | Str); | ||
| 447 | |||
| 448 | 1; | ||
| 449 | |||
| 450 | __END__ |