google-cloud-api_hub-v1 0.4.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/api_hub/v1/api_hub/paths.rb +21 -0
- data/lib/google/cloud/api_hub/v1/api_hub/rest/client.rb +497 -9
- data/lib/google/cloud/api_hub/v1/api_hub/rest/service_stub.rb +185 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/credentials.rb +47 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/paths.rb +218 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/client.rb +487 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/operations.rb +914 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/service_stub.rb +143 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest.rb +56 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect.rb +50 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/credentials.rb +47 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/paths.rb +90 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/client.rb +869 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/service_stub.rb +388 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest.rb +54 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate.rb +49 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/credentials.rb +47 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/paths.rb +90 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/client.rb +750 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/service_stub.rb +325 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest.rb +54 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery.rb +49 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/paths.rb +74 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb +1265 -98
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/operations.rb +914 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/service_stub.rb +677 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest.rb +1 -0
- data/lib/google/cloud/api_hub/v1/bindings_override.rb +2 -29
- data/lib/google/cloud/api_hub/v1/provisioning/rest/client.rb +96 -0
- data/lib/google/cloud/api_hub/v1/provisioning/rest/service_stub.rb +61 -0
- data/lib/google/cloud/api_hub/v1/rest.rb +3 -0
- data/lib/google/cloud/api_hub/v1/version.rb +1 -1
- data/lib/google/cloud/api_hub/v1.rb +3 -0
- data/lib/google/cloud/apihub/v1/apihub_service_pb.rb +4 -1
- data/lib/google/cloud/apihub/v1/apihub_service_services_pb.rb +35 -2
- data/lib/google/cloud/apihub/v1/collect_service_pb.rb +60 -0
- data/lib/google/cloud/apihub/v1/collect_service_services_pb.rb +47 -0
- data/lib/google/cloud/apihub/v1/common_fields_pb.rb +34 -1
- data/lib/google/cloud/apihub/v1/curate_service_pb.rb +63 -0
- data/lib/google/cloud/apihub/v1/curate_service_services_pb.rb +64 -0
- data/lib/google/cloud/apihub/v1/discovery_service_pb.rb +54 -0
- data/lib/google/cloud/apihub/v1/discovery_service_services_pb.rb +55 -0
- data/lib/google/cloud/apihub/v1/plugin_service_pb.rb +44 -1
- data/lib/google/cloud/apihub/v1/plugin_service_services_pb.rb +43 -1
- data/lib/google/cloud/apihub/v1/provisioning_service_pb.rb +3 -1
- data/lib/google/cloud/apihub/v1/provisioning_service_services_pb.rb +2 -0
- data/proto_docs/google/cloud/apihub/v1/apihub_service.rb +251 -15
- data/proto_docs/google/cloud/apihub/v1/collect_service.rb +188 -0
- data/proto_docs/google/cloud/apihub/v1/common_fields.rb +819 -28
- data/proto_docs/google/cloud/apihub/v1/curate_service.rb +268 -0
- data/proto_docs/google/cloud/apihub/v1/discovery_service.rb +124 -0
- data/proto_docs/google/cloud/apihub/v1/linting_service.rb +10 -4
- data/proto_docs/google/cloud/apihub/v1/plugin_service.rb +799 -1
- data/proto_docs/google/cloud/apihub/v1/provisioning_service.rb +13 -0
- metadata +40 -23
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
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"
|
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\"\xc2\n\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\x12\x46\n\x10\x61pi_requirements\x18\x10 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12\x18\n\x0b\x66ingerprint\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x0fsource_metadata\x18\x12 \x03(\x0b\x32&.google.cloud.apihub.v1.SourceMetadataB\x03\xe0\x41\x03\x12Q\n\x1b\x61pi_functional_requirements\x18\x13 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12P\n\x1a\x61pi_technical_requirements\x18\x14 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\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:]\xea\x41Z\n\x19\x61pihub.googleapis.com/Api\x12\x32projects/{project}/locations/{location}/apis/{api}*\x04\x61pis2\x03\x61pi\"\xee\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\x12\x44\n\x0fsource_metadata\x18\x11 \x03(\x0b\x32&.google.cloud.apihub.v1.SourceMetadataB\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:|\xea\x41y\n\x1d\x61pihub.googleapis.com/Version\x12\x45projects/{project}/locations/{location}/apis/{api}/versions/{version}*\x08versions2\x07version\"\xf4\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\x12\x44\n\x0fsource_metadata\x18\r \x03(\x0b\x32&.google.cloud.apihub.v1.SourceMetadataB\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\"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\"\xce\x08\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\x12\x44\n\x0fsource_metadata\x18\x0e \x03(\x0b\x32&.google.cloud.apihub.v1.SourceMetadataB\x03\xe0\x41\x03\x12\x44\n\x0emanagement_url\x18\x0f \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12@\n\nsource_uri\x18\x10 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12\x1b\n\x0esource_project\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12source_environment\x18\x12 \x01(\tB\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\"\x96\x05\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\x01\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\x12\x44\n\x0fsource_metadata\x18\x07 \x03(\x0b\x32&.google.cloud.apihub.v1.SourceMetadataB\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:\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\"\xc5\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\"N\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\x12\x07\n\x03URI\x10\x04:{\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\x01\x12\x41\n\rdocumentation\x18\x02 \x01(\x0b\x32%.google.cloud.apihub.v1.DocumentationB\x03\xe0\x41\x01\x12\x17\n\ndeprecated\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\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\x01\x12\x41\n\x06method\x18\x02 \x01(\x0e\x32,.google.cloud.apihub.v1.HttpOperation.MethodB\x03\xe0\x41\x01\"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\x01\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\";\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\"\xb7\x04\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\x12S\n\nuri_values\x18\x05 \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\"\xd2\x07\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\x82\x02\n\x06\x43onfig\x12\x1a\n\rcmek_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x64isable_search\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fvertex_location\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x0f\x65ncryption_type\x18\x04 \x01(\x0e\x32<.google.cloud.apihub.v1.ApiHubInstance.Config.EncryptionTypeB\x03\xe0\x41\x01\"E\n\x0e\x45ncryptionType\x12\x1f\n\x1b\x45NCRYPTION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04GMEK\x10\x01\x12\x08\n\x04\x43MEK\x10\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\"Y\n\x11\x43onfigValueOption\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\"%\n\x06Secret\x12\x1b\n\x0esecret_version\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xf2\x03\n\x16\x43onfigVariableTemplate\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12Q\n\nvalue_type\x18\x02 \x01(\x0e\x32\x38.google.cloud.apihub.v1.ConfigVariableTemplate.ValueTypeB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10validation_regex\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08required\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x44\n\x0c\x65num_options\x18\x06 \x03(\x0b\x32).google.cloud.apihub.v1.ConfigValueOptionB\x03\xe0\x41\x01\x12L\n\x14multi_select_options\x18\x07 \x03(\x0b\x32).google.cloud.apihub.v1.ConfigValueOptionB\x03\xe0\x41\x01\"\x8f\x01\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x07\n\x03INT\x10\x02\x12\x08\n\x04\x42OOL\x10\x03\x12\n\n\x06SECRET\x10\x04\x12\x08\n\x04\x45NUM\x10\x05\x12\x10\n\x0cMULTI_SELECT\x10\x06\x12\x10\n\x0cMULTI_STRING\x10\x07\x12\r\n\tMULTI_INT\x10\x08\"\xba\x05\n\x0e\x43onfigVariable\x12\x1b\n\x0cstring_value\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x18\n\tint_value\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x12\x19\n\nbool_value\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12;\n\x0csecret_value\x18\x05 \x01(\x0b\x32\x1e.google.cloud.apihub.v1.SecretB\x03\xe0\x41\x01H\x00\x12\x44\n\nenum_value\x18\x06 \x01(\x0b\x32).google.cloud.apihub.v1.ConfigValueOptionB\x03\xe0\x41\x01H\x00\x12\\\n\x13multi_select_values\x18\x07 \x01(\x0b\x32\x38.google.cloud.apihub.v1.ConfigVariable.MultiSelectValuesB\x03\xe0\x41\x01H\x00\x12\\\n\x13multi_string_values\x18\x08 \x01(\x0b\x32\x38.google.cloud.apihub.v1.ConfigVariable.MultiStringValuesB\x03\xe0\x41\x01H\x00\x12V\n\x10multi_int_values\x18\t \x01(\x0b\x32\x35.google.cloud.apihub.v1.ConfigVariable.MultiIntValuesB\x03\xe0\x41\x01H\x00\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x03\x1aS\n\x11MultiSelectValues\x12>\n\x06values\x18\x01 \x03(\x0b\x32).google.cloud.apihub.v1.ConfigValueOptionB\x03\xe0\x41\x01\x1a(\n\x11MultiStringValues\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a%\n\x0eMultiIntValues\x12\x13\n\x06values\x18\x01 \x03(\x05\x42\x03\xe0\x41\x01\x42\x07\n\x05value\"`\n\x1aGoogleServiceAccountConfig\x12\x42\n\x0fservice_account\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!iam.googleapis.com/ServiceAccount\"\xce\x07\n\nAuthConfig\x12[\n\x1dgoogle_service_account_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.apihub.v1.GoogleServiceAccountConfigH\x00\x12U\n\x14user_password_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.apihub.v1.AuthConfig.UserPasswordConfigH\x00\x12I\n\x0e\x61pi_key_config\x18\x04 \x01(\x0b\x32/.google.cloud.apihub.v1.AuthConfig.ApiKeyConfigH\x00\x12l\n oauth2_client_credentials_config\x18\x05 \x01(\x0b\x32@.google.cloud.apihub.v1.AuthConfig.Oauth2ClientCredentialsConfigH\x00\x12\x38\n\tauth_type\x18\x01 \x01(\x0e\x32 .google.cloud.apihub.v1.AuthTypeB\x03\xe0\x41\x02\x1a\x62\n\x12UserPasswordConfig\x12\x15\n\x08username\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x08password\x18\x02 \x01(\x0b\x32\x1e.google.cloud.apihub.v1.SecretB\x03\xe0\x41\x02\x1as\n\x1dOauth2ClientCredentialsConfig\x12\x16\n\tclient_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12:\n\rclient_secret\x18\x02 \x01(\x0b\x32\x1e.google.cloud.apihub.v1.SecretB\x03\xe0\x41\x02\x1a\xb5\x02\n\x0c\x41piKeyConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x07\x61pi_key\x18\x02 \x01(\x0b\x32\x1e.google.cloud.apihub.v1.SecretB\x03\xe0\x41\x02\x12g\n\x15http_element_location\x18\x03 \x01(\x0e\x32\x43.google.cloud.apihub.v1.AuthConfig.ApiKeyConfig.HttpElementLocationB\x03\xe0\x41\x02\"s\n\x13HttpElementLocation\x12%\n!HTTP_ELEMENT_LOCATION_UNSPECIFIED\x10\x00\x12\t\n\x05QUERY\x10\x01\x12\n\n\x06HEADER\x10\x02\x12\x08\n\x04PATH\x10\x03\x12\x08\n\x04\x42ODY\x10\x04\x12\n\n\x06\x43OOKIE\x10\x05\x42\x08\n\x06\x63onfig\"\xbf\x04\n\x0eSourceMetadata\x12o\n\x1dplugin_instance_action_source\x18\x01 \x01(\x0b\x32\x41.google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSourceB\x03\xe0\x41\x03H\x00\x12K\n\x0bsource_type\x18\x02 \x01(\x0e\x32\x31.google.cloud.apihub.v1.SourceMetadata.SourceTypeB\x03\xe0\x41\x03\x12!\n\x14original_resource_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x1doriginal_resource_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x46\n\x1doriginal_resource_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a{\n\x1aPluginInstanceActionSource\x12\x45\n\x0fplugin_instance\x18\x01 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$apihub.googleapis.com/PluginInstance\x12\x16\n\taction_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\"5\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PLUGIN\x10\x01\x42\x08\n\x06source\"\x90\x08\n\x18\x44iscoveredApiObservation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12J\n\x05style\x18\x02 \x01(\x0e\x32\x36.google.cloud.apihub.v1.DiscoveredApiObservation.StyleB\x03\xe0\x41\x01\x12\x17\n\nserver_ips\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08hostname\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x18last_event_detected_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x43\n\x10source_locations\x18\x06 \x03(\tB)\xe0\x41\x01\xfa\x41#\n!locations.googleapis.com/Location\x12 \n\x13\x61pi_operation_count\x18\x07 \x01(\x03\x42\x03\xe0\x41\x01\x12\x13\n\x06origin\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12V\n\x0csource_types\x18\t \x03(\x0e\x32;.google.cloud.apihub.v1.DiscoveredApiObservation.SourceTypeB\x03\xe0\x41\x01\x12#\n\x16known_operations_count\x18\n \x01(\x03\x42\x03\xe0\x41\x03\x12%\n\x18unknown_operations_count\x18\x0b \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x0fsource_metadata\x18\x0e \x01(\x0b\x32&.google.cloud.apihub.v1.SourceMetadataB\x03\xe0\x41\x03\"?\n\x05Style\x12\x15\n\x11STYLE_UNSPECIFIED\x10\x00\x12\x08\n\x04REST\x10\x01\x12\x08\n\x04GRPC\x10\x02\x12\x0b\n\x07GRAPHQL\x10\x03\"C\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07GCP_XLB\x10\x01\x12\x0b\n\x07GCP_ILB\x10\x02:\xc9\x01\xea\x41\xc5\x01\n.apihub.googleapis.com/DiscoveredApiObservation\x12^projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}*\x19\x64iscoveredApiObservations2\x18\x64iscoveredApiObservation\"\xd8\x07\n\x16\x44iscoveredApiOperation\x12K\n\x0ehttp_operation\x18\x02 \x01(\x0b\x32,.google.cloud.apihub.v1.HttpOperationDetailsB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x38\n\x0f\x66irst_seen_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x37\n\x0elast_seen_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x12\n\x05\x63ount\x18\x05 \x01(\x03\x42\x03\xe0\x41\x01\x12Z\n\x0e\x63lassification\x18\x06 \x01(\x0e\x32=.google.cloud.apihub.v1.DiscoveredApiOperation.ClassificationB\x03\xe0\x41\x03\x12V\n\rmatch_results\x18\x07 \x03(\x0b\x32:.google.cloud.apihub.v1.DiscoveredApiOperation.MatchResultB\x03\xe0\x41\x03\x12\x44\n\x0fsource_metadata\x18\x08 \x01(\x0b\x32&.google.cloud.apihub.v1.SourceMetadataB\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\x1a \n\x0bMatchResult\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\"H\n\x0e\x43lassification\x12\x1e\n\x1a\x43LASSIFICATION_UNSPECIFIED\x10\x00\x12\t\n\x05KNOWN\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02:\xf7\x01\xea\x41\xf3\x01\n,apihub.googleapis.com/DiscoveredApiOperation\x12\x91\x01projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}*\x17\x64iscoveredApiOperations2\x16\x64iscoveredApiOperationB\x0b\n\toperation\"\xa4\x0c\n\x14HttpOperationDetails\x12\x42\n\x0ehttp_operation\x18\x01 \x01(\x0b\x32%.google.cloud.apihub.v1.HttpOperationB\x03\xe0\x41\x02\x12P\n\x0bpath_params\x18\x02 \x03(\x0b\x32\x36.google.cloud.apihub.v1.HttpOperationDetails.PathParamB\x03\xe0\x41\x01\x12X\n\x0cquery_params\x18\x03 \x03(\x0b\x32=.google.cloud.apihub.v1.HttpOperationDetails.QueryParamsEntryB\x03\xe0\x41\x01\x12N\n\x07request\x18\x04 \x01(\x0b\x32\x38.google.cloud.apihub.v1.HttpOperationDetails.HttpRequestB\x03\xe0\x41\x01\x12P\n\x08response\x18\x05 \x01(\x0b\x32\x39.google.cloud.apihub.v1.HttpOperationDetails.HttpResponseB\x03\xe0\x41\x01\x1aq\n\tPathParam\x12\x15\n\x08position\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12M\n\tdata_type\x18\x02 \x01(\x0e\x32\x35.google.cloud.apihub.v1.HttpOperationDetails.DataTypeB\x03\xe0\x41\x01\x1a\x82\x01\n\nQueryParam\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x63ount\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12M\n\tdata_type\x18\x03 \x01(\x0e\x32\x35.google.cloud.apihub.v1.HttpOperationDetails.DataTypeB\x03\xe0\x41\x01\x1ao\n\x06Header\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x12H\n\tdata_type\x18\x03 \x01(\x0e\x32\x35.google.cloud.apihub.v1.HttpOperationDetails.DataType\x1a\xcf\x01\n\x0bHttpRequest\x12[\n\x07headers\x18\x01 \x03(\x0b\x32\x45.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest.HeadersEntryB\x03\xe0\x41\x01\x1a\x63\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.cloud.apihub.v1.HttpOperationDetails.Header:\x02\x38\x01\x1a\xf2\x02\n\x0cHttpResponse\x12\\\n\x07headers\x18\x01 \x03(\x0b\x32\x46.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse.HeadersEntryB\x03\xe0\x41\x01\x12i\n\x0eresponse_codes\x18\x02 \x03(\x0b\x32L.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse.ResponseCodesEntryB\x03\xe0\x41\x01\x1a\x63\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.cloud.apihub.v1.HttpOperationDetails.Header:\x02\x38\x01\x1a\x34\n\x12ResponseCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1ak\n\x10QueryParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.apihub.v1.HttpOperationDetails.QueryParam:\x02\x38\x01\"]\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\n\n\x06STRING\x10\x04\x12\x08\n\x04UUID\x10\x05*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*\x8d\x01\n\x08\x41uthType\x12\x19\n\x15\x41UTH_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07NO_AUTH\x10\x01\x12\x1a\n\x16GOOGLE_SERVICE_ACCOUNT\x10\x02\x12\x11\n\rUSER_PASSWORD\x10\x03\x12\x0b\n\x07\x41PI_KEY\x10\x04\x12\x1d\n\x19OAUTH2_CLIENT_CREDENTIALS\x10\x05*T\n\x0ePluginCategory\x12\x1f\n\x1bPLUGIN_CATEGORY_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41PI_GATEWAY\x10\x01\x12\x10\n\x0c\x41PI_PRODUCER\x10\x02\x42\xf7\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}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -81,11 +81,44 @@ module Google
|
|
81
81
|
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.OperationMetadata").msgclass
|
82
82
|
ApiHubInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubInstance").msgclass
|
83
83
|
ApiHubInstance::Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubInstance.Config").msgclass
|
84
|
+
ApiHubInstance::Config::EncryptionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubInstance.Config.EncryptionType").enummodule
|
84
85
|
ApiHubInstance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApiHubInstance.State").enummodule
|
85
86
|
ExternalApi = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ExternalApi").msgclass
|
87
|
+
ConfigValueOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ConfigValueOption").msgclass
|
88
|
+
Secret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Secret").msgclass
|
89
|
+
ConfigVariableTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ConfigVariableTemplate").msgclass
|
90
|
+
ConfigVariableTemplate::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ConfigVariableTemplate.ValueType").enummodule
|
91
|
+
ConfigVariable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ConfigVariable").msgclass
|
92
|
+
ConfigVariable::MultiSelectValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ConfigVariable.MultiSelectValues").msgclass
|
93
|
+
ConfigVariable::MultiStringValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ConfigVariable.MultiStringValues").msgclass
|
94
|
+
ConfigVariable::MultiIntValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ConfigVariable.MultiIntValues").msgclass
|
95
|
+
GoogleServiceAccountConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GoogleServiceAccountConfig").msgclass
|
96
|
+
AuthConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AuthConfig").msgclass
|
97
|
+
AuthConfig::UserPasswordConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AuthConfig.UserPasswordConfig").msgclass
|
98
|
+
AuthConfig::Oauth2ClientCredentialsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AuthConfig.Oauth2ClientCredentialsConfig").msgclass
|
99
|
+
AuthConfig::ApiKeyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AuthConfig.ApiKeyConfig").msgclass
|
100
|
+
AuthConfig::ApiKeyConfig::HttpElementLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AuthConfig.ApiKeyConfig.HttpElementLocation").enummodule
|
101
|
+
SourceMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SourceMetadata").msgclass
|
102
|
+
SourceMetadata::PluginInstanceActionSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource").msgclass
|
103
|
+
SourceMetadata::SourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.SourceMetadata.SourceType").enummodule
|
104
|
+
DiscoveredApiObservation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DiscoveredApiObservation").msgclass
|
105
|
+
DiscoveredApiObservation::Style = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DiscoveredApiObservation.Style").enummodule
|
106
|
+
DiscoveredApiObservation::SourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DiscoveredApiObservation.SourceType").enummodule
|
107
|
+
DiscoveredApiOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DiscoveredApiOperation").msgclass
|
108
|
+
DiscoveredApiOperation::MatchResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DiscoveredApiOperation.MatchResult").msgclass
|
109
|
+
DiscoveredApiOperation::Classification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DiscoveredApiOperation.Classification").enummodule
|
110
|
+
HttpOperationDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperationDetails").msgclass
|
111
|
+
HttpOperationDetails::PathParam = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperationDetails.PathParam").msgclass
|
112
|
+
HttpOperationDetails::QueryParam = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperationDetails.QueryParam").msgclass
|
113
|
+
HttpOperationDetails::Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperationDetails.Header").msgclass
|
114
|
+
HttpOperationDetails::HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperationDetails.HttpRequest").msgclass
|
115
|
+
HttpOperationDetails::HttpResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperationDetails.HttpResponse").msgclass
|
116
|
+
HttpOperationDetails::DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.HttpOperationDetails.DataType").enummodule
|
86
117
|
LintState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.LintState").enummodule
|
87
118
|
Linter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Linter").enummodule
|
88
119
|
Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Severity").enummodule
|
120
|
+
AuthType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.AuthType").enummodule
|
121
|
+
PluginCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.PluginCategory").enummodule
|
89
122
|
end
|
90
123
|
end
|
91
124
|
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/apihub/v1/curate_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/protobuf/empty_pb'
|
12
|
+
require 'google/protobuf/field_mask_pb'
|
13
|
+
require 'google/protobuf/timestamp_pb'
|
14
|
+
|
15
|
+
|
16
|
+
descriptor_data = "\n+google/cloud/apihub/v1/curate_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\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa2\x01\n\x15\x43reateCurationRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61pihub.googleapis.com/Curation\x12\x18\n\x0b\x63uration_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x37\n\x08\x63uration\x18\x03 \x01(\x0b\x32 .google.cloud.apihub.v1.CurationB\x03\xe0\x41\x02\"J\n\x12GetCurationRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61pihub.googleapis.com/Curation\"\x86\x01\n\x15UpdateCurationRequest\x12\x37\n\x08\x63uration\x18\x01 \x01(\x0b\x32 .google.cloud.apihub.v1.CurationB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"M\n\x15\x44\x65leteCurationRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61pihub.googleapis.com/Curation\"\x94\x01\n\x14ListCurationsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61pihub.googleapis.com/Curation\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\"e\n\x15ListCurationsResponse\x12\x33\n\tcurations\x18\x01 \x03(\x0b\x32 .google.cloud.apihub.v1.Curation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc4\x07\n\x08\x43uration\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\x37\n\x08\x65ndpoint\x18\x04 \x01(\x0b\x32 .google.cloud.apihub.v1.EndpointB\x03\xe0\x41\x02\x12]\n\x17plugin_instance_actions\x18\x05 \x03(\x0b\x32\x37.google.cloud.apihub.v1.Curation.PluginInstanceActionIDB\x03\xe0\x41\x03\x12V\n\x14last_execution_state\x18\x06 \x01(\x0e\x32\x33.google.cloud.apihub.v1.Curation.LastExecutionStateB\x03\xe0\x41\x03\x12R\n\x19last_execution_error_code\x18\x07 \x01(\x0e\x32*.google.cloud.apihub.v1.Curation.ErrorCodeB\x03\xe0\x41\x03\x12)\n\x1clast_execution_error_message\x18\x08 \x01(\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\x1aw\n\x16PluginInstanceActionID\x12\x45\n\x0fplugin_instance\x18\x01 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$apihub.googleapis.com/PluginInstance\x12\x16\n\taction_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\"U\n\x12LastExecutionState\x12$\n LAST_EXECUTION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"M\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x10\n\x0cUNAUTHORIZED\x10\x02:v\xea\x41s\n\x1e\x61pihub.googleapis.com/Curation\x12<projects/{project}/locations/{location}/curations/{curation}*\tcurations2\x08\x63uration\"\x96\x01\n\x08\x45ndpoint\x12v\n(application_integration_endpoint_details\x18\x01 \x01(\x0b\x32=.google.cloud.apihub.v1.ApplicationIntegrationEndpointDetailsB\x03\xe0\x41\x02H\x00\x42\x12\n\x10\x65ndpoint_details\"R\n%ApplicationIntegrationEndpointDetails\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x32\xc4\x07\n\x0c\x41piHubCurate\x12\xc0\x01\n\x0e\x43reateCuration\x12-.google.cloud.apihub.v1.CreateCurationRequest\x1a .google.cloud.apihub.v1.Curation\"]\xda\x41\x1bparent,curation,curation_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/curations:\x08\x63uration\x12\x99\x01\n\x0bGetCuration\x12*.google.cloud.apihub.v1.GetCurationRequest\x1a .google.cloud.apihub.v1.Curation\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/curations/*}\x12\xac\x01\n\rListCurations\x12,.google.cloud.apihub.v1.ListCurationsRequest\x1a-.google.cloud.apihub.v1.ListCurationsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/curations\x12\xc2\x01\n\x0eUpdateCuration\x12-.google.cloud.apihub.v1.UpdateCurationRequest\x1a .google.cloud.apihub.v1.Curation\"_\xda\x41\x14\x63uration,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{curation.name=projects/*/locations/*/curations/*}:\x08\x63uration\x12\x95\x01\n\x0e\x44\x65leteCuration\x12-.google.cloud.apihub.v1.DeleteCurationRequest\x1a\x16.google.protobuf.Empty\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/curations/*}\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\x43urateServiceProtoP\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.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
32
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.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
|
+
CreateCurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreateCurationRequest").msgclass
|
49
|
+
GetCurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetCurationRequest").msgclass
|
50
|
+
UpdateCurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdateCurationRequest").msgclass
|
51
|
+
DeleteCurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeleteCurationRequest").msgclass
|
52
|
+
ListCurationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListCurationsRequest").msgclass
|
53
|
+
ListCurationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListCurationsResponse").msgclass
|
54
|
+
Curation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Curation").msgclass
|
55
|
+
Curation::PluginInstanceActionID = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Curation.PluginInstanceActionID").msgclass
|
56
|
+
Curation::LastExecutionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Curation.LastExecutionState").enummodule
|
57
|
+
Curation::ErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Curation.ErrorCode").enummodule
|
58
|
+
Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Endpoint").msgclass
|
59
|
+
ApplicationIntegrationEndpointDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ApplicationIntegrationEndpointDetails").msgclass
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/apihub/v1/curate_service.proto for package 'Google.Cloud.ApiHub.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2025 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/curate_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module ApiHub
|
25
|
+
module V1
|
26
|
+
module ApiHubCurate
|
27
|
+
# This service is used for managing curations for processing API data consumed
|
28
|
+
# from collect layer.
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.apihub.v1.ApiHubCurate'
|
36
|
+
|
37
|
+
# Create a curation resource in the API hub.
|
38
|
+
# Once a curation resource is created, plugin instances can start using it.
|
39
|
+
rpc :CreateCuration, ::Google::Cloud::ApiHub::V1::CreateCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
|
40
|
+
# Get curation resource details.
|
41
|
+
rpc :GetCuration, ::Google::Cloud::ApiHub::V1::GetCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
|
42
|
+
# List curation resources in the API hub.
|
43
|
+
rpc :ListCurations, ::Google::Cloud::ApiHub::V1::ListCurationsRequest, ::Google::Cloud::ApiHub::V1::ListCurationsResponse
|
44
|
+
# Update a curation resource in the API hub. The following fields in the
|
45
|
+
# [curation][google.cloud.apihub.v1.Curation] can be updated:
|
46
|
+
#
|
47
|
+
# * [display_name][google.cloud.apihub.v1.Curation.display_name]
|
48
|
+
# * [description][google.cloud.apihub.v1.Curation.description]
|
49
|
+
#
|
50
|
+
# The
|
51
|
+
# [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
|
52
|
+
# should be used to specify the fields being updated.
|
53
|
+
rpc :UpdateCuration, ::Google::Cloud::ApiHub::V1::UpdateCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
|
54
|
+
# Delete a curation resource in the API hub. A curation can only be deleted
|
55
|
+
# if it's not being used by any plugin instance.
|
56
|
+
rpc :DeleteCuration, ::Google::Cloud::ApiHub::V1::DeleteCurationRequest, ::Google::Protobuf::Empty
|
57
|
+
end
|
58
|
+
|
59
|
+
Stub = Service.rpc_stub_class
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/apihub/v1/discovery_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
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n.google/cloud/apihub/v1/discovery_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\"\x9f\x01\n$ListDiscoveredApiObservationsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.apihub.googleapis.com/DiscoveredApiObservation\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\"\x97\x01\n%ListDiscoveredApiObservationsResponse\x12U\n\x1b\x64iscovered_api_observations\x18\x01 \x03(\x0b\x32\x30.google.cloud.apihub.v1.DiscoveredApiObservation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9b\x01\n\"ListDiscoveredApiOperationsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,apihub.googleapis.com/DiscoveredApiOperation\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\"\x91\x01\n#ListDiscoveredApiOperationsResponse\x12Q\n\x19\x64iscovered_api_operations\x18\x01 \x03(\x0b\x32..google.cloud.apihub.v1.DiscoveredApiOperation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"j\n\"GetDiscoveredApiObservationRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.apihub.googleapis.com/DiscoveredApiObservation\"f\n GetDiscoveredApiOperationRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,apihub.googleapis.com/DiscoveredApiOperation2\x9a\x08\n\x0f\x41piHubDiscovery\x12\xec\x01\n\x1dListDiscoveredApiObservations\x12<.google.cloud.apihub.v1.ListDiscoveredApiObservationsRequest\x1a=.google.cloud.apihub.v1.ListDiscoveredApiObservationsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/discoveredApiObservations\x12\xd9\x01\n\x1bGetDiscoveredApiObservation\x12:.google.cloud.apihub.v1.GetDiscoveredApiObservationRequest\x1a\x30.google.cloud.apihub.v1.DiscoveredApiObservation\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/discoveredApiObservations/*}\x12\x80\x02\n\x1bListDiscoveredApiOperations\x12:.google.cloud.apihub.v1.ListDiscoveredApiOperationsRequest\x1a;.google.cloud.apihub.v1.ListDiscoveredApiOperationsResponse\"h\xda\x41\x06parent\x82\xd3\xe4\x93\x02Y\x12W/v1/{parent=projects/*/locations/*/discoveredApiObservations/*}/discoveredApiOperations\x12\xed\x01\n\x19GetDiscoveredApiOperation\x12\x38.google.cloud.apihub.v1.GetDiscoveredApiOperationRequest\x1a..google.cloud.apihub.v1.DiscoveredApiOperation\"f\xda\x41\x04name\x82\xd3\xe4\x93\x02Y\x12W/v1/{name=projects/*/locations/*/discoveredApiObservations/*/discoveredApiOperations/*}\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb7\x01\n\x1a\x63om.google.cloud.apihub.v1B\x15\x44iscoveryServiceProtoP\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"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.cloud.apihub.v1.DiscoveredApiObservation", "google/cloud/apihub/v1/common_fields.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module ApiHub
|
44
|
+
module V1
|
45
|
+
ListDiscoveredApiObservationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDiscoveredApiObservationsRequest").msgclass
|
46
|
+
ListDiscoveredApiObservationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDiscoveredApiObservationsResponse").msgclass
|
47
|
+
ListDiscoveredApiOperationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDiscoveredApiOperationsRequest").msgclass
|
48
|
+
ListDiscoveredApiOperationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListDiscoveredApiOperationsResponse").msgclass
|
49
|
+
GetDiscoveredApiObservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetDiscoveredApiObservationRequest").msgclass
|
50
|
+
GetDiscoveredApiOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetDiscoveredApiOperationRequest").msgclass
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/apihub/v1/discovery_service.proto for package 'Google.Cloud.ApiHub.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2025 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/discovery_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module ApiHub
|
25
|
+
module V1
|
26
|
+
module ApiHubDiscovery
|
27
|
+
# This service exposes methods used to manage DiscoveredApiObservations
|
28
|
+
# and DiscoveredApiOperations.
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.apihub.v1.ApiHubDiscovery'
|
36
|
+
|
37
|
+
# Lists all the DiscoveredAPIObservations in a given project and location.
|
38
|
+
rpc :ListDiscoveredApiObservations, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsRequest, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsResponse
|
39
|
+
# Gets a DiscoveredAPIObservation in a given project, location and
|
40
|
+
# ApiObservation.
|
41
|
+
rpc :GetDiscoveredApiObservation, ::Google::Cloud::ApiHub::V1::GetDiscoveredApiObservationRequest, ::Google::Cloud::ApiHub::V1::DiscoveredApiObservation
|
42
|
+
# Lists all the DiscoveredAPIOperations in a given project, location and
|
43
|
+
# ApiObservation.
|
44
|
+
rpc :ListDiscoveredApiOperations, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsRequest, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsResponse
|
45
|
+
# Gets a DiscoveredAPIOperation in a given project, location,
|
46
|
+
# ApiObservation and ApiOperation.
|
47
|
+
rpc :GetDiscoveredApiOperation, ::Google::Cloud::ApiHub::V1::GetDiscoveredApiOperationRequest, ::Google::Cloud::ApiHub::V1::DiscoveredApiOperation
|
48
|
+
end
|
49
|
+
|
50
|
+
Stub = Service.rpc_stub_class
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -9,9 +9,13 @@ require 'google/api/client_pb'
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
10
10
|
require 'google/api/resource_pb'
|
11
11
|
require 'google/cloud/apihub/v1/common_fields_pb'
|
12
|
+
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/empty_pb'
|
14
|
+
require 'google/protobuf/field_mask_pb'
|
15
|
+
require 'google/protobuf/timestamp_pb'
|
12
16
|
|
13
17
|
|
14
|
-
descriptor_data = "\n+google/cloud/apihub/v1/plugin_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\"\xef\x02\n\x06Plugin\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\x04type\x18\x03 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32$.google.cloud.apihub.v1.Plugin.StateB\x03\xe0\x41\x03\"9\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:l\xea\x41i\n\x1c\x61pihub.googleapis.com/Plugin\x12\x38projects/{project}/locations/{location}/plugins/{plugin}*\x07plugins2\x06plugin\"F\n\x10GetPluginRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x61pihub.googleapis.com/Plugin\"I\n\x13\x45nablePluginRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x61pihub.googleapis.com/Plugin\"J\n\x14\x44isablePluginRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x61pihub.googleapis.com/Plugin2\xb8\x04\n\x0c\x41piHubPlugin\x12\x91\x01\n\tGetPlugin\x12(.google.cloud.apihub.v1.GetPluginRequest\x1a\x1e.google.cloud.apihub.v1.Plugin\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/plugins/*}\x12\xa1\x01\n\x0c\x45nablePlugin\x12+.google.cloud.apihub.v1.EnablePluginRequest\x1a\x1e.google.cloud.apihub.v1.Plugin\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/plugins/*}:enable:\x01*\x12\xa4\x01\n\rDisablePlugin\x12,.google.cloud.apihub.v1.DisablePluginRequest\x1a\x1e.google.cloud.apihub.v1.Plugin\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/plugins/*}:disable:\x01*\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\x12PluginServiceProtoP\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"
|
18
|
+
descriptor_data = "\n+google/cloud/apihub/v1/plugin_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#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd0\x0b\n\x06Plugin\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\x04type\x18\x03 \x01(\x0b\x32\'.google.cloud.apihub.v1.AttributeValuesB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32$.google.cloud.apihub.v1.Plugin.StateB\x03\xe0\x41\x03\x12I\n\x0eownership_type\x18\x06 \x01(\x0e\x32,.google.cloud.apihub.v1.Plugin.OwnershipTypeB\x03\xe0\x41\x03\x12K\n\x0fhosting_service\x18\x07 \x01(\x0b\x32-.google.cloud.apihub.v1.Plugin.HostingServiceB\x03\xe0\x41\x01\x12G\n\x0e\x61\x63tions_config\x18\x08 \x03(\x0b\x32*.google.cloud.apihub.v1.PluginActionConfigB\x03\xe0\x41\x01\x12\x41\n\rdocumentation\x18\t \x01(\x0b\x32%.google.cloud.apihub.v1.DocumentationB\x03\xe0\x41\x01\x12\x44\n\x0fplugin_category\x18\x0b \x01(\x0e\x32&.google.cloud.apihub.v1.PluginCategoryB\x03\xe0\x41\x01\x12K\n\x0f\x63onfig_template\x18\x0c \x01(\x0b\x32-.google.cloud.apihub.v1.Plugin.ConfigTemplateB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x0cgateway_type\x18\x0f \x01(\x0e\x32#.google.cloud.apihub.v1.GatewayTypeB\x03\xe0\x41\x01\x1a*\n\x0eHostingService\x12\x18\n\x0bservice_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a\xfc\x02\n\x0e\x43onfigTemplate\x12\x63\n\x14\x61uth_config_template\x18\x01 \x01(\x0b\x32@.google.cloud.apihub.v1.Plugin.ConfigTemplate.AuthConfigTemplateB\x03\xe0\x41\x01\x12W\n\x1a\x61\x64\x64itional_config_template\x18\x02 \x03(\x0b\x32..google.cloud.apihub.v1.ConfigVariableTemplateB\x03\xe0\x41\x01\x1a\xab\x01\n\x12\x41uthConfigTemplate\x12\x43\n\x14supported_auth_types\x18\x01 \x03(\x0e\x32 .google.cloud.apihub.v1.AuthTypeB\x03\xe0\x41\x02\x12P\n\x0fservice_account\x18\x02 \x01(\x0b\x32\x32.google.cloud.apihub.v1.GoogleServiceAccountConfigB\x03\xe0\x41\x01\"9\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\"Q\n\rOwnershipType\x12\x1e\n\x1aOWNERSHIP_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSYSTEM_OWNED\x10\x01\x12\x0e\n\nUSER_OWNED\x10\x02:l\xea\x41i\n\x1c\x61pihub.googleapis.com/Plugin\x12\x38projects/{project}/locations/{location}/plugins/{plugin}*\x07plugins2\x06plugin\"\xb1\x02\n\x12PluginActionConfig\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\x02\x12Q\n\x0ctrigger_mode\x18\x04 \x01(\x0e\x32\x36.google.cloud.apihub.v1.PluginActionConfig.TriggerModeB\x03\xe0\x41\x02\"\x81\x01\n\x0bTriggerMode\x12\x1c\n\x18TRIGGER_MODE_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x41PI_HUB_ON_DEMAND_TRIGGER\x10\x01\x12\x1c\n\x18\x41PI_HUB_SCHEDULE_TRIGGER\x10\x02\x12\x17\n\x13NON_API_HUB_MANAGED\x10\x03\"F\n\x10GetPluginRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x61pihub.googleapis.com/Plugin\"I\n\x13\x45nablePluginRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x61pihub.googleapis.com/Plugin\"J\n\x14\x44isablePluginRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x61pihub.googleapis.com/Plugin\"\xa9\x05\n\x14PluginInstanceAction\x12K\n\x13hub_instance_action\x18\x06 \x01(\x0b\x32\'.google.cloud.apihub.v1.ExecutionStatusB\x03\xe0\x41\x01H\x00\x12\x16\n\taction_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x05state\x18\x02 \x01(\x0e\x32\x32.google.cloud.apihub.v1.PluginInstanceAction.StateB\x03\xe0\x41\x03\x12%\n\x18schedule_cron_expression\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x0f\x63uration_config\x18\x05 \x01(\x0b\x32&.google.cloud.apihub.v1.CurationConfigB\x03\xe0\x41\x01\x12\x1f\n\x12schedule_time_zone\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fservice_account\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12Y\n\x0fresource_config\x18\t \x01(\x0b\x32;.google.cloud.apihub.v1.PluginInstanceAction.ResourceConfigB\x03\xe0\x41\x03\x1ai\n\x0eResourceConfig\x12<\n\x0b\x61\x63tion_type\x18\x01 \x01(\x0e\x32\".google.cloud.apihub.v1.ActionTypeB\x03\xe0\x41\x03\x12\x19\n\x0cpubsub_topic\x18\x02 \x01(\tB\x03\xe0\x41\x03\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0c\n\x08\x45NABLING\x10\x03\x12\r\n\tDISABLING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x42\x0f\n\raction_status\"\xfa\x06\n\x0ePluginInstance\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\x0b\x61uth_config\x18\x03 \x01(\x0b\x32\".google.cloud.apihub.v1.AuthConfigB\x03\xe0\x41\x01\x12\\\n\x11\x61\x64\x64itional_config\x18\x04 \x03(\x0b\x32<.google.cloud.apihub.v1.PluginInstance.AdditionalConfigEntryB\x03\xe0\x41\x01\x12@\n\x05state\x18\x05 \x01(\x0e\x32,.google.cloud.apihub.v1.PluginInstance.StateB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x07\x61\x63tions\x18\x07 \x03(\x0b\x32,.google.cloud.apihub.v1.PluginInstanceActionB\x03\xe0\x41\x02\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\x1e\n\x11source_project_id\x18\x0b \x01(\tB\x03\xe0\x41\x01\x1a_\n\x15\x41\x64\x64itionalConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.google.cloud.apihub.v1.ConfigVariable:\x02\x38\x01\"r\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x13\n\x0f\x41PPLYING_CONFIG\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06:\x9a\x01\xea\x41\x96\x01\n$apihub.googleapis.com/PluginInstance\x12Mprojects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}*\x0fpluginInstances2\x0epluginInstance\"\xe5\x01\n\x0e\x43urationConfig\x12U\n\x0f\x63ustom_curation\x18\x02 \x01(\x0b\x32\x35.google.cloud.apihub.v1.CurationConfig.CustomCurationB\x03\xe0\x41\x01H\x00\x12@\n\rcuration_type\x18\x01 \x01(\x0e\x32$.google.cloud.apihub.v1.CurationTypeB\x03\xe0\x41\x02\x1a\'\n\x0e\x43ustomCuration\x12\x15\n\x08\x63uration\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x11\n\x0f\x63uration_config\"\xd0\x04\n\x0f\x45xecutionStatus\x12\x63\n\x17\x63urrent_execution_state\x18\x01 \x01(\x0e\x32=.google.cloud.apihub.v1.ExecutionStatus.CurrentExecutionStateB\x03\xe0\x41\x03\x12R\n\x0elast_execution\x18\x02 \x01(\x0b\x32\x35.google.cloud.apihub.v1.ExecutionStatus.LastExecutionB\x03\xe0\x41\x03\x1a\xa3\x02\n\rLastExecution\x12Q\n\x06result\x18\x01 \x01(\x0e\x32<.google.cloud.apihub.v1.ExecutionStatus.LastExecution.ResultB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\";\n\x06Result\x12\x16\n\x12RESULT_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"^\n\x15\x43urrentExecutionState\x12\'\n#CURRENT_EXECUTION_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0f\n\x0bNOT_RUNNING\x10\x02\"\x98\x01\n\x13\x43reatePluginRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x61pihub.googleapis.com/Plugin\x12\x16\n\tplugin_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x33\n\x06plugin\x18\x03 \x01(\x0b\x32\x1e.google.cloud.apihub.v1.PluginB\x03\xe0\x41\x02\"I\n\x13\x44\x65letePluginRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x61pihub.googleapis.com/Plugin\"\x90\x01\n\x12ListPluginsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x61pihub.googleapis.com/Plugin\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\"_\n\x13ListPluginsResponse\x12/\n\x07plugins\x18\x01 \x03(\x0b\x32\x1e.google.cloud.apihub.v1.Plugin\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xba\x01\n\x1b\x43reatePluginInstanceRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x61pihub.googleapis.com/Plugin\x12\x1f\n\x12plugin_instance_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x0fplugin_instance\x18\x03 \x01(\x0b\x32&.google.cloud.apihub.v1.PluginInstanceB\x03\xe0\x41\x02\"\xb5\x01\n\"ExecutePluginInstanceActionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$apihub.googleapis.com/PluginInstance\x12S\n\x17\x61\x63tion_execution_detail\x18\x02 \x01(\x0b\x32-.google.cloud.apihub.v1.ActionExecutionDetailB\x03\xe0\x41\x02\"/\n\x15\x41\x63tionExecutionDetail\x12\x16\n\taction_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"%\n#ExecutePluginInstanceActionResponse\"V\n\x18GetPluginInstanceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$apihub.googleapis.com/PluginInstance\"\xa0\x01\n\x1aListPluginInstancesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$apihub.googleapis.com/PluginInstance\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\"x\n\x1bListPluginInstancesResponse\x12@\n\x10plugin_instances\x18\x01 \x03(\x0b\x32&.google.cloud.apihub.v1.PluginInstance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"w\n!EnablePluginInstanceActionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$apihub.googleapis.com/PluginInstance\x12\x16\n\taction_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"$\n\"EnablePluginInstanceActionResponse\"x\n\"DisablePluginInstanceActionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$apihub.googleapis.com/PluginInstance\x12\x16\n\taction_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"%\n#DisablePluginInstanceActionResponse\"\x99\x01\n\x1bUpdatePluginInstanceRequest\x12\x44\n\x0fplugin_instance\x18\x01 \x01(\x0b\x32&.google.cloud.apihub.v1.PluginInstanceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"Y\n\x1b\x44\x65letePluginInstanceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$apihub.googleapis.com/PluginInstance*S\n\nActionType\x12\x1b\n\x17\x41\x43TION_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rSYNC_METADATA\x10\x01\x12\x15\n\x11SYNC_RUNTIME_DATA\x10\x02*\xcc\x01\n\x0bGatewayType\x12\x1c\n\x18GATEWAY_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41PIGEE_X_AND_HYBRID\x10\x01\x12\x1c\n\x18\x41PIGEE_EDGE_PUBLIC_CLOUD\x10\x02\x12\x1d\n\x19\x41PIGEE_EDGE_PRIVATE_CLOUD\x10\x03\x12\x15\n\x11\x43LOUD_API_GATEWAY\x10\x04\x12\x13\n\x0f\x43LOUD_ENDPOINTS\x10\x05\x12\x11\n\rAPI_DISCOVERY\x10\x06\x12\n\n\x06OTHERS\x10\x07*z\n\x0c\x43urationType\x12\x1d\n\x19\x43URATION_TYPE_UNSPECIFIED\x10\x00\x12%\n!DEFAULT_CURATION_FOR_API_METADATA\x10\x01\x12$\n CUSTOM_CURATION_FOR_API_METADATA\x10\x02\x32\x9f\x18\n\x0c\x41piHubPlugin\x12\x91\x01\n\tGetPlugin\x12(.google.cloud.apihub.v1.GetPluginRequest\x1a\x1e.google.cloud.apihub.v1.Plugin\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/plugins/*}\x12\xa1\x01\n\x0c\x45nablePlugin\x12+.google.cloud.apihub.v1.EnablePluginRequest\x1a\x1e.google.cloud.apihub.v1.Plugin\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/plugins/*}:enable:\x01*\x12\xa4\x01\n\rDisablePlugin\x12,.google.cloud.apihub.v1.DisablePluginRequest\x1a\x1e.google.cloud.apihub.v1.Plugin\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/plugins/*}:disable:\x01*\x12\xb2\x01\n\x0c\x43reatePlugin\x12+.google.cloud.apihub.v1.CreatePluginRequest\x1a\x1e.google.cloud.apihub.v1.Plugin\"U\xda\x41\x17parent,plugin,plugin_id\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/plugins:\x06plugin\x12\xa4\x01\n\x0bListPlugins\x12*.google.cloud.apihub.v1.ListPluginsRequest\x1a+.google.cloud.apihub.v1.ListPluginsResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/plugins\x12\xc3\x01\n\x0c\x44\x65letePlugin\x12+.google.cloud.apihub.v1.DeletePluginRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/plugins/*}\x12\x8f\x02\n\x14\x43reatePluginInstance\x12\x33.google.cloud.apihub.v1.CreatePluginInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xa2\x01\xca\x41#\n\x0ePluginInstance\x12\x11OperationMetadata\xda\x41)parent,plugin_instance,plugin_instance_id\x82\xd3\xe4\x93\x02J\"7/v1/{parent=projects/*/locations/*/plugins/*}/instances:\x0fplugin_instance\x12\xa5\x02\n\x1b\x45xecutePluginInstanceAction\x12:.google.cloud.apihub.v1.ExecutePluginInstanceActionRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\xca\x41\x38\n#ExecutePluginInstanceActionResponse\x12\x11OperationMetadata\xda\x41\x1cname,action_execution_detail\x82\xd3\xe4\x93\x02J\"E/v1/{name=projects/*/locations/*/plugins/*/instances/*}:executeAction:\x01*\x12\xb5\x01\n\x11GetPluginInstance\x12\x30.google.cloud.apihub.v1.GetPluginInstanceRequest\x1a&.google.cloud.apihub.v1.PluginInstance\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/plugins/*/instances/*}\x12\xc8\x01\n\x13ListPluginInstances\x12\x32.google.cloud.apihub.v1.ListPluginInstancesRequest\x1a\x33.google.cloud.apihub.v1.ListPluginInstancesResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*/plugins/*}/instances\x12\x93\x02\n\x1a\x45nablePluginInstanceAction\x12\x39.google.cloud.apihub.v1.EnablePluginInstanceActionRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\xca\x41\x37\n\"EnablePluginInstanceActionResponse\x12\x11OperationMetadata\xda\x41\x0ename,action_id\x82\xd3\xe4\x93\x02I\"D/v1/{name=projects/*/locations/*/plugins/*/instances/*}:enableAction:\x01*\x12\x97\x02\n\x1b\x44isablePluginInstanceAction\x12:.google.cloud.apihub.v1.DisablePluginInstanceActionRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\xca\x41\x38\n#DisablePluginInstanceActionResponse\x12\x11OperationMetadata\xda\x41\x0ename,action_id\x82\xd3\xe4\x93\x02J\"E/v1/{name=projects/*/locations/*/plugins/*/instances/*}:disableAction:\x01*\x12\xf3\x01\n\x14UpdatePluginInstance\x12\x33.google.cloud.apihub.v1.UpdatePluginInstanceRequest\x1a&.google.cloud.apihub.v1.PluginInstance\"~\xda\x41\x1bplugin_instance,update_mask\x82\xd3\xe4\x93\x02Z2G/v1/{plugin_instance.name=projects/*/locations/*/plugins/*/instances/*}:\x0fplugin_instance\x12\xdf\x01\n\x14\x44\x65letePluginInstance\x12\x33.google.cloud.apihub.v1.DeletePluginInstanceRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/plugins/*/instances/*}\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\x12PluginServiceProtoP\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"
|
15
19
|
|
16
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
21
|
|
@@ -27,6 +31,8 @@ rescue TypeError
|
|
27
31
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
32
|
imports = [
|
29
33
|
["google.cloud.apihub.v1.AttributeValues", "google/cloud/apihub/v1/common_fields.proto"],
|
34
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
35
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
30
36
|
]
|
31
37
|
imports.each do |type_name, expected_filename|
|
32
38
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -43,10 +49,47 @@ module Google
|
|
43
49
|
module ApiHub
|
44
50
|
module V1
|
45
51
|
Plugin = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Plugin").msgclass
|
52
|
+
Plugin::HostingService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Plugin.HostingService").msgclass
|
53
|
+
Plugin::ConfigTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Plugin.ConfigTemplate").msgclass
|
54
|
+
Plugin::ConfigTemplate::AuthConfigTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Plugin.ConfigTemplate.AuthConfigTemplate").msgclass
|
46
55
|
Plugin::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Plugin.State").enummodule
|
56
|
+
Plugin::OwnershipType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.Plugin.OwnershipType").enummodule
|
57
|
+
PluginActionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.PluginActionConfig").msgclass
|
58
|
+
PluginActionConfig::TriggerMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.PluginActionConfig.TriggerMode").enummodule
|
47
59
|
GetPluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetPluginRequest").msgclass
|
48
60
|
EnablePluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.EnablePluginRequest").msgclass
|
49
61
|
DisablePluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DisablePluginRequest").msgclass
|
62
|
+
PluginInstanceAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.PluginInstanceAction").msgclass
|
63
|
+
PluginInstanceAction::ResourceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.PluginInstanceAction.ResourceConfig").msgclass
|
64
|
+
PluginInstanceAction::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.PluginInstanceAction.State").enummodule
|
65
|
+
PluginInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.PluginInstance").msgclass
|
66
|
+
PluginInstance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.PluginInstance.State").enummodule
|
67
|
+
CurationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CurationConfig").msgclass
|
68
|
+
CurationConfig::CustomCuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CurationConfig.CustomCuration").msgclass
|
69
|
+
ExecutionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ExecutionStatus").msgclass
|
70
|
+
ExecutionStatus::LastExecution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ExecutionStatus.LastExecution").msgclass
|
71
|
+
ExecutionStatus::LastExecution::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ExecutionStatus.LastExecution.Result").enummodule
|
72
|
+
ExecutionStatus::CurrentExecutionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ExecutionStatus.CurrentExecutionState").enummodule
|
73
|
+
CreatePluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreatePluginRequest").msgclass
|
74
|
+
DeletePluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeletePluginRequest").msgclass
|
75
|
+
ListPluginsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListPluginsRequest").msgclass
|
76
|
+
ListPluginsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListPluginsResponse").msgclass
|
77
|
+
CreatePluginInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CreatePluginInstanceRequest").msgclass
|
78
|
+
ExecutePluginInstanceActionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ExecutePluginInstanceActionRequest").msgclass
|
79
|
+
ActionExecutionDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ActionExecutionDetail").msgclass
|
80
|
+
ExecutePluginInstanceActionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ExecutePluginInstanceActionResponse").msgclass
|
81
|
+
GetPluginInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GetPluginInstanceRequest").msgclass
|
82
|
+
ListPluginInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListPluginInstancesRequest").msgclass
|
83
|
+
ListPluginInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ListPluginInstancesResponse").msgclass
|
84
|
+
EnablePluginInstanceActionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.EnablePluginInstanceActionRequest").msgclass
|
85
|
+
EnablePluginInstanceActionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.EnablePluginInstanceActionResponse").msgclass
|
86
|
+
DisablePluginInstanceActionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DisablePluginInstanceActionRequest").msgclass
|
87
|
+
DisablePluginInstanceActionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DisablePluginInstanceActionResponse").msgclass
|
88
|
+
UpdatePluginInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.UpdatePluginInstanceRequest").msgclass
|
89
|
+
DeletePluginInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.DeletePluginInstanceRequest").msgclass
|
90
|
+
ActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.ActionType").enummodule
|
91
|
+
GatewayType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.GatewayType").enummodule
|
92
|
+
CurationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apihub.v1.CurationType").enummodule
|
50
93
|
end
|
51
94
|
end
|
52
95
|
end
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
self.unmarshal_class_method = :decode
|
34
34
|
self.service_name = 'google.cloud.apihub.v1.ApiHubPlugin'
|
35
35
|
|
36
|
-
# Get
|
36
|
+
# Get an API Hub plugin.
|
37
37
|
rpc :GetPlugin, ::Google::Cloud::ApiHub::V1::GetPluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
|
38
38
|
# Enables a plugin.
|
39
39
|
# The `state` of the plugin after enabling is `ENABLED`
|
@@ -41,6 +41,48 @@ module Google
|
|
41
41
|
# Disables a plugin.
|
42
42
|
# The `state` of the plugin after disabling is `DISABLED`
|
43
43
|
rpc :DisablePlugin, ::Google::Cloud::ApiHub::V1::DisablePluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
|
44
|
+
# Create an API Hub plugin resource in the API hub.
|
45
|
+
# Once a plugin is created, it can be used to create plugin instances.
|
46
|
+
rpc :CreatePlugin, ::Google::Cloud::ApiHub::V1::CreatePluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
|
47
|
+
# List all the plugins in a given project and location.
|
48
|
+
rpc :ListPlugins, ::Google::Cloud::ApiHub::V1::ListPluginsRequest, ::Google::Cloud::ApiHub::V1::ListPluginsResponse
|
49
|
+
# Delete a Plugin in API hub.
|
50
|
+
# Note, only user owned plugins can be deleted via this method.
|
51
|
+
rpc :DeletePlugin, ::Google::Cloud::ApiHub::V1::DeletePluginRequest, ::Google::Longrunning::Operation
|
52
|
+
# Creates a Plugin instance in the API hub.
|
53
|
+
rpc :CreatePluginInstance, ::Google::Cloud::ApiHub::V1::CreatePluginInstanceRequest, ::Google::Longrunning::Operation
|
54
|
+
# Executes a plugin instance in the API hub.
|
55
|
+
rpc :ExecutePluginInstanceAction, ::Google::Cloud::ApiHub::V1::ExecutePluginInstanceActionRequest, ::Google::Longrunning::Operation
|
56
|
+
# Get an API Hub plugin instance.
|
57
|
+
rpc :GetPluginInstance, ::Google::Cloud::ApiHub::V1::GetPluginInstanceRequest, ::Google::Cloud::ApiHub::V1::PluginInstance
|
58
|
+
# List all the plugins in a given project and location.
|
59
|
+
# `-` can be used as wildcard value for {plugin_id}
|
60
|
+
rpc :ListPluginInstances, ::Google::Cloud::ApiHub::V1::ListPluginInstancesRequest, ::Google::Cloud::ApiHub::V1::ListPluginInstancesResponse
|
61
|
+
# Enables a plugin instance in the API hub.
|
62
|
+
rpc :EnablePluginInstanceAction, ::Google::Cloud::ApiHub::V1::EnablePluginInstanceActionRequest, ::Google::Longrunning::Operation
|
63
|
+
# Disables a plugin instance in the API hub.
|
64
|
+
rpc :DisablePluginInstanceAction, ::Google::Cloud::ApiHub::V1::DisablePluginInstanceActionRequest, ::Google::Longrunning::Operation
|
65
|
+
# Updates a plugin instance in the API hub.
|
66
|
+
# The following fields in the
|
67
|
+
# [plugin_instance][google.cloud.apihub.v1.PluginInstance] can be updated
|
68
|
+
# currently:
|
69
|
+
#
|
70
|
+
# * [display_name][google.cloud.apihub.v1.PluginInstance.display_name]
|
71
|
+
# * [schedule_cron_expression][PluginInstance.actions.schedule_cron_expression]
|
72
|
+
#
|
73
|
+
# The
|
74
|
+
# [update_mask][google.cloud.apihub.v1.UpdatePluginInstanceRequest.update_mask]
|
75
|
+
# should be used to specify the fields being updated.
|
76
|
+
#
|
77
|
+
# To update the
|
78
|
+
# [auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] and
|
79
|
+
# [additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]
|
80
|
+
# of the plugin instance, use the
|
81
|
+
# [ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]
|
82
|
+
# method.
|
83
|
+
rpc :UpdatePluginInstance, ::Google::Cloud::ApiHub::V1::UpdatePluginInstanceRequest, ::Google::Cloud::ApiHub::V1::PluginInstance
|
84
|
+
# Deletes a plugin instance in the API hub.
|
85
|
+
rpc :DeletePluginInstance, ::Google::Cloud::ApiHub::V1::DeletePluginInstanceRequest, ::Google::Longrunning::Operation
|
44
86
|
end
|
45
87
|
|
46
88
|
Stub = Service.rpc_stub_class
|