| 1 | package Google::Cloud::Eventarc::Publishing::V1::Publisher::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 'PublishChannelConnectionEventsRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishChannelConnectionEventsRequest']; | ||
| 12 | |||
| 13 | coerce 'PublishChannelConnectionEventsRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishChannelConnectionEventsRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedPublishChannelConnectionEventsRequest', | ||
| 17 | as ArrayRef[PublishChannelConnectionEventsRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedPublishChannelConnectionEventsRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishChannelConnectionEventsRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringPublishChannelConnectionEventsRequest', | ||
| 23 | as HashRef[PublishChannelConnectionEventsRequest()]; | ||
| 24 | |||
| 25 | declare 'PublishChannelConnectionEventsResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishChannelConnectionEventsResponse']; | ||
| 27 | |||
| 28 | coerce 'PublishChannelConnectionEventsResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishChannelConnectionEventsResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedPublishChannelConnectionEventsResponse', | ||
| 32 | as ArrayRef[PublishChannelConnectionEventsResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedPublishChannelConnectionEventsResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishChannelConnectionEventsResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringPublishChannelConnectionEventsResponse', | ||
| 38 | as HashRef[PublishChannelConnectionEventsResponse()]; | ||
| 39 | |||
| 40 | declare 'PublishEventsRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishEventsRequest']; | ||
| 42 | |||
| 43 | coerce 'PublishEventsRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishEventsRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedPublishEventsRequest', | ||
| 47 | as ArrayRef[PublishEventsRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedPublishEventsRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishEventsRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringPublishEventsRequest', | ||
| 53 | as HashRef[PublishEventsRequest()]; | ||
| 54 | |||
| 55 | declare 'PublishEventsResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishEventsResponse']; | ||
| 57 | |||
| 58 | coerce 'PublishEventsResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishEventsResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedPublishEventsResponse', | ||
| 62 | as ArrayRef[PublishEventsResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedPublishEventsResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishEventsResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringPublishEventsResponse', | ||
| 68 | as HashRef[PublishEventsResponse()]; | ||
| 69 | |||
| 70 | declare 'PublishRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishRequest']; | ||
| 72 | |||
| 73 | coerce 'PublishRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedPublishRequest', | ||
| 77 | as ArrayRef[PublishRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedPublishRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringPublishRequest', | ||
| 83 | as HashRef[PublishRequest()]; | ||
| 84 | |||
| 85 | declare 'PublishResponse', | ||
| 86 | as InstanceOf['Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishResponse']; | ||
| 87 | |||
| 88 | coerce 'PublishResponse', | ||
| 89 | from HashRef, via { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishResponse'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedPublishResponse', | ||
| 92 | as ArrayRef[PublishResponse()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedPublishResponse', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::Publishing::V1::Publisher::PublishResponse'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringPublishResponse', | ||
| 98 | as HashRef[PublishResponse()]; | ||
| 99 | |||
| 100 | 1; | ||
| 101 | |||
| 102 | __END__ |