google-cloud-api_hub-v1 0.a → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/api_hub/v1/api_hub/client.rb +4514 -0
  6. data/lib/google/cloud/api_hub/v1/api_hub/credentials.rb +47 -0
  7. data/lib/google/cloud/api_hub/v1/api_hub/paths.rb +216 -0
  8. data/lib/google/cloud/api_hub/v1/api_hub/rest/client.rb +4251 -0
  9. data/lib/google/cloud/api_hub/v1/api_hub/rest/service_stub.rb +2147 -0
  10. data/lib/google/cloud/api_hub/v1/api_hub/rest.rb +53 -0
  11. data/lib/google/cloud/api_hub/v1/api_hub.rb +55 -0
  12. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/client.rb +906 -0
  13. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/credentials.rb +47 -0
  14. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/paths.rb +88 -0
  15. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest/client.rb +853 -0
  16. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest/service_stub.rb +366 -0
  17. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest.rb +54 -0
  18. data/lib/google/cloud/api_hub/v1/api_hub_dependencies.rb +56 -0
  19. data/lib/google/cloud/api_hub/v1/api_hub_plugin/client.rb +640 -0
  20. data/lib/google/cloud/api_hub/v1/api_hub_plugin/credentials.rb +47 -0
  21. data/lib/google/cloud/api_hub/v1/api_hub_plugin/paths.rb +52 -0
  22. data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb +601 -0
  23. data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/service_stub.rb +248 -0
  24. data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest.rb +53 -0
  25. data/lib/google/cloud/api_hub/v1/api_hub_plugin.rb +55 -0
  26. data/lib/google/cloud/api_hub/v1/bindings_override.rb +102 -0
  27. data/lib/google/cloud/api_hub/v1/host_project_registration_service/client.rb +689 -0
  28. data/lib/google/cloud/api_hub/v1/host_project_registration_service/credentials.rb +47 -0
  29. data/lib/google/cloud/api_hub/v1/host_project_registration_service/paths.rb +83 -0
  30. data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest/client.rb +650 -0
  31. data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest/service_stub.rb +247 -0
  32. data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest.rb +53 -0
  33. data/lib/google/cloud/api_hub/v1/host_project_registration_service.rb +55 -0
  34. data/lib/google/cloud/api_hub/v1/linting_service/client.rb +744 -0
  35. data/lib/google/cloud/api_hub/v1/linting_service/credentials.rb +47 -0
  36. data/lib/google/cloud/api_hub/v1/linting_service/paths.rb +75 -0
  37. data/lib/google/cloud/api_hub/v1/linting_service/rest/client.rb +698 -0
  38. data/lib/google/cloud/api_hub/v1/linting_service/rest/service_stub.rb +307 -0
  39. data/lib/google/cloud/api_hub/v1/linting_service/rest.rb +53 -0
  40. data/lib/google/cloud/api_hub/v1/linting_service.rb +55 -0
  41. data/lib/google/cloud/api_hub/v1/provisioning/client.rb +676 -0
  42. data/lib/google/cloud/api_hub/v1/provisioning/credentials.rb +47 -0
  43. data/lib/google/cloud/api_hub/v1/provisioning/operations.rb +809 -0
  44. data/lib/google/cloud/api_hub/v1/provisioning/paths.rb +69 -0
  45. data/lib/google/cloud/api_hub/v1/provisioning/rest/client.rb +637 -0
  46. data/lib/google/cloud/api_hub/v1/provisioning/rest/operations.rb +902 -0
  47. data/lib/google/cloud/api_hub/v1/provisioning/rest/service_stub.rb +247 -0
  48. data/lib/google/cloud/api_hub/v1/provisioning/rest.rb +54 -0
  49. data/lib/google/cloud/api_hub/v1/provisioning.rb +56 -0
  50. data/lib/google/cloud/api_hub/v1/rest.rb +44 -0
  51. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/client.rb +885 -0
  52. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/credentials.rb +47 -0
  53. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/paths.rb +83 -0
  54. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/client.rb +832 -0
  55. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/service_stub.rb +365 -0
  56. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest.rb +53 -0
  57. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service.rb +55 -0
  58. data/lib/google/cloud/api_hub/v1/version.rb +7 -2
  59. data/lib/google/cloud/api_hub/v1.rb +51 -0
  60. data/lib/google/cloud/apihub/v1/apihub_service_pb.rb +102 -0
  61. data/lib/google/cloud/apihub/v1/apihub_service_services_pb.rb +288 -0
  62. data/lib/google/cloud/apihub/v1/common_fields_pb.rb +92 -0
  63. data/lib/google/cloud/apihub/v1/host_project_registration_service_pb.rb +53 -0
  64. data/lib/google/cloud/apihub/v1/host_project_registration_service_services_pb.rb +53 -0
  65. data/lib/google/cloud/apihub/v1/linting_service_pb.rb +56 -0
  66. data/lib/google/cloud/apihub/v1/linting_service_services_pb.rb +53 -0
  67. data/lib/google/cloud/apihub/v1/plugin_service_pb.rb +53 -0
  68. data/lib/google/cloud/apihub/v1/plugin_service_services_pb.rb +51 -0
  69. data/lib/google/cloud/apihub/v1/provisioning_service_pb.rb +53 -0
  70. data/lib/google/cloud/apihub/v1/provisioning_service_services_pb.rb +50 -0
  71. data/lib/google/cloud/apihub/v1/runtime_project_attachment_service_pb.rb +57 -0
  72. data/lib/google/cloud/apihub/v1/runtime_project_attachment_service_services_pb.rb +55 -0
  73. data/lib/google-cloud-api_hub-v1.rb +21 -0
  74. data/proto_docs/README.md +4 -0
  75. data/proto_docs/google/api/client.rb +420 -0
  76. data/proto_docs/google/api/field_behavior.rb +85 -0
  77. data/proto_docs/google/api/launch_stage.rb +71 -0
  78. data/proto_docs/google/api/resource.rb +227 -0
  79. data/proto_docs/google/cloud/apihub/v1/apihub_service.rb +1317 -0
  80. data/proto_docs/google/cloud/apihub/v1/common_fields.rb +1296 -0
  81. data/proto_docs/google/cloud/apihub/v1/host_project_registration_service.rb +146 -0
  82. data/proto_docs/google/cloud/apihub/v1/linting_service.rb +103 -0
  83. data/proto_docs/google/cloud/apihub/v1/plugin_service.rb +104 -0
  84. data/proto_docs/google/cloud/apihub/v1/provisioning_service.rb +87 -0
  85. data/proto_docs/google/cloud/apihub/v1/runtime_project_attachment_service.rb +182 -0
  86. data/proto_docs/google/longrunning/operations.rb +164 -0
  87. data/proto_docs/google/protobuf/any.rb +145 -0
  88. data/proto_docs/google/protobuf/duration.rb +98 -0
  89. data/proto_docs/google/protobuf/empty.rb +34 -0
  90. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  91. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  92. data/proto_docs/google/rpc/status.rb +48 -0
  93. metadata +155 -10
