google-cloud-api_hub-v1 1.0.2 → 1.0.3

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: 6cdacc46461ad4927ceae2910460bd863a88244c4d0f97fc9e90e59fc82381d1
4
- data.tar.gz: ef10a3ac7895cbc54bd67f3afd48b9cde3eae666955bc841c9df843e6f0a855b
3
+ metadata.gz: 91fb17a232890e33b560988c901bc767c68f873f676e544bdd6cb2928fd8bdad
4
+ data.tar.gz: 5ddfacfcbc3e5b8143ddd7c35f75ea0d3cc976ff1fd89b85f95a495de742a59b
5
5
  SHA512:
6
- metadata.gz: 60d453c7e2050ca96ce3c346ecf05c0e373154f01817579f8a1ebcbf8b13e3c9b1cd6580e36f15e9a819a05b1cd460e39cf83fddde7ecbb04924fc97e0e5d828
7
- data.tar.gz: d5deed8d38a2679c9194c9477b3634505939c1a6f253684fadd865c98c84c6bccf72d485f08cf5716c5c9a4c857ab54f46245b0a3234f8a8ca8286f51ff5779c
6
+ metadata.gz: 22428c3ff28e4af4fa2e5cefd13fa78c805db33de544b5e3b4e7aeb826808857bc398592a159336619ba17c531e3eccd679991a52ca3cae36fa834efc5ebbc9a
7
+ data.tar.gz: 73dec389aca295f43a003a250790a60659a747645539d88bc3625af23227ab9ad3b6478370cbc05a68248e10728f93145dada1762b081fabed0e858b47e2ac1d
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApiHub
23
23
  module V1
24
- VERSION = "1.0.2"
24
+ VERSION = "1.0.3"
25
25
  end
26
26
  end
27
27
  end
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: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -136,24 +136,15 @@ files:
136
136
  - lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/service_stub.rb
137
137
  - lib/google/cloud/api_hub/v1/version.rb
138
138
  - lib/google/cloud/apihub/v1/apihub_service_pb.rb
139
- - lib/google/cloud/apihub/v1/apihub_service_services_pb.rb
140
139
  - lib/google/cloud/apihub/v1/collect_service_pb.rb
141
- - lib/google/cloud/apihub/v1/collect_service_services_pb.rb
142
140
  - lib/google/cloud/apihub/v1/common_fields_pb.rb
143
141
  - lib/google/cloud/apihub/v1/curate_service_pb.rb
144
- - lib/google/cloud/apihub/v1/curate_service_services_pb.rb
145
142
  - lib/google/cloud/apihub/v1/discovery_service_pb.rb
146
- - lib/google/cloud/apihub/v1/discovery_service_services_pb.rb
147
143
  - lib/google/cloud/apihub/v1/host_project_registration_service_pb.rb
148
- - lib/google/cloud/apihub/v1/host_project_registration_service_services_pb.rb
149
144
  - lib/google/cloud/apihub/v1/linting_service_pb.rb
150
- - lib/google/cloud/apihub/v1/linting_service_services_pb.rb
151
145
  - lib/google/cloud/apihub/v1/plugin_service_pb.rb
152
- - lib/google/cloud/apihub/v1/plugin_service_services_pb.rb
153
146
  - lib/google/cloud/apihub/v1/provisioning_service_pb.rb
154
- - lib/google/cloud/apihub/v1/provisioning_service_services_pb.rb
155
147
  - lib/google/cloud/apihub/v1/runtime_project_attachment_service_pb.rb
156
- - lib/google/cloud/apihub/v1/runtime_project_attachment_service_services_pb.rb
157
148
  - proto_docs/README.md
158
149
  - proto_docs/google/api/client.rb
159
150
  - proto_docs/google/api/field_behavior.rb
