| 1 | package Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::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 'ListAppConnectionsRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ListAppConnectionsRequest']; | ||
| 12 | |||
| 13 | coerce 'ListAppConnectionsRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ListAppConnectionsRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListAppConnectionsRequest', | ||
| 17 | as ArrayRef[ListAppConnectionsRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListAppConnectionsRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ListAppConnectionsRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListAppConnectionsRequest', | ||
| 23 | as HashRef[ListAppConnectionsRequest()]; | ||
| 24 | |||
| 25 | declare 'ListAppConnectionsResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ListAppConnectionsResponse']; | ||
| 27 | |||
| 28 | coerce 'ListAppConnectionsResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ListAppConnectionsResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListAppConnectionsResponse', | ||
| 32 | as ArrayRef[ListAppConnectionsResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListAppConnectionsResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ListAppConnectionsResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListAppConnectionsResponse', | ||
| 38 | as HashRef[ListAppConnectionsResponse()]; | ||
| 39 | |||
| 40 | declare 'GetAppConnectionRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::GetAppConnectionRequest']; | ||
| 42 | |||
| 43 | coerce 'GetAppConnectionRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::GetAppConnectionRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGetAppConnectionRequest', | ||
| 47 | as ArrayRef[GetAppConnectionRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGetAppConnectionRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::GetAppConnectionRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGetAppConnectionRequest', | ||
| 53 | as HashRef[GetAppConnectionRequest()]; | ||
| 54 | |||
| 55 | declare 'CreateAppConnectionRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::CreateAppConnectionRequest']; | ||
| 57 | |||
| 58 | coerce 'CreateAppConnectionRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::CreateAppConnectionRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedCreateAppConnectionRequest', | ||
| 62 | as ArrayRef[CreateAppConnectionRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedCreateAppConnectionRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::CreateAppConnectionRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringCreateAppConnectionRequest', | ||
| 68 | as HashRef[CreateAppConnectionRequest()]; | ||
| 69 | |||
| 70 | declare 'UpdateAppConnectionRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::UpdateAppConnectionRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateAppConnectionRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::UpdateAppConnectionRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateAppConnectionRequest', | ||
| 77 | as ArrayRef[UpdateAppConnectionRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateAppConnectionRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::UpdateAppConnectionRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateAppConnectionRequest', | ||
| 83 | as HashRef[UpdateAppConnectionRequest()]; | ||
| 84 | |||
| 85 | declare 'DeleteAppConnectionRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::DeleteAppConnectionRequest']; | ||
| 87 | |||
| 88 | coerce 'DeleteAppConnectionRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::DeleteAppConnectionRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDeleteAppConnectionRequest', | ||
| 92 | as ArrayRef[DeleteAppConnectionRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDeleteAppConnectionRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::DeleteAppConnectionRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDeleteAppConnectionRequest', | ||
| 98 | as HashRef[DeleteAppConnectionRequest()]; | ||
| 99 | |||
| 100 | declare 'ResolveAppConnectionsRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsRequest']; | ||
| 102 | |||
| 103 | coerce 'ResolveAppConnectionsRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedResolveAppConnectionsRequest', | ||
| 107 | as ArrayRef[ResolveAppConnectionsRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedResolveAppConnectionsRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringResolveAppConnectionsRequest', | ||
| 113 | as HashRef[ResolveAppConnectionsRequest()]; | ||
| 114 | |||
| 115 | declare 'ResolveAppConnectionsResponse', | ||
| 116 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsResponse']; | ||
| 117 | |||
| 118 | coerce 'ResolveAppConnectionsResponse', | ||
| 119 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsResponse'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedResolveAppConnectionsResponse', | ||
| 122 | as ArrayRef[ResolveAppConnectionsResponse()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedResolveAppConnectionsResponse', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsResponse'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringResolveAppConnectionsResponse', | ||
| 128 | as HashRef[ResolveAppConnectionsResponse()]; | ||
| 129 | |||
| 130 | declare 'AppConnectionDetails', | ||
| 131 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsResponse::AppConnectionDetails']; | ||
| 132 | |||
| 133 | coerce 'AppConnectionDetails', | ||
| 134 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsResponse::AppConnectionDetails'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedAppConnectionDetails', | ||
| 137 | as ArrayRef[AppConnectionDetails()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedAppConnectionDetails', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::ResolveAppConnectionsResponse::AppConnectionDetails'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringAppConnectionDetails', | ||
| 143 | as HashRef[AppConnectionDetails()]; | ||
| 144 | |||
| 145 | declare 'AppConnection', | ||
| 146 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection']; | ||
| 147 | |||
| 148 | coerce 'AppConnection', | ||
| 149 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedAppConnection', | ||
| 152 | as ArrayRef[AppConnection()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedAppConnection', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringAppConnection', | ||
| 158 | as HashRef[AppConnection()]; | ||
| 159 | |||
| 160 | declare 'Type', | ||
| 161 | as (Int | Str); | ||
| 162 | |||
| 163 | declare 'State', | ||
| 164 | as (Int | Str); | ||
| 165 | |||
| 166 | declare 'ApplicationEndpoint', | ||
| 167 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::ApplicationEndpoint']; | ||
| 168 | |||
| 169 | coerce 'ApplicationEndpoint', | ||
| 170 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::ApplicationEndpoint'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedApplicationEndpoint', | ||
| 173 | as ArrayRef[ApplicationEndpoint()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedApplicationEndpoint', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::ApplicationEndpoint'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringApplicationEndpoint', | ||
| 179 | as HashRef[ApplicationEndpoint()]; | ||
| 180 | |||
| 181 | declare 'Gateway', | ||
| 182 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::Gateway']; | ||
| 183 | |||
| 184 | coerce 'Gateway', | ||
| 185 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::Gateway'->new($_) }; | ||
| 186 | |||
| 187 | declare 'RepeatedGateway', | ||
| 188 | as ArrayRef[Gateway()]; | ||
| 189 | |||
| 190 | coerce 'RepeatedGateway', | ||
| 191 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::Gateway'->new($_) } @$_ ] }; | ||
| 192 | |||
| 193 | declare 'MapStringGateway', | ||
| 194 | as HashRef[Gateway()]; | ||
| 195 | |||
| 196 | declare 'Type', | ||
| 197 | as (Int | Str); | ||
| 198 | |||
| 199 | declare 'LabelsEntry', | ||
| 200 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::LabelsEntry']; | ||
| 201 | |||
| 202 | coerce 'LabelsEntry', | ||
| 203 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::LabelsEntry'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedLabelsEntry', | ||
| 206 | as ArrayRef[LabelsEntry()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedLabelsEntry', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnection::LabelsEntry'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringLabelsEntry', | ||
| 212 | as HashRef[LabelsEntry()]; | ||
| 213 | |||
| 214 | declare 'AppConnectionOperationMetadata', | ||
| 215 | as InstanceOf['Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnectionOperationMetadata']; | ||
| 216 | |||
| 217 | coerce 'AppConnectionOperationMetadata', | ||
| 218 | from HashRef, via { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnectionOperationMetadata'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedAppConnectionOperationMetadata', | ||
| 221 | as ArrayRef[AppConnectionOperationMetadata()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedAppConnectionOperationMetadata', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Beyondcorp::Appconnections::V1::AppConnectionsService::AppConnectionOperationMetadata'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringAppConnectionOperationMetadata', | ||
| 227 | as HashRef[AppConnectionOperationMetadata()]; | ||
| 228 | |||
| 229 | 1; | ||
| 230 | |||
| 231 | __END__ |