| 1 | package Google::Cloud::Retail::V2beta::GenerativeQuestionService::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 'UpdateGenerativeQuestionsFeatureConfigRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Retail::V2beta::GenerativeQuestionService::UpdateGenerativeQuestionsFeatureConfigRequest']; | ||
| 12 | |||
| 13 | coerce 'UpdateGenerativeQuestionsFeatureConfigRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::UpdateGenerativeQuestionsFeatureConfigRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedUpdateGenerativeQuestionsFeatureConfigRequest', | ||
| 17 | as ArrayRef[UpdateGenerativeQuestionsFeatureConfigRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedUpdateGenerativeQuestionsFeatureConfigRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::UpdateGenerativeQuestionsFeatureConfigRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringUpdateGenerativeQuestionsFeatureConfigRequest', | ||
| 23 | as HashRef[UpdateGenerativeQuestionsFeatureConfigRequest()]; | ||
| 24 | |||
| 25 | declare 'GetGenerativeQuestionsFeatureConfigRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Retail::V2beta::GenerativeQuestionService::GetGenerativeQuestionsFeatureConfigRequest']; | ||
| 27 | |||
| 28 | coerce 'GetGenerativeQuestionsFeatureConfigRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::GetGenerativeQuestionsFeatureConfigRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetGenerativeQuestionsFeatureConfigRequest', | ||
| 32 | as ArrayRef[GetGenerativeQuestionsFeatureConfigRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetGenerativeQuestionsFeatureConfigRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::GetGenerativeQuestionsFeatureConfigRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetGenerativeQuestionsFeatureConfigRequest', | ||
| 38 | as HashRef[GetGenerativeQuestionsFeatureConfigRequest()]; | ||
| 39 | |||
| 40 | declare 'ListGenerativeQuestionConfigsRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Retail::V2beta::GenerativeQuestionService::ListGenerativeQuestionConfigsRequest']; | ||
| 42 | |||
| 43 | coerce 'ListGenerativeQuestionConfigsRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::ListGenerativeQuestionConfigsRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListGenerativeQuestionConfigsRequest', | ||
| 47 | as ArrayRef[ListGenerativeQuestionConfigsRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListGenerativeQuestionConfigsRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::ListGenerativeQuestionConfigsRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListGenerativeQuestionConfigsRequest', | ||
| 53 | as HashRef[ListGenerativeQuestionConfigsRequest()]; | ||
| 54 | |||
| 55 | declare 'ListGenerativeQuestionConfigsResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Retail::V2beta::GenerativeQuestionService::ListGenerativeQuestionConfigsResponse']; | ||
| 57 | |||
| 58 | coerce 'ListGenerativeQuestionConfigsResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::ListGenerativeQuestionConfigsResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListGenerativeQuestionConfigsResponse', | ||
| 62 | as ArrayRef[ListGenerativeQuestionConfigsResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListGenerativeQuestionConfigsResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::ListGenerativeQuestionConfigsResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListGenerativeQuestionConfigsResponse', | ||
| 68 | as HashRef[ListGenerativeQuestionConfigsResponse()]; | ||
| 69 | |||
| 70 | declare 'UpdateGenerativeQuestionConfigRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Retail::V2beta::GenerativeQuestionService::UpdateGenerativeQuestionConfigRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateGenerativeQuestionConfigRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::UpdateGenerativeQuestionConfigRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateGenerativeQuestionConfigRequest', | ||
| 77 | as ArrayRef[UpdateGenerativeQuestionConfigRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateGenerativeQuestionConfigRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::UpdateGenerativeQuestionConfigRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateGenerativeQuestionConfigRequest', | ||
| 83 | as HashRef[UpdateGenerativeQuestionConfigRequest()]; | ||
| 84 | |||
| 85 | declare 'BatchUpdateGenerativeQuestionConfigsRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Retail::V2beta::GenerativeQuestionService::BatchUpdateGenerativeQuestionConfigsRequest']; | ||
| 87 | |||
| 88 | coerce 'BatchUpdateGenerativeQuestionConfigsRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::BatchUpdateGenerativeQuestionConfigsRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedBatchUpdateGenerativeQuestionConfigsRequest', | ||
| 92 | as ArrayRef[BatchUpdateGenerativeQuestionConfigsRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedBatchUpdateGenerativeQuestionConfigsRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::BatchUpdateGenerativeQuestionConfigsRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringBatchUpdateGenerativeQuestionConfigsRequest', | ||
| 98 | as HashRef[BatchUpdateGenerativeQuestionConfigsRequest()]; | ||
| 99 | |||
| 100 | declare 'BatchUpdateGenerativeQuestionConfigsResponse', | ||
| 101 | as InstanceOf['Google::Cloud::Retail::V2beta::GenerativeQuestionService::BatchUpdateGenerativeQuestionConfigsResponse']; | ||
| 102 | |||
| 103 | coerce 'BatchUpdateGenerativeQuestionConfigsResponse', | ||
| 104 | from HashRef, via { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::BatchUpdateGenerativeQuestionConfigsResponse'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedBatchUpdateGenerativeQuestionConfigsResponse', | ||
| 107 | as ArrayRef[BatchUpdateGenerativeQuestionConfigsResponse()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedBatchUpdateGenerativeQuestionConfigsResponse', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::GenerativeQuestionService::BatchUpdateGenerativeQuestionConfigsResponse'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringBatchUpdateGenerativeQuestionConfigsResponse', | ||
| 113 | as HashRef[BatchUpdateGenerativeQuestionConfigsResponse()]; | ||
| 114 | |||
| 115 | 1; | ||
| 116 | |||
| 117 | __END__ |