| 1 | package Google::Cloud::Geminidataanalytics::V1alpha::Datasource::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 'DataFilterType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'DatasourceReferences', | ||
| 14 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatasourceReferences']; | ||
| 15 | |||
| 16 | coerce 'DatasourceReferences', | ||
| 17 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatasourceReferences'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedDatasourceReferences', | ||
| 20 | as ArrayRef[DatasourceReferences()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedDatasourceReferences', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatasourceReferences'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringDatasourceReferences', | ||
| 26 | as HashRef[DatasourceReferences()]; | ||
| 27 | |||
| 28 | declare 'BigQueryTableReferences', | ||
| 29 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryTableReferences']; | ||
| 30 | |||
| 31 | coerce 'BigQueryTableReferences', | ||
| 32 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryTableReferences'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedBigQueryTableReferences', | ||
| 35 | as ArrayRef[BigQueryTableReferences()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedBigQueryTableReferences', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryTableReferences'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringBigQueryTableReferences', | ||
| 41 | as HashRef[BigQueryTableReferences()]; | ||
| 42 | |||
| 43 | declare 'BigQueryTableReference', | ||
| 44 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryTableReference']; | ||
| 45 | |||
| 46 | coerce 'BigQueryTableReference', | ||
| 47 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryTableReference'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedBigQueryTableReference', | ||
| 50 | as ArrayRef[BigQueryTableReference()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedBigQueryTableReference', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryTableReference'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringBigQueryTableReference', | ||
| 56 | as HashRef[BigQueryTableReference()]; | ||
| 57 | |||
| 58 | declare 'BigQueryDatasetReference', | ||
| 59 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryDatasetReference']; | ||
| 60 | |||
| 61 | coerce 'BigQueryDatasetReference', | ||
| 62 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryDatasetReference'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedBigQueryDatasetReference', | ||
| 65 | as ArrayRef[BigQueryDatasetReference()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedBigQueryDatasetReference', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryDatasetReference'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringBigQueryDatasetReference', | ||
| 71 | as HashRef[BigQueryDatasetReference()]; | ||
| 72 | |||
| 73 | declare 'SearchScope', | ||
| 74 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SearchScope']; | ||
| 75 | |||
| 76 | coerce 'SearchScope', | ||
| 77 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SearchScope'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedSearchScope', | ||
| 80 | as ArrayRef[SearchScope()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedSearchScope', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SearchScope'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringSearchScope', | ||
| 86 | as HashRef[SearchScope()]; | ||
| 87 | |||
| 88 | declare 'StudioDatasourceReferences', | ||
| 89 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::StudioDatasourceReferences']; | ||
| 90 | |||
| 91 | coerce 'StudioDatasourceReferences', | ||
| 92 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::StudioDatasourceReferences'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedStudioDatasourceReferences', | ||
| 95 | as ArrayRef[StudioDatasourceReferences()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedStudioDatasourceReferences', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::StudioDatasourceReferences'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringStudioDatasourceReferences', | ||
| 101 | as HashRef[StudioDatasourceReferences()]; | ||
| 102 | |||
| 103 | declare 'StudioDatasourceReference', | ||
| 104 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::StudioDatasourceReference']; | ||
| 105 | |||
| 106 | coerce 'StudioDatasourceReference', | ||
| 107 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::StudioDatasourceReference'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedStudioDatasourceReference', | ||
| 110 | as ArrayRef[StudioDatasourceReference()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedStudioDatasourceReference', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::StudioDatasourceReference'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringStudioDatasourceReference', | ||
| 116 | as HashRef[StudioDatasourceReference()]; | ||
| 117 | |||
| 118 | declare 'AlloyDbReference', | ||
| 119 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::AlloyDbReference']; | ||
| 120 | |||
| 121 | coerce 'AlloyDbReference', | ||
| 122 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::AlloyDbReference'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedAlloyDbReference', | ||
| 125 | as ArrayRef[AlloyDbReference()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedAlloyDbReference', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::AlloyDbReference'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringAlloyDbReference', | ||
| 131 | as HashRef[AlloyDbReference()]; | ||
| 132 | |||
| 133 | declare 'DatabaseTableReference', | ||
| 134 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference']; | ||
| 135 | |||
| 136 | coerce 'DatabaseTableReference', | ||
| 137 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedDatabaseTableReference', | ||
| 140 | as ArrayRef[DatabaseTableReference()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedDatabaseTableReference', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DatabaseTableReference'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringDatabaseTableReference', | ||
| 146 | as HashRef[DatabaseTableReference()]; | ||
| 147 | |||
| 148 | declare 'AlloyDbDatabaseReference', | ||
| 149 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::AlloyDbDatabaseReference']; | ||
| 150 | |||
| 151 | coerce 'AlloyDbDatabaseReference', | ||
| 152 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::AlloyDbDatabaseReference'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedAlloyDbDatabaseReference', | ||
| 155 | as ArrayRef[AlloyDbDatabaseReference()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedAlloyDbDatabaseReference', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::AlloyDbDatabaseReference'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringAlloyDbDatabaseReference', | ||
| 161 | as HashRef[AlloyDbDatabaseReference()]; | ||
| 162 | |||
| 163 | declare 'BigtableReference', | ||
| 164 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigtableReference']; | ||
| 165 | |||
| 166 | coerce 'BigtableReference', | ||
| 167 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigtableReference'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedBigtableReference', | ||
| 170 | as ArrayRef[BigtableReference()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedBigtableReference', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigtableReference'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringBigtableReference', | ||
| 176 | as HashRef[BigtableReference()]; | ||
| 177 | |||
| 178 | declare 'BigtableDatabaseReference', | ||
| 179 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigtableDatabaseReference']; | ||
| 180 | |||
| 181 | coerce 'BigtableDatabaseReference', | ||
| 182 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigtableDatabaseReference'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedBigtableDatabaseReference', | ||
| 185 | as ArrayRef[BigtableDatabaseReference()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedBigtableDatabaseReference', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigtableDatabaseReference'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringBigtableDatabaseReference', | ||
| 191 | as HashRef[BigtableDatabaseReference()]; | ||
| 192 | |||
| 193 | declare 'FirestoreReference', | ||
| 194 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::FirestoreReference']; | ||
| 195 | |||
| 196 | coerce 'FirestoreReference', | ||
| 197 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::FirestoreReference'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedFirestoreReference', | ||
| 200 | as ArrayRef[FirestoreReference()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedFirestoreReference', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::FirestoreReference'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringFirestoreReference', | ||
| 206 | as HashRef[FirestoreReference()]; | ||
| 207 | |||
| 208 | declare 'FirestoreDatabaseReference', | ||
| 209 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::FirestoreDatabaseReference']; | ||
| 210 | |||
| 211 | coerce 'FirestoreDatabaseReference', | ||
| 212 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::FirestoreDatabaseReference'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedFirestoreDatabaseReference', | ||
| 215 | as ArrayRef[FirestoreDatabaseReference()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedFirestoreDatabaseReference', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::FirestoreDatabaseReference'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringFirestoreDatabaseReference', | ||
| 221 | as HashRef[FirestoreDatabaseReference()]; | ||
| 222 | |||
| 223 | declare 'SpannerReference', | ||
| 224 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SpannerReference']; | ||
| 225 | |||
| 226 | coerce 'SpannerReference', | ||
| 227 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SpannerReference'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedSpannerReference', | ||
| 230 | as ArrayRef[SpannerReference()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedSpannerReference', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SpannerReference'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringSpannerReference', | ||
| 236 | as HashRef[SpannerReference()]; | ||
| 237 | |||
| 238 | declare 'SpannerDatabaseReference', | ||
| 239 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SpannerDatabaseReference']; | ||
| 240 | |||
| 241 | coerce 'SpannerDatabaseReference', | ||
| 242 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SpannerDatabaseReference'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedSpannerDatabaseReference', | ||
| 245 | as ArrayRef[SpannerDatabaseReference()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedSpannerDatabaseReference', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::SpannerDatabaseReference'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringSpannerDatabaseReference', | ||
| 251 | as HashRef[SpannerDatabaseReference()]; | ||
| 252 | |||
| 253 | declare 'Engine', | ||
| 254 | as (Int | Str); | ||
| 255 | |||
| 256 | declare 'CloudSqlReference', | ||
| 257 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::CloudSqlReference']; | ||
| 258 | |||
| 259 | coerce 'CloudSqlReference', | ||
| 260 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::CloudSqlReference'->new($_) }; | ||
| 261 | |||
| 262 | declare 'RepeatedCloudSqlReference', | ||
| 263 | as ArrayRef[CloudSqlReference()]; | ||
| 264 | |||
| 265 | coerce 'RepeatedCloudSqlReference', | ||
| 266 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::CloudSqlReference'->new($_) } @$_ ] }; | ||
| 267 | |||
| 268 | declare 'MapStringCloudSqlReference', | ||
| 269 | as HashRef[CloudSqlReference()]; | ||
| 270 | |||
| 271 | declare 'CloudSqlDatabaseReference', | ||
| 272 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::CloudSqlDatabaseReference']; | ||
| 273 | |||
| 274 | coerce 'CloudSqlDatabaseReference', | ||
| 275 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::CloudSqlDatabaseReference'->new($_) }; | ||
| 276 | |||
| 277 | declare 'RepeatedCloudSqlDatabaseReference', | ||
| 278 | as ArrayRef[CloudSqlDatabaseReference()]; | ||
| 279 | |||
| 280 | coerce 'RepeatedCloudSqlDatabaseReference', | ||
| 281 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::CloudSqlDatabaseReference'->new($_) } @$_ ] }; | ||
| 282 | |||
| 283 | declare 'MapStringCloudSqlDatabaseReference', | ||
| 284 | as HashRef[CloudSqlDatabaseReference()]; | ||
| 285 | |||
| 286 | declare 'Engine', | ||
| 287 | as (Int | Str); | ||
| 288 | |||
| 289 | declare 'LookerExploreReferences', | ||
| 290 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::LookerExploreReferences']; | ||
| 291 | |||
| 292 | coerce 'LookerExploreReferences', | ||
| 293 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::LookerExploreReferences'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedLookerExploreReferences', | ||
| 296 | as ArrayRef[LookerExploreReferences()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedLookerExploreReferences', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::LookerExploreReferences'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringLookerExploreReferences', | ||
| 302 | as HashRef[LookerExploreReferences()]; | ||
| 303 | |||
| 304 | declare 'LookerExploreReference', | ||
| 305 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::LookerExploreReference']; | ||
| 306 | |||
| 307 | coerce 'LookerExploreReference', | ||
| 308 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::LookerExploreReference'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedLookerExploreReference', | ||
| 311 | as ArrayRef[LookerExploreReference()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedLookerExploreReference', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::LookerExploreReference'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringLookerExploreReference', | ||
| 317 | as HashRef[LookerExploreReference()]; | ||
| 318 | |||
| 319 | declare 'BigQueryPropertyGraphReference', | ||
| 320 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryPropertyGraphReference']; | ||
| 321 | |||
| 322 | coerce 'BigQueryPropertyGraphReference', | ||
| 323 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryPropertyGraphReference'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedBigQueryPropertyGraphReference', | ||
| 326 | as ArrayRef[BigQueryPropertyGraphReference()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedBigQueryPropertyGraphReference', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::BigQueryPropertyGraphReference'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringBigQueryPropertyGraphReference', | ||
| 332 | as HashRef[BigQueryPropertyGraphReference()]; | ||
| 333 | |||
| 334 | declare 'PrivateLookerInstanceInfo', | ||
| 335 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::PrivateLookerInstanceInfo']; | ||
| 336 | |||
| 337 | coerce 'PrivateLookerInstanceInfo', | ||
| 338 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::PrivateLookerInstanceInfo'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedPrivateLookerInstanceInfo', | ||
| 341 | as ArrayRef[PrivateLookerInstanceInfo()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedPrivateLookerInstanceInfo', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::PrivateLookerInstanceInfo'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringPrivateLookerInstanceInfo', | ||
| 347 | as HashRef[PrivateLookerInstanceInfo()]; | ||
| 348 | |||
| 349 | declare 'Datasource', | ||
| 350 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Datasource']; | ||
| 351 | |||
| 352 | coerce 'Datasource', | ||
| 353 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Datasource'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedDatasource', | ||
| 356 | as ArrayRef[Datasource()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedDatasource', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Datasource'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringDatasource', | ||
| 362 | as HashRef[Datasource()]; | ||
| 363 | |||
| 364 | declare 'Schema', | ||
| 365 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Schema']; | ||
| 366 | |||
| 367 | coerce 'Schema', | ||
| 368 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Schema'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedSchema', | ||
| 371 | as ArrayRef[Schema()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedSchema', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Schema'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringSchema', | ||
| 377 | as HashRef[Schema()]; | ||
| 378 | |||
| 379 | declare 'Field', | ||
| 380 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Field']; | ||
| 381 | |||
| 382 | coerce 'Field', | ||
| 383 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Field'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedField', | ||
| 386 | as ArrayRef[Field()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedField', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::Field'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringField', | ||
| 392 | as HashRef[Field()]; | ||
| 393 | |||
| 394 | declare 'DataFilter', | ||
| 395 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DataFilter']; | ||
| 396 | |||
| 397 | coerce 'DataFilter', | ||
| 398 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DataFilter'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedDataFilter', | ||
| 401 | as ArrayRef[DataFilter()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedDataFilter', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Datasource::DataFilter'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringDataFilter', | ||
| 407 | as HashRef[DataFilter()]; | ||
| 408 | |||
| 409 | 1; | ||
| 410 | |||
| 411 | __END__ |