| 1 | package Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::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 'ListAppGatewaysRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::ListAppGatewaysRequest']; | ||
| 12 | |||
| 13 | coerce 'ListAppGatewaysRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::ListAppGatewaysRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListAppGatewaysRequest', | ||
| 17 | as ArrayRef[ListAppGatewaysRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListAppGatewaysRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::ListAppGatewaysRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListAppGatewaysRequest', | ||
| 23 | as HashRef[ListAppGatewaysRequest()]; | ||
| 24 | |||
| 25 | declare 'ListAppGatewaysResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::ListAppGatewaysResponse']; | ||
| 27 | |||
| 28 | coerce 'ListAppGatewaysResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::ListAppGatewaysResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListAppGatewaysResponse', | ||
| 32 | as ArrayRef[ListAppGatewaysResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListAppGatewaysResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::ListAppGatewaysResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListAppGatewaysResponse', | ||
| 38 | as HashRef[ListAppGatewaysResponse()]; | ||
| 39 | |||
| 40 | declare 'GetAppGatewayRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::GetAppGatewayRequest']; | ||
| 42 | |||
| 43 | coerce 'GetAppGatewayRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::GetAppGatewayRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGetAppGatewayRequest', | ||
| 47 | as ArrayRef[GetAppGatewayRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGetAppGatewayRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::GetAppGatewayRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGetAppGatewayRequest', | ||
| 53 | as HashRef[GetAppGatewayRequest()]; | ||
| 54 | |||
| 55 | declare 'CreateAppGatewayRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::CreateAppGatewayRequest']; | ||
| 57 | |||
| 58 | coerce 'CreateAppGatewayRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::CreateAppGatewayRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedCreateAppGatewayRequest', | ||
| 62 | as ArrayRef[CreateAppGatewayRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedCreateAppGatewayRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::CreateAppGatewayRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringCreateAppGatewayRequest', | ||
| 68 | as HashRef[CreateAppGatewayRequest()]; | ||
| 69 | |||
| 70 | declare 'DeleteAppGatewayRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::DeleteAppGatewayRequest']; | ||
| 72 | |||
| 73 | coerce 'DeleteAppGatewayRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::DeleteAppGatewayRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedDeleteAppGatewayRequest', | ||
| 77 | as ArrayRef[DeleteAppGatewayRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedDeleteAppGatewayRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::DeleteAppGatewayRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringDeleteAppGatewayRequest', | ||
| 83 | as HashRef[DeleteAppGatewayRequest()]; | ||
| 84 | |||
| 85 | declare 'AppGateway', | ||
| 86 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway']; | ||
| 87 | |||
| 88 | coerce 'AppGateway', | ||
| 89 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedAppGateway', | ||
| 92 | as ArrayRef[AppGateway()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedAppGateway', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringAppGateway', | ||
| 98 | as HashRef[AppGateway()]; | ||
| 99 | |||
| 100 | declare 'Type', | ||
| 101 | as (Int | Str); | ||
| 102 | |||
| 103 | declare 'State', | ||
| 104 | as (Int | Str); | ||
| 105 | |||
| 106 | declare 'HostType', | ||
| 107 | as (Int | Str); | ||
| 108 | |||
| 109 | declare 'AllocatedConnection', | ||
| 110 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway::AllocatedConnection']; | ||
| 111 | |||
| 112 | coerce 'AllocatedConnection', | ||
| 113 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway::AllocatedConnection'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedAllocatedConnection', | ||
| 116 | as ArrayRef[AllocatedConnection()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedAllocatedConnection', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway::AllocatedConnection'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringAllocatedConnection', | ||
| 122 | as HashRef[AllocatedConnection()]; | ||
| 123 | |||
| 124 | declare 'LabelsEntry', | ||
| 125 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway::LabelsEntry']; | ||
| 126 | |||
| 127 | coerce 'LabelsEntry', | ||
| 128 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway::LabelsEntry'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedLabelsEntry', | ||
| 131 | as ArrayRef[LabelsEntry()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedLabelsEntry', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGateway::LabelsEntry'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringLabelsEntry', | ||
| 137 | as HashRef[LabelsEntry()]; | ||
| 138 | |||
| 139 | declare 'AppGatewayOperationMetadata', | ||
| 140 | as InstanceOf['Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGatewayOperationMetadata']; | ||
| 141 | |||
| 142 | coerce 'AppGatewayOperationMetadata', | ||
| 143 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGatewayOperationMetadata'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedAppGatewayOperationMetadata', | ||
| 146 | as ArrayRef[AppGatewayOperationMetadata()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedAppGatewayOperationMetadata', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appgateways::V1::AppGatewaysService::AppGatewayOperationMetadata'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringAppGatewayOperationMetadata', | ||
| 152 | as HashRef[AppGatewayOperationMetadata()]; | ||
| 153 | |||
| 154 | 1; | ||
| 155 | |||
| 156 | __END__ |