| 1 | package Google::Cloud::Apihub::V1::ProvisioningService::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 'CreateApiHubInstanceRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Apihub::V1::ProvisioningService::CreateApiHubInstanceRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateApiHubInstanceRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Apihub::V1::ProvisioningService::CreateApiHubInstanceRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateApiHubInstanceRequest', | ||
| 17 | as ArrayRef[CreateApiHubInstanceRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateApiHubInstanceRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::ProvisioningService::CreateApiHubInstanceRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateApiHubInstanceRequest', | ||
| 23 | as HashRef[CreateApiHubInstanceRequest()]; | ||
| 24 | |||
| 25 | declare 'DeleteApiHubInstanceRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Apihub::V1::ProvisioningService::DeleteApiHubInstanceRequest']; | ||
| 27 | |||
| 28 | coerce 'DeleteApiHubInstanceRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Apihub::V1::ProvisioningService::DeleteApiHubInstanceRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedDeleteApiHubInstanceRequest', | ||
| 32 | as ArrayRef[DeleteApiHubInstanceRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedDeleteApiHubInstanceRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::ProvisioningService::DeleteApiHubInstanceRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringDeleteApiHubInstanceRequest', | ||
| 38 | as HashRef[DeleteApiHubInstanceRequest()]; | ||
| 39 | |||
| 40 | declare 'GetApiHubInstanceRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Apihub::V1::ProvisioningService::GetApiHubInstanceRequest']; | ||
| 42 | |||
| 43 | coerce 'GetApiHubInstanceRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Apihub::V1::ProvisioningService::GetApiHubInstanceRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGetApiHubInstanceRequest', | ||
| 47 | as ArrayRef[GetApiHubInstanceRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGetApiHubInstanceRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::ProvisioningService::GetApiHubInstanceRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGetApiHubInstanceRequest', | ||
| 53 | as HashRef[GetApiHubInstanceRequest()]; | ||
| 54 | |||
| 55 | declare 'LookupApiHubInstanceRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Apihub::V1::ProvisioningService::LookupApiHubInstanceRequest']; | ||
| 57 | |||
| 58 | coerce 'LookupApiHubInstanceRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Apihub::V1::ProvisioningService::LookupApiHubInstanceRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedLookupApiHubInstanceRequest', | ||
| 62 | as ArrayRef[LookupApiHubInstanceRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedLookupApiHubInstanceRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::ProvisioningService::LookupApiHubInstanceRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringLookupApiHubInstanceRequest', | ||
| 68 | as HashRef[LookupApiHubInstanceRequest()]; | ||
| 69 | |||
| 70 | declare 'LookupApiHubInstanceResponse', | ||
| 71 | as InstanceOf['Google::Cloud::Apihub::V1::ProvisioningService::LookupApiHubInstanceResponse']; | ||
| 72 | |||
| 73 | coerce 'LookupApiHubInstanceResponse', | ||
| 74 | from HashRef, via { 'Google::Cloud::Apihub::V1::ProvisioningService::LookupApiHubInstanceResponse'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedLookupApiHubInstanceResponse', | ||
| 77 | as ArrayRef[LookupApiHubInstanceResponse()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedLookupApiHubInstanceResponse', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::ProvisioningService::LookupApiHubInstanceResponse'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringLookupApiHubInstanceResponse', | ||
| 83 | as HashRef[LookupApiHubInstanceResponse()]; | ||
| 84 | |||
| 85 | 1; | ||
| 86 | |||
| 87 | __END__ |