| 1 | package Google::Cloud::Discoveryengine::V1beta::UserEvent::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 'UserEvent', | ||
| 11 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::UserEvent']; | ||
| 12 | |||
| 13 | coerce 'UserEvent', | ||
| 14 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::UserEvent'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedUserEvent', | ||
| 17 | as ArrayRef[UserEvent()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedUserEvent', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::UserEvent'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringUserEvent', | ||
| 23 | as HashRef[UserEvent()]; | ||
| 24 | |||
| 25 | declare 'AttributesEntry', | ||
| 26 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::UserEvent::AttributesEntry']; | ||
| 27 | |||
| 28 | coerce 'AttributesEntry', | ||
| 29 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::UserEvent::AttributesEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedAttributesEntry', | ||
| 32 | as ArrayRef[AttributesEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedAttributesEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::UserEvent::AttributesEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringAttributesEntry', | ||
| 38 | as HashRef[AttributesEntry()]; | ||
| 39 | |||
| 40 | declare 'PageInfo', | ||
| 41 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::PageInfo']; | ||
| 42 | |||
| 43 | coerce 'PageInfo', | ||
| 44 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::PageInfo'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedPageInfo', | ||
| 47 | as ArrayRef[PageInfo()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedPageInfo', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::PageInfo'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringPageInfo', | ||
| 53 | as HashRef[PageInfo()]; | ||
| 54 | |||
| 55 | declare 'SearchInfo', | ||
| 56 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::SearchInfo']; | ||
| 57 | |||
| 58 | coerce 'SearchInfo', | ||
| 59 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::SearchInfo'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedSearchInfo', | ||
| 62 | as ArrayRef[SearchInfo()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedSearchInfo', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::SearchInfo'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringSearchInfo', | ||
| 68 | as HashRef[SearchInfo()]; | ||
| 69 | |||
| 70 | declare 'CompletionInfo', | ||
| 71 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::CompletionInfo']; | ||
| 72 | |||
| 73 | coerce 'CompletionInfo', | ||
| 74 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::CompletionInfo'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCompletionInfo', | ||
| 77 | as ArrayRef[CompletionInfo()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCompletionInfo', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::CompletionInfo'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCompletionInfo', | ||
| 83 | as HashRef[CompletionInfo()]; | ||
| 84 | |||
| 85 | declare 'TransactionInfo', | ||
| 86 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::TransactionInfo']; | ||
| 87 | |||
| 88 | coerce 'TransactionInfo', | ||
| 89 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::TransactionInfo'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedTransactionInfo', | ||
| 92 | as ArrayRef[TransactionInfo()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedTransactionInfo', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::TransactionInfo'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringTransactionInfo', | ||
| 98 | as HashRef[TransactionInfo()]; | ||
| 99 | |||
| 100 | declare 'DocumentInfo', | ||
| 101 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::DocumentInfo']; | ||
| 102 | |||
| 103 | coerce 'DocumentInfo', | ||
| 104 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::DocumentInfo'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedDocumentInfo', | ||
| 107 | as ArrayRef[DocumentInfo()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedDocumentInfo', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::DocumentInfo'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringDocumentInfo', | ||
| 113 | as HashRef[DocumentInfo()]; | ||
| 114 | |||
| 115 | declare 'PanelInfo', | ||
| 116 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::PanelInfo']; | ||
| 117 | |||
| 118 | coerce 'PanelInfo', | ||
| 119 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::PanelInfo'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedPanelInfo', | ||
| 122 | as ArrayRef[PanelInfo()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedPanelInfo', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::PanelInfo'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringPanelInfo', | ||
| 128 | as HashRef[PanelInfo()]; | ||
| 129 | |||
| 130 | declare 'MediaInfo', | ||
| 131 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::UserEvent::MediaInfo']; | ||
| 132 | |||
| 133 | coerce 'MediaInfo', | ||
| 134 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::MediaInfo'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedMediaInfo', | ||
| 137 | as ArrayRef[MediaInfo()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedMediaInfo', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::UserEvent::MediaInfo'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringMediaInfo', | ||
| 143 | as HashRef[MediaInfo()]; | ||
| 144 | |||
| 145 | 1; | ||
| 146 | |||
| 147 | __END__ |