| 1 | package Google::Api::Client::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 'ClientLibraryOrganization', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'ClientLibraryDestination', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'FlowControlLimitExceededBehaviorProto', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'CommonLanguageSettings', | ||
| 20 | as InstanceOf['Google::Api::Client::CommonLanguageSettings']; | ||
| 21 | |||
| 22 | coerce 'CommonLanguageSettings', | ||
| 23 | from HashRef, via { 'Google::Api::Client::CommonLanguageSettings'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedCommonLanguageSettings', | ||
| 26 | as ArrayRef[CommonLanguageSettings()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedCommonLanguageSettings', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::CommonLanguageSettings'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringCommonLanguageSettings', | ||
| 32 | as HashRef[CommonLanguageSettings()]; | ||
| 33 | |||
| 34 | declare 'ClientLibrarySettings', | ||
| 35 | as InstanceOf['Google::Api::Client::ClientLibrarySettings']; | ||
| 36 | |||
| 37 | coerce 'ClientLibrarySettings', | ||
| 38 | from HashRef, via { 'Google::Api::Client::ClientLibrarySettings'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedClientLibrarySettings', | ||
| 41 | as ArrayRef[ClientLibrarySettings()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedClientLibrarySettings', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::ClientLibrarySettings'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringClientLibrarySettings', | ||
| 47 | as HashRef[ClientLibrarySettings()]; | ||
| 48 | |||
| 49 | declare 'Publishing', | ||
| 50 | as InstanceOf['Google::Api::Client::Publishing']; | ||
| 51 | |||
| 52 | coerce 'Publishing', | ||
| 53 | from HashRef, via { 'Google::Api::Client::Publishing'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedPublishing', | ||
| 56 | as ArrayRef[Publishing()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedPublishing', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::Publishing'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringPublishing', | ||
| 62 | as HashRef[Publishing()]; | ||
| 63 | |||
| 64 | declare 'JavaSettings', | ||
| 65 | as InstanceOf['Google::Api::Client::JavaSettings']; | ||
| 66 | |||
| 67 | coerce 'JavaSettings', | ||
| 68 | from HashRef, via { 'Google::Api::Client::JavaSettings'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedJavaSettings', | ||
| 71 | as ArrayRef[JavaSettings()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedJavaSettings', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::JavaSettings'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringJavaSettings', | ||
| 77 | as HashRef[JavaSettings()]; | ||
| 78 | |||
| 79 | declare 'ServiceClassNamesEntry', | ||
| 80 | as InstanceOf['Google::Api::Client::JavaSettings::ServiceClassNamesEntry']; | ||
| 81 | |||
| 82 | coerce 'ServiceClassNamesEntry', | ||
| 83 | from HashRef, via { 'Google::Api::Client::JavaSettings::ServiceClassNamesEntry'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedServiceClassNamesEntry', | ||
| 86 | as ArrayRef[ServiceClassNamesEntry()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedServiceClassNamesEntry', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::JavaSettings::ServiceClassNamesEntry'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringServiceClassNamesEntry', | ||
| 92 | as HashRef[ServiceClassNamesEntry()]; | ||
| 93 | |||
| 94 | declare 'CppSettings', | ||
| 95 | as InstanceOf['Google::Api::Client::CppSettings']; | ||
| 96 | |||
| 97 | coerce 'CppSettings', | ||
| 98 | from HashRef, via { 'Google::Api::Client::CppSettings'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedCppSettings', | ||
| 101 | as ArrayRef[CppSettings()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedCppSettings', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::CppSettings'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringCppSettings', | ||
| 107 | as HashRef[CppSettings()]; | ||
| 108 | |||
| 109 | declare 'PhpSettings', | ||
| 110 | as InstanceOf['Google::Api::Client::PhpSettings']; | ||
| 111 | |||
| 112 | coerce 'PhpSettings', | ||
| 113 | from HashRef, via { 'Google::Api::Client::PhpSettings'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedPhpSettings', | ||
| 116 | as ArrayRef[PhpSettings()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedPhpSettings', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::PhpSettings'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringPhpSettings', | ||
| 122 | as HashRef[PhpSettings()]; | ||
| 123 | |||
| 124 | declare 'PythonSettings', | ||
| 125 | as InstanceOf['Google::Api::Client::PythonSettings']; | ||
| 126 | |||
| 127 | coerce 'PythonSettings', | ||
| 128 | from HashRef, via { 'Google::Api::Client::PythonSettings'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedPythonSettings', | ||
| 131 | as ArrayRef[PythonSettings()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedPythonSettings', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::PythonSettings'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringPythonSettings', | ||
| 137 | as HashRef[PythonSettings()]; | ||
| 138 | |||
| 139 | declare 'ExperimentalFeatures', | ||
| 140 | as InstanceOf['Google::Api::Client::PythonSettings::ExperimentalFeatures']; | ||
| 141 | |||
| 142 | coerce 'ExperimentalFeatures', | ||
| 143 | from HashRef, via { 'Google::Api::Client::PythonSettings::ExperimentalFeatures'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedExperimentalFeatures', | ||
| 146 | as ArrayRef[ExperimentalFeatures()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedExperimentalFeatures', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::PythonSettings::ExperimentalFeatures'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringExperimentalFeatures', | ||
| 152 | as HashRef[ExperimentalFeatures()]; | ||
| 153 | |||
| 154 | declare 'NodeSettings', | ||
| 155 | as InstanceOf['Google::Api::Client::NodeSettings']; | ||
| 156 | |||
| 157 | coerce 'NodeSettings', | ||
| 158 | from HashRef, via { 'Google::Api::Client::NodeSettings'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedNodeSettings', | ||
| 161 | as ArrayRef[NodeSettings()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedNodeSettings', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::NodeSettings'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringNodeSettings', | ||
| 167 | as HashRef[NodeSettings()]; | ||
| 168 | |||
| 169 | declare 'DotnetSettings', | ||
| 170 | as InstanceOf['Google::Api::Client::DotnetSettings']; | ||
| 171 | |||
| 172 | coerce 'DotnetSettings', | ||
| 173 | from HashRef, via { 'Google::Api::Client::DotnetSettings'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedDotnetSettings', | ||
| 176 | as ArrayRef[DotnetSettings()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedDotnetSettings', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::DotnetSettings'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringDotnetSettings', | ||
| 182 | as HashRef[DotnetSettings()]; | ||
| 183 | |||
| 184 | declare 'RenamedServicesEntry', | ||
| 185 | as InstanceOf['Google::Api::Client::DotnetSettings::RenamedServicesEntry']; | ||
| 186 | |||
| 187 | coerce 'RenamedServicesEntry', | ||
| 188 | from HashRef, via { 'Google::Api::Client::DotnetSettings::RenamedServicesEntry'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedRenamedServicesEntry', | ||
| 191 | as ArrayRef[RenamedServicesEntry()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedRenamedServicesEntry', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::DotnetSettings::RenamedServicesEntry'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringRenamedServicesEntry', | ||
| 197 | as HashRef[RenamedServicesEntry()]; | ||
| 198 | |||
| 199 | declare 'RenamedResourcesEntry', | ||
| 200 | as InstanceOf['Google::Api::Client::DotnetSettings::RenamedResourcesEntry']; | ||
| 201 | |||
| 202 | coerce 'RenamedResourcesEntry', | ||
| 203 | from HashRef, via { 'Google::Api::Client::DotnetSettings::RenamedResourcesEntry'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedRenamedResourcesEntry', | ||
| 206 | as ArrayRef[RenamedResourcesEntry()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedRenamedResourcesEntry', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::DotnetSettings::RenamedResourcesEntry'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringRenamedResourcesEntry', | ||
| 212 | as HashRef[RenamedResourcesEntry()]; | ||
| 213 | |||
| 214 | declare 'RubySettings', | ||
| 215 | as InstanceOf['Google::Api::Client::RubySettings']; | ||
| 216 | |||
| 217 | coerce 'RubySettings', | ||
| 218 | from HashRef, via { 'Google::Api::Client::RubySettings'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedRubySettings', | ||
| 221 | as ArrayRef[RubySettings()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedRubySettings', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::RubySettings'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringRubySettings', | ||
| 227 | as HashRef[RubySettings()]; | ||
| 228 | |||
| 229 | declare 'GoSettings', | ||
| 230 | as InstanceOf['Google::Api::Client::GoSettings']; | ||
| 231 | |||
| 232 | coerce 'GoSettings', | ||
| 233 | from HashRef, via { 'Google::Api::Client::GoSettings'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedGoSettings', | ||
| 236 | as ArrayRef[GoSettings()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedGoSettings', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::GoSettings'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringGoSettings', | ||
| 242 | as HashRef[GoSettings()]; | ||
| 243 | |||
| 244 | declare 'RenamedServicesEntry', | ||
| 245 | as InstanceOf['Google::Api::Client::GoSettings::RenamedServicesEntry']; | ||
| 246 | |||
| 247 | coerce 'RenamedServicesEntry', | ||
| 248 | from HashRef, via { 'Google::Api::Client::GoSettings::RenamedServicesEntry'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedRenamedServicesEntry', | ||
| 251 | as ArrayRef[RenamedServicesEntry()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedRenamedServicesEntry', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::GoSettings::RenamedServicesEntry'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringRenamedServicesEntry', | ||
| 257 | as HashRef[RenamedServicesEntry()]; | ||
| 258 | |||
| 259 | declare 'MethodSettings', | ||
| 260 | as InstanceOf['Google::Api::Client::MethodSettings']; | ||
| 261 | |||
| 262 | coerce 'MethodSettings', | ||
| 263 | from HashRef, via { 'Google::Api::Client::MethodSettings'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedMethodSettings', | ||
| 266 | as ArrayRef[MethodSettings()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedMethodSettings', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::MethodSettings'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringMethodSettings', | ||
| 272 | as HashRef[MethodSettings()]; | ||
| 273 | |||
| 274 | declare 'LongRunning', | ||
| 275 | as InstanceOf['Google::Api::Client::MethodSettings::LongRunning']; | ||
| 276 | |||
| 277 | coerce 'LongRunning', | ||
| 278 | from HashRef, via { 'Google::Api::Client::MethodSettings::LongRunning'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedLongRunning', | ||
| 281 | as ArrayRef[LongRunning()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedLongRunning', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::MethodSettings::LongRunning'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringLongRunning', | ||
| 287 | as HashRef[LongRunning()]; | ||
| 288 | |||
| 289 | declare 'SelectiveGapicGeneration', | ||
| 290 | as InstanceOf['Google::Api::Client::SelectiveGapicGeneration']; | ||
| 291 | |||
| 292 | coerce 'SelectiveGapicGeneration', | ||
| 293 | from HashRef, via { 'Google::Api::Client::SelectiveGapicGeneration'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedSelectiveGapicGeneration', | ||
| 296 | as ArrayRef[SelectiveGapicGeneration()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedSelectiveGapicGeneration', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::SelectiveGapicGeneration'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringSelectiveGapicGeneration', | ||
| 302 | as HashRef[SelectiveGapicGeneration()]; | ||
| 303 | |||
| 304 | declare 'BatchingConfigProto', | ||
| 305 | as InstanceOf['Google::Api::Client::BatchingConfigProto']; | ||
| 306 | |||
| 307 | coerce 'BatchingConfigProto', | ||
| 308 | from HashRef, via { 'Google::Api::Client::BatchingConfigProto'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedBatchingConfigProto', | ||
| 311 | as ArrayRef[BatchingConfigProto()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedBatchingConfigProto', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::BatchingConfigProto'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringBatchingConfigProto', | ||
| 317 | as HashRef[BatchingConfigProto()]; | ||
| 318 | |||
| 319 | declare 'BatchingSettingsProto', | ||
| 320 | as InstanceOf['Google::Api::Client::BatchingSettingsProto']; | ||
| 321 | |||
| 322 | coerce 'BatchingSettingsProto', | ||
| 323 | from HashRef, via { 'Google::Api::Client::BatchingSettingsProto'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedBatchingSettingsProto', | ||
| 326 | as ArrayRef[BatchingSettingsProto()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedBatchingSettingsProto', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::BatchingSettingsProto'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringBatchingSettingsProto', | ||
| 332 | as HashRef[BatchingSettingsProto()]; | ||
| 333 | |||
| 334 | declare 'BatchingDescriptorProto', | ||
| 335 | as InstanceOf['Google::Api::Client::BatchingDescriptorProto']; | ||
| 336 | |||
| 337 | coerce 'BatchingDescriptorProto', | ||
| 338 | from HashRef, via { 'Google::Api::Client::BatchingDescriptorProto'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedBatchingDescriptorProto', | ||
| 341 | as ArrayRef[BatchingDescriptorProto()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedBatchingDescriptorProto', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Api::Client::BatchingDescriptorProto'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringBatchingDescriptorProto', | ||
| 347 | as HashRef[BatchingDescriptorProto()]; | ||
| 348 | |||
| 349 | 1; | ||
| 350 | |||
| 351 | __END__ |