| 1 | package Google::Cloud::Apihub::V1::HostProjectRegistrationService::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 'CreateHostProjectRegistrationRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Apihub::V1::HostProjectRegistrationService::CreateHostProjectRegistrationRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateHostProjectRegistrationRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::CreateHostProjectRegistrationRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateHostProjectRegistrationRequest', | ||
| 17 | as ArrayRef[CreateHostProjectRegistrationRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateHostProjectRegistrationRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::CreateHostProjectRegistrationRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateHostProjectRegistrationRequest', | ||
| 23 | as HashRef[CreateHostProjectRegistrationRequest()]; | ||
| 24 | |||
| 25 | declare 'GetHostProjectRegistrationRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Apihub::V1::HostProjectRegistrationService::GetHostProjectRegistrationRequest']; | ||
| 27 | |||
| 28 | coerce 'GetHostProjectRegistrationRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::GetHostProjectRegistrationRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetHostProjectRegistrationRequest', | ||
| 32 | as ArrayRef[GetHostProjectRegistrationRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetHostProjectRegistrationRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::GetHostProjectRegistrationRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetHostProjectRegistrationRequest', | ||
| 38 | as HashRef[GetHostProjectRegistrationRequest()]; | ||
| 39 | |||
| 40 | declare 'ListHostProjectRegistrationsRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Apihub::V1::HostProjectRegistrationService::ListHostProjectRegistrationsRequest']; | ||
| 42 | |||
| 43 | coerce 'ListHostProjectRegistrationsRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::ListHostProjectRegistrationsRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListHostProjectRegistrationsRequest', | ||
| 47 | as ArrayRef[ListHostProjectRegistrationsRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListHostProjectRegistrationsRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::ListHostProjectRegistrationsRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListHostProjectRegistrationsRequest', | ||
| 53 | as HashRef[ListHostProjectRegistrationsRequest()]; | ||
| 54 | |||
| 55 | declare 'ListHostProjectRegistrationsResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Apihub::V1::HostProjectRegistrationService::ListHostProjectRegistrationsResponse']; | ||
| 57 | |||
| 58 | coerce 'ListHostProjectRegistrationsResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::ListHostProjectRegistrationsResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListHostProjectRegistrationsResponse', | ||
| 62 | as ArrayRef[ListHostProjectRegistrationsResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListHostProjectRegistrationsResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::ListHostProjectRegistrationsResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListHostProjectRegistrationsResponse', | ||
| 68 | as HashRef[ListHostProjectRegistrationsResponse()]; | ||
| 69 | |||
| 70 | declare 'HostProjectRegistration', | ||
| 71 | as InstanceOf['Google::Cloud::Apihub::V1::HostProjectRegistrationService::HostProjectRegistration']; | ||
| 72 | |||
| 73 | coerce 'HostProjectRegistration', | ||
| 74 | from HashRef, via { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::HostProjectRegistration'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedHostProjectRegistration', | ||
| 77 | as ArrayRef[HostProjectRegistration()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedHostProjectRegistration', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::HostProjectRegistrationService::HostProjectRegistration'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringHostProjectRegistration', | ||
| 83 | as HashRef[HostProjectRegistration()]; | ||
| 84 | |||
| 85 | 1; | ||
| 86 | |||
| 87 | __END__ |