| 1 | package Google::Cloud::Dataplex::V1::DataDocumentation::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 'DataDocumentationSpec', | ||
| 11 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationSpec']; | ||
| 12 | |||
| 13 | coerce 'DataDocumentationSpec', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationSpec'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedDataDocumentationSpec', | ||
| 17 | as ArrayRef[DataDocumentationSpec()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedDataDocumentationSpec', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationSpec'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringDataDocumentationSpec', | ||
| 23 | as HashRef[DataDocumentationSpec()]; | ||
| 24 | |||
| 25 | declare 'GenerationScope', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'DataDocumentationResult', | ||
| 29 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult']; | ||
| 30 | |||
| 31 | coerce 'DataDocumentationResult', | ||
| 32 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedDataDocumentationResult', | ||
| 35 | as ArrayRef[DataDocumentationResult()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedDataDocumentationResult', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringDataDocumentationResult', | ||
| 41 | as HashRef[DataDocumentationResult()]; | ||
| 42 | |||
| 43 | declare 'DatasetResult', | ||
| 44 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::DatasetResult']; | ||
| 45 | |||
| 46 | coerce 'DatasetResult', | ||
| 47 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::DatasetResult'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedDatasetResult', | ||
| 50 | as ArrayRef[DatasetResult()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedDatasetResult', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::DatasetResult'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringDatasetResult', | ||
| 56 | as HashRef[DatasetResult()]; | ||
| 57 | |||
| 58 | declare 'TableResult', | ||
| 59 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::TableResult']; | ||
| 60 | |||
| 61 | coerce 'TableResult', | ||
| 62 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::TableResult'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedTableResult', | ||
| 65 | as ArrayRef[TableResult()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedTableResult', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::TableResult'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringTableResult', | ||
| 71 | as HashRef[TableResult()]; | ||
| 72 | |||
| 73 | declare 'SchemaRelationship', | ||
| 74 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::SchemaRelationship']; | ||
| 75 | |||
| 76 | coerce 'SchemaRelationship', | ||
| 77 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::SchemaRelationship'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedSchemaRelationship', | ||
| 80 | as ArrayRef[SchemaRelationship()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedSchemaRelationship', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::SchemaRelationship'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringSchemaRelationship', | ||
| 86 | as HashRef[SchemaRelationship()]; | ||
| 87 | |||
| 88 | declare 'Source', | ||
| 89 | as (Int | Str); | ||
| 90 | |||
| 91 | declare 'Type', | ||
| 92 | as (Int | Str); | ||
| 93 | |||
| 94 | declare 'SchemaPaths', | ||
| 95 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::SchemaRelationship::SchemaPaths']; | ||
| 96 | |||
| 97 | coerce 'SchemaPaths', | ||
| 98 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::SchemaRelationship::SchemaPaths'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedSchemaPaths', | ||
| 101 | as ArrayRef[SchemaPaths()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedSchemaPaths', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::SchemaRelationship::SchemaPaths'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringSchemaPaths', | ||
| 107 | as HashRef[SchemaPaths()]; | ||
| 108 | |||
| 109 | declare 'Query', | ||
| 110 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Query']; | ||
| 111 | |||
| 112 | coerce 'Query', | ||
| 113 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Query'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedQuery', | ||
| 116 | as ArrayRef[Query()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedQuery', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Query'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringQuery', | ||
| 122 | as HashRef[Query()]; | ||
| 123 | |||
| 124 | declare 'Schema', | ||
| 125 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Schema']; | ||
| 126 | |||
| 127 | coerce 'Schema', | ||
| 128 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Schema'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedSchema', | ||
| 131 | as ArrayRef[Schema()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedSchema', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Schema'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringSchema', | ||
| 137 | as HashRef[Schema()]; | ||
| 138 | |||
| 139 | declare 'Field', | ||
| 140 | as InstanceOf['Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Field']; | ||
| 141 | |||
| 142 | coerce 'Field', | ||
| 143 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Field'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedField', | ||
| 146 | as ArrayRef[Field()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedField', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataDocumentation::DataDocumentationResult::Field'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringField', | ||
| 152 | as HashRef[Field()]; | ||
| 153 | |||
| 154 | 1; | ||
| 155 | |||
| 156 | __END__ |