google-cloud-api_hub-v1 0.6.0 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b0f4236ca527eeebc7b305f4635dfecf636aee4c94d99dba1f4f59700d2f624
4
- data.tar.gz: e84910306d75056db1691c05609a0bbfdd80c3ee0965826a22096c8589cbcf69
3
+ metadata.gz: eccc410861d6c07e2d7c87a7547dff57d461369630c32c13d5907ee16b4527e0
4
+ data.tar.gz: ba0edc9bf6e3fc71d5f36f3d110fe12e0bce03dd8bf1f0ba95a796993665194b
5
5
  SHA512:
6
- metadata.gz: ef67b5aa500c7dccf85583cab481a8f90200e024da8760e8352513696c37810ac832633e5058ed1a793a6e5b743df512e33fbf6c1389c193289af1ca5f39dda1
7
- data.tar.gz: 8cf324511486f5701912efdd2caf65ab774da2bcd87ab73086cf43ea2efce19ede72e0ca71baddd0dbacbf2c7e7f35adab3240fb62b48ee925755b206b7c63a4
6
+ metadata.gz: 9ec97bd71e8297b6f7cd9ded4bbb7d651ca8b1d40af50cca67f08ab938fdacfc01352e7ee20ab137da13668e92d94a014e4acd3f5c12b2a73930114e0c203309
7
+ data.tar.gz: 4bd05b7876d574caaf3e02a0db34d453dfc4792b97b901405254512020207cef99fa7131f55512c646e0e002764a9689167536e3b0799b0368c036ffee0643a8
@@ -125,7 +125,7 @@ module Google
125
125
  # @param options [::Gapic::CallOptions, ::Hash]
126
126
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
127
127
  #
128
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
128
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
129
129
  # Pass arguments to `list_operations` via keyword arguments. Note that at
130
130
  # least one keyword argument is required. To specify no parameters, or to keep all
131
131
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -138,6 +138,17 @@ module Google
138
138
  # The standard list page size.
139
139
  # @param page_token [::String]
140
140
  # The standard list page token.
141
+ # @param return_partial_success [::Boolean]
142
+ # When set to `true`, operations that are reachable are returned as normal,
143
+ # and those that are unreachable are returned in the
144
+ # [ListOperationsResponse.unreachable] field.
145
+ #
146
+ # This can only be `true` when reading across collections e.g. when `parent`
147
+ # is set to `"projects/example/locations/-"`.
148
+ #
149
+ # This field is not by default supported and will result in an
150
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
151
+ # service or product specific documentation.
141
152
  # @yield [result, operation] Access the result along with the TransportOperation object
142
153
  # @yieldparam result [::Gapic::Operation]
143
154
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -125,7 +125,7 @@ module Google
125
125
  # @param options [::Gapic::CallOptions, ::Hash]
126
126
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
127
127
  #
128
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
128
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
129
129
  # Pass arguments to `list_operations` via keyword arguments. Note that at
130
130
  # least one keyword argument is required. To specify no parameters, or to keep all
131
131
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -138,6 +138,17 @@ module Google
138
138
  # The standard list page size.
139
139
  # @param page_token [::String]
140
140
  # The standard list page token.
141
+ # @param return_partial_success [::Boolean]
142
+ # When set to `true`, operations that are reachable are returned as normal,
143
+ # and those that are unreachable are returned in the
144
+ # [ListOperationsResponse.unreachable] field.
145
+ #
146
+ # This can only be `true` when reading across collections e.g. when `parent`
147
+ # is set to `"projects/example/locations/-"`.
148
+ #
149
+ # This field is not by default supported and will result in an
150
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
151
+ # service or product specific documentation.
141
152
  # @yield [result, operation] Access the result along with the TransportOperation object
142
153
  # @yieldparam result [::Gapic::Operation]
143
154
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -125,7 +125,7 @@ module Google
125
125
  # @param options [::Gapic::CallOptions, ::Hash]
126
126
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
127
127
  #
128
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
128
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
129
129
  # Pass arguments to `list_operations` via keyword arguments. Note that at
130
130
  # least one keyword argument is required. To specify no parameters, or to keep all
131
131
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -138,6 +138,17 @@ module Google
138
138
  # The standard list page size.
139
139
  # @param page_token [::String]
140
140
  # The standard list page token.
141
+ # @param return_partial_success [::Boolean]
142
+ # When set to `true`, operations that are reachable are returned as normal,
143
+ # and those that are unreachable are returned in the
144
+ # [ListOperationsResponse.unreachable] field.
145
+ #
146
+ # This can only be `true` when reading across collections e.g. when `parent`
147
+ # is set to `"projects/example/locations/-"`.
148
+ #
149
+ # This field is not by default supported and will result in an
150
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
151
+ # service or product specific documentation.
141
152
  # @yield [result, operation] Access the result along with the TransportOperation object
142
153
  # @yieldparam result [::Gapic::Operation]
143
154
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApiHub
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -15,31 +15,8 @@ require 'google/protobuf/field_mask_pb'
15
15
 
