| 1 | package Google::Cloud::Servicedirectory::V1::RegistrationService::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 'CreateNamespaceRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::CreateNamespaceRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateNamespaceRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::CreateNamespaceRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateNamespaceRequest', | ||
| 17 | as ArrayRef[CreateNamespaceRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateNamespaceRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::CreateNamespaceRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateNamespaceRequest', | ||
| 23 | as HashRef[CreateNamespaceRequest()]; | ||
| 24 | |||
| 25 | declare 'ListNamespacesRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::ListNamespacesRequest']; | ||
| 27 | |||
| 28 | coerce 'ListNamespacesRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListNamespacesRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListNamespacesRequest', | ||
| 32 | as ArrayRef[ListNamespacesRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListNamespacesRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListNamespacesRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListNamespacesRequest', | ||
| 38 | as HashRef[ListNamespacesRequest()]; | ||
| 39 | |||
| 40 | declare 'ListNamespacesResponse', | ||
| 41 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::ListNamespacesResponse']; | ||
| 42 | |||
| 43 | coerce 'ListNamespacesResponse', | ||
| 44 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListNamespacesResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListNamespacesResponse', | ||
| 47 | as ArrayRef[ListNamespacesResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListNamespacesResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListNamespacesResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListNamespacesResponse', | ||
| 53 | as HashRef[ListNamespacesResponse()]; | ||
| 54 | |||
| 55 | declare 'GetNamespaceRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::GetNamespaceRequest']; | ||
| 57 | |||
| 58 | coerce 'GetNamespaceRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::GetNamespaceRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedGetNamespaceRequest', | ||
| 62 | as ArrayRef[GetNamespaceRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedGetNamespaceRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::GetNamespaceRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringGetNamespaceRequest', | ||
| 68 | as HashRef[GetNamespaceRequest()]; | ||
| 69 | |||
| 70 | declare 'UpdateNamespaceRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateNamespaceRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateNamespaceRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateNamespaceRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateNamespaceRequest', | ||
| 77 | as ArrayRef[UpdateNamespaceRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateNamespaceRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateNamespaceRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateNamespaceRequest', | ||
| 83 | as HashRef[UpdateNamespaceRequest()]; | ||
| 84 | |||
| 85 | declare 'DeleteNamespaceRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteNamespaceRequest']; | ||
| 87 | |||
| 88 | coerce 'DeleteNamespaceRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteNamespaceRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDeleteNamespaceRequest', | ||
| 92 | as ArrayRef[DeleteNamespaceRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDeleteNamespaceRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteNamespaceRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDeleteNamespaceRequest', | ||
| 98 | as HashRef[DeleteNamespaceRequest()]; | ||
| 99 | |||
| 100 | declare 'CreateServiceRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::CreateServiceRequest']; | ||
| 102 | |||
| 103 | coerce 'CreateServiceRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::CreateServiceRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedCreateServiceRequest', | ||
| 107 | as ArrayRef[CreateServiceRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedCreateServiceRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::CreateServiceRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringCreateServiceRequest', | ||
| 113 | as HashRef[CreateServiceRequest()]; | ||
| 114 | |||
| 115 | declare 'ListServicesRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::ListServicesRequest']; | ||
| 117 | |||
| 118 | coerce 'ListServicesRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListServicesRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedListServicesRequest', | ||
| 122 | as ArrayRef[ListServicesRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedListServicesRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListServicesRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringListServicesRequest', | ||
| 128 | as HashRef[ListServicesRequest()]; | ||
| 129 | |||
| 130 | declare 'ListServicesResponse', | ||
| 131 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::ListServicesResponse']; | ||
| 132 | |||
| 133 | coerce 'ListServicesResponse', | ||
| 134 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListServicesResponse'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedListServicesResponse', | ||
| 137 | as ArrayRef[ListServicesResponse()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedListServicesResponse', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListServicesResponse'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringListServicesResponse', | ||
| 143 | as HashRef[ListServicesResponse()]; | ||
| 144 | |||
| 145 | declare 'GetServiceRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::GetServiceRequest']; | ||
| 147 | |||
| 148 | coerce 'GetServiceRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::GetServiceRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedGetServiceRequest', | ||
| 152 | as ArrayRef[GetServiceRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedGetServiceRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::GetServiceRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringGetServiceRequest', | ||
| 158 | as HashRef[GetServiceRequest()]; | ||
| 159 | |||
| 160 | declare 'UpdateServiceRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateServiceRequest']; | ||
| 162 | |||
| 163 | coerce 'UpdateServiceRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateServiceRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedUpdateServiceRequest', | ||
| 167 | as ArrayRef[UpdateServiceRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedUpdateServiceRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateServiceRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringUpdateServiceRequest', | ||
| 173 | as HashRef[UpdateServiceRequest()]; | ||
| 174 | |||
| 175 | declare 'DeleteServiceRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteServiceRequest']; | ||
| 177 | |||
| 178 | coerce 'DeleteServiceRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteServiceRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedDeleteServiceRequest', | ||
| 182 | as ArrayRef[DeleteServiceRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedDeleteServiceRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteServiceRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringDeleteServiceRequest', | ||
| 188 | as HashRef[DeleteServiceRequest()]; | ||
| 189 | |||
| 190 | declare 'CreateEndpointRequest', | ||
| 191 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::CreateEndpointRequest']; | ||
| 192 | |||
| 193 | coerce 'CreateEndpointRequest', | ||
| 194 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::CreateEndpointRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedCreateEndpointRequest', | ||
| 197 | as ArrayRef[CreateEndpointRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedCreateEndpointRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::CreateEndpointRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringCreateEndpointRequest', | ||
| 203 | as HashRef[CreateEndpointRequest()]; | ||
| 204 | |||
| 205 | declare 'ListEndpointsRequest', | ||
| 206 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::ListEndpointsRequest']; | ||
| 207 | |||
| 208 | coerce 'ListEndpointsRequest', | ||
| 209 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListEndpointsRequest'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedListEndpointsRequest', | ||
| 212 | as ArrayRef[ListEndpointsRequest()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedListEndpointsRequest', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListEndpointsRequest'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringListEndpointsRequest', | ||
| 218 | as HashRef[ListEndpointsRequest()]; | ||
| 219 | |||
| 220 | declare 'ListEndpointsResponse', | ||
| 221 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::ListEndpointsResponse']; | ||
| 222 | |||
| 223 | coerce 'ListEndpointsResponse', | ||
| 224 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListEndpointsResponse'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedListEndpointsResponse', | ||
| 227 | as ArrayRef[ListEndpointsResponse()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedListEndpointsResponse', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::ListEndpointsResponse'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringListEndpointsResponse', | ||
| 233 | as HashRef[ListEndpointsResponse()]; | ||
| 234 | |||
| 235 | declare 'GetEndpointRequest', | ||
| 236 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::GetEndpointRequest']; | ||
| 237 | |||
| 238 | coerce 'GetEndpointRequest', | ||
| 239 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::GetEndpointRequest'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedGetEndpointRequest', | ||
| 242 | as ArrayRef[GetEndpointRequest()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedGetEndpointRequest', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::GetEndpointRequest'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringGetEndpointRequest', | ||
| 248 | as HashRef[GetEndpointRequest()]; | ||
| 249 | |||
| 250 | declare 'UpdateEndpointRequest', | ||
| 251 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateEndpointRequest']; | ||
| 252 | |||
| 253 | coerce 'UpdateEndpointRequest', | ||
| 254 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateEndpointRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedUpdateEndpointRequest', | ||
| 257 | as ArrayRef[UpdateEndpointRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedUpdateEndpointRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::UpdateEndpointRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringUpdateEndpointRequest', | ||
| 263 | as HashRef[UpdateEndpointRequest()]; | ||
| 264 | |||
| 265 | declare 'DeleteEndpointRequest', | ||
| 266 | as InstanceOf['Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteEndpointRequest']; | ||
| 267 | |||
| 268 | coerce 'DeleteEndpointRequest', | ||
| 269 | from HashRef, via { 'Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteEndpointRequest'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedDeleteEndpointRequest', | ||
| 272 | as ArrayRef[DeleteEndpointRequest()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedDeleteEndpointRequest', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Servicedirectory::V1::RegistrationService::DeleteEndpointRequest'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringDeleteEndpointRequest', | ||
| 278 | as HashRef[DeleteEndpointRequest()]; | ||
| 279 | |||
| 280 | 1; | ||
| 281 | |||
| 282 | __END__ |