google-cloud-api_hub-v1 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/api_hub/v1/api_hub/paths.rb +21 -0
- data/lib/google/cloud/api_hub/v1/api_hub/rest/client.rb +497 -9
- data/lib/google/cloud/api_hub/v1/api_hub/rest/service_stub.rb +185 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/credentials.rb +47 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/paths.rb +218 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/client.rb +487 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/operations.rb +914 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/service_stub.rb +143 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest.rb +56 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect.rb +50 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/credentials.rb +47 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/paths.rb +90 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/client.rb +869 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/service_stub.rb +388 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest.rb +54 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate.rb +49 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/credentials.rb +47 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/paths.rb +90 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/client.rb +750 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/service_stub.rb +325 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest.rb +54 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery.rb +49 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/paths.rb +74 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb +1265 -98
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/operations.rb +914 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/service_stub.rb +677 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest.rb +1 -0
- data/lib/google/cloud/api_hub/v1/bindings_override.rb +2 -29
- data/lib/google/cloud/api_hub/v1/provisioning/rest/client.rb +96 -0
- data/lib/google/cloud/api_hub/v1/provisioning/rest/service_stub.rb +61 -0
- data/lib/google/cloud/api_hub/v1/rest.rb +3 -0
- data/lib/google/cloud/api_hub/v1/version.rb +1 -1
- data/lib/google/cloud/api_hub/v1.rb +3 -0
- data/lib/google/cloud/apihub/v1/apihub_service_pb.rb +4 -1
- data/lib/google/cloud/apihub/v1/apihub_service_services_pb.rb +35 -2
- data/lib/google/cloud/apihub/v1/collect_service_pb.rb +60 -0
- data/lib/google/cloud/apihub/v1/collect_service_services_pb.rb +47 -0
- data/lib/google/cloud/apihub/v1/common_fields_pb.rb +34 -1
- data/lib/google/cloud/apihub/v1/curate_service_pb.rb +63 -0
- data/lib/google/cloud/apihub/v1/curate_service_services_pb.rb +64 -0
- data/lib/google/cloud/apihub/v1/discovery_service_pb.rb +54 -0
- data/lib/google/cloud/apihub/v1/discovery_service_services_pb.rb +55 -0
- data/lib/google/cloud/apihub/v1/plugin_service_pb.rb +44 -1
- data/lib/google/cloud/apihub/v1/plugin_service_services_pb.rb +43 -1
- data/lib/google/cloud/apihub/v1/provisioning_service_pb.rb +3 -1
- data/lib/google/cloud/apihub/v1/provisioning_service_services_pb.rb +2 -0
- data/proto_docs/google/cloud/apihub/v1/apihub_service.rb +251 -15
- data/proto_docs/google/cloud/apihub/v1/collect_service.rb +188 -0
- data/proto_docs/google/cloud/apihub/v1/common_fields.rb +819 -28
- data/proto_docs/google/cloud/apihub/v1/curate_service.rb +268 -0
- data/proto_docs/google/cloud/apihub/v1/discovery_service.rb +124 -0
- data/proto_docs/google/cloud/apihub/v1/linting_service.rb +10 -4
- data/proto_docs/google/cloud/apihub/v1/plugin_service.rb +799 -1
- data/proto_docs/google/cloud/apihub/v1/provisioning_service.rb +13 -0
- metadata +33 -4
@@ -0,0 +1,268 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ApiHub
|
23
|
+
module V1
|
24
|
+
# The [CreateCuration][ApiHub.CreateCuration] method's request.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The parent resource for the curation resource.
|
28
|
+
# Format: `projects/{project}/locations/{location}`
|
29
|
+
# @!attribute [rw] curation_id
|
30
|
+
# @return [::String]
|
31
|
+
# Optional. The ID to use for the curation resource, which will become the
|
32
|
+
# final component of the curations's resource name. This field is optional.
|
33
|
+
#
|
34
|
+
# * If provided, the same will be used. The service will throw an error if
|
35
|
+
# the specified ID is already used by another curation resource in the API
|
36
|
+
# hub.
|
37
|
+
# * If not provided, a system generated ID will be used.
|
38
|
+
#
|
39
|
+
# This value should be 4-500 characters, and valid characters
|
40
|
+
# are /[a-z][A-Z][0-9]-_/.
|
41
|
+
# @!attribute [rw] curation
|
42
|
+
# @return [::Google::Cloud::ApiHub::V1::Curation]
|
43
|
+
# Required. The curation resource to create.
|
44
|
+
class CreateCurationRequest
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
end
|
48
|
+
|
49
|
+
# The [GetCuration][ApiHub.GetCuration] method's request.
|
50
|
+
# @!attribute [rw] name
|
51
|
+
# @return [::String]
|
52
|
+
# Required. The name of the curation resource to retrieve.
|
53
|
+
# Format: `projects/{project}/locations/{location}/curations/{curation}`
|
54
|
+
class GetCurationRequest
|
55
|
+
include ::Google::Protobuf::MessageExts
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
57
|
+
end
|
58
|
+
|
59
|
+
# The [UpdateCuration][ApiHub.UpdateCuration] method's request.
|
60
|
+
# @!attribute [rw] curation
|
61
|
+
# @return [::Google::Cloud::ApiHub::V1::Curation]
|
62
|
+
# Required. The curation resource to update.
|
63
|
+
#
|
64
|
+
# The curation resource's `name` field is used to identify the curation
|
65
|
+
# resource to update.
|
66
|
+
# Format: `projects/{project}/locations/{location}/curations/{curation}`
|
67
|
+
# @!attribute [rw] update_mask
|
68
|
+
# @return [::Google::Protobuf::FieldMask]
|
69
|
+
# Optional. The list of fields to update.
|
70
|
+
class UpdateCurationRequest
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
|
75
|
+
# The [DeleteCuration][ApiHub.DeleteCuration] method's request.
|
76
|
+
# @!attribute [rw] name
|
77
|
+
# @return [::String]
|
78
|
+
# Required. The name of the curation resource to delete.
|
79
|
+
# Format: `projects/{project}/locations/{location}/curations/{curation}`
|
80
|
+
class DeleteCurationRequest
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# The [ListCurations][ApiHub.ListCurations] method's request.
|
86
|
+
# @!attribute [rw] parent
|
87
|
+
# @return [::String]
|
88
|
+
# Required. The parent, which owns this collection of curation resources.
|
89
|
+
# Format: `projects/{project}/locations/{location}`
|
90
|
+
# @!attribute [rw] filter
|
91
|
+
# @return [::String]
|
92
|
+
# Optional. An expression that filters the list of curation resources.
|
93
|
+
#
|
94
|
+
# A filter expression consists of a field name, a comparison
|
95
|
+
# operator, and a value for filtering. The value must be a string. The
|
96
|
+
# comparison operator must be one of: `<`, `>`, `:` or `=`. Filters are case
|
97
|
+
# insensitive.
|
98
|
+
#
|
99
|
+
# The following fields in the `curation resource` are eligible for filtering:
|
100
|
+
#
|
101
|
+
# * `create_time` - The time at which the curation was created.
|
102
|
+
# The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339]
|
103
|
+
# format. Allowed comparison operators: `>` and `<`.
|
104
|
+
# * `display_name` - The display name of the curation. Allowed
|
105
|
+
# comparison operators: `=`.
|
106
|
+
# * `state` - The state of the curation. Allowed comparison operators: `=`.
|
107
|
+
#
|
108
|
+
# Expressions are combined with either `AND` logic operator or `OR` logical
|
109
|
+
# operator but not both of them together i.e. only one of the `AND` or `OR`
|
110
|
+
# operator can be used throughout the filter string and both the operators
|
111
|
+
# cannot be used together. No other logical operators are supported. At most
|
112
|
+
# three filter fields are allowed in the filter string and if provided
|
113
|
+
# more than that then `INVALID_ARGUMENT` error is returned by the API.
|
114
|
+
#
|
115
|
+
# Here are a few examples:
|
116
|
+
#
|
117
|
+
# * `create_time < \"2021-08-15T14:50:00Z\" AND create_time >
|
118
|
+
# \"2021-08-10T12:00:00Z\"` -
|
119
|
+
# The curation resource was created before _2021-08-15 14:50:00 UTC_ and
|
120
|
+
# after _2021-08-10 12:00:00 UTC_.
|
121
|
+
# @!attribute [rw] page_size
|
122
|
+
# @return [::Integer]
|
123
|
+
# Optional. The maximum number of curation resources to return. The service
|
124
|
+
# may return fewer than this value. If unspecified, at most 50 curations will
|
125
|
+
# be returned. The maximum value is 1000; values above 1000 will be coerced
|
126
|
+
# to 1000.
|
127
|
+
# @!attribute [rw] page_token
|
128
|
+
# @return [::String]
|
129
|
+
# Optional. A page token, received from a previous `ListCurations` call.
|
130
|
+
# Provide this to retrieve the subsequent page.
|
131
|
+
#
|
132
|
+
# When paginating, all other parameters (except page_size) provided to
|
133
|
+
# `ListCurations` must match the call that provided the page token.
|
134
|
+
class ListCurationsRequest
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
|
+
end
|
138
|
+
|
139
|
+
# The [ListCurations][ApiHub.ListCurations] method's response.
|
140
|
+
# @!attribute [rw] curations
|
141
|
+
# @return [::Array<::Google::Cloud::ApiHub::V1::Curation>]
|
142
|
+
# The curation resources present in the API hub.
|
143
|
+
# @!attribute [rw] next_page_token
|
144
|
+
# @return [::String]
|
145
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
146
|
+
# If this field is omitted, there are no subsequent pages.
|
147
|
+
class ListCurationsResponse
|
148
|
+
include ::Google::Protobuf::MessageExts
|
149
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
150
|
+
end
|
151
|
+
|
152
|
+
# A curation resource in the API Hub.
|
153
|
+
# @!attribute [rw] name
|
154
|
+
# @return [::String]
|
155
|
+
# Identifier. The name of the curation.
|
156
|
+
#
|
157
|
+
# Format:
|
158
|
+
# `projects/{project}/locations/{location}/curations/{curation}`
|
159
|
+
# @!attribute [rw] display_name
|
160
|
+
# @return [::String]
|
161
|
+
# Required. The display name of the curation.
|
162
|
+
# @!attribute [rw] description
|
163
|
+
# @return [::String]
|
164
|
+
# Optional. The description of the curation.
|
165
|
+
# @!attribute [rw] endpoint
|
166
|
+
# @return [::Google::Cloud::ApiHub::V1::Endpoint]
|
167
|
+
# Required. The endpoint to be triggered for curation.
|
168
|
+
# @!attribute [r] plugin_instance_actions
|
169
|
+
# @return [::Array<::Google::Cloud::ApiHub::V1::Curation::PluginInstanceActionID>]
|
170
|
+
# Output only. The plugin instances and associated actions that are using the
|
171
|
+
# curation. Note: A particular curation could be used by multiple plugin
|
172
|
+
# instances or multiple actions in a plugin instance.
|
173
|
+
# @!attribute [r] last_execution_state
|
174
|
+
# @return [::Google::Cloud::ApiHub::V1::Curation::LastExecutionState]
|
175
|
+
# Output only. The last execution state of the curation.
|
176
|
+
# @!attribute [r] last_execution_error_code
|
177
|
+
# @return [::Google::Cloud::ApiHub::V1::Curation::ErrorCode]
|
178
|
+
# Output only. The error code of the last execution of the curation. The
|
179
|
+
# error code is populated only when the last execution state is failed.
|
180
|
+
# @!attribute [r] last_execution_error_message
|
181
|
+
# @return [::String]
|
182
|
+
# Output only. Error message describing the failure, if any, during the last
|
183
|
+
# execution of the curation.
|
184
|
+
# @!attribute [r] create_time
|
185
|
+
# @return [::Google::Protobuf::Timestamp]
|
186
|
+
# Output only. The time at which the curation was created.
|
187
|
+
# @!attribute [r] update_time
|
188
|
+
# @return [::Google::Protobuf::Timestamp]
|
189
|
+
# Output only. The time at which the curation was last updated.
|
190
|
+
class Curation
|
191
|
+
include ::Google::Protobuf::MessageExts
|
192
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
193
|
+
|
194
|
+
# The plugin instance and associated action that is using the curation.
|
195
|
+
# @!attribute [r] plugin_instance
|
196
|
+
# @return [::String]
|
197
|
+
# Output only. Plugin instance that is using the curation.
|
198
|
+
# Format is
|
199
|
+
# `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
|
200
|
+
# @!attribute [r] action_id
|
201
|
+
# @return [::String]
|
202
|
+
# Output only. The action ID that is using the curation.
|
203
|
+
# This should map to one of the action IDs specified
|
204
|
+
# in action configs in the plugin.
|
205
|
+
class PluginInstanceActionID
|
206
|
+
include ::Google::Protobuf::MessageExts
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
end
|
209
|
+
|
210
|
+
# The state of the last execution of the curation.
|
211
|
+
module LastExecutionState
|
212
|
+
# Default unspecified state.
|
213
|
+
LAST_EXECUTION_STATE_UNSPECIFIED = 0
|
214
|
+
|
215
|
+
# The last curation execution was successful.
|
216
|
+
SUCCEEDED = 1
|
217
|
+
|
218
|
+
# The last curation execution failed.
|
219
|
+
FAILED = 2
|
220
|
+
end
|
221
|
+
|
222
|
+
# The error codes for failed executions.
|
223
|
+
module ErrorCode
|
224
|
+
# Default unspecified error code.
|
225
|
+
ERROR_CODE_UNSPECIFIED = 0
|
226
|
+
|
227
|
+
# The execution failed due to an internal error.
|
228
|
+
INTERNAL_ERROR = 1
|
229
|
+
|
230
|
+
# The curation is not authorized to trigger the endpoint uri.
|
231
|
+
UNAUTHORIZED = 2
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
# The endpoint to be triggered for curation.
|
236
|
+
# The endpoint will be invoked with a request payload containing
|
237
|
+
# [ApiMetadata][google.cloud.apihub.v1.ApiHub.ApiMetadata].
|
238
|
+
# Response should contain curated data in the form of
|
239
|
+
# [ApiMetadata][google.cloud.apihub.v1.ApiHub.ApiMetadata].
|
240
|
+
# @!attribute [rw] application_integration_endpoint_details
|
241
|
+
# @return [::Google::Cloud::ApiHub::V1::ApplicationIntegrationEndpointDetails]
|
242
|
+
# Required. The details of the Application Integration endpoint to be
|
243
|
+
# triggered for curation.
|
244
|
+
class Endpoint
|
245
|
+
include ::Google::Protobuf::MessageExts
|
246
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
247
|
+
end
|
248
|
+
|
249
|
+
# The details of the Application Integration endpoint to be triggered for
|
250
|
+
# curation.
|
251
|
+
# @!attribute [rw] uri
|
252
|
+
# @return [::String]
|
253
|
+
# Required. The endpoint URI should be a valid REST URI for triggering an
|
254
|
+
# Application Integration. Format:
|
255
|
+
# `https://integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*}:execute`
|
256
|
+
# or
|
257
|
+
# `https://{location}-integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*}:execute`
|
258
|
+
# @!attribute [rw] trigger_id
|
259
|
+
# @return [::String]
|
260
|
+
# Required. The API trigger ID of the Application Integration workflow.
|
261
|
+
class ApplicationIntegrationEndpointDetails
|
262
|
+
include ::Google::Protobuf::MessageExts
|
263
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
264
|
+
end
|
265
|
+
end
|
266
|
+
end
|
267
|
+
end
|
268
|
+
end
|
@@ -0,0 +1,124 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ApiHub
|
23
|
+
module V1
|
24
|
+
# Message for requesting list of DiscoveredApiObservations
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The parent, which owns this collection of ApiObservations.
|
28
|
+
# Format:
|
29
|
+
# projects/\\{project}/locations/\\{location}
|
30
|
+
# @!attribute [rw] page_size
|
31
|
+
# @return [::Integer]
|
32
|
+
# Optional. The maximum number of ApiObservations to return. The service may
|
33
|
+
# return fewer than this value. If unspecified, at most 10
|
34
|
+
# ApiObservations will be returned. The maximum value is 1000; values
|
35
|
+
# above 1000 will be coerced to 1000.
|
36
|
+
# @!attribute [rw] page_token
|
37
|
+
# @return [::String]
|
38
|
+
# Optional. A page token, received from a previous `ListApiObservations`
|
39
|
+
# call. Provide this to retrieve the subsequent page.
|
40
|
+
#
|
41
|
+
# When paginating, all other parameters provided to
|
42
|
+
# `ListApiObservations` must match the call that provided the page
|
43
|
+
# token.
|
44
|
+
class ListDiscoveredApiObservationsRequest
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
end
|
48
|
+
|
49
|
+
# Message for response to listing DiscoveredApiObservations
|
50
|
+
# @!attribute [rw] discovered_api_observations
|
51
|
+
# @return [::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiObservation>]
|
52
|
+
# The DiscoveredApiObservation from the specified project and location.
|
53
|
+
# @!attribute [rw] next_page_token
|
54
|
+
# @return [::String]
|
55
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
56
|
+
# If this field is omitted, there are no subsequent pages.
|
57
|
+
class ListDiscoveredApiObservationsResponse
|
58
|
+
include ::Google::Protobuf::MessageExts
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
60
|
+
end
|
61
|
+
|
62
|
+
# Message for requesting list of DiscoveredApiOperations
|
63
|
+
# @!attribute [rw] parent
|
64
|
+
# @return [::String]
|
65
|
+
# Required. The parent, which owns this collection of
|
66
|
+
# DiscoveredApiOperations. Format:
|
67
|
+
# projects/\\{project}/locations/\\{location}/discoveredApiObservations/\\{discovered_api_observation}
|
68
|
+
# @!attribute [rw] page_size
|
69
|
+
# @return [::Integer]
|
70
|
+
# Optional. DiscoveredApiOperations will be returned. The maximum value is
|
71
|
+
# 1000; values above 1000 will be coerced to 1000.
|
72
|
+
# @!attribute [rw] page_token
|
73
|
+
# @return [::String]
|
74
|
+
# Optional. A page token, received from a previous
|
75
|
+
# `ListDiscoveredApiApiOperations` call. Provide this to retrieve the
|
76
|
+
# subsequent page.
|
77
|
+
#
|
78
|
+
# When paginating, all other parameters provided to
|
79
|
+
# `ListDiscoveredApiApiOperations` must match the call that provided the page
|
80
|
+
# token.
|
81
|
+
class ListDiscoveredApiOperationsRequest
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
end
|
85
|
+
|
86
|
+
# Message for response to listing DiscoveredApiOperations
|
87
|
+
# @!attribute [rw] discovered_api_operations
|
88
|
+
# @return [::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiOperation>]
|
89
|
+
# The DiscoveredApiOperations from the specified project, location
|
90
|
+
# and DiscoveredApiObservation.
|
91
|
+
# @!attribute [rw] next_page_token
|
92
|
+
# @return [::String]
|
93
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
94
|
+
# If this field is omitted, there are no subsequent pages.
|
95
|
+
class ListDiscoveredApiOperationsResponse
|
96
|
+
include ::Google::Protobuf::MessageExts
|
97
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
98
|
+
end
|
99
|
+
|
100
|
+
# Message for requesting a DiscoveredApiObservation
|
101
|
+
# @!attribute [rw] name
|
102
|
+
# @return [::String]
|
103
|
+
# Required. The name of the DiscoveredApiObservation to retrieve.
|
104
|
+
# Format:
|
105
|
+
# projects/\\{project}/locations/\\{location}/discoveredApiObservations/\\{discovered_api_observation}
|
106
|
+
class GetDiscoveredApiObservationRequest
|
107
|
+
include ::Google::Protobuf::MessageExts
|
108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
109
|
+
end
|
110
|
+
|
111
|
+
# Message for requesting a DiscoveredApiOperation
|
112
|
+
# @!attribute [rw] name
|
113
|
+
# @return [::String]
|
114
|
+
# Required. The name of the DiscoveredApiOperation to retrieve.
|
115
|
+
# Format:
|
116
|
+
# projects/\\{project}/locations/\\{location}/discoveredApiObservations/\\{discovered_api_observation}/discoveredApiOperations/\\{discovered_api_operation}
|
117
|
+
class GetDiscoveredApiOperationRequest
|
118
|
+
include ::Google::Protobuf::MessageExts
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
@@ -21,7 +21,8 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module ApiHub
|
23
23
|
module V1
|
24
|
-
# The
|
24
|
+
# The {::Google::Cloud::ApiHub::V1::LintingService::Rest::Client#get_style_guide GetStyleGuide}
|
25
|
+
# method's request.
|
25
26
|
# @!attribute [rw] name
|
26
27
|
# @return [::String]
|
27
28
|
# Required. The name of the spec to retrieve.
|
@@ -32,7 +33,9 @@ module Google
|
|
32
33
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
34
|
end
|
34
35
|
|
35
|
-
# The
|
36
|
+
# The
|
37
|
+
# {::Google::Cloud::ApiHub::V1::LintingService::Rest::Client#update_style_guide UpdateStyleGuide}
|
38
|
+
# method's request.
|
36
39
|
# @!attribute [rw] style_guide
|
37
40
|
# @return [::Google::Cloud::ApiHub::V1::StyleGuide]
|
38
41
|
# Required. The Style guide resource to update.
|
@@ -44,7 +47,9 @@ module Google
|
|
44
47
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
45
48
|
end
|
46
49
|
|
47
|
-
# The
|
50
|
+
# The
|
51
|
+
# {::Google::Cloud::ApiHub::V1::LintingService::Rest::Client#get_style_guide_contents GetStyleGuideContents}
|
52
|
+
# method's request.
|
48
53
|
# @!attribute [rw] name
|
49
54
|
# @return [::String]
|
50
55
|
# Required. The name of the StyleGuide whose contents need to be retrieved.
|
@@ -56,7 +61,8 @@ module Google
|
|
56
61
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
57
62
|
end
|
58
63
|
|
59
|
-
# The
|
64
|
+
# The {::Google::Cloud::ApiHub::V1::LintingService::Rest::Client#lint_spec LintSpec} method's
|
65
|
+
# request.
|
60
66
|
# @!attribute [rw] name
|
61
67
|
# @return [::String]
|
62
68
|
# Required. The name of the spec to be linted.
|