| 1 | package Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::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 'EstimateDataSizeRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest']; | ||
| 12 | |||
| 13 | coerce 'EstimateDataSizeRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedEstimateDataSizeRequest', | ||
| 17 | as ArrayRef[EstimateDataSizeRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedEstimateDataSizeRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringEstimateDataSizeRequest', | ||
| 23 | as HashRef[EstimateDataSizeRequest()]; | ||
| 24 | |||
| 25 | declare 'WebsiteDataSource', | ||
| 26 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::WebsiteDataSource']; | ||
| 27 | |||
| 28 | coerce 'WebsiteDataSource', | ||
| 29 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::WebsiteDataSource'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedWebsiteDataSource', | ||
| 32 | as ArrayRef[WebsiteDataSource()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedWebsiteDataSource', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::WebsiteDataSource'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringWebsiteDataSource', | ||
| 38 | as HashRef[WebsiteDataSource()]; | ||
| 39 | |||
| 40 | declare 'EstimatorUriPattern', | ||
| 41 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::WebsiteDataSource::EstimatorUriPattern']; | ||
| 42 | |||
| 43 | coerce 'EstimatorUriPattern', | ||
| 44 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::WebsiteDataSource::EstimatorUriPattern'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedEstimatorUriPattern', | ||
| 47 | as ArrayRef[EstimatorUriPattern()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedEstimatorUriPattern', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::WebsiteDataSource::EstimatorUriPattern'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringEstimatorUriPattern', | ||
| 53 | as HashRef[EstimatorUriPattern()]; | ||
| 54 | |||
| 55 | declare 'FileDataSource', | ||
| 56 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::FileDataSource']; | ||
| 57 | |||
| 58 | coerce 'FileDataSource', | ||
| 59 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::FileDataSource'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedFileDataSource', | ||
| 62 | as ArrayRef[FileDataSource()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedFileDataSource', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeRequest::FileDataSource'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringFileDataSource', | ||
| 68 | as HashRef[FileDataSource()]; | ||
| 69 | |||
| 70 | declare 'EstimateDataSizeResponse', | ||
| 71 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeResponse']; | ||
| 72 | |||
| 73 | coerce 'EstimateDataSizeResponse', | ||
| 74 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeResponse'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedEstimateDataSizeResponse', | ||
| 77 | as ArrayRef[EstimateDataSizeResponse()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedEstimateDataSizeResponse', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeResponse'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringEstimateDataSizeResponse', | ||
| 83 | as HashRef[EstimateDataSizeResponse()]; | ||
| 84 | |||
| 85 | declare 'EstimateDataSizeMetadata', | ||
| 86 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeMetadata']; | ||
| 87 | |||
| 88 | coerce 'EstimateDataSizeMetadata', | ||
| 89 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeMetadata'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedEstimateDataSizeMetadata', | ||
| 92 | as ArrayRef[EstimateDataSizeMetadata()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedEstimateDataSizeMetadata', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EstimateBillingService::EstimateDataSizeMetadata'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringEstimateDataSizeMetadata', | ||
| 98 | as HashRef[EstimateDataSizeMetadata()]; | ||
| 99 | |||
| 100 | 1; | ||
| 101 | |||
| 102 | __END__ |