google-cloud-api_hub-v1 1.0.1 → 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.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/api_hub/v1/api_hub/credentials.rb +1 -1
  3. data/lib/google/cloud/api_hub/v1/api_hub/paths.rb +1 -1
  4. data/lib/google/cloud/api_hub/v1/api_hub/rest/client.rb +1 -1
  5. data/lib/google/cloud/api_hub/v1/api_hub/rest/service_stub.rb +1 -1
  6. data/lib/google/cloud/api_hub/v1/api_hub/rest.rb +1 -1
  7. data/lib/google/cloud/api_hub/v1/api_hub.rb +1 -1
  8. data/lib/google/cloud/api_hub/v1/api_hub_collect/credentials.rb +1 -1
  9. data/lib/google/cloud/api_hub/v1/api_hub_collect/paths.rb +1 -1
  10. data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/client.rb +1 -1
  11. data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/operations.rb +1 -1
  12. data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/service_stub.rb +1 -1
  13. data/lib/google/cloud/api_hub/v1/api_hub_collect/rest.rb +1 -1
  14. data/lib/google/cloud/api_hub/v1/api_hub_collect.rb +1 -1
  15. data/lib/google/cloud/api_hub/v1/api_hub_curate/credentials.rb +1 -1
  16. data/lib/google/cloud/api_hub/v1/api_hub_curate/paths.rb +1 -1
  17. data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/client.rb +1 -1
  18. data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/service_stub.rb +1 -1
  19. data/lib/google/cloud/api_hub/v1/api_hub_curate/rest.rb +1 -1
  20. data/lib/google/cloud/api_hub/v1/api_hub_curate.rb +1 -1
  21. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/credentials.rb +1 -1
  22. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/paths.rb +1 -1
  23. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest/client.rb +1 -1
  24. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest/service_stub.rb +1 -1
  25. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest.rb +1 -1
  26. data/lib/google/cloud/api_hub/v1/api_hub_dependencies.rb +1 -1
  27. data/lib/google/cloud/api_hub/v1/api_hub_discovery/credentials.rb +1 -1
  28. data/lib/google/cloud/api_hub/v1/api_hub_discovery/paths.rb +1 -1
  29. data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/client.rb +1 -1
  30. data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/service_stub.rb +1 -1
  31. data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest.rb +1 -1
  32. data/lib/google/cloud/api_hub/v1/api_hub_discovery.rb +1 -1
  33. data/lib/google/cloud/api_hub/v1/api_hub_plugin/credentials.rb +1 -1
  34. data/lib/google/cloud/api_hub/v1/api_hub_plugin/paths.rb +1 -1
  35. data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb +1 -1
  36. data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/operations.rb +1 -1
  37. data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/service_stub.rb +1 -1
  38. data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest.rb +1 -1
  39. data/lib/google/cloud/api_hub/v1/api_hub_plugin.rb +1 -1
  40. data/lib/google/cloud/api_hub/v1/bindings_override.rb +1 -1
  41. data/lib/google/cloud/api_hub/v1/host_project_registration_service/credentials.rb +1 -1
  42. data/lib/google/cloud/api_hub/v1/host_project_registration_service/paths.rb +1 -1
  43. data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest/client.rb +1 -1
  44. data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest/service_stub.rb +1 -1
  45. data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest.rb +1 -1
  46. data/lib/google/cloud/api_hub/v1/host_project_registration_service.rb +1 -1
  47. data/lib/google/cloud/api_hub/v1/linting_service/credentials.rb +1 -1
  48. data/lib/google/cloud/api_hub/v1/linting_service/paths.rb +1 -1
  49. data/lib/google/cloud/api_hub/v1/linting_service/rest/client.rb +1 -1
  50. data/lib/google/cloud/api_hub/v1/linting_service/rest/service_stub.rb +1 -1
  51. data/lib/google/cloud/api_hub/v1/linting_service/rest.rb +1 -1
  52. data/lib/google/cloud/api_hub/v1/linting_service.rb +1 -1
  53. data/lib/google/cloud/api_hub/v1/provisioning/credentials.rb +1 -1
  54. data/lib/google/cloud/api_hub/v1/provisioning/paths.rb +1 -1
  55. data/lib/google/cloud/api_hub/v1/provisioning/rest/client.rb +1 -1
  56. data/lib/google/cloud/api_hub/v1/provisioning/rest/operations.rb +1 -1
  57. data/lib/google/cloud/api_hub/v1/provisioning/rest/service_stub.rb +1 -1
  58. data/lib/google/cloud/api_hub/v1/provisioning/rest.rb +1 -1
  59. data/lib/google/cloud/api_hub/v1/provisioning.rb +1 -1
  60. data/lib/google/cloud/api_hub/v1/rest.rb +1 -1
  61. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/credentials.rb +1 -1
  62. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/paths.rb +1 -1
  63. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/client.rb +1 -1
  64. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/service_stub.rb +1 -1
  65. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest.rb +1 -1
  66. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service.rb +1 -1
  67. data/lib/google/cloud/api_hub/v1/version.rb +1 -1
  68. data/lib/google/cloud/api_hub/v1.rb +1 -1
  69. data/lib/google-cloud-api_hub-v1.rb +1 -1
  70. data/proto_docs/google/api/client.rb +1 -1
  71. data/proto_docs/google/api/field_behavior.rb +1 -1
  72. data/proto_docs/google/api/launch_stage.rb +1 -1
  73. data/proto_docs/google/api/resource.rb +1 -1
  74. data/proto_docs/google/cloud/apihub/v1/apihub_service.rb +1 -1
  75. data/proto_docs/google/cloud/apihub/v1/collect_service.rb +1 -1
  76. data/proto_docs/google/cloud/apihub/v1/common_fields.rb +1 -1
  77. data/proto_docs/google/cloud/apihub/v1/curate_service.rb +1 -1
  78. data/proto_docs/google/cloud/apihub/v1/discovery_service.rb +1 -1
  79. data/proto_docs/google/cloud/apihub/v1/host_project_registration_service.rb +1 -1
  80. data/proto_docs/google/cloud/apihub/v1/linting_service.rb +1 -1
  81. data/proto_docs/google/cloud/apihub/v1/plugin_service.rb +1 -1
  82. data/proto_docs/google/cloud/apihub/v1/provisioning_service.rb +1 -1
  83. data/proto_docs/google/cloud/apihub/v1/runtime_project_attachment_service.rb +1 -1
  84. data/proto_docs/google/longrunning/operations.rb +1 -1
  85. data/proto_docs/google/protobuf/any.rb +1 -1
  86. data/proto_docs/google/protobuf/duration.rb +1 -1
  87. data/proto_docs/google/protobuf/empty.rb +1 -1
  88. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  89. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  90. data/proto_docs/google/rpc/status.rb +1 -1
  91. metadata +1 -10
  92. data/lib/google/cloud/apihub/v1/apihub_service_services_pb.rb +0 -321
  93. data/lib/google/cloud/apihub/v1/collect_service_services_pb.rb +0 -47
  94. data/lib/google/cloud/apihub/v1/curate_service_services_pb.rb +0 -64
  95. data/lib/google/cloud/apihub/v1/discovery_service_services_pb.rb +0 -55
  96. data/lib/google/cloud/apihub/v1/host_project_registration_service_services_pb.rb +0 -53
  97. data/lib/google/cloud/apihub/v1/linting_service_services_pb.rb +0 -53
  98. data/lib/google/cloud/apihub/v1/plugin_service_services_pb.rb +0 -93
  99. data/lib/google/cloud/apihub/v1/provisioning_service_services_pb.rb +0 -52
  100. data/lib/google/cloud/apihub/v1/runtime_project_attachment_service_services_pb.rb +0 -55
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
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.1
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 2024 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/apihub/v1/apihub_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module ApiHub
25
- module V1
26
- module ApiHub
27
- # This service provides all methods related to the API hub.
28
- class Service
29
-
30
- include ::GRPC::GenericService
31
-
32
- self.marshal_class_method = :encode
33
- self.unmarshal_class_method = :decode
34
- self.service_name = 'google.cloud.apihub.v1.ApiHub'
35
-
36
- # Create an API resource in the API hub.
37
- # Once an API resource is created, versions can be added to it.
38
- rpc :CreateApi, ::Google::Cloud::ApiHub::V1::CreateApiRequest, ::Google::Cloud::ApiHub::V1::Api
39
- # Get API resource details including the API versions contained in it.
40
- rpc :GetApi, ::Google::Cloud::ApiHub::V1::GetApiRequest, ::Google::Cloud::ApiHub::V1::Api
41
- # List API resources in the API hub.
42
- rpc :ListApis, ::Google::Cloud::ApiHub::V1::ListApisRequest, ::Google::Cloud::ApiHub::V1::ListApisResponse
43
- # Update an API resource in the API hub. The following fields in the
44
- # [API][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