16
16
  descriptor_data = "\n+google/cloud/apihub/v1/apihub_service.proto\x12\x16google.cloud.apihub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/apihub/v1/common_fields.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x89\x01\n\x10\x43reateApiRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\x12\x19\x61pihub.googleapis.com/Api\x12\x13\n\x06\x61pi_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12-\n\x03\x61pi\x18\x03 \x01(\x0b\x32\x1b.google.cloud.apihub.v1.ApiB\x03\xe0\x41\x02\"@\n\rGetApiRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x61pihub.googleapis.com/Api\"w\n\x10UpdateApiRequest\x12-\n\x03\x61pi\x18\x01 \x01(\x0b\x32\x1b.google.cloud.apihub.v1.ApiB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"W\n\x10\x44\x65leteApiRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x61pihub.googleapis.com/Api\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x01\n\x0fListApisRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\x12\x19\x61pihub.googleapis.com/Api\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"V\n\x10ListApisResponse\x12)\n\x04\x61pis\x18\x01 \x03(\x0b\x32\x1b.google.cloud.apihub.v1.Api\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x01\n\x14\x43reateVersionRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x61pihub.googleapis.com/Api\x12\x17\n\nversion_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x35\n\x07version\x18\x03 \x01(\x0b\x32\x1f.google.cloud.apihub.v1.VersionB\x03\xe0\x41\x02\"H\n\x11GetVersionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pihub.googleapis.com/Version\"\x83\x01\n\x14UpdateVersionRequest\x12\x35\n\x07version\x18\x01 \x01(\x0b\x32\x1f.google.cloud.apihub.v1.VersionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"_\n\x14\x44\x65leteVersionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pihub.googleapis.com/Version\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x92\x01\n\x13ListVersionsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61pihub.googleapis.com/Version\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"b\n\x14ListVersionsResponse\x12\x31\n\x08versions\x18\x01 \x03(\x0b\x32\x1f.google.cloud.apihub.v1.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x91\x01\n\x11\x43reateSpecRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pihub.googleapis.com/Version\x12\x14\n\x07spec_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12/\n\x04spec\x18\x03 \x01(\x0b\x32\x1c.google.cloud.apihub.v1.SpecB\x03\xe0\x41\x02\"B\n\x0eGetSpecRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\"z\n\x11UpdateSpecRequest\x12/\n\x04spec\x18\x01 \x01(\x0b\x32\x1c.google.cloud.apihub.v1.SpecB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"E\n\x11\x44\x65leteSpecRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\"\x8c\x01\n\x10ListSpecsRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1a\x61pihub.googleapis.com/Spec\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"Y\n\x11ListSpecsResponse\x12+\n\x05specs\x18\x01 \x03(\x0b\x32\x1c.google.cloud.apihub.v1.Spec\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x16GetSpecContentsRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\"\xb8\x01\n\x19\x43reateApiOperationRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"apihub.googleapis.com/ApiOperation\x12\x1d\n\x10\x61pi_operation_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\rapi_operation\x18\x03 \x01(\x0b\x32$.google.cloud.apihub.v1.ApiOperationB\x03\xe0\x41\x02\"R\n\x16GetApiOperationRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"apihub.googleapis.com/ApiOperation\"\x93\x01\n\x19UpdateApiOperationRequest\x12@\n\rapi_operation\x18\x01 \x01(\x0b\x32$.google.cloud.apihub.v1.ApiOperationB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x19\x44\x65leteApiOperationRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"apihub.googleapis.com/ApiOperation\"\x9c\x01\n\x18ListApiOperationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"apihub.googleapis.com/ApiOperation\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"r\n\x19ListApiOperationsResponse\x12<\n\x0e\x61pi_operations\x18\x01 \x03(\x0b\x32$.google.cloud.apihub.v1.ApiOperation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x14GetDefinitionRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Definition\"\xac\x01\n\x17\x43reateDeploymentRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 apihub.googleapis.com/Deployment\x12\x1a\n\rdeployment_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\ndeployment\x18\x03 \x01(\x0b\x32\".google.cloud.apihub.v1.DeploymentB\x03\xe0\x41\x02\"N\n\x14GetDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Deployment\"\x8c\x01\n\x17UpdateDeploymentRequest\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\".google.cloud.apihub.v1.DeploymentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Q\n\x17\x44\x65leteDeploymentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Deployment\"\x98\x01\n\x16ListDeploymentsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 apihub.googleapis.com/Deployment\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"k\n\x17ListDeploymentsResponse\x12\x37\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\".google.cloud.apihub.v1.Deployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x16\x43reateAttributeRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61pihub.googleapis.com/Attribute\x12\x19\n\x0c\x61ttribute_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x39\n\tattribute\x18\x03 \x01(\x0b\x32!.google.cloud.apihub.v1.AttributeB\x03\xe0\x41\x02\"L\n\x13GetAttributeRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61pihub.googleapis.com/Attribute\"\x89\x01\n\x16UpdateAttributeRequest\x12\x39\n\tattribute\x18\x01 \x01(\x0b\x32!.google.cloud.apihub.v1.AttributeB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"O\n\x16\x44\x65leteAttributeRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61pihub.googleapis.com/Attribute\"\x96\x01\n\x15ListAttributesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61pihub.googleapis.com/Attribute\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"h\n\x16ListAttributesResponse\x12\x35\n\nattributes\x18\x01 \x03(\x0b\x32!.google.cloud.apihub.v1.Attribute\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xaf\x01\n\x16SearchResourcesRequest\x12;\n\x08location\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xd9\x02\n\x0e\x41piHubResource\x12*\n\x03\x61pi\x18\x01 \x01(\x0b\x32\x1b.google.cloud.apihub.v1.ApiH\x00\x12\x39\n\toperation\x18\x02 \x01(\x0b\x32$.google.cloud.apihub.v1.ApiOperationH\x00\x12\x38\n\ndeployment\x18\x03 \x01(\x0b\x32\".google.cloud.apihub.v1.DeploymentH\x00\x12,\n\x04spec\x18\x04 \x01(\x0b\x32\x1c.google.cloud.apihub.v1.SpecH\x00\x12\x38\n\ndefinition\x18\x05 \x01(\x0b\x32\".google.cloud.apihub.v1.DefinitionH\x00\x12\x32\n\x07version\x18\x06 \x01(\x0b\x32\x1f.google.cloud.apihub.v1.VersionH\x00\x42\n\n\x08resource\"H\n\x0cSearchResult\x12\x38\n\x08resource\x18\x01 \x01(\x0b\x32&.google.cloud.apihub.v1.ApiHubResource\"p\n\x17SearchResourcesResponse\x12<\n\x0esearch_results\x18\x01 \x03(\x0b\x32$.google.cloud.apihub.v1.SearchResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xac\x01\n\x17\x43reateDependencyRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 apihub.googleapis.com/Dependency\x12\x1a\n\rdependency_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\ndependency\x18\x03 \x01(\x0b\x32\".google.cloud.apihub.v1.DependencyB\x03\xe0\x41\x02\"N\n\x14GetDependencyRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Dependency\"\x8c\x01\n\x17UpdateDependencyRequest\x12;\n\ndependency\x18\x01 \x01(\x0b\x32\".google.cloud.apihub.v1.DependencyB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Q\n\x17\x44\x65leteDependencyRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/Dependency\"\x99\x01\n\x17ListDependenciesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 apihub.googleapis.com/Dependency\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"m\n\x18ListDependenciesResponse\x12\x38\n\x0c\x64\x65pendencies\x18\x01 \x03(\x0b\x32\".google.cloud.apihub.v1.Dependency\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb3\x01\n\x18\x43reateExternalApiRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!apihub.googleapis.com/ExternalApi\x12\x1c\n\x0f\x65xternal_api_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12>\n\x0c\x65xternal_api\x18\x03 \x01(\x0b\x32#.google.cloud.apihub.v1.ExternalApiB\x03\xe0\x41\x02\"P\n\x15GetExternalApiRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apihub.googleapis.com/ExternalApi\"\x90\x01\n\x18UpdateExternalApiRequest\x12>\n\x0c\x65xternal_api\x18\x01 \x01(\x0b\x32#.google.cloud.apihub.v1.ExternalApiB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteExternalApiRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apihub.googleapis.com/ExternalApi\"\x85\x01\n\x17ListExternalApisRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!apihub.googleapis.com/ExternalApi\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"o\n\x18ListExternalApisResponse\x12:\n\rexternal_apis\x18\x01 \x03(\x0b\x32#.google.cloud.apihub.v1.ExternalApi\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd2\x36\n\x06\x41piHub\x12\x9d\x01\n\tCreateApi\x12(.google.cloud.apihub.v1.CreateApiRequest\x1a\x1b.google.cloud.apihub.v1.Api\"I\xda\x41\x11parent,api,api_id\x82\xd3\xe4\x93\x02/\"(/v1/{parent=projects/*/locations/*}/apis:\x03\x61pi\x12\x85\x01\n\x06GetApi\x12%.google.cloud.apihub.v1.GetApiRequest\x1a\x1b.google.cloud.apihub.v1.Api\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/locations/*/apis/*}\x12\x98\x01\n\x08ListApis\x12\'.google.cloud.apihub.v1.ListApisRequest\x1a(.google.cloud.apihub.v1.ListApisResponse\"9\xda\x41\x06parent\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*/locations/*}/apis\x12\x9f\x01\n\tUpdateApi\x12(.google.cloud.apihub.v1.UpdateApiRequest\x1a\x1b.google.cloud.apihub.v1.Api\"K\xda\x41\x0f\x61pi,update_mask\x82\xd3\xe4\x93\x02\x33\x32,/v1/{api.name=projects/*/locations/*/apis/*}:\x03\x61pi\x12\x86\x01\n\tDeleteApi\x12(.google.cloud.apihub.v1.DeleteApiRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/locations/*/apis/*}\x12\xc0\x01\n\rCreateVersion\x12,.google.cloud.apihub.v1.CreateVersionRequest\x1a\x1f.google.cloud.apihub.v1.Version\"`\xda\x41\x19parent,version,version_id\x82\xd3\xe4\x93\x02>\"3/v1/{parent=projects/*/locations/*/apis/*}/versions:\x07version\x12\x9c\x01\n\nGetVersion\x12).google.cloud.apihub.v1.GetVersionRequest\x1a\x1f.google.cloud.apihub.v1.Version\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/apis/*/versions/*}\x12\xaf\x01\n\x0cListVersions\x12+.google.cloud.apihub.v1.ListVersionsRequest\x1a,.google.cloud.apihub.v1.ListVersionsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/apis/*}/versions\x12\xc2\x01\n\rUpdateVersion\x12,.google.cloud.apihub.v1.UpdateVersionRequest\x1a\x1f.google.cloud.apihub.v1.Version\"b\xda\x41\x13version,update_mask\x82\xd3\xe4\x93\x02\x46\x32;/v1/{version.name=projects/*/locations/*/apis/*/versions/*}:\x07version\x12\x99\x01\n\rDeleteVersion\x12,.google.cloud.apihub.v1.DeleteVersionRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/apis/*/versions/*}\x12\xb6\x01\n\nCreateSpec\x12).google.cloud.apihub.v1.CreateSpecRequest\x1a\x1c.google.cloud.apihub.v1.Spec\"_\xda\x41\x13parent,spec,spec_id\x82\xd3\xe4\x93\x02\x43\";/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs:\x04spec\x12\x9b\x01\n\x07GetSpec\x12&.google.cloud.apihub.v1.GetSpecRequest\x1a\x1c.google.cloud.apihub.v1.Spec\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}\x12\xbc\x01\n\x0fGetSpecContents\x12..google.cloud.apihub.v1.GetSpecContentsRequest\x1a$.google.cloud.apihub.v1.SpecContents\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:contents\x12\xae\x01\n\tListSpecs\x12(.google.cloud.apihub.v1.ListSpecsRequest\x1a).google.cloud.apihub.v1.ListSpecsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs\x12\xb8\x01\n\nUpdateSpec\x12).google.cloud.apihub.v1.UpdateSpecRequest\x1a\x1c.google.cloud.apihub.v1.Spec\"a\xda\x41\x10spec,update_mask\x82\xd3\xe4\x93\x02H2@/v1/{spec.name=projects/*/locations/*/apis/*/versions/*/specs/*}:\x04spec\x12\x9b\x01\n\nDeleteSpec\x12).google.cloud.apihub.v1.DeleteSpecRequest\x1a\x16.google.protobuf.Empty\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}\x12\xee\x01\n\x12\x43reateApiOperation\x12\x31.google.cloud.apihub.v1.CreateApiOperationRequest\x1a$.google.cloud.apihub.v1.ApiOperation\"\x7f\xda\x41%parent,api_operation,api_operation_id\x82\xd3\xe4\x93\x02Q\"@/v1/{parent=projects/*/locations/*/apis/*/versions/*}/operations:\rapi_operation\x12\xb8\x01\n\x0fGetApiOperation\x12..google.cloud.apihub.v1.GetApiOperationRequest\x1a$.google.cloud.apihub.v1.ApiOperation\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/apis/*/versions/*/operations/*}\x12\xcb\x01\n\x11ListApiOperations\x12\x30.google.cloud.apihub.v1.ListApiOperationsRequest\x1a\x31.google.cloud.apihub.v1.ListApiOperationsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1/{parent=projects/*/locations/*/apis/*/versions/*}/operations\x12\xf1\x01\n\x12UpdateApiOperation\x12\x31.google.cloud.apihub.v1.UpdateApiOperationRequest\x1a$.google.cloud.apihub.v1.ApiOperation\"\x81\x01\xda\x41\x19\x61pi_operation,update_mask\x82\xd3\xe4\x93\x02_2N/v1/{api_operation.name=projects/*/locations/*/apis/*/versions/*/operations/*}:\rapi_operation\x12\xb0\x01\n\x12\x44\x65leteApiOperation\x12\x31.google.cloud.apihub.v1.DeleteApiOperationRequest\x1a\x16.google.protobuf.Empty\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42*@/v1/{name=projects/*/locations/*/apis/*/versions/*/operations/*}\x12\xb3\x01\n\rGetDefinition\x12,.google.cloud.apihub.v1.GetDefinitionRequest\x1a\".google.cloud.apihub.v1.Definition\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/apis/*/versions/*/definitions/*}\x12\xce\x01\n\x10\x43reateDeployment\x12/.google.cloud.apihub.v1.CreateDeploymentRequest\x1a\".google.cloud.apihub.v1.Deployment\"e\xda\x41\x1fparent,deployment,deployment_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/deployments:\ndeployment\x12\xa1\x01\n\rGetDeployment\x12,.google.cloud.apihub.v1.GetDeploymentRequest\x1a\".google.cloud.apihub.v1.Deployment\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/deployments/*}\x12\xb4\x01\n\x0fListDeployments\x12..google.cloud.apihub.v1.ListDeploymentsRequest\x1a/.google.cloud.apihub.v1.ListDeploymentsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/deployments\x12\xd0\x01\n\x10UpdateDeployment\x12/.google.cloud.apihub.v1.UpdateDeploymentRequest\x1a\".google.cloud.apihub.v1.Deployment\"g\xda\x41\x16\x64\x65ployment,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{deployment.name=projects/*/locations/*/deployments/*}:\ndeployment\x12\x9b\x01\n\x10\x44\x65leteDeployment\x12/.google.cloud.apihub.v1.DeleteDeploymentRequest\x1a\x16.google.protobuf.Empty\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/deployments/*}\x12\xc7\x01\n\x0f\x43reateAttribute\x12..google.cloud.apihub.v1.CreateAttributeRequest\x1a!.google.cloud.apihub.v1.Attribute\"a\xda\x41\x1dparent,attribute,attribute_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/attributes:\tattribute\x12\x9d\x01\n\x0cGetAttribute\x12+.google.cloud.apihub.v1.GetAttributeRequest\x1a!.google.cloud.apihub.v1.Attribute\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/attributes/*}\x12\xc9\x01\n\x0fUpdateAttribute\x12..google.cloud.apihub.v1.UpdateAttributeRequest\x1a!.google.cloud.apihub.v1.Attribute\"c\xda\x41\x15\x61ttribute,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{attribute.name=projects/*/locations/*/attributes/*}:\tattribute\x12\x98\x01\n\x0f\x44\x65leteAttribute\x12..google.cloud.apihub.v1.DeleteAttributeRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/attributes/*}\x12\xb0\x01\n\x0eListAttributes\x12-.google.cloud.apihub.v1.ListAttributesRequest\x1a..google.cloud.apihub.v1.ListAttributesResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/attributes\x12\xc5\x01\n\x0fSearchResources\x12..google.cloud.apihub.v1.SearchResourcesRequest\x1a/.google.cloud.apihub.v1.SearchResourcesResponse\"Q\xda\x41\x0elocation,query\x82\xd3\xe4\x93\x02:\"5/v1/{location=projects/*/locations/*}:searchResources:\x01*\x12\xd8\x01\n\x11\x43reateExternalApi\x12\x30.google.cloud.apihub.v1.CreateExternalApiRequest\x1a#.google.cloud.apihub.v1.ExternalApi\"l\xda\x41#parent,external_api,external_api_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/externalApis:\x0c\x65xternal_api\x12\xa5\x01\n\x0eGetExternalApi\x12-.google.cloud.apihub.v1.GetExternalApiRequest\x1a#.google.cloud.apihub.v1.ExternalApi\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/externalApis/*}\x12\xda\x01\n\x11UpdateExternalApi\x12\x30.google.cloud.apihub.v1.UpdateExternalApiRequest\x1a#.google.cloud.apihub.v1.ExternalApi\"n\xda\x41\x18\x65xternal_api,update_mask\x82\xd3\xe4\x93\x02M2=/v1/{external_api.name=projects/*/locations/*/externalApis/*}:\x0c\x65xternal_api\x12\x9e\x01\n\x11\x44\x65leteExternalApi\x12\x30.google.cloud.apihub.v1.DeleteExternalApiRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/externalApis/*}\x12\xb8\x01\n\x10ListExternalApis\x12/.google.cloud.apihub.v1.ListExternalApisRequest\x1a\x30.google.cloud.apihub.v1.ListExternalApisResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/externalApis\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platform2\x84\x08\n\x12\x41piHubDependencies\x12\xcf\x01\n\x10\x43reateDependency\x12/.google.cloud.apihub.v1.CreateDependencyRequest\x1a\".google.cloud.apihub.v1.Dependency\"f\xda\x41\x1fparent,dependency,dependency_id\x82\xd3\xe4\x93\x02>\"0/v1/{parent=projects/*/locations/*}/dependencies:\ndependency\x12\xa2\x01\n\rGetDependency\x12,.google.cloud.apihub.v1.GetDependencyRequest\x1a\".google.cloud.apihub.v1.Dependency\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/dependencies/*}\x12\xd1\x01\n\x10UpdateDependency\x12/.google.cloud.apihub.v1.UpdateDependencyRequest\x1a\".google.cloud.apihub.v1.Dependency\"h\xda\x41\x16\x64\x65pendency,update_mask\x82\xd3\xe4\x93\x02I2;/v1/{dependency.name=projects/*/locations/*/dependencies/*}:\ndependency\x12\x9c\x01\n\x10\x44\x65leteDependency\x12/.google.cloud.apihub.v1.DeleteDependencyRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/dependencies/*}\x12\xb8\x01\n\x10ListDependencies\x12/.google.cloud.apihub.v1.ListDependenciesRequest\x1a\x30.google.cloud.apihub.v1.ListDependenciesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/dependencies\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb4\x01\n\x1a\x63om.google.cloud.apihub.v1B\x12\x41piHubServiceProtoP\x01Z2cloud.google.com/go/apihub/apiv1/apihubpb;apihubpb\xaa\x02\x16Google.Cloud.ApiHub.V1\xca\x02\x16Google\\Cloud\\ApiHub\\V1\xea\x02\x19Google::Cloud::ApiHub::V1b\x06proto3"
17
17
 
18
- pool = Google::Protobuf::DescriptorPool.generated_pool
19
-
20
- begin
21
- pool.add_serialized_file(descriptor_data)
22
- rescue TypeError
23
- # Compatibility code: will be removed in the next major version.
24
- require 'google/protobuf/descriptor_pb'
25
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
- parsed.clear_dependency
27
- serialized = parsed.class.encode(parsed)
28
- file = pool.add_serialized_file(serialized)
29
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
- imports = [
31
- ["google.cloud.apihub.v1.Api", "google/cloud/apihub/v1/common_fields.proto"],
32
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
33
- ]
34
- imports.each do |type_name, expected_filename|
35
- import_file = pool.lookup(type_name).file_descriptor
36
- if import_file.name != expected_filename
37
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
- end
39
- end
40
- warn "Each proto file must use a consistent fully-qualified name."
41
- warn "This will become an error in the next major version."
42
- end
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
43
20
 
44
21
  module Google
45
22
  module Cloud
@@ -15,31 +15,8 @@ require 'google/protobuf/timestamp_pb'
15
15
 
16
16
  descriptor_data = "\n,google/cloud/apihub/v1/collect_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\x1fgoogle/protobuf/timestamp.proto\"\xb1\x02\n\x15\x43ollectApiDataRequest\x12;\n\x08location\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x44\n\x0f\x63ollection_type\x18\x02 \x01(\x0e\x32&.google.cloud.apihub.v1.CollectionTypeB\x03\xe0\x41\x02\x12\x45\n\x0fplugin_instance\x18\x03 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$apihub.googleapis.com/PluginInstance\x12\x16\n\taction_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x08\x61pi_data\x18\x05 \x01(\x0b\x32\x1f.google.cloud.apihub.v1.ApiDataB\x03\xe0\x41\x02\"\\\n\x07\x41piData\x12I\n\x11\x61pi_metadata_list\x18\x01 \x01(\x0b\x32\'.google.cloud.apihub.v1.ApiMetadataListB\x03\xe0\x41\x01H\x00\x42\x06\n\x04\x44\x61ta\"Q\n\x0f\x41piMetadataList\x12>\n\x0c\x61pi_metadata\x18\x01 \x03(\x0b\x32#.google.cloud.apihub.v1.APIMetadataB\x03\xe0\x41\x02\"\x94\x02\n\x0b\x41PIMetadata\x12-\n\x03\x61pi\x18\x01 \x01(\x0b\x32\x1b.google.cloud.apihub.v1.ApiB\x03\xe0\x41\x02\x12>\n\x08versions\x18\x02 \x03(\x0b\x32\'.google.cloud.apihub.v1.VersionMetadataB\x03\xe0\x41\x01\x12\x18\n\x0boriginal_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12=\n\x14original_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12=\n\x14original_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xe0\x02\n\x0fVersionMetadata\x12\x35\n\x07version\x18\x01 \x01(\x0b\x32\x1f.google.cloud.apihub.v1.VersionB\x03\xe0\x41\x02\x12\x38\n\x05specs\x18\x02 \x03(\x0b\x32$.google.cloud.apihub.v1.SpecMetadataB\x03\xe0\x41\x01\x12\x44\n\x0b\x64\x65ployments\x18\x04 \x03(\x0b\x32*.google.cloud.apihub.v1.DeploymentMetadataB\x03\xe0\x41\x01\x12\x18\n\x0boriginal_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12=\n\x14original_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12=\n\x14original_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xd7\x01\n\x0cSpecMetadata\x12/\n\x04spec\x18\x01 \x01(\x0b\x32\x1c.google.cloud.apihub.v1.SpecB\x03\xe0\x41\x02\x12\x18\n\x0boriginal_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12=\n\x14original_create_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12=\n\x14original_update_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xe9\x01\n\x12\x44\x65ploymentMetadata\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\".google.cloud.apihub.v1.DeploymentB\x03\xe0\x41\x02\x12\x18\n\x0boriginal_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12=\n\x14original_create_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12=\n\x14original_update_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\x18\n\x16\x43ollectApiDataResponse*i\n\x0e\x43ollectionType\x12\x1f\n\x1b\x43OLLECTION_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43OLLECTION_TYPE_UPSERT\x10\x01\x12\x1a\n\x16\x43OLLECTION_TYPE_DELETE\x10\x02\x32\xcf\x02\n\rApiHubCollect\x12\xf2\x01\n\x0e\x43ollectApiData\x12-.google.cloud.apihub.v1.CollectApiDataRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41+\n\x16\x43ollectApiDataResponse\x12\x11OperationMetadata\xda\x41!location,collection_type,api_data\x82\xd3\xe4\x93\x02\x39\"4/v1/{location=projects/*/locations/*}:collectApiData:\x01*\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb5\x01\n\x1a\x63om.google.cloud.apihub.v1B\x13\x43ollectServiceProtoP\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
17
 
18
- pool = Google::Protobuf::DescriptorPool.generated_pool
19
-
20
- begin
21
- pool.add_serialized_file(descriptor_data)
22
- rescue TypeError
23
- # Compatibility code: will be removed in the next major version.
24
- require 'google/protobuf/descriptor_pb'
25
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
- parsed.clear_dependency
27
- serialized = parsed.class.encode(parsed)
28
- file = pool.add_serialized_file(serialized)
29
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
- imports = [
31
- ["google.cloud.apihub.v1.Api", "google/cloud/apihub/v1/common_fields.proto"],
32
- ["google.protobuf.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
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
43
20
 
44
21
  module Google
45
22
  module Cloud
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
11
11
 
12
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
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
19
- # Compatibility code: will be removed in the next major version.
20
- require 'google/protobuf/descriptor_pb'
21
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
- parsed.clear_dependency
23
- serialized = parsed.class.encode(parsed)
24
- file = pool.add_serialized_file(serialized)
25
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
- imports = [
27
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
- ]
29
- imports.each do |type_name, expected_filename|
30
- import_file = pool.lookup(type_name).file_descriptor
31
- if import_file.name != expected_filename
32
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
- end
34
- end
35
- warn "Each proto file must use a consistent fully-qualified name."
36
- warn "This will become an error in the next major version."
37
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
@@ -15,31 +15,8 @@ require 'google/protobuf/timestamp_pb'
15
15
 
16
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
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
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
43
20
 
44
21
  module Google
45
22
  module Cloud
@@ -13,30 +13,8 @@ require 'google/cloud/apihub/v1/common_fields_pb'
13
13
 
14
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
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
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
40
18
 
41
19
  module Google
42
20
  module Cloud
@@ -13,30 +13,8 @@ require 'google/protobuf/timestamp_pb'
13
13
 
14
14
  descriptor_data = "\n>google/cloud/apihub/v1/host_project_registration_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\x1fgoogle/protobuf/timestamp.proto\"\xf1\x01\n$CreateHostProjectRegistrationRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-apihub.googleapis.com/HostProjectRegistration\x12)\n\x1chost_project_registration_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12W\n\x19host_project_registration\x18\x03 \x01(\x0b\x32/.google.cloud.apihub.v1.HostProjectRegistrationB\x03\xe0\x41\x02\"h\n!GetHostProjectRegistrationRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-apihub.googleapis.com/HostProjectRegistration\"\xc9\x01\n#ListHostProjectRegistrationsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-apihub.googleapis.com/HostProjectRegistration\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n$ListHostProjectRegistrationsResponse\x12S\n\x1ahost_project_registrations\x18\x01 \x03(\x0b\x32/.google.cloud.apihub.v1.HostProjectRegistration\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf6\x02\n\x17HostProjectRegistration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12K\n\x0bgcp_project\x18\x02 \x01(\tB6\xe0\x41\x02\xe0\x41\x05\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\xc4\x01\xea\x41\xc0\x01\n-apihub.googleapis.com/HostProjectRegistration\x12\\projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}*\x18hostProjectRegistrations2\x17hostProjectRegistration2\xe1\x06\n\x1eHostProjectRegistrationService\x12\xb0\x02\n\x1d\x43reateHostProjectRegistration\x12<.google.cloud.apihub.v1.CreateHostProjectRegistrationRequest\x1a/.google.cloud.apihub.v1.HostProjectRegistration\"\x9f\x01\xda\x41=parent,host_project_registration,host_project_registration_id\x82\xd3\xe4\x93\x02Y\"</v1/{parent=projects/*/locations/*}/hostProjectRegistrations:\x19host_project_registration\x12\xd5\x01\n\x1aGetHostProjectRegistration\x12\x39.google.cloud.apihub.v1.GetHostProjectRegistrationRequest\x1a/.google.cloud.apihub.v1.HostProjectRegistration\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/hostProjectRegistrations/*}\x12\xe8\x01\n\x1cListHostProjectRegistrations\x12;.google.cloud.apihub.v1.ListHostProjectRegistrationsRequest\x1a<.google.cloud.apihub.v1.ListHostProjectRegistrationsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*}/hostProjectRegistrations\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc5\x01\n\x1a\x63om.google.cloud.apihub.v1B#HostProjectRegistrationServiceProtoP\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
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.protobuf.Timestamp", "google/protobuf/timestamp.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
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
40
18
 
41
19
  module Google
42
20
  module Cloud
@@ -15,30 +15,8 @@ require 'google/protobuf/field_mask_pb'
15
15
 
16
16
  descriptor_data = "\n,google/cloud/apihub/v1/linting_service.proto\x12\x16google.cloud.apihub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/apihub/v1/common_fields.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"N\n\x14GetStyleGuideRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/StyleGuide\"\x8d\x01\n\x17UpdateStyleGuideRequest\x12<\n\x0bstyle_guide\x18\x01 \x01(\x0b\x32\".google.cloud.apihub.v1.StyleGuideB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"V\n\x1cGetStyleGuideContentsRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n apihub.googleapis.com/StyleGuide\"C\n\x0fLintSpecRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pihub.googleapis.com/Spec\"C\n\x12StyleGuideContents\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\"\xa1\x02\n\nStyleGuide\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x33\n\x06linter\x18\x02 \x01(\x0e\x32\x1e.google.cloud.apihub.v1.LinterB\x03\xe0\x41\x02\x12\x44\n\x08\x63ontents\x18\x03 \x01(\x0b\x32*.google.cloud.apihub.v1.StyleGuideContentsB\x06\xe0\x41\x02\xe0\x41\x04:\x84\x01\xea\x41\x80\x01\n apihub.googleapis.com/StyleGuide\x12\x43projects/{project}/locations/{location}/plugins/{plugin}/styleGuide*\x0bstyleGuides2\nstyleGuide2\xca\x06\n\x0eLintingService\x12\xa8\x01\n\rGetStyleGuide\x12,.google.cloud.apihub.v1.GetStyleGuideRequest\x1a\".google.cloud.apihub.v1.StyleGuide\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/plugins/*/styleGuide}\x12\xda\x01\n\x10UpdateStyleGuide\x12/.google.cloud.apihub.v1.UpdateStyleGuideRequest\x1a\".google.cloud.apihub.v1.StyleGuide\"q\xda\x41\x17style_guide,update_mask\x82\xd3\xe4\x93\x02Q2B/v1/{style_guide.name=projects/*/locations/*/plugins/*/styleGuide}:\x0bstyle_guide\x12\xc9\x01\n\x15GetStyleGuideContents\x12\x34.google.cloud.apihub.v1.GetStyleGuideContentsRequest\x1a*.google.cloud.apihub.v1.StyleGuideContents\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/plugins/*/styleGuide}:contents\x12\x98\x01\n\x08LintSpec\x12\'.google.cloud.apihub.v1.LintSpecRequest\x1a\x16.google.protobuf.Empty\"K\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:lint:\x01*\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb5\x01\n\x1a\x63om.google.cloud.apihub.v1B\x13LintingServiceProtoP\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
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
- ]
33
- imports.each do |type_name, expected_filename|
34
- import_file = pool.lookup(type_name).file_descriptor
35
- if import_file.name != expected_filename
36
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
- end
38
- end
39
- warn "Each proto file must use a consistent fully-qualified name."
40
- warn "This will become an error in the next major version."
41
- end
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
42
20
 
43
21
  module Google
44
22
  module Cloud
@@ -17,32 +17,8 @@ require 'google/protobuf/timestamp_pb'
17
17
 
18
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"
19
19
 
20
- pool = Google::Protobuf::DescriptorPool.generated_pool
21
-
22
- begin
23
- pool.add_serialized_file(descriptor_data)
24
- rescue TypeError
25
- # Compatibility code: will be removed in the next major version.
26
- require 'google/protobuf/descriptor_pb'
27
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
- parsed.clear_dependency
29
- serialized = parsed.class.encode(parsed)
30
- file = pool.add_serialized_file(serialized)
31
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
- imports = [
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"],
36
- ]
37
- imports.each do |type_name, expected_filename|
38
- import_file = pool.lookup(type_name).file_descriptor
39
- if import_file.name != expected_filename
40
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
41
- end
42
- end
43
- warn "Each proto file must use a consistent fully-qualified name."
44
- warn "This will become an error in the next major version."
45
- end
20
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
21
+ pool.add_serialized_file(descriptor_data)
46
22
 
47
23
  module Google
48
24
  module Cloud
@@ -15,30 +15,8 @@ require 'google/protobuf/empty_pb'
15
15
 
16
16
  descriptor_data = "\n1google/cloud/apihub/v1/provisioning_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\"\xc1\x01\n\x1b\x43reateApiHubInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12 \n\x13\x61pi_hub_instance_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x10\x61pi_hub_instance\x18\x03 \x01(\x0b\x32&.google.cloud.apihub.v1.ApiHubInstanceB\x03\xe0\x41\x02\"Y\n\x1b\x44\x65leteApiHubInstanceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$apihub.googleapis.com/ApiHubInstance\"V\n\x18GetApiHubInstanceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$apihub.googleapis.com/ApiHubInstance\"[\n\x1bLookupApiHubInstanceRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$apihub.googleapis.com/ApiHubInstance\"`\n\x1cLookupApiHubInstanceResponse\x12@\n\x10\x61pi_hub_instance\x18\x01 \x01(\x0b\x32&.google.cloud.apihub.v1.ApiHubInstance2\xcd\x07\n\x0cProvisioning\x12\x8e\x02\n\x14\x43reateApiHubInstance\x12\x33.google.cloud.apihub.v1.CreateApiHubInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41#\n\x0e\x41piHubInstance\x12\x11OperationMetadata\xda\x41+parent,api_hub_instance,api_hub_instance_id\x82\xd3\xe4\x93\x02G\"3/v1/{parent=projects/*/locations/*}/apiHubInstances:\x10\x61pi_hub_instance\x12\xdb\x01\n\x14\x44\x65leteApiHubInstance\x12\x33.google.cloud.apihub.v1.DeleteApiHubInstanceRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/apiHubInstances/*}\x12\xb1\x01\n\x11GetApiHubInstance\x12\x30.google.cloud.apihub.v1.GetApiHubInstanceRequest\x1a&.google.cloud.apihub.v1.ApiHubInstance\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/apiHubInstances/*}\x12\xce\x01\n\x14LookupApiHubInstance\x12\x33.google.cloud.apihub.v1.LookupApiHubInstanceRequest\x1a\x34.google.cloud.apihub.v1.LookupApiHubInstanceResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*}/apiHubInstances:lookup\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xba\x01\n\x1a\x63om.google.cloud.apihub.v1B\x18ProvisioningServiceProtoP\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
17
 
18
- pool = Google::Protobuf::DescriptorPool.generated_pool
19
-
20
- begin
21
- pool.add_serialized_file(descriptor_data)
22
- rescue TypeError
23
- # Compatibility code: will be removed in the next major version.
24
- require 'google/protobuf/descriptor_pb'
25
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
- parsed.clear_dependency
27
- serialized = parsed.class.encode(parsed)
28
- file = pool.add_serialized_file(serialized)
29
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
- imports = [
31
- ["google.cloud.apihub.v1.ApiHubInstance", "google/cloud/apihub/v1/common_fields.proto"],
32
- ]
33
- imports.each do |type_name, expected_filename|
34
- import_file = pool.lookup(type_name).file_descriptor
35
- if import_file.name != expected_filename
36
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
- end
38
- end
39
- warn "Each proto file must use a consistent fully-qualified name."
40
- warn "This will become an error in the next major version."
41
- end
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
42
20
 
43
21
  module Google
44
22
  module Cloud
@@ -14,30 +14,8 @@ require 'google/protobuf/timestamp_pb'
14
14
 
15
15
  descriptor_data = "\n?google/cloud/apihub/v1/runtime_project_attachment_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\x1fgoogle/protobuf/timestamp.proto\"\xf6\x01\n%CreateRuntimeProjectAttachmentRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.apihub.googleapis.com/RuntimeProjectAttachment\x12*\n\x1druntime_project_attachment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Y\n\x1aruntime_project_attachment\x18\x03 \x01(\x0b\x32\x30.google.cloud.apihub.v1.RuntimeProjectAttachmentB\x03\xe0\x41\x02\"j\n\"GetRuntimeProjectAttachmentRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.apihub.googleapis.com/RuntimeProjectAttachment\"\xcb\x01\n$ListRuntimeProjectAttachmentsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.apihub.googleapis.com/RuntimeProjectAttachment\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n%ListRuntimeProjectAttachmentsResponse\x12U\n\x1bruntime_project_attachments\x18\x01 \x03(\x0b\x32\x30.google.cloud.apihub.v1.RuntimeProjectAttachment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"m\n%DeleteRuntimeProjectAttachmentRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.apihub.googleapis.com/RuntimeProjectAttachment\"`\n%LookupRuntimeProjectAttachmentRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\"~\n&LookupRuntimeProjectAttachmentResponse\x12T\n\x1aruntime_project_attachment\x18\x01 \x01(\x0b\x32\x30.google.cloud.apihub.v1.RuntimeProjectAttachment\"\x80\x03\n\x18RuntimeProjectAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12O\n\x0fruntime_project\x18\x02 \x01(\tB6\xe0\x41\x02\xe0\x41\x05\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\xc9\x01\xea\x41\xc5\x01\n.apihub.googleapis.com/RuntimeProjectAttachment\x12^projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}*\x19runtimeProjectAttachments2\x18runtimeProjectAttachment2\xac\n\n\x1fRuntimeProjectAttachmentService\x12\xb7\x02\n\x1e\x43reateRuntimeProjectAttachment\x12=.google.cloud.apihub.v1.CreateRuntimeProjectAttachmentRequest\x1a\x30.google.cloud.apihub.v1.RuntimeProjectAttachment\"\xa3\x01\xda\x41?parent,runtime_project_attachment,runtime_project_attachment_id\x82\xd3\xe4\x93\x02[\"=/v1/{parent=projects/*/locations/*}/runtimeProjectAttachments:\x1aruntime_project_attachment\x12\xd9\x01\n\x1bGetRuntimeProjectAttachment\x12:.google.cloud.apihub.v1.GetRuntimeProjectAttachmentRequest\x1a\x30.google.cloud.apihub.v1.RuntimeProjectAttachment\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/runtimeProjectAttachments/*}\x12\xec\x01\n\x1dListRuntimeProjectAttachments\x12<.google.cloud.apihub.v1.ListRuntimeProjectAttachmentsRequest\x1a=.google.cloud.apihub.v1.ListRuntimeProjectAttachmentsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/runtimeProjectAttachments\x12\xc5\x01\n\x1e\x44\x65leteRuntimeProjectAttachment\x12=.google.cloud.apihub.v1.DeleteRuntimeProjectAttachmentRequest\x1a\x16.google.protobuf.Empty\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?*=/v1/{name=projects/*/locations/*/runtimeProjectAttachments/*}\x12\xf0\x01\n\x1eLookupRuntimeProjectAttachment\x12=.google.cloud.apihub.v1.LookupRuntimeProjectAttachmentRequest\x1a>.google.cloud.apihub.v1.LookupRuntimeProjectAttachmentResponse\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*}:lookupRuntimeProjectAttachment\x1aI\xca\x41\x15\x61pihub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc6\x01\n\x1a\x63om.google.cloud.apihub.v1B$RuntimeProjectAttachmentServiceProtoP\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"
16
16
 
17
- pool = Google::Protobuf::DescriptorPool.generated_pool
18
-
19
- begin
20
- pool.add_serialized_file(descriptor_data)
21
- rescue TypeError
22
- # Compatibility code: will be removed in the next major version.
23
- require 'google/protobuf/descriptor_pb'
24
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
- parsed.clear_dependency
26
- serialized = parsed.class.encode(parsed)
27
- file = pool.add_serialized_file(serialized)
28
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
- imports = [
30
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
- ]
32
- imports.each do |type_name, expected_filename|
33
- import_file = pool.lookup(type_name).file_descriptor
34
- if import_file.name != expected_filename
35
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
- end
37
- end
38
- warn "Each proto file must use a consistent fully-qualified name."
39
- warn "This will become an error in the next major version."
40
- end
17
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
+ pool.add_serialized_file(descriptor_data)
41
19
 
42
20
  module Google
43
21
  module Cloud
@@ -83,6 +83,18 @@ module Google
83
83
  # @!attribute [rw] page_token
84
84
  # @return [::String]
85
85
  # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
86
98
  class ListOperationsRequest
87
99
  include ::Google::Protobuf::MessageExts
88
100
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +108,12 @@ module Google
96
108
  # @!attribute [rw] next_page_token
97
109
  # @return [::String]
98
110
  # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
99
117
  class ListOperationsResponse
100
118
  include ::Google::Protobuf::MessageExts
101
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-api_hub-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -187,7 +187,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
187
187
  requirements:
188
188
  - - ">="
189
189
  - !ruby/object:Gem::Version
190
- version: '3.1'
190
+ version: '3.2'
191
191
  required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - ">="