@@ -1,321 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/apihub_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/apihub_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module ApiHub
27
- # This service provides all methods related to the API hub.
28
- class Service
29
-
30
- include ::GRPC::GenericService
31
-
32
- self.marshal_class_method = :encode
33
- self.unmarshal_class_method = :decode
34
- self.service_name = 'google.cloud.apihub.v1.ApiHub'
35
-
36
- # Create an API resource in the API hub.
37
- # Once an API resource is created, versions can be added to it.
38
- rpc :CreateApi, ::Google::Cloud::ApiHub::V1::CreateApiRequest, ::Google::Cloud::ApiHub::V1::Api
39
- # Get API resource details including the API versions contained in it.
40
- rpc :GetApi, ::Google::Cloud::ApiHub::V1::GetApiRequest, ::Google::Cloud::ApiHub::V1::Api
41
- # List API resources in the API hub.
42
- rpc :ListApis, ::Google::Cloud::ApiHub::V1::ListApisRequest, ::Google::Cloud::ApiHub::V1::ListApisResponse
43
- # Update an API resource in the API hub. The following fields in the
44
- # [API][google.cloud.apihub.v1.Api] can be updated:
45
- #
46
- # * [display_name][google.cloud.apihub.v1.Api.display_name]
47
- # * [description][google.cloud.apihub.v1.Api.description]
48
- # * [owner][google.cloud.apihub.v1.Api.owner]
49
- # * [documentation][google.cloud.apihub.v1.Api.documentation]
50
- # * [target_user][google.cloud.apihub.v1.Api.target_user]
51
- # * [team][google.cloud.apihub.v1.Api.team]
52
- # * [business_unit][google.cloud.apihub.v1.Api.business_unit]
53
- # * [maturity_level][google.cloud.apihub.v1.Api.maturity_level]
54
- # * [api_style][google.cloud.apihub.v1.Api.api_style]
55
- # * [attributes][google.cloud.apihub.v1.Api.attributes]
56
- #
57
- # The
58
- # [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
59
- # should be used to specify the fields being updated.
60
- #
61
- # Updating the owner field requires complete owner message
62
- # and updates both owner and email fields.
63
- rpc :UpdateApi, ::Google::Cloud::ApiHub::V1::UpdateApiRequest, ::Google::Cloud::ApiHub::V1::Api
64
- # Delete an API resource in the API hub. API can only be deleted if all
65
- # underlying versions are deleted.
66
- rpc :DeleteApi, ::Google::Cloud::ApiHub::V1::DeleteApiRequest, ::Google::Protobuf::Empty
67
- # Create an API version for an API resource in the API hub.
68
- rpc :CreateVersion, ::Google::Cloud::ApiHub::V1::CreateVersionRequest, ::Google::Cloud::ApiHub::V1::Version
69
- # Get details about the API version of an API resource. This will include
70
- # information about the specs and operations present in the API
71
- # version as well as the deployments linked to it.
72
- rpc :GetVersion, ::Google::Cloud::ApiHub::V1::GetVersionRequest, ::Google::Cloud::ApiHub::V1::Version
73
- # List API versions of an API resource in the API hub.
74
- rpc :ListVersions, ::Google::Cloud::ApiHub::V1::ListVersionsRequest, ::Google::Cloud::ApiHub::V1::ListVersionsResponse
75
- # Update API version. The following fields in the
76
- # [version][google.cloud.apihub.v1.Version] can be updated currently:
77
- #
78
- # * [display_name][google.cloud.apihub.v1.Version.display_name]
79
- # * [description][google.cloud.apihub.v1.Version.description]
80
- # * [documentation][google.cloud.apihub.v1.Version.documentation]
81
- # * [deployments][google.cloud.apihub.v1.Version.deployments]
82
- # * [lifecycle][google.cloud.apihub.v1.Version.lifecycle]
83
- # * [compliance][google.cloud.apihub.v1.Version.compliance]
84
- # * [accreditation][google.cloud.apihub.v1.Version.accreditation]
85
- # * [attributes][google.cloud.apihub.v1.Version.attributes]
86
- #
87
- # The
88
- # [update_mask][google.cloud.apihub.v1.UpdateVersionRequest.update_mask]
89
- # should be used to specify the fields being updated.
90
- rpc :UpdateVersion, ::Google::Cloud::ApiHub::V1::UpdateVersionRequest, ::Google::Cloud::ApiHub::V1::Version
91
- # Delete an API version. Version can only be deleted if all underlying specs,
92
- # operations, definitions and linked deployments are deleted.
93
- rpc :DeleteVersion, ::Google::Cloud::ApiHub::V1::DeleteVersionRequest, ::Google::Protobuf::Empty
94
- # Add a spec to an API version in the API hub.
95
- # Multiple specs can be added to an API version.
96
- # Note, while adding a spec, at least one of `contents` or `source_uri` must
97
- # be provided. If `contents` is provided, then `spec_type` must also be
98
- # provided.
99
- #
100
- # On adding a spec with contents to the version, the operations present in it
101
- # will be added to the version.Note that the file contents in the spec should
102
- # be of the same type as defined in the
103
- # `projects/{project}/locations/{location}/attributes/system-spec-type`
104
- # attribute associated with spec resource. Note that specs of various types
105
- # can be uploaded, however parsing of details is supported for OpenAPI spec
106
- # currently.
107
- #
108
- # In order to access the information parsed from the spec, use the
109
- # [GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method.
110
- # In order to access the raw contents for a particular spec, use the
111
- # [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method.
112
- # In order to access the operations parsed from the spec, use the
113
- # [ListAPIOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations]
114
- # method.
115
- rpc :CreateSpec, ::Google::Cloud::ApiHub::V1::CreateSpecRequest, ::Google::Cloud::ApiHub::V1::Spec
116
- # Get details about the information parsed from a spec.
117
- # Note that this method does not return the raw spec contents.
118
- # Use [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method
119
- # to retrieve the same.
120
- rpc :GetSpec, ::Google::Cloud::ApiHub::V1::GetSpecRequest, ::Google::Cloud::ApiHub::V1::Spec
121
- # Get spec contents.
122
- rpc :GetSpecContents, ::Google::Cloud::ApiHub::V1::GetSpecContentsRequest, ::Google::Cloud::ApiHub::V1::SpecContents
123
- # List specs corresponding to a particular API resource.
124
- rpc :ListSpecs, ::Google::Cloud::ApiHub::V1::ListSpecsRequest, ::Google::Cloud::ApiHub::V1::ListSpecsResponse
125
- # Update spec. The following fields in the
126
- # [spec][google.cloud.apihub.v1.Spec] can be updated:
127
- #
128
- # * [display_name][google.cloud.apihub.v1.Spec.display_name]
129
- # * [source_uri][google.cloud.apihub.v1.Spec.source_uri]
130
- # * [lint_response][google.cloud.apihub.v1.Spec.lint_response]
131
- # * [attributes][google.cloud.apihub.v1.Spec.attributes]
132
- # * [contents][google.cloud.apihub.v1.Spec.contents]
133
- # * [spec_type][google.cloud.apihub.v1.Spec.spec_type]
134
- #
135
- # In case of an OAS spec, updating spec contents can lead to:
136
- # 1. Creation, deletion and update of operations.
137
- # 2. Creation, deletion and update of definitions.
138
- # 3. Update of other info parsed out from the new spec.
139
- #
140
- # In case of contents or source_uri being present in update mask, spec_type
141
- # must also be present. Also, spec_type can not be present in update mask if
142
- # contents or source_uri is not present.
143
- #
144
- # The
145
- # [update_mask][google.cloud.apihub.v1.UpdateSpecRequest.update_mask]
146
- # should be used to specify the fields being updated.
147
- rpc :UpdateSpec, ::Google::Cloud::ApiHub::V1::UpdateSpecRequest, ::Google::Cloud::ApiHub::V1::Spec
148
- # Delete a spec.
149
- # Deleting a spec will also delete the associated operations from the
150
- # version.
151
- rpc :DeleteSpec, ::Google::Cloud::ApiHub::V1::DeleteSpecRequest, ::Google::Protobuf::Empty
152
- # Create an apiOperation in an API version.
153
- # An apiOperation can be created only if the version has no apiOperations
154
- # which were created by parsing a spec.
155
- rpc :CreateApiOperation, ::Google::Cloud::ApiHub::V1::CreateApiOperationRequest, ::Google::Cloud::ApiHub::V1::ApiOperation
156
- # Get details about a particular operation in API version.
157
- rpc :GetApiOperation, ::Google::Cloud::ApiHub::V1::GetApiOperationRequest, ::Google::Cloud::ApiHub::V1::ApiOperation
158
- # List operations in an API version.
159
- rpc :ListApiOperations, ::Google::Cloud::ApiHub::V1::ListApiOperationsRequest, ::Google::Cloud::ApiHub::V1::ListApiOperationsResponse
160
- # Update an operation in an API version. The following fields in the
161
- # [ApiOperation resource][google.cloud.apihub.v1.ApiOperation] can be
162
- # updated:
163
- #
164
- # * [details.description][ApiOperation.details.description]
165
- # * [details.documentation][ApiOperation.details.documentation]
166
- # * [details.http_operation.path][ApiOperation.details.http_operation.path.path]
167
- # * [details.http_operation.method][ApiOperation.details.http_operation.method]
168
- # * [details.deprecated][ApiOperation.details.deprecated]
169
- # * [attributes][google.cloud.apihub.v1.ApiOperation.attributes]
170
- #
171
- # The
172
- # [update_mask][google.cloud.apihub.v1.UpdateApiOperationRequest.update_mask]
173
- # should be used to specify the fields being updated.
174
- #
175
- # An operation can be updated only if the operation was created via
176
- # [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
177
- # If the operation was created by parsing the spec, then it can be edited by
178
- # updating the spec.
179
- rpc :UpdateApiOperation, ::Google::Cloud::ApiHub::V1::UpdateApiOperationRequest, ::Google::Cloud::ApiHub::V1::ApiOperation
180
- # Delete an operation in an API version and we can delete only the
181
- # operations created via create API. If the operation was created by parsing
182
- # the spec, then it can be deleted by editing or deleting the spec.
183
- rpc :DeleteApiOperation, ::Google::Cloud::ApiHub::V1::DeleteApiOperationRequest, ::Google::Protobuf::Empty
184
- # Get details about a definition in an API version.
185
- rpc :GetDefinition, ::Google::Cloud::ApiHub::V1::GetDefinitionRequest, ::Google::Cloud::ApiHub::V1::Definition
186
- # Create a deployment resource in the API hub.
187
- # Once a deployment resource is created, it can be associated with API
188
- # versions.
189
- rpc :CreateDeployment, ::Google::Cloud::ApiHub::V1::CreateDeploymentRequest, ::Google::Cloud::ApiHub::V1::Deployment
190
- # Get details about a deployment and the API versions linked to it.
191
- rpc :GetDeployment, ::Google::Cloud::ApiHub::V1::GetDeploymentRequest, ::Google::Cloud::ApiHub::V1::Deployment
192
- # List deployment resources in the API hub.
193
- rpc :ListDeployments, ::Google::Cloud::ApiHub::V1::ListDeploymentsRequest, ::Google::Cloud::ApiHub::V1::ListDeploymentsResponse
194
- # Update a deployment resource in the API hub. The following fields in the
195
- # [deployment resource][google.cloud.apihub.v1.Deployment] can be
196
- # updated:
197
- #
198
- # * [display_name][google.cloud.apihub.v1.Deployment.display_name]
199
- # * [description][google.cloud.apihub.v1.Deployment.description]
200
- # * [documentation][google.cloud.apihub.v1.Deployment.documentation]
201
- # * [deployment_type][google.cloud.apihub.v1.Deployment.deployment_type]
202
- # * [resource_uri][google.cloud.apihub.v1.Deployment.resource_uri]
203
- # * [endpoints][google.cloud.apihub.v1.Deployment.endpoints]
204
- # * [slo][google.cloud.apihub.v1.Deployment.slo]
205
- # * [environment][google.cloud.apihub.v1.Deployment.environment]
206
- # * [attributes][google.cloud.apihub.v1.Deployment.attributes]
207
- # * [source_project] [google.cloud.apihub.v1.Deployment.source_project]
208
- # * [source_environment]
209
- # [google.cloud.apihub.v1.Deployment.source_environment]
210
- # * [management_url][google.cloud.apihub.v1.Deployment.management_url]
211
- # * [source_uri][google.cloud.apihub.v1.Deployment.source_uri]
212
- # The
213
- # [update_mask][google.cloud.apihub.v1.UpdateDeploymentRequest.update_mask]
214
- # should be used to specify the fields being updated.
215
- rpc :UpdateDeployment, ::Google::Cloud::ApiHub::V1::UpdateDeploymentRequest, ::Google::Cloud::ApiHub::V1::Deployment
216
- # Delete a deployment resource in the API hub.
217
- rpc :DeleteDeployment, ::Google::Cloud::ApiHub::V1::DeleteDeploymentRequest, ::Google::Protobuf::Empty
218
- # Create a user defined attribute.
219
- #
220
- # Certain pre defined attributes are already created by the API hub. These
221
- # attributes will have type as `SYSTEM_DEFINED` and can be listed via
222
- # [ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method.
223
- # Allowed values for the same can be updated via
224
- # [UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method.
225
- rpc :CreateAttribute, ::Google::Cloud::ApiHub::V1::CreateAttributeRequest, ::Google::Cloud::ApiHub::V1::Attribute
226
- # Get details about the attribute.
227
- rpc :GetAttribute, ::Google::Cloud::ApiHub::V1::GetAttributeRequest, ::Google::Cloud::ApiHub::V1::Attribute
228
- # Update the attribute. The following fields in the
229
- # [Attribute resource][google.cloud.apihub.v1.Attribute] can be updated:
230
- #
231
- # * [display_name][google.cloud.apihub.v1.Attribute.display_name]
232
- # The display name can be updated for user defined attributes only.
233
- # * [description][google.cloud.apihub.v1.Attribute.description]
234
- # The description can be updated for user defined attributes only.
235
- # * [allowed_values][google.cloud.apihub.v1.Attribute.allowed_values]
236
- # To update the list of allowed values, clients need to use the fetched list
237
- # of allowed values and add or remove values to or from the same list.
238
- # The mutable allowed values can be updated for both user defined and System
239
- # defined attributes. The immutable allowed values cannot be updated or
240
- # deleted. The updated list of allowed values cannot be empty. If an allowed
241
- # value that is already used by some resource's attribute is deleted, then
242
- # the association between the resource and the attribute value will also be
243
- # deleted.
244
- # * [cardinality][google.cloud.apihub.v1.Attribute.cardinality]
245
- # The cardinality can be updated for user defined attributes only.
246
- # Cardinality can only be increased during an update.
247
- #
248
- # The
249
- # [update_mask][google.cloud.apihub.v1.UpdateAttributeRequest.update_mask]
250
- # should be used to specify the fields being updated.
251
- rpc :UpdateAttribute, ::Google::Cloud::ApiHub::V1::UpdateAttributeRequest, ::Google::Cloud::ApiHub::V1::Attribute
252
- # Delete an attribute.
253
- #
254
- # Note: System defined attributes cannot be deleted. All
255
- # associations of the attribute being deleted with any API hub resource will
256
- # also get deleted.
257
- rpc :DeleteAttribute, ::Google::Cloud::ApiHub::V1::DeleteAttributeRequest, ::Google::Protobuf::Empty
258
- # List all attributes.
259
- rpc :ListAttributes, ::Google::Cloud::ApiHub::V1::ListAttributesRequest, ::Google::Cloud::ApiHub::V1::ListAttributesResponse
260
- # Search across API-Hub resources.
261
- rpc :SearchResources, ::Google::Cloud::ApiHub::V1::SearchResourcesRequest, ::Google::Cloud::ApiHub::V1::SearchResourcesResponse
262
- # Create an External API resource in the API hub.
263
- rpc :CreateExternalApi, ::Google::Cloud::ApiHub::V1::CreateExternalApiRequest, ::Google::Cloud::ApiHub::V1::ExternalApi
264
- # Get details about an External API resource in the API hub.
265
- rpc :GetExternalApi, ::Google::Cloud::ApiHub::V1::GetExternalApiRequest, ::Google::Cloud::ApiHub::V1::ExternalApi
266
- # Update an External API resource in the API hub. The following fields can be
267
- # updated:
268
- #
269
- # * [display_name][google.cloud.apihub.v1.ExternalApi.display_name]
270
- # * [description][google.cloud.apihub.v1.ExternalApi.description]
271
- # * [documentation][google.cloud.apihub.v1.ExternalApi.documentation]
272
- # * [endpoints][google.cloud.apihub.v1.ExternalApi.endpoints]
273
- # * [paths][google.cloud.apihub.v1.ExternalApi.paths]
274
- #
275
- # The
276
- # [update_mask][google.cloud.apihub.v1.UpdateExternalApiRequest.update_mask]
277
- # should be used to specify the fields being updated.
278
- rpc :UpdateExternalApi, ::Google::Cloud::ApiHub::V1::UpdateExternalApiRequest, ::Google::Cloud::ApiHub::V1::ExternalApi
279
- # Delete an External API resource in the API hub.
280
- rpc :DeleteExternalApi, ::Google::Cloud::ApiHub::V1::DeleteExternalApiRequest, ::Google::Protobuf::Empty
281
- # List External API resources in the API hub.
282
- rpc :ListExternalApis, ::Google::Cloud::ApiHub::V1::ListExternalApisRequest, ::Google::Cloud::ApiHub::V1::ListExternalApisResponse
283
- end
284
-
285
- Stub = Service.rpc_stub_class
286
- end
287
- module ApiHubDependencies
288
- # This service provides methods for various operations related to a
289
- # [Dependency][google.cloud.apihub.v1.Dependency] in the API hub.
290
- class Service
291
-
292
- include ::GRPC::GenericService
293
-
294
- self.marshal_class_method = :encode
295
- self.unmarshal_class_method = :decode
296
- self.service_name = 'google.cloud.apihub.v1.ApiHubDependencies'
297
-
298
- # Create a dependency between two entities in the API hub.
299
- rpc :CreateDependency, ::Google::Cloud::ApiHub::V1::CreateDependencyRequest, ::Google::Cloud::ApiHub::V1::Dependency
300
- # Get details about a dependency resource in the API hub.
301
- rpc :GetDependency, ::Google::Cloud::ApiHub::V1::GetDependencyRequest, ::Google::Cloud::ApiHub::V1::Dependency
302
- # Update a dependency based on the
303
- # [update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask]
304
- # provided in the request.
305
- #
306
- # The following fields in the [dependency][google.cloud.apihub.v1.Dependency]
307
- # can be updated:
308
- # * [description][google.cloud.apihub.v1.Dependency.description]
309
- rpc :UpdateDependency, ::Google::Cloud::ApiHub::V1::UpdateDependencyRequest, ::Google::Cloud::ApiHub::V1::Dependency
310
- # Delete the dependency resource.
311
- rpc :DeleteDependency, ::Google::Cloud::ApiHub::V1::DeleteDependencyRequest, ::Google::Protobuf::Empty
312
- # List dependencies based on the provided filter and pagination parameters.
313
- rpc :ListDependencies, ::Google::Cloud::ApiHub::V1::ListDependenciesRequest, ::Google::Cloud::ApiHub::V1::ListDependenciesResponse
314
- end
315
-
316
- Stub = Service.rpc_stub_class
317
- end
318
- end
319
- end
320
- end
321
- end
@@ -1,47 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/collect_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/collect_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module ApiHubCollect
27
- # This service exposes methods used for collecting various types of data from
28
- # different first party and third party sources and push it to Hub's collect
29
- # layer.
30
- class Service
31
-
32
- include ::GRPC::GenericService
33
-
34
- self.marshal_class_method = :encode
35
- self.unmarshal_class_method = :decode
36
- self.service_name = 'google.cloud.apihub.v1.ApiHubCollect'
37
-
38
- # Collect API data from a source and push it to Hub's collect layer.
39
- rpc :CollectApiData, ::Google::Cloud::ApiHub::V1::CollectApiDataRequest, ::Google::Longrunning::Operation
40
- end
41
-
42
- Stub = Service.rpc_stub_class
43
- end
44
- end
45
- end
46
- end
47
- end
@@ -1,64 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/curate_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/curate_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module ApiHubCurate
27
- # This service is used for managing curations for processing API data consumed
28
- # from collect layer.
29
- class Service
30
-
31
- include ::GRPC::GenericService
32
-
33
- self.marshal_class_method = :encode
34
- self.unmarshal_class_method = :decode
35
- self.service_name = 'google.cloud.apihub.v1.ApiHubCurate'
36
-
37
- # Create a curation resource in the API hub.
38
- # Once a curation resource is created, plugin instances can start using it.
39
- rpc :CreateCuration, ::Google::Cloud::ApiHub::V1::CreateCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
40
- # Get curation resource details.
41
- rpc :GetCuration, ::Google::Cloud::ApiHub::V1::GetCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
42
- # List curation resources in the API hub.
43
- rpc :ListCurations, ::Google::Cloud::ApiHub::V1::ListCurationsRequest, ::Google::Cloud::ApiHub::V1::ListCurationsResponse
44
- # Update a curation resource in the API hub. The following fields in the
45
- # [curation][google.cloud.apihub.v1.Curation] can be updated:
46
- #
47
- # * [display_name][google.cloud.apihub.v1.Curation.display_name]
48
- # * [description][google.cloud.apihub.v1.Curation.description]
49
- #
50
- # The
51
- # [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
52
- # should be used to specify the fields being updated.
53
- rpc :UpdateCuration, ::Google::Cloud::ApiHub::V1::UpdateCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
54
- # Delete a curation resource in the API hub. A curation can only be deleted
55
- # if it's not being used by any plugin instance.
56
- rpc :DeleteCuration, ::Google::Cloud::ApiHub::V1::DeleteCurationRequest, ::Google::Protobuf::Empty
57
- end
58
-
59
- Stub = Service.rpc_stub_class
60
- end
61
- end
62
- end
63
- end
64
- end
@@ -1,55 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/discovery_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/discovery_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module ApiHubDiscovery
27
- # This service exposes methods used to manage DiscoveredApiObservations
28
- # and DiscoveredApiOperations.
29
- class Service
30
-
31
- include ::GRPC::GenericService
32
-
33
- self.marshal_class_method = :encode
34
- self.unmarshal_class_method = :decode
35
- self.service_name = 'google.cloud.apihub.v1.ApiHubDiscovery'
36
-
37
- # Lists all the DiscoveredAPIObservations in a given project and location.
38
- rpc :ListDiscoveredApiObservations, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsRequest, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsResponse
39
- # Gets a DiscoveredAPIObservation in a given project, location and
40
- # ApiObservation.
41
- rpc :GetDiscoveredApiObservation, ::Google::Cloud::ApiHub::V1::GetDiscoveredApiObservationRequest, ::Google::Cloud::ApiHub::V1::DiscoveredApiObservation
42
- # Lists all the DiscoveredAPIOperations in a given project, location and
43
- # ApiObservation.
44
- rpc :ListDiscoveredApiOperations, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsRequest, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsResponse
45
- # Gets a DiscoveredAPIOperation in a given project, location,
46
- # ApiObservation and ApiOperation.
47
- rpc :GetDiscoveredApiOperation, ::Google::Cloud::ApiHub::V1::GetDiscoveredApiOperationRequest, ::Google::Cloud::ApiHub::V1::DiscoveredApiOperation
48
- end
49
-
50
- Stub = Service.rpc_stub_class
51
- end
52
- end
53
- end
54
- end
55
- end
@@ -1,53 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/host_project_registration_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/host_project_registration_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module HostProjectRegistrationService
27
- # This service is used for managing the host project registrations.
28
- class Service
29
-
30
- include ::GRPC::GenericService
31
-
32
- self.marshal_class_method = :encode
33
- self.unmarshal_class_method = :decode
34
- self.service_name = 'google.cloud.apihub.v1.HostProjectRegistrationService'
35
-
36
- # Create a host project registration.
37
- # A Google cloud project can be registered as a host project if it is not
38
- # attached as a runtime project to another host project.
39
- # A project can be registered as a host project only once. Subsequent
40
- # register calls for the same project will fail.
41
- rpc :CreateHostProjectRegistration, ::Google::Cloud::ApiHub::V1::CreateHostProjectRegistrationRequest, ::Google::Cloud::ApiHub::V1::HostProjectRegistration
42
- # Get a host project registration.
43
- rpc :GetHostProjectRegistration, ::Google::Cloud::ApiHub::V1::GetHostProjectRegistrationRequest, ::Google::Cloud::ApiHub::V1::HostProjectRegistration
44
- # Lists host project registrations.
45
- rpc :ListHostProjectRegistrations, ::Google::Cloud::ApiHub::V1::ListHostProjectRegistrationsRequest, ::Google::Cloud::ApiHub::V1::ListHostProjectRegistrationsResponse
46
- end
47
-
48
- Stub = Service.rpc_stub_class
49
- end
50
- end
51
- end
52
- end
53
- end
@@ -1,53 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/linting_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/linting_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module LintingService
27
- # This service provides all methods related to the 1p Linter.
28
- class Service
29
-
30
- include ::GRPC::GenericService
31
-
32
- self.marshal_class_method = :encode
33
- self.unmarshal_class_method = :decode
34
- self.service_name = 'google.cloud.apihub.v1.LintingService'
35
-
36
- # Get the style guide being used for linting.
37
- rpc :GetStyleGuide, ::Google::Cloud::ApiHub::V1::GetStyleGuideRequest, ::Google::Cloud::ApiHub::V1::StyleGuide
38
- # Update the styleGuide to be used for liniting in by API hub.
39
- rpc :UpdateStyleGuide, ::Google::Cloud::ApiHub::V1::UpdateStyleGuideRequest, ::Google::Cloud::ApiHub::V1::StyleGuide
40
- # Get the contents of the style guide.
41
- rpc :GetStyleGuideContents, ::Google::Cloud::ApiHub::V1::GetStyleGuideContentsRequest, ::Google::Cloud::ApiHub::V1::StyleGuideContents
42
- # Lints the requested spec and updates the corresponding API Spec with the
43
- # lint response. This lint response will be available in all subsequent
44
- # Get and List Spec calls to Core service.
45
- rpc :LintSpec, ::Google::Cloud::ApiHub::V1::LintSpecRequest, ::Google::Protobuf::Empty
46
- end
47
-
48
- Stub = Service.rpc_stub_class
49
- end
50
- end
51
- end
52
- end
53
- end
@@ -1,93 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/plugin_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/plugin_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module ApiHubPlugin
27
- # This service is used for managing plugins inside the API Hub.
28
- class Service
29
-
30
- include ::GRPC::GenericService
31
-
32
- self.marshal_class_method = :encode
33
- self.unmarshal_class_method = :decode
34
- self.service_name = 'google.cloud.apihub.v1.ApiHubPlugin'
35
-
36
- # Get an API Hub plugin.
37
- rpc :GetPlugin, ::Google::Cloud::ApiHub::V1::GetPluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
38
- # Enables a plugin.
39
- # The `state` of the plugin after enabling is `ENABLED`
40
- rpc :EnablePlugin, ::Google::Cloud::ApiHub::V1::EnablePluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
41
- # Disables a plugin.
42
- # The `state` of the plugin after disabling is `DISABLED`
43
- rpc :DisablePlugin, ::Google::Cloud::ApiHub::V1::DisablePluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
44
- # Create an API Hub plugin resource in the API hub.
45
- # Once a plugin is created, it can be used to create plugin instances.
46
- rpc :CreatePlugin, ::Google::Cloud::ApiHub::V1::CreatePluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
47
- # List all the plugins in a given project and location.
48
- rpc :ListPlugins, ::Google::Cloud::ApiHub::V1::ListPluginsRequest, ::Google::Cloud::ApiHub::V1::ListPluginsResponse
49
- # Delete a Plugin in API hub.
50
- # Note, only user owned plugins can be deleted via this method.
51
- rpc :DeletePlugin, ::Google::Cloud::ApiHub::V1::DeletePluginRequest, ::Google::Longrunning::Operation
52
- # Creates a Plugin instance in the API hub.
53
- rpc :CreatePluginInstance, ::Google::Cloud::ApiHub::V1::CreatePluginInstanceRequest, ::Google::Longrunning::Operation
54
- # Executes a plugin instance in the API hub.
55
- rpc :ExecutePluginInstanceAction, ::Google::Cloud::ApiHub::V1::ExecutePluginInstanceActionRequest, ::Google::Longrunning::Operation
56
- # Get an API Hub plugin instance.
57
- rpc :GetPluginInstance, ::Google::Cloud::ApiHub::V1::GetPluginInstanceRequest, ::Google::Cloud::ApiHub::V1::PluginInstance
58
- # List all the plugins in a given project and location.
59
- # `-` can be used as wildcard value for {plugin_id}
60
- rpc :ListPluginInstances, ::Google::Cloud::ApiHub::V1::ListPluginInstancesRequest, ::Google::Cloud::ApiHub::V1::ListPluginInstancesResponse
61
- # Enables a plugin instance in the API hub.
62
- rpc :EnablePluginInstanceAction, ::Google::Cloud::ApiHub::V1::EnablePluginInstanceActionRequest, ::Google::Longrunning::Operation
63
- # Disables a plugin instance in the API hub.
64
- rpc :DisablePluginInstanceAction, ::Google::Cloud::ApiHub::V1::DisablePluginInstanceActionRequest, ::Google::Longrunning::Operation
65
- # Updates a plugin instance in the API hub.
66
- # The following fields in the
67
- # [plugin_instance][google.cloud.apihub.v1.PluginInstance] can be updated
68
- # currently:
69
- #
70
- # * [display_name][google.cloud.apihub.v1.PluginInstance.display_name]
71
- # * [schedule_cron_expression][PluginInstance.actions.schedule_cron_expression]
72
- #
73
- # The
74
- # [update_mask][google.cloud.apihub.v1.UpdatePluginInstanceRequest.update_mask]
75
- # should be used to specify the fields being updated.
76
- #
77
- # To update the
78
- # [auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] and
79
- # [additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]
80
- # of the plugin instance, use the
81
- # [ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]
82
- # method.
83
- rpc :UpdatePluginInstance, ::Google::Cloud::ApiHub::V1::UpdatePluginInstanceRequest, ::Google::Cloud::ApiHub::V1::PluginInstance
84
- # Deletes a plugin instance in the API hub.
85
- rpc :DeletePluginInstance, ::Google::Cloud::ApiHub::V1::DeletePluginInstanceRequest, ::Google::Longrunning::Operation
86
- end
87
-
88
- Stub = Service.rpc_stub_class
89
- end
90
- end
91
- end
92
- end
93
- end
@@ -1,52 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/provisioning_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/provisioning_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module Provisioning
27
- # This service is used for managing the data plane provisioning of the API hub.
28
- class Service
29
-
30
- include ::GRPC::GenericService
31
-
32
- self.marshal_class_method = :encode
33
- self.unmarshal_class_method = :decode
34
- self.service_name = 'google.cloud.apihub.v1.Provisioning'
35
-
36
- # Provisions instance resources for the API Hub.
37
- rpc :CreateApiHubInstance, ::Google::Cloud::ApiHub::V1::CreateApiHubInstanceRequest, ::Google::Longrunning::Operation
38
- # Deletes the API hub instance.
39
- rpc :DeleteApiHubInstance, ::Google::Cloud::ApiHub::V1::DeleteApiHubInstanceRequest, ::Google::Longrunning::Operation
40
- # Gets details of a single API Hub instance.
41
- rpc :GetApiHubInstance, ::Google::Cloud::ApiHub::V1::GetApiHubInstanceRequest, ::Google::Cloud::ApiHub::V1::ApiHubInstance
42
- # Looks up an Api Hub instance in a given GCP project. There will always be
43
- # only one Api Hub instance for a GCP project across all locations.
44
- rpc :LookupApiHubInstance, ::Google::Cloud::ApiHub::V1::LookupApiHubInstanceRequest, ::Google::Cloud::ApiHub::V1::LookupApiHubInstanceResponse
45
- end
46
-
47
- Stub = Service.rpc_stub_class
48
- end
49
- end
50
- end
51
- end
52
- end
@@ -1,55 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/apihub/v1/runtime_project_attachment_service.proto for package 'Google.Cloud.ApiHub.V1'
3
- # Original file comments:
4
- # Copyright 2025 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/runtime_project_attachment_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module RuntimeProjectAttachmentService
27
- # This service is used for managing the runtime project attachments.
28
- class Service
29
-
30
- include ::GRPC::GenericService
31
-
32
- self.marshal_class_method = :encode
33
- self.unmarshal_class_method = :decode
34
- self.service_name = 'google.cloud.apihub.v1.RuntimeProjectAttachmentService'
35
-
36
- # Attaches a runtime project to the host project.
37
- rpc :CreateRuntimeProjectAttachment, ::Google::Cloud::ApiHub::V1::CreateRuntimeProjectAttachmentRequest, ::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment
38
- # Gets a runtime project attachment.
39
- rpc :GetRuntimeProjectAttachment, ::Google::Cloud::ApiHub::V1::GetRuntimeProjectAttachmentRequest, ::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment
40
- # List runtime projects attached to the host project.
41
- rpc :ListRuntimeProjectAttachments, ::Google::Cloud::ApiHub::V1::ListRuntimeProjectAttachmentsRequest, ::Google::Cloud::ApiHub::V1::ListRuntimeProjectAttachmentsResponse
42
- # Delete a runtime project attachment in the API Hub. This call will detach
43
- # the runtime project from the host project.
44
- rpc :DeleteRuntimeProjectAttachment, ::Google::Cloud::ApiHub::V1::DeleteRuntimeProjectAttachmentRequest, ::Google::Protobuf::Empty
45
- # Look up a runtime project attachment. This API can be called in the context
46
- # of any project.
47
- rpc :LookupRuntimeProjectAttachment, ::Google::Cloud::ApiHub::V1::LookupRuntimeProjectAttachmentRequest, ::Google::Cloud::ApiHub::V1::LookupRuntimeProjectAttachmentResponse
48
- end
49
-
50
- Stub = Service.rpc_stub_class
51
- end
52
- end
53
- end
54
- end
55
- end