| 1 | package Google::Cloud::Apihub::V1::PluginService::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 'ActionType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'GatewayType', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'CurationType', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'Plugin', | ||
| 20 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::Plugin']; | ||
| 21 | |||
| 22 | coerce 'Plugin', | ||
| 23 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::Plugin'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedPlugin', | ||
| 26 | as ArrayRef[Plugin()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedPlugin', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::Plugin'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringPlugin', | ||
| 32 | as HashRef[Plugin()]; | ||
| 33 | |||
| 34 | declare 'State', | ||
| 35 | as (Int | Str); | ||
| 36 | |||
| 37 | declare 'OwnershipType', | ||
| 38 | as (Int | Str); | ||
| 39 | |||
| 40 | declare 'HostingService', | ||
| 41 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::Plugin::HostingService']; | ||
| 42 | |||
| 43 | coerce 'HostingService', | ||
| 44 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::Plugin::HostingService'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedHostingService', | ||
| 47 | as ArrayRef[HostingService()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedHostingService', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::Plugin::HostingService'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringHostingService', | ||
| 53 | as HashRef[HostingService()]; | ||
| 54 | |||
| 55 | declare 'ConfigTemplate', | ||
| 56 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::Plugin::ConfigTemplate']; | ||
| 57 | |||
| 58 | coerce 'ConfigTemplate', | ||
| 59 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::Plugin::ConfigTemplate'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedConfigTemplate', | ||
| 62 | as ArrayRef[ConfigTemplate()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedConfigTemplate', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::Plugin::ConfigTemplate'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringConfigTemplate', | ||
| 68 | as HashRef[ConfigTemplate()]; | ||
| 69 | |||
| 70 | declare 'AuthConfigTemplate', | ||
| 71 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::Plugin::ConfigTemplate::AuthConfigTemplate']; | ||
| 72 | |||
| 73 | coerce 'AuthConfigTemplate', | ||
| 74 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::Plugin::ConfigTemplate::AuthConfigTemplate'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedAuthConfigTemplate', | ||
| 77 | as ArrayRef[AuthConfigTemplate()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedAuthConfigTemplate', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::Plugin::ConfigTemplate::AuthConfigTemplate'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringAuthConfigTemplate', | ||
| 83 | as HashRef[AuthConfigTemplate()]; | ||
| 84 | |||
| 85 | declare 'PluginActionConfig', | ||
| 86 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::PluginActionConfig']; | ||
| 87 | |||
| 88 | coerce 'PluginActionConfig', | ||
| 89 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::PluginActionConfig'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedPluginActionConfig', | ||
| 92 | as ArrayRef[PluginActionConfig()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedPluginActionConfig', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::PluginActionConfig'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringPluginActionConfig', | ||
| 98 | as HashRef[PluginActionConfig()]; | ||
| 99 | |||
| 100 | declare 'TriggerMode', | ||
| 101 | as (Int | Str); | ||
| 102 | |||
| 103 | declare 'GetPluginRequest', | ||
| 104 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::GetPluginRequest']; | ||
| 105 | |||
| 106 | coerce 'GetPluginRequest', | ||
| 107 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::GetPluginRequest'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedGetPluginRequest', | ||
| 110 | as ArrayRef[GetPluginRequest()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedGetPluginRequest', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::GetPluginRequest'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringGetPluginRequest', | ||
| 116 | as HashRef[GetPluginRequest()]; | ||
| 117 | |||
| 118 | declare 'EnablePluginRequest', | ||
| 119 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::EnablePluginRequest']; | ||
| 120 | |||
| 121 | coerce 'EnablePluginRequest', | ||
| 122 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::EnablePluginRequest'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedEnablePluginRequest', | ||
| 125 | as ArrayRef[EnablePluginRequest()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedEnablePluginRequest', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::EnablePluginRequest'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringEnablePluginRequest', | ||
| 131 | as HashRef[EnablePluginRequest()]; | ||
| 132 | |||
| 133 | declare 'DisablePluginRequest', | ||
| 134 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::DisablePluginRequest']; | ||
| 135 | |||
| 136 | coerce 'DisablePluginRequest', | ||
| 137 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::DisablePluginRequest'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedDisablePluginRequest', | ||
| 140 | as ArrayRef[DisablePluginRequest()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedDisablePluginRequest', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::DisablePluginRequest'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringDisablePluginRequest', | ||
| 146 | as HashRef[DisablePluginRequest()]; | ||
| 147 | |||
| 148 | declare 'PluginInstanceAction', | ||
| 149 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction']; | ||
| 150 | |||
| 151 | coerce 'PluginInstanceAction', | ||
| 152 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedPluginInstanceAction', | ||
| 155 | as ArrayRef[PluginInstanceAction()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedPluginInstanceAction', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringPluginInstanceAction', | ||
| 161 | as HashRef[PluginInstanceAction()]; | ||
| 162 | |||
| 163 | declare 'State', | ||
| 164 | as (Int | Str); | ||
| 165 | |||
| 166 | declare 'ResourceConfig', | ||
| 167 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction::ResourceConfig']; | ||
| 168 | |||
| 169 | coerce 'ResourceConfig', | ||
| 170 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction::ResourceConfig'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedResourceConfig', | ||
| 173 | as ArrayRef[ResourceConfig()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedResourceConfig', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction::ResourceConfig'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringResourceConfig', | ||
| 179 | as HashRef[ResourceConfig()]; | ||
| 180 | |||
| 181 | declare 'PluginInstance', | ||
| 182 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::PluginInstance']; | ||
| 183 | |||
| 184 | coerce 'PluginInstance', | ||
| 185 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::PluginInstance'->new($_) }; | ||
| 186 | |||
| 187 | declare 'RepeatedPluginInstance', | ||
| 188 | as ArrayRef[PluginInstance()]; | ||
| 189 | |||
| 190 | coerce 'RepeatedPluginInstance', | ||
| 191 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::PluginInstance'->new($_) } @$_ ] }; | ||
| 192 | |||
| 193 | declare 'MapStringPluginInstance', | ||
| 194 | as HashRef[PluginInstance()]; | ||
| 195 | |||
| 196 | declare 'State', | ||
| 197 | as (Int | Str); | ||
| 198 | |||
| 199 | declare 'AdditionalConfigEntry', | ||
| 200 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::PluginInstance::AdditionalConfigEntry']; | ||
| 201 | |||
| 202 | coerce 'AdditionalConfigEntry', | ||
| 203 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::PluginInstance::AdditionalConfigEntry'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedAdditionalConfigEntry', | ||
| 206 | as ArrayRef[AdditionalConfigEntry()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedAdditionalConfigEntry', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::PluginInstance::AdditionalConfigEntry'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringAdditionalConfigEntry', | ||
| 212 | as HashRef[AdditionalConfigEntry()]; | ||
| 213 | |||
| 214 | declare 'CurationConfig', | ||
| 215 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::CurationConfig']; | ||
| 216 | |||
| 217 | coerce 'CurationConfig', | ||
| 218 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::CurationConfig'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedCurationConfig', | ||
| 221 | as ArrayRef[CurationConfig()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedCurationConfig', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::CurationConfig'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringCurationConfig', | ||
| 227 | as HashRef[CurationConfig()]; | ||
| 228 | |||
| 229 | declare 'CustomCuration', | ||
| 230 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::CurationConfig::CustomCuration']; | ||
| 231 | |||
| 232 | coerce 'CustomCuration', | ||
| 233 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::CurationConfig::CustomCuration'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedCustomCuration', | ||
| 236 | as ArrayRef[CustomCuration()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedCustomCuration', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::CurationConfig::CustomCuration'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringCustomCuration', | ||
| 242 | as HashRef[CustomCuration()]; | ||
| 243 | |||
| 244 | declare 'ExecutionStatus', | ||
| 245 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ExecutionStatus']; | ||
| 246 | |||
| 247 | coerce 'ExecutionStatus', | ||
| 248 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ExecutionStatus'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedExecutionStatus', | ||
| 251 | as ArrayRef[ExecutionStatus()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedExecutionStatus', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ExecutionStatus'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringExecutionStatus', | ||
| 257 | as HashRef[ExecutionStatus()]; | ||
| 258 | |||
| 259 | declare 'CurrentExecutionState', | ||
| 260 | as (Int | Str); | ||
| 261 | |||
| 262 | declare 'LastExecution', | ||
| 263 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ExecutionStatus::LastExecution']; | ||
| 264 | |||
| 265 | coerce 'LastExecution', | ||
| 266 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ExecutionStatus::LastExecution'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedLastExecution', | ||
| 269 | as ArrayRef[LastExecution()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedLastExecution', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ExecutionStatus::LastExecution'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringLastExecution', | ||
| 275 | as HashRef[LastExecution()]; | ||
| 276 | |||
| 277 | declare 'Result', | ||
| 278 | as (Int | Str); | ||
| 279 | |||
| 280 | declare 'CreatePluginRequest', | ||
| 281 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::CreatePluginRequest']; | ||
| 282 | |||
| 283 | coerce 'CreatePluginRequest', | ||
| 284 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::CreatePluginRequest'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedCreatePluginRequest', | ||
| 287 | as ArrayRef[CreatePluginRequest()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedCreatePluginRequest', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::CreatePluginRequest'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringCreatePluginRequest', | ||
| 293 | as HashRef[CreatePluginRequest()]; | ||
| 294 | |||
| 295 | declare 'DeletePluginRequest', | ||
| 296 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::DeletePluginRequest']; | ||
| 297 | |||
| 298 | coerce 'DeletePluginRequest', | ||
| 299 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::DeletePluginRequest'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedDeletePluginRequest', | ||
| 302 | as ArrayRef[DeletePluginRequest()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedDeletePluginRequest', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::DeletePluginRequest'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringDeletePluginRequest', | ||
| 308 | as HashRef[DeletePluginRequest()]; | ||
| 309 | |||
| 310 | declare 'ListPluginsRequest', | ||
| 311 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ListPluginsRequest']; | ||
| 312 | |||
| 313 | coerce 'ListPluginsRequest', | ||
| 314 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ListPluginsRequest'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedListPluginsRequest', | ||
| 317 | as ArrayRef[ListPluginsRequest()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedListPluginsRequest', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ListPluginsRequest'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringListPluginsRequest', | ||
| 323 | as HashRef[ListPluginsRequest()]; | ||
| 324 | |||
| 325 | declare 'ListPluginsResponse', | ||
| 326 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ListPluginsResponse']; | ||
| 327 | |||
| 328 | coerce 'ListPluginsResponse', | ||
| 329 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ListPluginsResponse'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedListPluginsResponse', | ||
| 332 | as ArrayRef[ListPluginsResponse()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedListPluginsResponse', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ListPluginsResponse'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringListPluginsResponse', | ||
| 338 | as HashRef[ListPluginsResponse()]; | ||
| 339 | |||
| 340 | declare 'CreatePluginInstanceRequest', | ||
| 341 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::CreatePluginInstanceRequest']; | ||
| 342 | |||
| 343 | coerce 'CreatePluginInstanceRequest', | ||
| 344 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::CreatePluginInstanceRequest'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedCreatePluginInstanceRequest', | ||
| 347 | as ArrayRef[CreatePluginInstanceRequest()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedCreatePluginInstanceRequest', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::CreatePluginInstanceRequest'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringCreatePluginInstanceRequest', | ||
| 353 | as HashRef[CreatePluginInstanceRequest()]; | ||
| 354 | |||
| 355 | declare 'ExecutePluginInstanceActionRequest', | ||
| 356 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ExecutePluginInstanceActionRequest']; | ||
| 357 | |||
| 358 | coerce 'ExecutePluginInstanceActionRequest', | ||
| 359 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ExecutePluginInstanceActionRequest'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedExecutePluginInstanceActionRequest', | ||
| 362 | as ArrayRef[ExecutePluginInstanceActionRequest()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedExecutePluginInstanceActionRequest', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ExecutePluginInstanceActionRequest'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringExecutePluginInstanceActionRequest', | ||
| 368 | as HashRef[ExecutePluginInstanceActionRequest()]; | ||
| 369 | |||
| 370 | declare 'ActionExecutionDetail', | ||
| 371 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ActionExecutionDetail']; | ||
| 372 | |||
| 373 | coerce 'ActionExecutionDetail', | ||
| 374 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ActionExecutionDetail'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedActionExecutionDetail', | ||
| 377 | as ArrayRef[ActionExecutionDetail()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedActionExecutionDetail', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ActionExecutionDetail'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringActionExecutionDetail', | ||
| 383 | as HashRef[ActionExecutionDetail()]; | ||
| 384 | |||
| 385 | declare 'ExecutePluginInstanceActionResponse', | ||
| 386 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ExecutePluginInstanceActionResponse']; | ||
| 387 | |||
| 388 | coerce 'ExecutePluginInstanceActionResponse', | ||
| 389 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ExecutePluginInstanceActionResponse'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedExecutePluginInstanceActionResponse', | ||
| 392 | as ArrayRef[ExecutePluginInstanceActionResponse()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedExecutePluginInstanceActionResponse', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ExecutePluginInstanceActionResponse'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringExecutePluginInstanceActionResponse', | ||
| 398 | as HashRef[ExecutePluginInstanceActionResponse()]; | ||
| 399 | |||
| 400 | declare 'GetPluginInstanceRequest', | ||
| 401 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::GetPluginInstanceRequest']; | ||
| 402 | |||
| 403 | coerce 'GetPluginInstanceRequest', | ||
| 404 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::GetPluginInstanceRequest'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedGetPluginInstanceRequest', | ||
| 407 | as ArrayRef[GetPluginInstanceRequest()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedGetPluginInstanceRequest', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::GetPluginInstanceRequest'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringGetPluginInstanceRequest', | ||
| 413 | as HashRef[GetPluginInstanceRequest()]; | ||
| 414 | |||
| 415 | declare 'ListPluginInstancesRequest', | ||
| 416 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ListPluginInstancesRequest']; | ||
| 417 | |||
| 418 | coerce 'ListPluginInstancesRequest', | ||
| 419 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ListPluginInstancesRequest'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedListPluginInstancesRequest', | ||
| 422 | as ArrayRef[ListPluginInstancesRequest()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedListPluginInstancesRequest', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ListPluginInstancesRequest'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringListPluginInstancesRequest', | ||
| 428 | as HashRef[ListPluginInstancesRequest()]; | ||
| 429 | |||
| 430 | declare 'ListPluginInstancesResponse', | ||
| 431 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::ListPluginInstancesResponse']; | ||
| 432 | |||
| 433 | coerce 'ListPluginInstancesResponse', | ||
| 434 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::ListPluginInstancesResponse'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedListPluginInstancesResponse', | ||
| 437 | as ArrayRef[ListPluginInstancesResponse()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedListPluginInstancesResponse', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::ListPluginInstancesResponse'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringListPluginInstancesResponse', | ||
| 443 | as HashRef[ListPluginInstancesResponse()]; | ||
| 444 | |||
| 445 | declare 'EnablePluginInstanceActionRequest', | ||
| 446 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::EnablePluginInstanceActionRequest']; | ||
| 447 | |||
| 448 | coerce 'EnablePluginInstanceActionRequest', | ||
| 449 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::EnablePluginInstanceActionRequest'->new($_) }; | ||
| 450 | |||
| 451 | declare 'RepeatedEnablePluginInstanceActionRequest', | ||
| 452 | as ArrayRef[EnablePluginInstanceActionRequest()]; | ||
| 453 | |||
| 454 | coerce 'RepeatedEnablePluginInstanceActionRequest', | ||
| 455 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::EnablePluginInstanceActionRequest'->new($_) } @$_ ] }; | ||
| 456 | |||
| 457 | declare 'MapStringEnablePluginInstanceActionRequest', | ||
| 458 | as HashRef[EnablePluginInstanceActionRequest()]; | ||
| 459 | |||
| 460 | declare 'EnablePluginInstanceActionResponse', | ||
| 461 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::EnablePluginInstanceActionResponse']; | ||
| 462 | |||
| 463 | coerce 'EnablePluginInstanceActionResponse', | ||
| 464 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::EnablePluginInstanceActionResponse'->new($_) }; | ||
| 465 | |||
| 466 | declare 'RepeatedEnablePluginInstanceActionResponse', | ||
| 467 | as ArrayRef[EnablePluginInstanceActionResponse()]; | ||
| 468 | |||
| 469 | coerce 'RepeatedEnablePluginInstanceActionResponse', | ||
| 470 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::EnablePluginInstanceActionResponse'->new($_) } @$_ ] }; | ||
| 471 | |||
| 472 | declare 'MapStringEnablePluginInstanceActionResponse', | ||
| 473 | as HashRef[EnablePluginInstanceActionResponse()]; | ||
| 474 | |||
| 475 | declare 'DisablePluginInstanceActionRequest', | ||
| 476 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::DisablePluginInstanceActionRequest']; | ||
| 477 | |||
| 478 | coerce 'DisablePluginInstanceActionRequest', | ||
| 479 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::DisablePluginInstanceActionRequest'->new($_) }; | ||
| 480 | |||
| 481 | declare 'RepeatedDisablePluginInstanceActionRequest', | ||
| 482 | as ArrayRef[DisablePluginInstanceActionRequest()]; | ||
| 483 | |||
| 484 | coerce 'RepeatedDisablePluginInstanceActionRequest', | ||
| 485 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::DisablePluginInstanceActionRequest'->new($_) } @$_ ] }; | ||
| 486 | |||
| 487 | declare 'MapStringDisablePluginInstanceActionRequest', | ||
| 488 | as HashRef[DisablePluginInstanceActionRequest()]; | ||
| 489 | |||
| 490 | declare 'DisablePluginInstanceActionResponse', | ||
| 491 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::DisablePluginInstanceActionResponse']; | ||
| 492 | |||
| 493 | coerce 'DisablePluginInstanceActionResponse', | ||
| 494 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::DisablePluginInstanceActionResponse'->new($_) }; | ||
| 495 | |||
| 496 | declare 'RepeatedDisablePluginInstanceActionResponse', | ||
| 497 | as ArrayRef[DisablePluginInstanceActionResponse()]; | ||
| 498 | |||
| 499 | coerce 'RepeatedDisablePluginInstanceActionResponse', | ||
| 500 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::DisablePluginInstanceActionResponse'->new($_) } @$_ ] }; | ||
| 501 | |||
| 502 | declare 'MapStringDisablePluginInstanceActionResponse', | ||
| 503 | as HashRef[DisablePluginInstanceActionResponse()]; | ||
| 504 | |||
| 505 | declare 'UpdatePluginInstanceRequest', | ||
| 506 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::UpdatePluginInstanceRequest']; | ||
| 507 | |||
| 508 | coerce 'UpdatePluginInstanceRequest', | ||
| 509 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::UpdatePluginInstanceRequest'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedUpdatePluginInstanceRequest', | ||
| 512 | as ArrayRef[UpdatePluginInstanceRequest()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedUpdatePluginInstanceRequest', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::UpdatePluginInstanceRequest'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringUpdatePluginInstanceRequest', | ||
| 518 | as HashRef[UpdatePluginInstanceRequest()]; | ||
| 519 | |||
| 520 | declare 'DeletePluginInstanceRequest', | ||
| 521 | as InstanceOf['Google::Cloud::Apihub::V1::PluginService::DeletePluginInstanceRequest']; | ||
| 522 | |||
| 523 | coerce 'DeletePluginInstanceRequest', | ||
| 524 | from HashRef, via { 'Google::Cloud::Apihub::V1::PluginService::DeletePluginInstanceRequest'->new($_) }; | ||
| 525 | |||
| 526 | declare 'RepeatedDeletePluginInstanceRequest', | ||
| 527 | as ArrayRef[DeletePluginInstanceRequest()]; | ||
| 528 | |||
| 529 | coerce 'RepeatedDeletePluginInstanceRequest', | ||
| 530 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::PluginService::DeletePluginInstanceRequest'->new($_) } @$_ ] }; | ||
| 531 | |||
| 532 | declare 'MapStringDeletePluginInstanceRequest', | ||
| 533 | as HashRef[DeletePluginInstanceRequest()]; | ||
| 534 | |||
| 535 | 1; | ||
| 536 | |||
| 537 | __END__ |