# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/apihub/v1/apihub_service.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/apihub/v1/common_fields_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' 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" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.cloud.apihub.v1.Api", "google/cloud/apihub/v1/common_fields.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module ApiHub module V1 CreateApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateApiRequest").msgclass GetApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetApiRequest").msgclass UpdateApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateApiRequest").msgclass DeleteApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteApiRequest").msgclass ListApisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListApisRequest").msgclass ListApisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListApisResponse").msgclass CreateVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateVersionRequest").msgclass GetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetVersionRequest").msgclass UpdateVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateVersionRequest").msgclass DeleteVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteVersionRequest").msgclass ListVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListVersionsRequest").msgclass ListVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListVersionsResponse").msgclass CreateSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateSpecRequest").msgclass GetSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetSpecRequest").msgclass UpdateSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateSpecRequest").msgclass DeleteSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteSpecRequest").msgclass ListSpecsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListSpecsRequest").msgclass ListSpecsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListSpecsResponse").msgclass GetSpecContentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetSpecContentsRequest").msgclass GetApiOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetApiOperationRequest").msgclass ListApiOperationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListApiOperationsRequest").msgclass ListApiOperationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListApiOperationsResponse").msgclass GetDefinitionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetDefinitionRequest").msgclass CreateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateDeploymentRequest").msgclass GetDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetDeploymentRequest").msgclass UpdateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateDeploymentRequest").msgclass DeleteDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteDeploymentRequest").msgclass ListDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDeploymentsRequest").msgclass ListDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDeploymentsResponse").msgclass CreateAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateAttributeRequest").msgclass GetAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetAttributeRequest").msgclass UpdateAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateAttributeRequest").msgclass DeleteAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteAttributeRequest").msgclass ListAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListAttributesRequest").msgclass ListAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListAttributesResponse").msgclass SearchResourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SearchResourcesRequest").msgclass ApiHubResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubResource").msgclass SearchResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SearchResult").msgclass SearchResourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SearchResourcesResponse").msgclass CreateDependencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateDependencyRequest").msgclass GetDependencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetDependencyRequest").msgclass UpdateDependencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateDependencyRequest").msgclass DeleteDependencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteDependencyRequest").msgclass ListDependenciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDependenciesRequest").msgclass ListDependenciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDependenciesResponse").msgclass CreateExternalApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateExternalApiRequest").msgclass GetExternalApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetExternalApiRequest").msgclass UpdateExternalApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateExternalApiRequest").msgclass DeleteExternalApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteExternalApiRequest").msgclass ListExternalApisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListExternalApisRequest").msgclass ListExternalApisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListExternalApisResponse").msgclass end end end end