@@ -0,0 +1,102 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/apihub/v1/apihub_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/apihub/v1/common_fields_pb'
12
+ require 'google/protobuf/empty_pb'
13
+ require 'google/protobuf/field_mask_pb'
14
+
15
+
16
+ descriptor_data = "\n+google/cloud/apihub/v1/apihub_service.proto\x12\x16google.cloud.apihub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/apihub/v1/common_fields.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x89\x01\n\x10\x43reateApiRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\x12\x19\x61pihub.googleapis.com/Api\x12\x13\n\x06\x61pi_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12-\n\x03\x61pi\x18\x03 \x01(\x0b\x32\x1b.google.cloud.apihub.v1.ApiB\x03\xe0\x41\x02\"@\n\rGetApiRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x61pihub.googleapis.com/Api\"w\n\x10UpdateApiRequest\x12-\n\x03\x61pi\x18\x01 \x01(\x0b\x32\x1b.google.cloud.apihub.v1.ApiB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"W\n\x10\x44\x65leteApiRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x61pihub.googleapis.com/Api\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x01\n\x0fListApisRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\x12\x19\x61pihub.googleapis.com/Api\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"V\n\x10ListApisResponse\x12)\n\x04\x61pis\x18\x01 \x03(\x0b\x32\x1b.google.cloud.apihub.v1.Api\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x01\n\x14\x43reateVersionRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x61pihub.googleapis.com/Api\x12\x17\n\nversion_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x35\n\x07version\x18\x03 \x01(\x0b\x32\x1f.google.cloud.apihub.v1.VersionB\x03\xe0\x41\x02\"H\n\x11GetVersionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pihub.googleapis.com/Version\"\x83\x01\n\x14UpdateVersionRequest\x12\x35\n\x07version\x18\x01 \x01(\x0b\x32\x1f.google.cloud.apihub.v1.VersionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"_\n\x14\x44\x65leteVersionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pihub.googleapis.com/Version\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x92\x01\n\x13ListVersionsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61pihub.googleapis.com/Version\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"b\n\x14ListVersionsResponse\x12\x31\n\x08versions\x18\x01 \x03(\x0b\x32\x1f.google.cloud.apihub.v1.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x91\x01\n\x11\x43reateSpecRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pihub.googleapis.com/Version\x12\x14\n\x07spec_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12/\n\x04spec\x18\x03 \x01(\x0b\x32\x1c.google.cloud.apihub.v1.SpecB\x03\xe0\x41\x02\"B\n\x0eGetSpecRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\"z\n\x11UpdateSpecRequest\x12/\n\x04spec\x18\x01 \x01(\x0b\x32\x1c.google.cloud.apihub.v1.SpecB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"E\n\x11\x44\x65leteSpecRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\"\x8c\x01\n\x10ListSpecsRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1a\x61pihub.googleapis.com/Spec\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"Y\n\x11ListSpecsResponse\x12+\n\x05specs\x18\x01 \x03(\x0b\x32\x1c.google.cloud.apihub.v1.Spec\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x16GetSpecContentsRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\"R\n\x16GetApiOperationRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"apihub.googleapis.com/ApiOperation\"\x9c\x01\n\x18ListApiOperationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"apihub.googleapis.com/ApiOperation\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"r\n\x19ListApiOperationsResponse\x12<\n\x0e\x61pi_operations\x18\x01 \x03(\x0b\x32$.google.cloud.apihub.v1.ApiOperation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x14GetDefinitionRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Definition\"\xac\x01\n\x17\x43reateDeploymentRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 apihub.googleapis.com/Deployment\x12\x1a\n\rdeployment_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\ndeployment\x18\x03 \x01(\x0b\x32\".google.cloud.apihub.v1.DeploymentB\x03\xe0\x41\x02\"N\n\x14GetDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Deployment\"\x8c\x01\n\x17UpdateDeploymentRequest\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\".google.cloud.apihub.v1.DeploymentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Q\n\x17\x44\x65leteDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Deployment\"\x98\x01\n\x16ListDeploymentsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 apihub.googleapis.com/Deployment\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"k\n\x17ListDeploymentsResponse\x12\x37\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\".google.cloud.apihub.v1.Deployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x16\x43reateAttributeRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61pihub.googleapis.com/Attribute\x12\x19\n\x0c\x61ttribute_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x39\n\tattribute\x18\x03 \x01(\x0b\x32!.google.cloud.apihub.v1.AttributeB\x03\xe0\x41\x02\"L\n\x13GetAttributeRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61pihub.googleapis.com/Attribute\"\x89\x01\n\x16UpdateAttributeRequest\x12\x39\n\tattribute\x18\x01 \x01(\x0b\x32!.google.cloud.apihub.v1.AttributeB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"O\n\x16\x44\x65leteAttributeRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61pihub.googleapis.com/Attribute\"\x96\x01\n\x15ListAttributesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61pihub.googleapis.com/Attribute\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"h\n\x16ListAttributesResponse\x12\x35\n\nattributes\x18\x01 \x03(\x0b\x32!.google.cloud.apihub.v1.Attribute\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xaf\x01\n\x16SearchResourcesRequest\x12;\n\x08location\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xd9\x02\n\x0e\x41piHubResource\x12*\n\x03\x61pi\x18\x01 \x01(\x0b\x32\x1b.google.cloud.apihub.v1.ApiH\x00\x12\x39\n\toperation\x18\x02 \x01(\x0b\x32$.google.cloud.apihub.v1.ApiOperationH\x00\x12\x38\n\ndeployment\x18\x03 \x01(\x0b\x32\".google.cloud.apihub.v1.DeploymentH\x00\x12,\n\x04spec\x18\x04 \x01(\x0b\x32\x1c.google.cloud.apihub.v1.SpecH\x00\x12\x38\n\ndefinition\x18\x05 \x01(\x0b\x32\".google.cloud.apihub.v1.DefinitionH\x00\x12\x32\n\x07version\x18\x06 \x01(\x0b\x32\x1f.google.cloud.apihub.v1.VersionH\x00\x42\n\n\x08resource\"H\n\x0cSearchResult\x12\x38\n\x08resource\x18\x01 \x01(\x0b\x32&.google.cloud.apihub.v1.ApiHubResource\"p\n\x17SearchResourcesResponse\x12<\n\x0esearch_results\x18\x01 \x03(\x0b\x32$.google.cloud.apihub.v1.SearchResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xac\x01\n\x17\x43reateDependencyRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 apihub.googleapis.com/Dependency\x12\x1a\n\rdependency_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\ndependency\x18\x03 \x01(\x0b\x32\".google.cloud.apihub.v1.DependencyB\x03\xe0\x41\x02\"N\n\x14GetDependencyRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Dependency\"\x8c\x01\n\x17UpdateDependencyRequest\x12;\n\ndependency\x18\x01 \x01(\x0b\x32\".google.cloud.apihub.v1.DependencyB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Q\n\x17\x44\x65leteDependencyRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Dependency\"\x99\x01\n\x17ListDependenciesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 apihub.googleapis.com/Dependency\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"m\n\x18ListDependenciesResponse\x12\x38\n\x0c\x64\x65pendencies\x18\x01 \x03(\x0b\x32\".google.cloud.apihub.v1.Dependency\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb3\x01\n\x18\x43reateExternalApiRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!apihub.googleapis.com/ExternalApi\x12\x1c\n\x0f\x65xternal_api_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12>\n\x0c\x65xternal_api\x18\x03 \x01(\x0b\x32#.google.cloud.apihub.v1.ExternalApiB\x03\xe0\x41\x02\"P\n\x15GetExternalApiRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apihub.googleapis.com/ExternalApi\"\x90\x01\n\x18UpdateExternalApiRequest\x12>\n\x0c\x65xternal_api\x18\x01 \x01(\x0b\x32#.google.cloud.apihub.v1.ExternalApiB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteExternalApiRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apihub.googleapis.com/ExternalApi\"\x85\x01\n\x17ListExternalApisRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!apihub.googleapis.com/ExternalApi\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"o\n\x18ListExternalApisResponse\x12:\n\rexternal_apis\x18\x01 \x03(\x0b\x32#.google.cloud.apihub.v1.ExternalApi\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xba\x31\n\x06\x41piHub\x12\x9d\x01\n\tCreateApi\x12(.google.cloud.apihub.v1.CreateApiRequest\x1a\x1b.google.cloud.apihub.v1.Api\"I\xda\x41\x11parent,api,api_id\x82\xd3\xe4\x93\x02/\"(/v1/{parent=projects/*/locations/*}/apis:\x03\x61pi\x12\x85\x01\n\x06GetApi\x12%.google.cloud.apihub.v1.GetApiRequest\x1a\x1b.google.cloud.apihub.v1.Api\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/locations/*/apis/*}\x12\x98\x01\n\x08ListApis\x12\'.google.cloud.apihub.v1.ListApisRequest\x1a(.google.cloud.apihub.v1.ListApisResponse\"9\xda\x41\x06parent\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*/locations/*}/apis\x12\x9f\x01\n\tUpdateApi\x12(.google.cloud.apihub.v1.UpdateApiRequest\x1a\x1b.google.cloud.apihub.v1.Api\"K\xda\x41\x0f\x61pi,update_mask\x82\xd3\xe4\x93\x02\x33\x32,/v1/{api.name=projects/*/locations/*/apis/*}:\x03\x61pi\x12\x86\x01\n\tDeleteApi\x12(.google.cloud.apihub.v1.DeleteApiRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/locations/*/apis/*}\x12\xc0\x01\n\rCreateVersion\x12,.google.cloud.apihub.v1.CreateVersionRequest\x1a\x1f.google.cloud.apihub.v1.Version\"`\xda\x41\x19parent,version,version_id\x82\xd3\xe4\x93\x02>\"3/v1/{parent=projects/*/locations/*/apis/*}/versions:\x07version\x12\x9c\x01\n\nGetVersion\x12).google.cloud.apihub.v1.GetVersionRequest\x1a\x1f.google.cloud.apihub.v1.Version\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/apis/*/versions/*}\x12\xaf\x01\n\x0cListVersions\x12+.google.cloud.apihub.v1.ListVersionsRequest\x1a,.google.cloud.apihub.v1.ListVersionsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/apis/*}/versions\x12\xc2\x01\n\rUpdateVersion\x12,.google.cloud.apihub.v1.UpdateVersionRequest\x1a\x1f.google.cloud.apihub.v1.Version\"b\xda\x41\x13version,update_mask\x82\xd3\xe4\x93\x02\x46\x32;/v1/{version.name=projects/*/locations/*/apis/*/versions/*}:\x07version\x12\x99\x01\n\rDeleteVersion\x12,.google.cloud.apihub.v1.DeleteVersionRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/apis/*/versions/*}\x12\xb6\x01\n\nCreateSpec\x12).google.cloud.apihub.v1.CreateSpecRequest\x1a\x1c.google.cloud.apihub.v1.Spec\"_\xda\x41\x13parent,spec,spec_id\x82\xd3\xe4\x93\x02\x43\";/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs:\x04spec\x12\x9b\x01\n\x07GetSpec\x12&.google.cloud.apihub.v1.GetSpecRequest\x1a\x1c.google.cloud.apihub.v1.Spec\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}\x12\xbc\x01\n\x0fGetSpecContents\x12..google.cloud.apihub.v1.GetSpecContentsRequest\x1a$.google.cloud.apihub.v1.SpecContents\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:contents\x12\xae\x01\n\tListSpecs\x12(.google.cloud.apihub.v1.ListSpecsRequest\x1a).google.cloud.apihub.v1.ListSpecsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs\x12\xb8\x01\n\nUpdateSpec\x12).google.cloud.apihub.v1.UpdateSpecRequest\x1a\x1c.google.cloud.apihub.v1.Spec\"a\xda\x41\x10spec,update_mask\x82\xd3\xe4\x93\x02H2@/v1/{spec.name=projects/*/locations/*/apis/*/versions/*/specs/*}:\x04spec\x12\x9b\x01\n\nDeleteSpec\x12).google.cloud.apihub.v1.DeleteSpecRequest\x1a\x16.google.protobuf.Empty\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}\x12\xb8\x01\n\x0fGetApiOperation\x12..google.cloud.apihub.v1.GetApiOperationRequest\x1a$.google.cloud.apihub.v1.ApiOperation\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/apis/*/versions/*/operations/*}\x12\xcb\x01\n\x11ListApiOperations\x12\x30.google.cloud.apihub.v1.ListApiOperationsRequest\x1a\x31.google.cloud.apihub.v1.ListApiOperationsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1/{parent=projects/*/locations/*/apis/*/versions/*}/operations\x12\xb3\x01\n\rGetDefinition\x12,.google.cloud.apihub.v1.GetDefinitionRequest\x1a\".google.cloud.apihub.v1.Definition\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/apis/*/versions/*/definitions/*}\x12\xce\x01\n\x10\x43reateDeployment\x12/.google.cloud.apihub.v1.CreateDeploymentRequest\x1a\".google.cloud.apihub.v1.Deployment\"e\xda\x41\x1fparent,deployment,deployment_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/deployments:\ndeployment\x12\xa1\x01\n\rGetDeployment\x12,.google.cloud.apihub.v1.GetDeploymentRequest\x1a\".google.cloud.apihub.v1.Deployment\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/deployments/*}\x12\xb4\x01\n\x0fListDeployments\x12..google.cloud.apihub.v1.ListDeploymentsRequest\x1a/.google.cloud.apihub.v1.ListDeploymentsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/deployments\x12\xd0\x01\n\x10UpdateDeployment\x12/.google.cloud.apihub.v1.UpdateDeploymentRequest\x1a\".google.cloud.apihub.v1.Deployment\"g\xda\x41\x16\x64\x65ployment,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{deployment.name=projects/*/locations/*/deployments/*}:\ndeployment\x12\x9b\x01\n\x10\x44\x65leteDeployment\x12/.google.cloud.apihub.v1.DeleteDeploymentRequest\x1a\x16.google.protobuf.Empty\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/deployments/*}\x12\xc7\x01\n\x0f\x43reateAttribute\x12..google.cloud.apihub.v1.CreateAttributeRequest\x1a!.google.cloud.apihub.v1.Attribute\"a\xda\x41\x1dparent,attribute,attribute_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/attributes:\tattribute\x12\x9d\x01\n\x0cGetAttribute\x12+.google.cloud.apihub.v1.GetAttributeRequest\x1a!.google.cloud.apihub.v1.Attribute\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/attributes/*}\x12\xc9\x01\n\x0fUpdateAttribute\x12..google.cloud.apihub.v1.UpdateAttributeRequest\x1a!.google.cloud.apihub.v1.Attribute\"c\xda\x41\x15\x61ttribute,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{attribute.name=projects/*/locations/*/attributes/*}:\tattribute\x12\x98\x01\n\x0f\x44\x65leteAttribute\x12..google.cloud.apihub.v1.DeleteAttributeRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/attributes/*}\x12\xb0\x01\n\x0eListAttributes\x12-.google.cloud.apihub.v1.ListAttributesRequest\x1a..google.cloud.apihub.v1.ListAttributesResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/attributes\x12\xc5\x01\n\x0fSearchResources\x12..google.cloud.apihub.v1.SearchResourcesRequest\x1a/.google.cloud.apihub.v1.SearchResourcesResponse\"Q\xda\x41\x0elocation,query\x82\xd3\xe4\x93\x02:\"5/v1/{location=projects/*/locations/*}:searchResources:\x01*\x12\xd8\x01\n\x11\x43reateExternalApi\x12\x30.google.cloud.apihub.v1.CreateExternalApiRequest\x1a#.google.cloud.apihub.v1.ExternalApi\"l\xda\x41#parent,external_api,external_api_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/externalApis:\x0c\x65xternal_api\x12\xa5\x01\n\x0eGetExternalApi\x12-.google.cloud.apihub.v1.GetExternalApiRequest\x1a#.google.cloud.apihub.v1.ExternalApi\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/externalApis/*}\x12\xda\x01\n\x11UpdateExternalApi\x12\x30.google.cloud.apihub.v1.UpdateExternalApiRequest\x1a#.google.cloud.apihub.v1.ExternalApi\"n\xda\x41\x18\x65xternal_api,update_mask\x82\xd3\xe4\x93\x02M2=/v1/{external_api.name=projects/*/locations/*/externalApis/*}:\x0c\x65xternal_api\x12\x9e\x01\n\x11\x44\x65leteExternalApi\x12\x30.google.cloud.apihub.v1.DeleteExternalApiRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/externalApis/*}\x12\xb8\x01\n\x10ListExternalApis\x12/.google.cloud.apihub.v1.ListExternalApisRequest\x1a\x30.google.cloud.apihub.v1.ListExternalApisResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/externalApis\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platform2\x84\x08\n\x12\x41piHubDependencies\x12\xcf\x01\n\x10\x43reateDependency\x12/.google.cloud.apihub.v1.CreateDependencyRequest\x1a\".google.cloud.apihub.v1.Dependency\"f\xda\x41\x1fparent,dependency,dependency_id\x82\xd3\xe4\x93\x02>\"0/v1/{parent=projects/*/locations/*}/dependencies:\ndependency\x12\xa2\x01\n\rGetDependency\x12,.google.cloud.apihub.v1.GetDependencyRequest\x1a\".google.cloud.apihub.v1.Dependency\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/dependencies/*}\x12\xd1\x01\n\x10UpdateDependency\x12/.google.cloud.apihub.v1.UpdateDependencyRequest\x1a\".google.cloud.apihub.v1.Dependency\"h\xda\x41\x16\x64\x65pendency,update_mask\x82\xd3\xe4\x93\x02I2;/v1/{dependency.name=projects/*/locations/*/dependencies/*}:\ndependency\x12\x9c\x01\n\x10\x44\x65leteDependency\x12/.google.cloud.apihub.v1.DeleteDependencyRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/dependencies/*}\x12\xb8\x01\n\x10ListDependencies\x12/.google.cloud.apihub.v1.ListDependenciesRequest\x1a\x30.google.cloud.apihub.v1.ListDependenciesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/dependencies\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb4\x01\n\x1a\x63om.google.cloud.apihub.v1B\x12\x41piHubServiceProtoP\x01Z2cloud.google.com/go/apihub/apiv1/apihubpb;apihubpb\xaa\x02\x16Google.Cloud.ApiHub.V1\xca\x02\x16Google\\Cloud\\ApiHub\\V1\xea\x02\x19Google::Cloud::ApiHub::V1b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.cloud.apihub.v1.Api", "google/cloud/apihub/v1/common_fields.proto"],
32
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
33
+ ]
34
+ imports.each do |type_name, expected_filename|
35
+ import_file = pool.lookup(type_name).file_descriptor
36
+ if import_file.name != expected_filename
37
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
+ end
39
+ end
40
+ warn "Each proto file must use a consistent fully-qualified name."
41
+ warn "This will become an error in the next major version."
42
+ end
43
+
44
+ module Google
45
+ module Cloud
46
+ module ApiHub
47
+ module V1
48
+ CreateApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateApiRequest").msgclass
49
+ GetApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetApiRequest").msgclass
50
+ UpdateApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateApiRequest").msgclass
51
+ DeleteApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteApiRequest").msgclass
52
+ ListApisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListApisRequest").msgclass
53
+ ListApisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListApisResponse").msgclass
54
+ CreateVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateVersionRequest").msgclass
55
+ GetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetVersionRequest").msgclass
56
+ UpdateVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateVersionRequest").msgclass
57
+ DeleteVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteVersionRequest").msgclass
58
+ ListVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListVersionsRequest").msgclass
59
+ ListVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListVersionsResponse").msgclass
60
+ CreateSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateSpecRequest").msgclass
61
+ GetSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetSpecRequest").msgclass
62
+ UpdateSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateSpecRequest").msgclass
63
+ DeleteSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteSpecRequest").msgclass
64
+ ListSpecsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListSpecsRequest").msgclass
65
+ ListSpecsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListSpecsResponse").msgclass
66
+ GetSpecContentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetSpecContentsRequest").msgclass
67
+ GetApiOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetApiOperationRequest").msgclass
68
+ ListApiOperationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListApiOperationsRequest").msgclass
69
+ ListApiOperationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListApiOperationsResponse").msgclass
70
+ GetDefinitionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetDefinitionRequest").msgclass
71
+ CreateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateDeploymentRequest").msgclass
72
+ GetDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetDeploymentRequest").msgclass
73
+ UpdateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateDeploymentRequest").msgclass
74
+ DeleteDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteDeploymentRequest").msgclass
75
+ ListDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDeploymentsRequest").msgclass
76
+ ListDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDeploymentsResponse").msgclass
77
+ CreateAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateAttributeRequest").msgclass
78
+ GetAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetAttributeRequest").msgclass
79
+ UpdateAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateAttributeRequest").msgclass
80
+ DeleteAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteAttributeRequest").msgclass
81
+ ListAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListAttributesRequest").msgclass
82
+ ListAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListAttributesResponse").msgclass
83
+ SearchResourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SearchResourcesRequest").msgclass
84
+ ApiHubResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubResource").msgclass
85
+ SearchResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SearchResult").msgclass
86
+ SearchResourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SearchResourcesResponse").msgclass
87
+ CreateDependencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateDependencyRequest").msgclass
88
+ GetDependencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetDependencyRequest").msgclass
89
+ UpdateDependencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateDependencyRequest").msgclass
90
+ DeleteDependencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteDependencyRequest").msgclass
91
+ ListDependenciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDependenciesRequest").msgclass
92
+ ListDependenciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDependenciesResponse").msgclass
93
+ CreateExternalApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateExternalApiRequest").msgclass
94
+ GetExternalApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetExternalApiRequest").msgclass
95
+ UpdateExternalApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateExternalApiRequest").msgclass
96
+ DeleteExternalApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteExternalApiRequest").msgclass
97
+ ListExternalApisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListExternalApisRequest").msgclass
98
+ ListExternalApisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListExternalApisResponse").msgclass
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,288 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/apihub/v1/apihub_service.proto for package 'Google.Cloud.ApiHub.V1'
3
+ # Original file comments:
4
+ # Copyright 2024 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/apihub/v1/apihub_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module ApiHub
25
+ module V1
26
+ module ApiHub
27
+ # This service provides all methods related to the API hub.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.apihub.v1.ApiHub'
35
+
36
+ # Create an API resource in the API hub.
37
+ # Once an API resource is created, versions can be added to it.
38
+ rpc :CreateApi, ::Google::Cloud::ApiHub::V1::CreateApiRequest, ::Google::Cloud::ApiHub::V1::Api
39
+ # Get API resource details including the API versions contained in it.
40
+ rpc :GetApi, ::Google::Cloud::ApiHub::V1::GetApiRequest, ::Google::Cloud::ApiHub::V1::Api
41
+ # List API resources in the API hub.
42
+ rpc :ListApis, ::Google::Cloud::ApiHub::V1::ListApisRequest, ::Google::Cloud::ApiHub::V1::ListApisResponse
43
+ # Update an API resource in the API hub. The following fields in the
44
+ # [API][] can be updated:
45
+ #
46
+ # * [display_name][google.cloud.apihub.v1.Api.display_name]
47
+ # * [description][google.cloud.apihub.v1.Api.description]
48
+ # * [owner][google.cloud.apihub.v1.Api.owner]
49
+ # * [documentation][google.cloud.apihub.v1.Api.documentation]
50
+ # * [target_user][google.cloud.apihub.v1.Api.target_user]
51
+ # * [team][google.cloud.apihub.v1.Api.team]
52
+ # * [business_unit][google.cloud.apihub.v1.Api.business_unit]
53
+ # * [maturity_level][google.cloud.apihub.v1.Api.maturity_level]
54
+ # * [attributes][google.cloud.apihub.v1.Api.attributes]
55
+ #
56
+ # The
57
+ # [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
58
+ # should be used to specify the fields being updated.
59
+ #
60
+ # Updating the owner field requires complete owner message
61
+ # and updates both owner and email fields.
62
+ rpc :UpdateApi, ::Google::Cloud::ApiHub::V1::UpdateApiRequest, ::Google::Cloud::ApiHub::V1::Api
63
+ # Delete an API resource in the API hub. API can only be deleted if all
64
+ # underlying versions are deleted.
65
+ rpc :DeleteApi, ::Google::Cloud::ApiHub::V1::DeleteApiRequest, ::Google::Protobuf::Empty
66
+ # Create an API version for an API resource in the API hub.
67
+ rpc :CreateVersion, ::Google::Cloud::ApiHub::V1::CreateVersionRequest, ::Google::Cloud::ApiHub::V1::Version
68
+ # Get details about the API version of an API resource. This will include
69
+ # information about the specs and operations present in the API
70
+ # version as well as the deployments linked to it.
71
+ rpc :GetVersion, ::Google::Cloud::ApiHub::V1::GetVersionRequest, ::Google::Cloud::ApiHub::V1::Version
72
+ # List API versions of an API resource in the API hub.
73
+ rpc :ListVersions, ::Google::Cloud::ApiHub::V1::ListVersionsRequest, ::Google::Cloud::ApiHub::V1::ListVersionsResponse
74
+ # Update API version. The following fields in the
75
+ # [version][google.cloud.apihub.v1.Version] can be updated currently:
76
+ #
77
+ # * [display_name][google.cloud.apihub.v1.Version.display_name]
78
+ # * [description][google.cloud.apihub.v1.Version.description]
79
+ # * [documentation][google.cloud.apihub.v1.Version.documentation]
80
+ # * [deployments][google.cloud.apihub.v1.Version.deployments]
81
+ # * [lifecycle][google.cloud.apihub.v1.Version.lifecycle]
82
+ # * [compliance][google.cloud.apihub.v1.Version.compliance]
83
+ # * [accreditation][google.cloud.apihub.v1.Version.accreditation]
84
+ # * [attributes][google.cloud.apihub.v1.Version.attributes]
85
+ #
86
+ # The
87
+ # [update_mask][google.cloud.apihub.v1.UpdateVersionRequest.update_mask]
88
+ # should be used to specify the fields being updated.
89
+ rpc :UpdateVersion, ::Google::Cloud::ApiHub::V1::UpdateVersionRequest, ::Google::Cloud::ApiHub::V1::Version
90
+ # Delete an API version. Version can only be deleted if all underlying specs,
91
+ # operations, definitions and linked deployments are deleted.
92
+ rpc :DeleteVersion, ::Google::Cloud::ApiHub::V1::DeleteVersionRequest, ::Google::Protobuf::Empty
93
+ # Add a spec to an API version in the API hub.
94
+ # Multiple specs can be added to an API version.
95
+ # Note, while adding a spec, at least one of `contents` or `source_uri` must
96
+ # be provided. If `contents` is provided, then `spec_type` must also be
97
+ # provided.
98
+ #
99
+ # On adding a spec with contents to the version, the operations present in it
100
+ # will be added to the version.Note that the file contents in the spec should
101
+ # be of the same type as defined in the
102
+ # `projects/{project}/locations/{location}/attributes/system-spec-type`
103
+ # attribute associated with spec resource. Note that specs of various types
104
+ # can be uploaded, however parsing of details is supported for OpenAPI spec
105
+ # currently.
106
+ #
107
+ # In order to access the information parsed from the spec, use the
108
+ # [GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method.
109
+ # In order to access the raw contents for a particular spec, use the
110
+ # [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method.
111
+ # In order to access the operations parsed from the spec, use the
112
+ # [ListAPIOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations]
113
+ # method.
114
+ rpc :CreateSpec, ::Google::Cloud::ApiHub::V1::CreateSpecRequest, ::Google::Cloud::ApiHub::V1::Spec
115
+ # Get details about the information parsed from a spec.
116
+ # Note that this method does not return the raw spec contents.
117
+ # Use [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method
118
+ # to retrieve the same.
119
+ rpc :GetSpec, ::Google::Cloud::ApiHub::V1::GetSpecRequest, ::Google::Cloud::ApiHub::V1::Spec
120
+ # Get spec contents.
121
+ rpc :GetSpecContents, ::Google::Cloud::ApiHub::V1::GetSpecContentsRequest, ::Google::Cloud::ApiHub::V1::SpecContents
122
+ # List specs corresponding to a particular API resource.
123
+ rpc :ListSpecs, ::Google::Cloud::ApiHub::V1::ListSpecsRequest, ::Google::Cloud::ApiHub::V1::ListSpecsResponse
124
+ # Update spec. The following fields in the
125
+ # [spec][google.cloud.apihub.v1.Spec] can be updated:
126
+ #
127
+ # * [display_name][google.cloud.apihub.v1.Spec.display_name]
128
+ # * [source_uri][google.cloud.apihub.v1.Spec.source_uri]
129
+ # * [lint_response][google.cloud.apihub.v1.Spec.lint_response]
130
+ # * [attributes][google.cloud.apihub.v1.Spec.attributes]
131
+ # * [contents][google.cloud.apihub.v1.Spec.contents]
132
+ # * [spec_type][google.cloud.apihub.v1.Spec.spec_type]
133
+ #
134
+ # In case of an OAS spec, updating spec contents can lead to:
135
+ # 1. Creation, deletion and update of operations.
136
+ # 2. Creation, deletion and update of definitions.
137
+ # 3. Update of other info parsed out from the new spec.
138
+ #
139
+ # In case of contents or source_uri being present in update mask, spec_type
140
+ # must also be present. Also, spec_type can not be present in update mask if
141
+ # contents or source_uri is not present.
142
+ #
143
+ # The
144
+ # [update_mask][google.cloud.apihub.v1.UpdateSpecRequest.update_mask]
145
+ # should be used to specify the fields being updated.
146
+ rpc :UpdateSpec, ::Google::Cloud::ApiHub::V1::UpdateSpecRequest, ::Google::Cloud::ApiHub::V1::Spec
147
+ # Delete a spec.
148
+ # Deleting a spec will also delete the associated operations from the
149
+ # version.
150
+ rpc :DeleteSpec, ::Google::Cloud::ApiHub::V1::DeleteSpecRequest, ::Google::Protobuf::Empty
151
+ # Get details about a particular operation in API version.
152
+ rpc :GetApiOperation, ::Google::Cloud::ApiHub::V1::GetApiOperationRequest, ::Google::Cloud::ApiHub::V1::ApiOperation
153
+ # List operations in an API version.
154
+ rpc :ListApiOperations, ::Google::Cloud::ApiHub::V1::ListApiOperationsRequest, ::Google::Cloud::ApiHub::V1::ListApiOperationsResponse
155
+ # Get details about a definition in an API version.
156
+ rpc :GetDefinition, ::Google::Cloud::ApiHub::V1::GetDefinitionRequest, ::Google::Cloud::ApiHub::V1::Definition
157
+ # Create a deployment resource in the API hub.
158
+ # Once a deployment resource is created, it can be associated with API
159
+ # versions.
160
+ rpc :CreateDeployment, ::Google::Cloud::ApiHub::V1::CreateDeploymentRequest, ::Google::Cloud::ApiHub::V1::Deployment
161
+ # Get details about a deployment and the API versions linked to it.
162
+ rpc :GetDeployment, ::Google::Cloud::ApiHub::V1::GetDeploymentRequest, ::Google::Cloud::ApiHub::V1::Deployment
163
+ # List deployment resources in the API hub.
164
+ rpc :ListDeployments, ::Google::Cloud::ApiHub::V1::ListDeploymentsRequest, ::Google::Cloud::ApiHub::V1::ListDeploymentsResponse
165
+ # Update a deployment resource in the API hub. The following fields in the
166
+ # [deployment resource][google.cloud.apihub.v1.Deployment] can be
167
+ # updated:
168
+ #
169
+ # * [display_name][google.cloud.apihub.v1.Deployment.display_name]
170
+ # * [description][google.cloud.apihub.v1.Deployment.description]
171
+ # * [documentation][google.cloud.apihub.v1.Deployment.documentation]
172
+ # * [deployment_type][google.cloud.apihub.v1.Deployment.deployment_type]
173
+ # * [resource_uri][google.cloud.apihub.v1.Deployment.resource_uri]
174
+ # * [endpoints][google.cloud.apihub.v1.Deployment.endpoints]
175
+ # * [slo][google.cloud.apihub.v1.Deployment.slo]
176
+ # * [environment][google.cloud.apihub.v1.Deployment.environment]
177
+ # * [attributes][google.cloud.apihub.v1.Deployment.attributes]
178
+ #
179
+ # The
180
+ # [update_mask][google.cloud.apihub.v1.UpdateDeploymentRequest.update_mask]
181
+ # should be used to specify the fields being updated.
182
+ rpc :UpdateDeployment, ::Google::Cloud::ApiHub::V1::UpdateDeploymentRequest, ::Google::Cloud::ApiHub::V1::Deployment
183
+ # Delete a deployment resource in the API hub.
184
+ rpc :DeleteDeployment, ::Google::Cloud::ApiHub::V1::DeleteDeploymentRequest, ::Google::Protobuf::Empty
185
+ # Create a user defined attribute.
186
+ #
187
+ # Certain pre defined attributes are already created by the API hub. These
188
+ # attributes will have type as `SYSTEM_DEFINED` and can be listed via
189
+ # [ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method.
190
+ # Allowed values for the same can be updated via
191
+ # [UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method.
192
+ rpc :CreateAttribute, ::Google::Cloud::ApiHub::V1::CreateAttributeRequest, ::Google::Cloud::ApiHub::V1::Attribute
193
+ # Get details about the attribute.
194
+ rpc :GetAttribute, ::Google::Cloud::ApiHub::V1::GetAttributeRequest, ::Google::Cloud::ApiHub::V1::Attribute
195
+ # Update the attribute. The following fields in the
196
+ # [Attribute resource][google.cloud.apihub.v1.Attribute] can be updated:
197
+ #
198
+ # * [display_name][google.cloud.apihub.v1.Attribute.display_name]
199
+ # The display name can be updated for user defined attributes only.
200
+ # * [description][google.cloud.apihub.v1.Attribute.description]
201
+ # The description can be updated for user defined attributes only.
202
+ # * [allowed_values][google.cloud.apihub.v1.Attribute.allowed_values]
203
+ # To update the list of allowed values, clients need to use the fetched list
204
+ # of allowed values and add or remove values to or from the same list.
205
+ # The mutable allowed values can be updated for both user defined and System
206
+ # defined attributes. The immutable allowed values cannot be updated or
207
+ # deleted. The updated list of allowed values cannot be empty. If an allowed
208
+ # value that is already used by some resource's attribute is deleted, then
209
+ # the association between the resource and the attribute value will also be
210
+ # deleted.
211
+ # * [cardinality][google.cloud.apihub.v1.Attribute.cardinality]
212
+ # The cardinality can be updated for user defined attributes only.
213
+ # Cardinality can only be increased during an update.
214
+ #
215
+ # The
216
+ # [update_mask][google.cloud.apihub.v1.UpdateAttributeRequest.update_mask]
217
+ # should be used to specify the fields being updated.
218
+ rpc :UpdateAttribute, ::Google::Cloud::ApiHub::V1::UpdateAttributeRequest, ::Google::Cloud::ApiHub::V1::Attribute
219
+ # Delete an attribute.
220
+ #
221
+ # Note: System defined attributes cannot be deleted. All
222
+ # associations of the attribute being deleted with any API hub resource will
223
+ # also get deleted.
224
+ rpc :DeleteAttribute, ::Google::Cloud::ApiHub::V1::DeleteAttributeRequest, ::Google::Protobuf::Empty
225
+ # List all attributes.
226
+ rpc :ListAttributes, ::Google::Cloud::ApiHub::V1::ListAttributesRequest, ::Google::Cloud::ApiHub::V1::ListAttributesResponse
227
+ # Search across API-Hub resources.
228
+ rpc :SearchResources, ::Google::Cloud::ApiHub::V1::SearchResourcesRequest, ::Google::Cloud::ApiHub::V1::SearchResourcesResponse
229
+ # Create an External API resource in the API hub.
230
+ rpc :CreateExternalApi, ::Google::Cloud::ApiHub::V1::CreateExternalApiRequest, ::Google::Cloud::ApiHub::V1::ExternalApi
231
+ # Get details about an External API resource in the API hub.
232
+ rpc :GetExternalApi, ::Google::Cloud::ApiHub::V1::GetExternalApiRequest, ::Google::Cloud::ApiHub::V1::ExternalApi
233
+ # Update an External API resource in the API hub. The following fields can be
234
+ # updated:
235
+ #
236
+ # * [display_name][google.cloud.apihub.v1.ExternalApi.display_name]
237
+ # * [description][google.cloud.apihub.v1.ExternalApi.description]
238
+ # * [documentation][google.cloud.apihub.v1.ExternalApi.documentation]
239
+ # * [endpoints][google.cloud.apihub.v1.ExternalApi.endpoints]
240
+ # * [paths][google.cloud.apihub.v1.ExternalApi.paths]
241
+ #
242
+ # The
243
+ # [update_mask][google.cloud.apihub.v1.UpdateExternalApiRequest.update_mask]
244
+ # should be used to specify the fields being updated.
245
+ rpc :UpdateExternalApi, ::Google::Cloud::ApiHub::V1::UpdateExternalApiRequest, ::Google::Cloud::ApiHub::V1::ExternalApi
246
+ # Delete an External API resource in the API hub.
247
+ rpc :DeleteExternalApi, ::Google::Cloud::ApiHub::V1::DeleteExternalApiRequest, ::Google::Protobuf::Empty
248
+ # List External API resources in the API hub.
249
+ rpc :ListExternalApis, ::Google::Cloud::ApiHub::V1::ListExternalApisRequest, ::Google::Cloud::ApiHub::V1::ListExternalApisResponse
250
+ end
251
+
252
+ Stub = Service.rpc_stub_class
253
+ end
254
+ module ApiHubDependencies
255
+ # This service provides methods for various operations related to a
256
+ # [Dependency][google.cloud.apihub.v1.Dependency] in the API hub.
257
+ class Service
258
+
259
+ include ::GRPC::GenericService
260
+
261
+ self.marshal_class_method = :encode
262
+ self.unmarshal_class_method = :decode
263
+ self.service_name = 'google.cloud.apihub.v1.ApiHubDependencies'
264
+
265
+ # Create a dependency between two entities in the API hub.
266
+ rpc :CreateDependency, ::Google::Cloud::ApiHub::V1::CreateDependencyRequest, ::Google::Cloud::ApiHub::V1::Dependency
267
+ # Get details about a dependency resource in the API hub.
268
+ rpc :GetDependency, ::Google::Cloud::ApiHub::V1::GetDependencyRequest, ::Google::Cloud::ApiHub::V1::Dependency
269
+ # Update a dependency based on the
270
+ # [update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask]
271
+ # provided in the request.
272
+ #
273
+ # The following fields in the [dependency][google.cloud.apihub.v1.Dependency]
274
+ # can be updated:
275
+ # * [description][google.cloud.apihub.v1.Dependency.description]
276
+ rpc :UpdateDependency, ::Google::Cloud::ApiHub::V1::UpdateDependencyRequest, ::Google::Cloud::ApiHub::V1::Dependency
277
+ # Delete the dependency resource.
278
+ rpc :DeleteDependency, ::Google::Cloud::ApiHub::V1::DeleteDependencyRequest, ::Google::Protobuf::Empty
279
+ # List dependencies based on the provided filter and pagination parameters.
280
+ rpc :ListDependencies, ::Google::Cloud::ApiHub::V1::ListDependenciesRequest, ::Google::Cloud::ApiHub::V1::ListDependenciesResponse
281
+ end
282
+
283
+ Stub = Service.rpc_stub_class
284
+ end
285
+ end
286
+ end
287
+ end
288
+ end
@@ -0,0 +1,92 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/apihub/v1/common_fields.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n*google/cloud/apihub/v1/common_fields.proto\x12\x16google.cloud.apihub.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf5\x07\n\x03\x41pi\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\rdocumentation\x18\x04 \x01(\x0b\x32%.google.cloud.apihub.v1.DocumentationB\x03\xe0\x41\x01\x12\x31\n\x05owner\x18\x05 \x01(\x0b\x32\x1d.google.cloud.apihub.v1.OwnerB\x03\xe0\x41\x01\x12\x37\n\x08versions\x18\x06 \x03(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x61pihub.googleapis.com/Version\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x0btarget_user\x18\t \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12:\n\x04team\x18\n \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12\x43\n\rbusiness_unit\x18\x0b \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12\x44\n\x0ematurity_level\x18\x0c \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12\x44\n\nattributes\x18\r \x03(\x0b\x32+.google.cloud.apihub.v1.Api.AttributesEntryB\x03\xe0\x41\x01\x12?\n\tapi_style\x18\x0e \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12?\n\x10selected_version\x18\x0f \x01(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x61pihub.googleapis.com/Version\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValues:\x02\x38\x01:]\xea\x41Z\n\x19\x61pihub.googleapis.com/Api\x12\x32projects/{project}/locations/{location}/apis/{api}*\x04\x61pis2\x03\x61pi\"\xa8\x08\n\x07Version\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\rdocumentation\x18\x04 \x01(\x0b\x32%.google.cloud.apihub.v1.DocumentationB\x03\xe0\x41\x01\x12\x31\n\x05specs\x18\x05 \x03(\tB\"\xe0\x41\x03\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\x12\x42\n\x0e\x61pi_operations\x18\x06 \x03(\tB*\xe0\x41\x03\xfa\x41$\n\"apihub.googleapis.com/ApiOperation\x12=\n\x0b\x64\x65\x66initions\x18\x07 \x03(\tB(\xe0\x41\x03\xfa\x41\"\n apihub.googleapis.com/Definition\x12=\n\x0b\x64\x65ployments\x18\x08 \x03(\tB(\xe0\x41\x01\xfa\x41\"\n apihub.googleapis.com/Deployment\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\tlifecycle\x18\x0b \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12@\n\ncompliance\x18\x0c \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12\x43\n\raccreditation\x18\r \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12H\n\nattributes\x18\x0e \x03(\x0b\x32/.google.cloud.apihub.v1.Version.AttributesEntryB\x03\xe0\x41\x01\x12\x45\n\x13selected_deployment\x18\x10 \x01(\tB(\xe0\x41\x01\xfa\x41\"\n apihub.googleapis.com/Deployment\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValues:\x02\x38\x01:|\xea\x41y\n\x1d\x61pihub.googleapis.com/Version\x12\x45projects/{project}/locations/{location}/apis/{api}/versions/{version}*\x08versions2\x07version\"\xae\x07\n\x04Spec\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\tspec_type\x18\x03 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x02\x12>\n\x08\x63ontents\x18\x04 \x01(\x0b\x32$.google.cloud.apihub.v1.SpecContentsB\x06\xe0\x41\x01\xe0\x41\x04\x12\x39\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32#.google.cloud.apihub.v1.SpecDetailsB\x03\xe0\x41\x03\x12\x17\n\nsource_uri\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\rlint_response\x18\t \x01(\x0b\x32$.google.cloud.apihub.v1.LintResponseB\x03\xe0\x41\x01\x12\x45\n\nattributes\x18\n \x03(\x0b\x32,.google.cloud.apihub.v1.Spec.AttributesEntryB\x03\xe0\x41\x01\x12\x41\n\rdocumentation\x18\x0b \x01(\x0b\x32%.google.cloud.apihub.v1.DocumentationB\x03\xe0\x41\x01\x12\x46\n\x0cparsing_mode\x18\x0c \x01(\x0e\x32(.google.cloud.apihub.v1.Spec.ParsingModeB\x06\xe0\x41\x01\xe0\x41\x04\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValues:\x02\x38\x01\"D\n\x0bParsingMode\x12\x1c\n\x18PARSING_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RELAXED\x10\x01\x12\n\n\x06STRICT\x10\x02:\x80\x01\xea\x41}\n\x1a\x61pihub.googleapis.com/Spec\x12Rprojects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}*\x05specs2\x04spec\"\xc2\x06\n\nDeployment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\rdocumentation\x18\x04 \x01(\x0b\x32%.google.cloud.apihub.v1.DocumentationB\x03\xe0\x41\x01\x12\x45\n\x0f\x64\x65ployment_type\x18\x05 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x02\x12\x19\n\x0cresource_uri\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tendpoints\x18\x07 \x03(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x61pi_versions\x18\x08 \x03(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x03slo\x18\x0b \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12\x41\n\x0b\x65nvironment\x18\x0c \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12K\n\nattributes\x18\r \x03(\x0b\x32\x32.google.cloud.apihub.v1.Deployment.AttributesEntryB\x03\xe0\x41\x01\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValues:\x02\x38\x01:\x80\x01\xea\x41}\n apihub.googleapis.com/Deployment\x12@projects/{project}/locations/{location}/deployments/{deployment}*\x0b\x64\x65ployments2\ndeployment\"\xd0\x04\n\x0c\x41piOperation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x30\n\x04spec\x18\x02 \x01(\tB\"\xe0\x41\x03\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\x12>\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32(.google.cloud.apihub.v1.OperationDetailsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\nattributes\x18\x06 \x03(\x0b\x32\x34.google.cloud.apihub.v1.ApiOperation.AttributesEntryB\x03\xe0\x41\x01\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValues:\x02\x38\x01:\xa3\x01\xea\x41\x9f\x01\n\"apihub.googleapis.com/ApiOperation\x12\\projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}*\rapiOperations2\x0c\x61piOperation\"\xae\x05\n\nDefinition\x12\x35\n\x06schema\x18\x04 \x01(\x0b\x32\x1e.google.cloud.apihub.v1.SchemaB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x30\n\x04spec\x18\x02 \x01(\tB\"\xe0\x41\x03\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\x12:\n\x04type\x18\x03 \x01(\x0e\x32\'.google.cloud.apihub.v1.Definition.TypeB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\nattributes\x18\x07 \x03(\x0b\x32\x32.google.cloud.apihub.v1.Definition.AttributesEntryB\x03\xe0\x41\x01\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValues:\x02\x38\x01\"(\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06SCHEMA\x10\x01:\x9f\x01\xea\x41\x9b\x01\n apihub.googleapis.com/Definition\x12^projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}*\x0b\x64\x65\x66initions2\ndefinitionB\x07\n\x05value\"\xbc\x08\n\tAttribute\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12N\n\x0f\x64\x65\x66inition_type\x18\x04 \x01(\x0e\x32\x30.google.cloud.apihub.v1.Attribute.DefinitionTypeB\x03\xe0\x41\x03\x12;\n\x05scope\x18\x05 \x01(\x0e\x32\'.google.cloud.apihub.v1.Attribute.ScopeB\x03\xe0\x41\x02\x12\x42\n\tdata_type\x18\x06 \x01(\x0e\x32*.google.cloud.apihub.v1.Attribute.DataTypeB\x03\xe0\x41\x02\x12K\n\x0e\x61llowed_values\x18\x07 \x03(\x0b\x32..google.cloud.apihub.v1.Attribute.AllowedValueB\x03\xe0\x41\x01\x12\x18\n\x0b\x63\x61rdinality\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\tmandatory\x18\t \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1al\n\x0c\x41llowedValue\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\timmutable\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"W\n\x0e\x44\x65\x66initionType\x12\x1f\n\x1b\x44\x45\x46INITION_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSYSTEM_DEFINED\x10\x01\x12\x10\n\x0cUSER_DEFINED\x10\x02\"\x9f\x01\n\x05Scope\x12\x15\n\x11SCOPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41PI\x10\x01\x12\x0b\n\x07VERSION\x10\x02\x12\x08\n\x04SPEC\x10\x03\x12\x11\n\rAPI_OPERATION\x10\x04\x12\x0e\n\nDEPLOYMENT\x10\x05\x12\x0e\n\nDEPENDENCY\x10\x06\x12\x0e\n\nDEFINITION\x10\x07\x12\x10\n\x0c\x45XTERNAL_API\x10\x08\x12\n\n\x06PLUGIN\x10\t\"E\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x45NUM\x10\x01\x12\x08\n\x04JSON\x10\x02\x12\n\n\x06STRING\x10\x03:{\xea\x41x\n\x1f\x61pihub.googleapis.com/Attribute\x12>projects/{project}/locations/{location}/attributes/{attribute}*\nattributes2\tattribute\"=\n\x0cSpecContents\x12\x15\n\x08\x63ontents\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x16\n\tmime_type\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x84\x01\n\x0bSpecDetails\x12P\n\x15open_api_spec_details\x18\x02 \x01(\x0b\x32*.google.cloud.apihub.v1.OpenApiSpecDetailsB\x03\xe0\x41\x03H\x00\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x03\x42\t\n\x07\x64\x65tails\"\x8c\x02\n\x12OpenApiSpecDetails\x12\x46\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x31.google.cloud.apihub.v1.OpenApiSpecDetails.FormatB\x03\xe0\x41\x03\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x31\n\x05owner\x18\x03 \x01(\x0b\x32\x1d.google.cloud.apihub.v1.OwnerB\x03\xe0\x41\x03\"e\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11OPEN_API_SPEC_2_0\x10\x01\x12\x15\n\x11OPEN_API_SPEC_3_0\x10\x02\x12\x15\n\x11OPEN_API_SPEC_3_1\x10\x03\"\xd6\x01\n\x10OperationDetails\x12?\n\x0ehttp_operation\x18\x04 \x01(\x0b\x32%.google.cloud.apihub.v1.HttpOperationH\x00\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\rdocumentation\x18\x02 \x01(\x0b\x32%.google.cloud.apihub.v1.DocumentationB\x03\xe0\x41\x03\x12\x17\n\ndeprecated\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x42\x0b\n\toperation\"\xfa\x01\n\rHttpOperation\x12/\n\x04path\x18\x01 \x01(\x0b\x32\x1c.google.cloud.apihub.v1.PathB\x03\xe0\x41\x03\x12\x41\n\x06method\x18\x02 \x01(\x0e\x32,.google.cloud.apihub.v1.HttpOperation.MethodB\x03\xe0\x41\x03\"u\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03GET\x10\x01\x12\x07\n\x03PUT\x10\x02\x12\x08\n\x04POST\x10\x03\x12\n\n\x06\x44\x45LETE\x10\x04\x12\x0b\n\x07OPTIONS\x10\x05\x12\x08\n\x04HEAD\x10\x06\x12\t\n\x05PATCH\x10\x07\x12\t\n\x05TRACE\x10\x08\"3\n\x04Path\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x03\";\n\x06Schema\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\traw_value\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x03\"6\n\x05Owner\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x65mail\x18\x02 \x01(\tB\x03\xe0\x41\x02\"*\n\rDocumentation\x12\x19\n\x0c\x65xternal_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xe2\x03\n\x0f\x41ttributeValues\x12R\n\x0b\x65num_values\x18\x02 \x01(\x0b\x32;.google.cloud.apihub.v1.AttributeValues.EnumAttributeValuesH\x00\x12V\n\rstring_values\x18\x03 \x01(\x0b\x32=.google.cloud.apihub.v1.AttributeValues.StringAttributeValuesH\x00\x12T\n\x0bjson_values\x18\x04 \x01(\x0b\x32=.google.cloud.apihub.v1.AttributeValues.StringAttributeValuesH\x00\x12:\n\tattribute\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61pihub.googleapis.com/Attribute\x1aZ\n\x13\x45numAttributeValues\x12\x43\n\x06values\x18\x01 \x03(\x0b\x32..google.cloud.apihub.v1.Attribute.AllowedValueB\x03\xe0\x41\x02\x1a,\n\x15StringAttributeValues\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\x07\n\x05Value\"\xbe\x07\n\nDependency\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12K\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x31.google.cloud.apihub.v1.DependencyEntityReferenceB\x06\xe0\x41\x05\xe0\x41\x02\x12K\n\x08supplier\x18\x03 \x01(\x0b\x32\x31.google.cloud.apihub.v1.DependencyEntityReferenceB\x06\xe0\x41\x05\xe0\x41\x02\x12<\n\x05state\x18\x04 \x01(\x0e\x32(.google.cloud.apihub.v1.Dependency.StateB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12M\n\x0e\x64iscovery_mode\x18\x06 \x01(\x0e\x32\x30.google.cloud.apihub.v1.Dependency.DiscoveryModeB\x03\xe0\x41\x03\x12H\n\x0c\x65rror_detail\x18\x07 \x01(\x0b\x32-.google.cloud.apihub.v1.DependencyErrorDetailB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\nattributes\x18\n \x03(\x0b\x32\x32.google.cloud.apihub.v1.Dependency.AttributesEntryB\x03\xe0\x41\x01\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValues:\x02\x38\x01\";\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PROPOSED\x10\x01\x12\r\n\tVALIDATED\x10\x02\";\n\rDiscoveryMode\x12\x1e\n\x1a\x44ISCOVERY_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06MANUAL\x10\x01:\x82\x01\xea\x41\x7f\n apihub.googleapis.com/Dependency\x12\x41projects/{project}/locations/{location}/dependencies/{dependency}*\x0c\x64\x65pendencies2\ndependency\"\x8d\x01\n\x19\x44\x65pendencyEntityReference\x12!\n\x17operation_resource_name\x18\x02 \x01(\tH\x00\x12$\n\x1a\x65xternal_api_resource_name\x18\x03 \x01(\tH\x00\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x42\x0c\n\nidentifier\"\xe5\x01\n\x15\x44\x65pendencyErrorDetail\x12G\n\x05\x65rror\x18\x01 \x01(\x0e\x32\x33.google.cloud.apihub.v1.DependencyErrorDetail.ErrorB\x03\xe0\x41\x01\x12\x33\n\nerror_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"N\n\x05\x45rror\x12\x15\n\x11\x45RROR_UNSPECIFIED\x10\x00\x12\x16\n\x12SUPPLIER_NOT_FOUND\x10\x01\x12\x16\n\x12SUPPLIER_RECREATED\x10\x02\"\x9f\x03\n\x0cLintResponse\x12\x32\n\x06issues\x18\x01 \x03(\x0b\x32\x1d.google.cloud.apihub.v1.IssueB\x03\xe0\x41\x01\x12G\n\x07summary\x18\x02 \x03(\x0b\x32\x31.google.cloud.apihub.v1.LintResponse.SummaryEntryB\x03\xe0\x41\x01\x12\x35\n\x05state\x18\x03 \x01(\x0e\x32!.google.cloud.apihub.v1.LintStateB\x03\xe0\x41\x02\x12\x13\n\x06source\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x06linter\x18\x05 \x01(\x0e\x32\x1e.google.cloud.apihub.v1.LinterB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x1a[\n\x0cSummaryEntry\x12\x37\n\x08severity\x18\x01 \x01(\x0e\x32 .google.cloud.apihub.v1.SeverityB\x03\xe0\x41\x02\x12\x12\n\x05\x63ount\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\xaf\x01\n\x05Issue\x12\x11\n\x04\x63ode\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x08severity\x18\x04 \x01(\x0e\x32 .google.cloud.apihub.v1.SeverityB\x03\xe0\x41\x02\x12\x31\n\x05range\x18\x05 \x01(\x0b\x32\x1d.google.cloud.apihub.v1.RangeB\x03\xe0\x41\x02\"k\n\x05Range\x12\x31\n\x05start\x18\x01 \x01(\x0b\x32\x1d.google.cloud.apihub.v1.PointB\x03\xe0\x41\x02\x12/\n\x03\x65nd\x18\x02 \x01(\x0b\x32\x1d.google.cloud.apihub.v1.PointB\x03\xe0\x41\x02\"2\n\x05Point\x12\x11\n\x04line\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\tcharacter\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xf3\x05\n\x0e\x41piHubInstance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x05state\x18\x04 \x01(\x0e\x32,.google.cloud.apihub.v1.ApiHubInstance.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x06\x63onfig\x18\x06 \x01(\x0b\x32-.google.cloud.apihub.v1.ApiHubInstance.ConfigB\x03\xe0\x41\x02\x12G\n\x06labels\x18\x07 \x03(\x0b\x32\x32.google.cloud.apihub.v1.ApiHubInstance.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x01\x1a$\n\x06\x43onfig\x12\x1a\n\rcmek_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"n\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06:\x97\x01\xea\x41\x93\x01\n$apihub.googleapis.com/ApiHubInstance\x12Jprojects/{project}/locations/{location}/apiHubInstances/{api_hub_instance}*\x0f\x61piHubInstances2\x0e\x61piHubInstance\"\xe4\x04\n\x0b\x45xternalApi\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tendpoints\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x12\n\x05paths\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x41\n\rdocumentation\x18\x06 \x01(\x0b\x32%.google.cloud.apihub.v1.DocumentationB\x03\xe0\x41\x01\x12L\n\nattributes\x18\x07 \x03(\x0b\x32\x33.google.cloud.apihub.v1.ExternalApi.AttributesEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1aZ\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValues:\x02\x38\x01:\x87\x01\xea\x41\x83\x01\n!apihub.googleapis.com/ExternalApi\x12\x43projects/{project}/locations/{location}/externalApis/{external_api}*\x0c\x65xternalApis2\x0b\x65xternalApi*U\n\tLintState\x12\x1a\n\x16LINT_STATE_UNSPECIFIED\x10\x00\x12\x16\n\x12LINT_STATE_SUCCESS\x10\x01\x12\x14\n\x10LINT_STATE_ERROR\x10\x02*9\n\x06Linter\x12\x16\n\x12LINTER_UNSPECIFIED\x10\x00\x12\x0c\n\x08SPECTRAL\x10\x01\x12\t\n\x05OTHER\x10\x02*t\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x12\n\x0eSEVERITY_ERROR\x10\x01\x12\x14\n\x10SEVERITY_WARNING\x10\x02\x12\x11\n\rSEVERITY_INFO\x10\x03\x12\x11\n\rSEVERITY_HINT\x10\x04\x42\x9b\x02\n\x1a\x63om.google.cloud.apihub.v1B\x11\x43ommonFieldsProtoP\x01Z2cloud.google.com/go/apihub/apiv1/apihubpb;apihubpb\xaa\x02\x16Google.Cloud.ApiHub.V1\xca\x02\x16Google\\Cloud\\ApiHub\\V1\xea\x02\x19Google::Cloud::ApiHub::V1\xea\x41\x65\n#aiplatform.googleapis.com/Extension\x12>projects/{project}/locations/{location}/extensions/{extension}b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module ApiHub
42
+ module V1
43
+ Api = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Api").msgclass
44
+ Version = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Version").msgclass
45
+ Spec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Spec").msgclass
46
+ Spec::ParsingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Spec.ParsingMode").enummodule
47
+ Deployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Deployment").msgclass
48
+ ApiOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiOperation").msgclass
49
+ Definition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Definition").msgclass
50
+ Definition::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Definition.Type").enummodule
51
+ Attribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Attribute").msgclass
52
+ Attribute::AllowedValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Attribute.AllowedValue").msgclass
53
+ Attribute::DefinitionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Attribute.DefinitionType").enummodule
54
+ Attribute::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Attribute.Scope").enummodule
55
+ Attribute::DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Attribute.DataType").enummodule
56
+ SpecContents = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SpecContents").msgclass
57
+ SpecDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SpecDetails").msgclass
58
+ OpenApiSpecDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.OpenApiSpecDetails").msgclass
59
+ OpenApiSpecDetails::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.OpenApiSpecDetails.Format").enummodule
60
+ OperationDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.OperationDetails").msgclass
61
+ HttpOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperation").msgclass
62
+ HttpOperation::Method = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperation.Method").enummodule
63
+ Path = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Path").msgclass
64
+ Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Schema").msgclass
65
+ Owner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Owner").msgclass
66
+ Documentation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Documentation").msgclass
67
+ AttributeValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AttributeValues").msgclass
68
+ AttributeValues::EnumAttributeValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AttributeValues.EnumAttributeValues").msgclass
69
+ AttributeValues::StringAttributeValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AttributeValues.StringAttributeValues").msgclass
70
+ Dependency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Dependency").msgclass
71
+ Dependency::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Dependency.State").enummodule
72
+ Dependency::DiscoveryMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Dependency.DiscoveryMode").enummodule
73
+ DependencyEntityReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DependencyEntityReference").msgclass
74
+ DependencyErrorDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DependencyErrorDetail").msgclass
75
+ DependencyErrorDetail::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DependencyErrorDetail.Error").enummodule
76
+ LintResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.LintResponse").msgclass
77
+ LintResponse::SummaryEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.LintResponse.SummaryEntry").msgclass
78
+ Issue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Issue").msgclass
79
+ Range = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Range").msgclass
80
+ Point = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Point").msgclass
81
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.OperationMetadata").msgclass
82
+ ApiHubInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubInstance").msgclass
83
+ ApiHubInstance::Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubInstance.Config").msgclass
84
+ ApiHubInstance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubInstance.State").enummodule
85
+ ExternalApi = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ExternalApi").msgclass
86
+ LintState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.LintState").enummodule
87
+ Linter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Linter").enummodule
88
+ Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Severity").enummodule
89
+ end
90
+ end
91
+ end
92
+ end