google-cloud-app_hub-v1 0.a → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +144 -8
- data/lib/google/cloud/app_hub/v1/app_hub/client.rb +3426 -0
- data/lib/google/cloud/app_hub/v1/app_hub/credentials.rb +47 -0
- data/lib/google/cloud/app_hub/v1/app_hub/operations.rb +809 -0
- data/lib/google/cloud/app_hub/v1/app_hub/paths.rb +182 -0
- data/lib/google/cloud/app_hub/v1/app_hub/rest/client.rb +3214 -0
- data/lib/google/cloud/app_hub/v1/app_hub/rest/operations.rb +902 -0
- data/lib/google/cloud/app_hub/v1/app_hub/rest/service_stub.rb +1670 -0
- data/lib/google/cloud/app_hub/v1/app_hub/rest.rb +54 -0
- data/lib/google/cloud/app_hub/v1/app_hub.rb +56 -0
- data/lib/google/cloud/app_hub/v1/bindings_override.rb +135 -0
- data/lib/google/cloud/app_hub/v1/rest.rb +38 -0
- data/lib/google/cloud/app_hub/v1/version.rb +7 -2
- data/lib/google/cloud/app_hub/v1.rb +45 -0
- data/lib/google/cloud/apphub/v1/apphub_service_pb.rb +98 -0
- data/lib/google/cloud/apphub/v1/apphub_service_services_pb.rb +104 -0
- data/lib/google/cloud/apphub/v1/application_pb.rb +53 -0
- data/lib/google/cloud/apphub/v1/attributes_pb.rb +49 -0
- data/lib/google/cloud/apphub/v1/service_pb.rb +54 -0
- data/lib/google/cloud/apphub/v1/service_project_attachment_pb.rb +49 -0
- data/lib/google/cloud/apphub/v1/workload_pb.rb +54 -0
- data/lib/google-cloud-app_hub-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +420 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/apphub/v1/apphub_service.rb +786 -0
- data/proto_docs/google/cloud/apphub/v1/application.rb +100 -0
- data/proto_docs/google/cloud/apphub/v1/attributes.rb +115 -0
- data/proto_docs/google/cloud/apphub/v1/service.rb +139 -0
- data/proto_docs/google/cloud/apphub/v1/service_project_attachment.rb +72 -0
- data/proto_docs/google/cloud/apphub/v1/workload.rb +140 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +125 -10
@@ -0,0 +1,786 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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 AppHub
|
23
|
+
module V1
|
24
|
+
# Request for LookupServiceProjectAttachment.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. Service project ID and location to lookup service project
|
28
|
+
# attachment for. Only global location is supported. Expected format:
|
29
|
+
# `projects/{project}/locations/{location}`.
|
30
|
+
class LookupServiceProjectAttachmentRequest
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
|
35
|
+
# Response for LookupServiceProjectAttachment.
|
36
|
+
# @!attribute [rw] service_project_attachment
|
37
|
+
# @return [::Google::Cloud::AppHub::V1::ServiceProjectAttachment]
|
38
|
+
# Service project attachment for a project if exists, empty otherwise.
|
39
|
+
class LookupServiceProjectAttachmentResponse
|
40
|
+
include ::Google::Protobuf::MessageExts
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
end
|
43
|
+
|
44
|
+
# Request for ListServiceProjectAttachments.
|
45
|
+
# @!attribute [rw] parent
|
46
|
+
# @return [::String]
|
47
|
+
# Required. Host project ID and location to list service project attachments.
|
48
|
+
# Only global location is supported. Expected format:
|
49
|
+
# `projects/{project}/locations/{location}`.
|
50
|
+
# @!attribute [rw] page_size
|
51
|
+
# @return [::Integer]
|
52
|
+
# Optional. Requested page size. Server may return fewer items than
|
53
|
+
# requested. If unspecified, server will pick an appropriate default.
|
54
|
+
# @!attribute [rw] page_token
|
55
|
+
# @return [::String]
|
56
|
+
# Optional. A token identifying a page of results the server should return.
|
57
|
+
# @!attribute [rw] filter
|
58
|
+
# @return [::String]
|
59
|
+
# Optional. Filtering results.
|
60
|
+
# @!attribute [rw] order_by
|
61
|
+
# @return [::String]
|
62
|
+
# Optional. Hint for how to order the results.
|
63
|
+
class ListServiceProjectAttachmentsRequest
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
end
|
67
|
+
|
68
|
+
# Response for ListServiceProjectAttachments.
|
69
|
+
# @!attribute [rw] service_project_attachments
|
70
|
+
# @return [::Array<::Google::Cloud::AppHub::V1::ServiceProjectAttachment>]
|
71
|
+
# List of service project attachments.
|
72
|
+
# @!attribute [rw] next_page_token
|
73
|
+
# @return [::String]
|
74
|
+
# A token identifying a page of results the server should return.
|
75
|
+
# @!attribute [rw] unreachable
|
76
|
+
# @return [::Array<::String>]
|
77
|
+
# Locations that could not be reached.
|
78
|
+
class ListServiceProjectAttachmentsResponse
|
79
|
+
include ::Google::Protobuf::MessageExts
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
81
|
+
end
|
82
|
+
|
83
|
+
# Request for CreateServiceProjectAttachment.
|
84
|
+
# @!attribute [rw] parent
|
85
|
+
# @return [::String]
|
86
|
+
# Required. Host project ID and location to which service project is being
|
87
|
+
# attached. Only global location is supported. Expected format:
|
88
|
+
# `projects/{project}/locations/{location}`.
|
89
|
+
# @!attribute [rw] service_project_attachment_id
|
90
|
+
# @return [::String]
|
91
|
+
# Required. The service project attachment identifier must contain the
|
92
|
+
# project id of the service project specified in the
|
93
|
+
# service_project_attachment.service_project field.
|
94
|
+
# @!attribute [rw] service_project_attachment
|
95
|
+
# @return [::Google::Cloud::AppHub::V1::ServiceProjectAttachment]
|
96
|
+
# Required. The resource being created.
|
97
|
+
# @!attribute [rw] request_id
|
98
|
+
# @return [::String]
|
99
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
100
|
+
# request ID so that if you must retry your request, the server will know to
|
101
|
+
# ignore the request if it has already been completed. The server will
|
102
|
+
# guarantee that for at least 60 minutes since the first request.
|
103
|
+
#
|
104
|
+
# For example, consider a situation where you make an initial request and the
|
105
|
+
# request times out. If you make the request again with the same request
|
106
|
+
# ID, the server can check if original operation with the same request ID
|
107
|
+
# was received, and if so, will ignore the second request. This prevents
|
108
|
+
# clients from accidentally creating duplicate commitments.
|
109
|
+
#
|
110
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
111
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
112
|
+
class CreateServiceProjectAttachmentRequest
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
end
|
116
|
+
|
117
|
+
# Request for GetServiceProjectAttachment.
|
118
|
+
# @!attribute [rw] name
|
119
|
+
# @return [::String]
|
120
|
+
# Required. Fully qualified name of the service project attachment to
|
121
|
+
# retrieve. Expected format:
|
122
|
+
# `projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.
|
123
|
+
class GetServiceProjectAttachmentRequest
|
124
|
+
include ::Google::Protobuf::MessageExts
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
126
|
+
end
|
127
|
+
|
128
|
+
# Request for DeleteServiceProjectAttachment.
|
129
|
+
# @!attribute [rw] name
|
130
|
+
# @return [::String]
|
131
|
+
# Required. Fully qualified name of the service project attachment to delete.
|
132
|
+
# Expected format:
|
133
|
+
# `projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.
|
134
|
+
# @!attribute [rw] request_id
|
135
|
+
# @return [::String]
|
136
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
137
|
+
# request ID so that if you must retry your request, the server will know to
|
138
|
+
# ignore the request if it has already been completed. The server will
|
139
|
+
# guarantee that for at least 60 minutes after the first request.
|
140
|
+
#
|
141
|
+
# For example, consider a situation where you make an initial request and the
|
142
|
+
# request times out. If you make the request again with the same request
|
143
|
+
# ID, the server can check if original operation with the same request ID
|
144
|
+
# was received, and if so, will ignore the second request. This prevents
|
145
|
+
# clients from accidentally creating duplicate commitments.
|
146
|
+
#
|
147
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
148
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
149
|
+
class DeleteServiceProjectAttachmentRequest
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
end
|
153
|
+
|
154
|
+
# Request for DetachServiceProjectAttachment.
|
155
|
+
# @!attribute [rw] name
|
156
|
+
# @return [::String]
|
157
|
+
# Required. Service project id and location to detach from a host project.
|
158
|
+
# Only global location is supported. Expected format:
|
159
|
+
# `projects/{project}/locations/{location}`.
|
160
|
+
class DetachServiceProjectAttachmentRequest
|
161
|
+
include ::Google::Protobuf::MessageExts
|
162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
163
|
+
end
|
164
|
+
|
165
|
+
# Response for DetachServiceProjectAttachment.
|
166
|
+
class DetachServiceProjectAttachmentResponse
|
167
|
+
include ::Google::Protobuf::MessageExts
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
end
|
170
|
+
|
171
|
+
# Request for ListServices.
|
172
|
+
# @!attribute [rw] parent
|
173
|
+
# @return [::String]
|
174
|
+
# Required. Fully qualified name of the parent Application to list Services
|
175
|
+
# for. Expected format:
|
176
|
+
# `projects/{project}/locations/{location}/applications/{application}`.
|
177
|
+
# @!attribute [rw] page_size
|
178
|
+
# @return [::Integer]
|
179
|
+
# Optional. Requested page size. Server may return fewer items than
|
180
|
+
# requested. If unspecified, server will pick an appropriate default.
|
181
|
+
# @!attribute [rw] page_token
|
182
|
+
# @return [::String]
|
183
|
+
# Optional. A token identifying a page of results the server should return.
|
184
|
+
# @!attribute [rw] filter
|
185
|
+
# @return [::String]
|
186
|
+
# Optional. Filtering results
|
187
|
+
# @!attribute [rw] order_by
|
188
|
+
# @return [::String]
|
189
|
+
# Optional. Hint for how to order the results
|
190
|
+
class ListServicesRequest
|
191
|
+
include ::Google::Protobuf::MessageExts
|
192
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
193
|
+
end
|
194
|
+
|
195
|
+
# Response for ListServices.
|
196
|
+
# @!attribute [rw] services
|
197
|
+
# @return [::Array<::Google::Cloud::AppHub::V1::Service>]
|
198
|
+
# List of Services.
|
199
|
+
# @!attribute [rw] next_page_token
|
200
|
+
# @return [::String]
|
201
|
+
# A token identifying a page of results the server should return.
|
202
|
+
# @!attribute [rw] unreachable
|
203
|
+
# @return [::Array<::String>]
|
204
|
+
# Locations that could not be reached.
|
205
|
+
class ListServicesResponse
|
206
|
+
include ::Google::Protobuf::MessageExts
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
end
|
209
|
+
|
210
|
+
# Request for ListDiscoveredServices.
|
211
|
+
# @!attribute [rw] parent
|
212
|
+
# @return [::String]
|
213
|
+
# Required. Project and location to list Discovered Services on.
|
214
|
+
# Expected format: `projects/{project}/locations/{location}`.
|
215
|
+
# @!attribute [rw] page_size
|
216
|
+
# @return [::Integer]
|
217
|
+
# Optional. Requested page size. Server may return fewer items than
|
218
|
+
# requested. If unspecified, server will pick an appropriate default.
|
219
|
+
# @!attribute [rw] page_token
|
220
|
+
# @return [::String]
|
221
|
+
# Optional. A token identifying a page of results the server should return.
|
222
|
+
# @!attribute [rw] filter
|
223
|
+
# @return [::String]
|
224
|
+
# Optional. Filtering results.
|
225
|
+
# @!attribute [rw] order_by
|
226
|
+
# @return [::String]
|
227
|
+
# Optional. Hint for how to order the results.
|
228
|
+
class ListDiscoveredServicesRequest
|
229
|
+
include ::Google::Protobuf::MessageExts
|
230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
231
|
+
end
|
232
|
+
|
233
|
+
# Response for ListDiscoveredServices.
|
234
|
+
# @!attribute [rw] discovered_services
|
235
|
+
# @return [::Array<::Google::Cloud::AppHub::V1::DiscoveredService>]
|
236
|
+
# List of Discovered Services.
|
237
|
+
# @!attribute [rw] next_page_token
|
238
|
+
# @return [::String]
|
239
|
+
# A token identifying a page of results the server should return.
|
240
|
+
# @!attribute [rw] unreachable
|
241
|
+
# @return [::Array<::String>]
|
242
|
+
# Locations that could not be reached.
|
243
|
+
class ListDiscoveredServicesResponse
|
244
|
+
include ::Google::Protobuf::MessageExts
|
245
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
246
|
+
end
|
247
|
+
|
248
|
+
# Request for CreateService.
|
249
|
+
# @!attribute [rw] parent
|
250
|
+
# @return [::String]
|
251
|
+
# Required. Fully qualified name of the parent Application to create the
|
252
|
+
# Service in. Expected format:
|
253
|
+
# `projects/{project}/locations/{location}/applications/{application}`.
|
254
|
+
# @!attribute [rw] service_id
|
255
|
+
# @return [::String]
|
256
|
+
# Required. The Service identifier.
|
257
|
+
# Must contain only lowercase letters, numbers
|
258
|
+
# or hyphens, with the first character a letter, the last a letter or a
|
259
|
+
# number, and a 63 character maximum.
|
260
|
+
# @!attribute [rw] service
|
261
|
+
# @return [::Google::Cloud::AppHub::V1::Service]
|
262
|
+
# Required. The resource being created.
|
263
|
+
# @!attribute [rw] request_id
|
264
|
+
# @return [::String]
|
265
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
266
|
+
# request ID so that if you must retry your request, the server will know to
|
267
|
+
# ignore the request if it has already been completed. The server will
|
268
|
+
# guarantee that for at least 60 minutes since the first request.
|
269
|
+
#
|
270
|
+
# For example, consider a situation where you make an initial request and the
|
271
|
+
# request times out. If you make the request again with the same request
|
272
|
+
# ID, the server can check if original operation with the same request ID
|
273
|
+
# was received, and if so, will ignore the second request. This prevents
|
274
|
+
# clients from accidentally creating duplicate commitments.
|
275
|
+
#
|
276
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
277
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
278
|
+
class CreateServiceRequest
|
279
|
+
include ::Google::Protobuf::MessageExts
|
280
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
281
|
+
end
|
282
|
+
|
283
|
+
# Request for GetService.
|
284
|
+
# @!attribute [rw] name
|
285
|
+
# @return [::String]
|
286
|
+
# Required. Fully qualified name of the Service to fetch.
|
287
|
+
# Expected format:
|
288
|
+
# `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
|
289
|
+
class GetServiceRequest
|
290
|
+
include ::Google::Protobuf::MessageExts
|
291
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
292
|
+
end
|
293
|
+
|
294
|
+
# Request for GetDiscoveredService.
|
295
|
+
# @!attribute [rw] name
|
296
|
+
# @return [::String]
|
297
|
+
# Required. Fully qualified name of the Discovered Service to fetch.
|
298
|
+
# Expected format:
|
299
|
+
# `projects/{project}/locations/{location}/discoveredServices/{discoveredService}`.
|
300
|
+
class GetDiscoveredServiceRequest
|
301
|
+
include ::Google::Protobuf::MessageExts
|
302
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
303
|
+
end
|
304
|
+
|
305
|
+
# Request for LookupDiscoveredService.
|
306
|
+
# @!attribute [rw] parent
|
307
|
+
# @return [::String]
|
308
|
+
# Required. Host project ID and location to lookup Discovered Service in.
|
309
|
+
# Expected format: `projects/{project}/locations/{location}`.
|
310
|
+
# @!attribute [rw] uri
|
311
|
+
# @return [::String]
|
312
|
+
# Required. Resource URI to find DiscoveredService for.
|
313
|
+
# Accepts both project number and project ID and does translation when
|
314
|
+
# needed.
|
315
|
+
class LookupDiscoveredServiceRequest
|
316
|
+
include ::Google::Protobuf::MessageExts
|
317
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
318
|
+
end
|
319
|
+
|
320
|
+
# Response for LookupDiscoveredService.
|
321
|
+
# @!attribute [rw] discovered_service
|
322
|
+
# @return [::Google::Cloud::AppHub::V1::DiscoveredService]
|
323
|
+
# Discovered Service if exists, empty otherwise.
|
324
|
+
class LookupDiscoveredServiceResponse
|
325
|
+
include ::Google::Protobuf::MessageExts
|
326
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
327
|
+
end
|
328
|
+
|
329
|
+
# Request for UpdateService.
|
330
|
+
# @!attribute [rw] update_mask
|
331
|
+
# @return [::Google::Protobuf::FieldMask]
|
332
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
333
|
+
# Service resource by the update.
|
334
|
+
# The fields specified in the update_mask are relative to the resource, not
|
335
|
+
# the full request.
|
336
|
+
# The API changes the values of the fields as specified in the update_mask.
|
337
|
+
# The API ignores the values of all fields not covered by the update_mask.
|
338
|
+
# You can also unset a field by not specifying it in the updated message, but
|
339
|
+
# adding the field to the mask. This clears whatever value the field
|
340
|
+
# previously had.
|
341
|
+
# @!attribute [rw] service
|
342
|
+
# @return [::Google::Cloud::AppHub::V1::Service]
|
343
|
+
# Required. The resource being updated.
|
344
|
+
# @!attribute [rw] request_id
|
345
|
+
# @return [::String]
|
346
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
347
|
+
# request ID so that if you must retry your request, the server will know to
|
348
|
+
# ignore the request if it has already been completed. The server will
|
349
|
+
# guarantee that for at least 60 minutes since the first request.
|
350
|
+
#
|
351
|
+
# For example, consider a situation where you make an initial request and the
|
352
|
+
# request times out. If you make the request again with the same request
|
353
|
+
# ID, the server can check if original operation with the same request ID
|
354
|
+
# was received, and if so, will ignore the second request. This prevents
|
355
|
+
# clients from accidentally creating duplicate commitments.
|
356
|
+
#
|
357
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
358
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
359
|
+
class UpdateServiceRequest
|
360
|
+
include ::Google::Protobuf::MessageExts
|
361
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
362
|
+
end
|
363
|
+
|
364
|
+
# Request for DeleteService.
|
365
|
+
# @!attribute [rw] name
|
366
|
+
# @return [::String]
|
367
|
+
# Required. Fully qualified name of the Service to delete from an
|
368
|
+
# Application. Expected format:
|
369
|
+
# `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
|
370
|
+
# @!attribute [rw] request_id
|
371
|
+
# @return [::String]
|
372
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
373
|
+
# request ID so that if you must retry your request, the server will know to
|
374
|
+
# ignore the request if it has already been completed. The server will
|
375
|
+
# guarantee that for at least 60 minutes after the first request.
|
376
|
+
#
|
377
|
+
# For example, consider a situation where you make an initial request and the
|
378
|
+
# request times out. If you make the request again with the same request
|
379
|
+
# ID, the server can check if original operation with the same request ID
|
380
|
+
# was received, and if so, will ignore the second request. This prevents
|
381
|
+
# clients from accidentally creating duplicate commitments.
|
382
|
+
#
|
383
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
384
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
385
|
+
class DeleteServiceRequest
|
386
|
+
include ::Google::Protobuf::MessageExts
|
387
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
388
|
+
end
|
389
|
+
|
390
|
+
# Request for ListApplications.
|
391
|
+
# @!attribute [rw] parent
|
392
|
+
# @return [::String]
|
393
|
+
# Required. Project and location to list Applications on.
|
394
|
+
# Expected format: `projects/{project}/locations/{location}`.
|
395
|
+
# @!attribute [rw] page_size
|
396
|
+
# @return [::Integer]
|
397
|
+
# Optional. Requested page size. Server may return fewer items than
|
398
|
+
# requested. If unspecified, server will pick an appropriate default.
|
399
|
+
# @!attribute [rw] page_token
|
400
|
+
# @return [::String]
|
401
|
+
# Optional. A token identifying a page of results the server should return.
|
402
|
+
# @!attribute [rw] filter
|
403
|
+
# @return [::String]
|
404
|
+
# Optional. Filtering results.
|
405
|
+
# @!attribute [rw] order_by
|
406
|
+
# @return [::String]
|
407
|
+
# Optional. Hint for how to order the results.
|
408
|
+
class ListApplicationsRequest
|
409
|
+
include ::Google::Protobuf::MessageExts
|
410
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
411
|
+
end
|
412
|
+
|
413
|
+
# Response for ListApplications.
|
414
|
+
# @!attribute [rw] applications
|
415
|
+
# @return [::Array<::Google::Cloud::AppHub::V1::Application>]
|
416
|
+
# List of Applications.
|
417
|
+
# @!attribute [rw] next_page_token
|
418
|
+
# @return [::String]
|
419
|
+
# A token identifying a page of results the server should return.
|
420
|
+
# @!attribute [rw] unreachable
|
421
|
+
# @return [::Array<::String>]
|
422
|
+
# Locations that could not be reached.
|
423
|
+
class ListApplicationsResponse
|
424
|
+
include ::Google::Protobuf::MessageExts
|
425
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
426
|
+
end
|
427
|
+
|
428
|
+
# Request for CreateApplication.
|
429
|
+
# @!attribute [rw] parent
|
430
|
+
# @return [::String]
|
431
|
+
# Required. Project and location to create Application in.
|
432
|
+
# Expected format: `projects/{project}/locations/{location}`.
|
433
|
+
# @!attribute [rw] application_id
|
434
|
+
# @return [::String]
|
435
|
+
# Required. The Application identifier.
|
436
|
+
# Must contain only lowercase letters, numbers
|
437
|
+
# or hyphens, with the first character a letter, the last a letter or a
|
438
|
+
# number, and a 63 character maximum.
|
439
|
+
# @!attribute [rw] application
|
440
|
+
# @return [::Google::Cloud::AppHub::V1::Application]
|
441
|
+
# Required. The resource being created
|
442
|
+
# @!attribute [rw] request_id
|
443
|
+
# @return [::String]
|
444
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
445
|
+
# request ID so that if you must retry your request, the server will know to
|
446
|
+
# ignore the request if it has already been completed. The server will
|
447
|
+
# guarantee that for at least 60 minutes since the first request.
|
448
|
+
#
|
449
|
+
# For example, consider a situation where you make an initial request and the
|
450
|
+
# request times out. If you make the request again with the same request
|
451
|
+
# ID, the server can check if original operation with the same request ID
|
452
|
+
# was received, and if so, will ignore the second request. This prevents
|
453
|
+
# clients from accidentally creating duplicate commitments.
|
454
|
+
#
|
455
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
456
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
457
|
+
class CreateApplicationRequest
|
458
|
+
include ::Google::Protobuf::MessageExts
|
459
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
460
|
+
end
|
461
|
+
|
462
|
+
# Request for GetApplication.
|
463
|
+
# @!attribute [rw] name
|
464
|
+
# @return [::String]
|
465
|
+
# Required. Fully qualified name of the Application to fetch.
|
466
|
+
# Expected format:
|
467
|
+
# `projects/{project}/locations/{location}/applications/{application}`.
|
468
|
+
class GetApplicationRequest
|
469
|
+
include ::Google::Protobuf::MessageExts
|
470
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
471
|
+
end
|
472
|
+
|
473
|
+
# Request for UpdateApplication.
|
474
|
+
# @!attribute [rw] update_mask
|
475
|
+
# @return [::Google::Protobuf::FieldMask]
|
476
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
477
|
+
# Application resource by the update.
|
478
|
+
# The fields specified in the update_mask are relative to the resource, not
|
479
|
+
# the full request.
|
480
|
+
# The API changes the values of the fields as specified in the update_mask.
|
481
|
+
# The API ignores the values of all fields not covered by the update_mask.
|
482
|
+
# You can also unset a field by not specifying it in the updated message, but
|
483
|
+
# adding the field to the mask. This clears whatever value the field
|
484
|
+
# previously had.
|
485
|
+
# @!attribute [rw] application
|
486
|
+
# @return [::Google::Cloud::AppHub::V1::Application]
|
487
|
+
# Required. The resource being updated.
|
488
|
+
# @!attribute [rw] request_id
|
489
|
+
# @return [::String]
|
490
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
491
|
+
# request ID so that if you must retry your request, the server will know to
|
492
|
+
# ignore the request if it has already been completed. The server will
|
493
|
+
# guarantee that for at least 60 minutes since the first request.
|
494
|
+
#
|
495
|
+
# For example, consider a situation where you make an initial request and the
|
496
|
+
# request times out. If you make the request again with the same request
|
497
|
+
# ID, the server can check if original operation with the same request ID
|
498
|
+
# was received, and if so, will ignore the second request. This prevents
|
499
|
+
# clients from accidentally creating duplicate commitments.
|
500
|
+
#
|
501
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
502
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
503
|
+
class UpdateApplicationRequest
|
504
|
+
include ::Google::Protobuf::MessageExts
|
505
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
506
|
+
end
|
507
|
+
|
508
|
+
# Request for DeleteApplication.
|
509
|
+
# @!attribute [rw] name
|
510
|
+
# @return [::String]
|
511
|
+
# Required. Fully qualified name of the Application to delete.
|
512
|
+
# Expected format:
|
513
|
+
# `projects/{project}/locations/{location}/applications/{application}`.
|
514
|
+
# @!attribute [rw] request_id
|
515
|
+
# @return [::String]
|
516
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
517
|
+
# request ID so that if you must retry your request, the server will know to
|
518
|
+
# ignore the request if it has already been completed. The server will
|
519
|
+
# guarantee that for at least 60 minutes after the first request.
|
520
|
+
#
|
521
|
+
# For example, consider a situation where you make an initial request and the
|
522
|
+
# request times out. If you make the request again with the same request
|
523
|
+
# ID, the server can check if original operation with the same request ID
|
524
|
+
# was received, and if so, will ignore the second request. This prevents
|
525
|
+
# clients from accidentally creating duplicate commitments.
|
526
|
+
#
|
527
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
528
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
529
|
+
class DeleteApplicationRequest
|
530
|
+
include ::Google::Protobuf::MessageExts
|
531
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
532
|
+
end
|
533
|
+
|
534
|
+
# Request for ListWorkloads.
|
535
|
+
# @!attribute [rw] parent
|
536
|
+
# @return [::String]
|
537
|
+
# Required. Fully qualified name of the parent Application to list Workloads
|
538
|
+
# for. Expected format:
|
539
|
+
# `projects/{project}/locations/{location}/applications/{application}`.
|
540
|
+
# @!attribute [rw] page_size
|
541
|
+
# @return [::Integer]
|
542
|
+
# Optional. Requested page size. Server may return fewer items than
|
543
|
+
# requested. If unspecified, server will pick an appropriate default.
|
544
|
+
# @!attribute [rw] page_token
|
545
|
+
# @return [::String]
|
546
|
+
# Optional. A token identifying a page of results the server should return.
|
547
|
+
# @!attribute [rw] filter
|
548
|
+
# @return [::String]
|
549
|
+
# Optional. Filtering results.
|
550
|
+
# @!attribute [rw] order_by
|
551
|
+
# @return [::String]
|
552
|
+
# Optional. Hint for how to order the results.
|
553
|
+
class ListWorkloadsRequest
|
554
|
+
include ::Google::Protobuf::MessageExts
|
555
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
556
|
+
end
|
557
|
+
|
558
|
+
# Response for ListWorkloads.
|
559
|
+
# @!attribute [rw] workloads
|
560
|
+
# @return [::Array<::Google::Cloud::AppHub::V1::Workload>]
|
561
|
+
# List of Workloads.
|
562
|
+
# @!attribute [rw] next_page_token
|
563
|
+
# @return [::String]
|
564
|
+
# A token identifying a page of results the server should return.
|
565
|
+
# @!attribute [rw] unreachable
|
566
|
+
# @return [::Array<::String>]
|
567
|
+
# Locations that could not be reached.
|
568
|
+
class ListWorkloadsResponse
|
569
|
+
include ::Google::Protobuf::MessageExts
|
570
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
571
|
+
end
|
572
|
+
|
573
|
+
# Request for ListDiscoveredWorkloads.
|
574
|
+
# @!attribute [rw] parent
|
575
|
+
# @return [::String]
|
576
|
+
# Required. Project and location to list Discovered Workloads on.
|
577
|
+
# Expected format: `projects/{project}/locations/{location}`.
|
578
|
+
# @!attribute [rw] page_size
|
579
|
+
# @return [::Integer]
|
580
|
+
# Optional. Requested page size. Server may return fewer items than
|
581
|
+
# requested. If unspecified, server will pick an appropriate default.
|
582
|
+
# @!attribute [rw] page_token
|
583
|
+
# @return [::String]
|
584
|
+
# Optional. A token identifying a page of results the server should return.
|
585
|
+
# @!attribute [rw] filter
|
586
|
+
# @return [::String]
|
587
|
+
# Optional. Filtering results.
|
588
|
+
# @!attribute [rw] order_by
|
589
|
+
# @return [::String]
|
590
|
+
# Optional. Hint for how to order the results.
|
591
|
+
class ListDiscoveredWorkloadsRequest
|
592
|
+
include ::Google::Protobuf::MessageExts
|
593
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
594
|
+
end
|
595
|
+
|
596
|
+
# Response for ListDiscoveredWorkloads.
|
597
|
+
# @!attribute [rw] discovered_workloads
|
598
|
+
# @return [::Array<::Google::Cloud::AppHub::V1::DiscoveredWorkload>]
|
599
|
+
# List of Discovered Workloads.
|
600
|
+
# @!attribute [rw] next_page_token
|
601
|
+
# @return [::String]
|
602
|
+
# A token identifying a page of results the server should return.
|
603
|
+
# @!attribute [rw] unreachable
|
604
|
+
# @return [::Array<::String>]
|
605
|
+
# Locations that could not be reached.
|
606
|
+
class ListDiscoveredWorkloadsResponse
|
607
|
+
include ::Google::Protobuf::MessageExts
|
608
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
609
|
+
end
|
610
|
+
|
611
|
+
# Request for CreateWorkload.
|
612
|
+
# @!attribute [rw] parent
|
613
|
+
# @return [::String]
|
614
|
+
# Required. Fully qualified name of the Application to create Workload in.
|
615
|
+
# Expected format:
|
616
|
+
# `projects/{project}/locations/{location}/applications/{application}`.
|
617
|
+
# @!attribute [rw] workload_id
|
618
|
+
# @return [::String]
|
619
|
+
# Required. The Workload identifier.
|
620
|
+
# Must contain only lowercase letters, numbers
|
621
|
+
# or hyphens, with the first character a letter, the last a letter or a
|
622
|
+
# number, and a 63 character maximum.
|
623
|
+
# @!attribute [rw] workload
|
624
|
+
# @return [::Google::Cloud::AppHub::V1::Workload]
|
625
|
+
# Required. The resource being created.
|
626
|
+
# @!attribute [rw] request_id
|
627
|
+
# @return [::String]
|
628
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
629
|
+
# request ID so that if you must retry your request, the server will know to
|
630
|
+
# ignore the request if it has already been completed. The server will
|
631
|
+
# guarantee that for at least 60 minutes since the first request.
|
632
|
+
#
|
633
|
+
# For example, consider a situation where you make an initial request and the
|
634
|
+
# request times out. If you make the request again with the same request
|
635
|
+
# ID, the server can check if original operation with the same request ID
|
636
|
+
# was received, and if so, will ignore the second request. This prevents
|
637
|
+
# clients from accidentally creating duplicate commitments.
|
638
|
+
#
|
639
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
640
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
641
|
+
class CreateWorkloadRequest
|
642
|
+
include ::Google::Protobuf::MessageExts
|
643
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
644
|
+
end
|
645
|
+
|
646
|
+
# Request for GetWorkload.
|
647
|
+
# @!attribute [rw] name
|
648
|
+
# @return [::String]
|
649
|
+
# Required. Fully qualified name of the Workload to fetch.
|
650
|
+
# Expected format:
|
651
|
+
# `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
|
652
|
+
class GetWorkloadRequest
|
653
|
+
include ::Google::Protobuf::MessageExts
|
654
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
655
|
+
end
|
656
|
+
|
657
|
+
# Request for GetDiscoveredWorkload.
|
658
|
+
# @!attribute [rw] name
|
659
|
+
# @return [::String]
|
660
|
+
# Required. Fully qualified name of the Discovered Workload to fetch.
|
661
|
+
# Expected format:
|
662
|
+
# `projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}`.
|
663
|
+
class GetDiscoveredWorkloadRequest
|
664
|
+
include ::Google::Protobuf::MessageExts
|
665
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
666
|
+
end
|
667
|
+
|
668
|
+
# Request for LookupDiscoveredWorkload.
|
669
|
+
# @!attribute [rw] parent
|
670
|
+
# @return [::String]
|
671
|
+
# Required. Host project ID and location to lookup Discovered Workload in.
|
672
|
+
# Expected format: `projects/{project}/locations/{location}`.
|
673
|
+
# @!attribute [rw] uri
|
674
|
+
# @return [::String]
|
675
|
+
# Required. Resource URI to find Discovered Workload for.
|
676
|
+
# Accepts both project number and project ID and does translation when
|
677
|
+
# needed.
|
678
|
+
class LookupDiscoveredWorkloadRequest
|
679
|
+
include ::Google::Protobuf::MessageExts
|
680
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
681
|
+
end
|
682
|
+
|
683
|
+
# Response for LookupDiscoveredWorkload.
|
684
|
+
# @!attribute [rw] discovered_workload
|
685
|
+
# @return [::Google::Cloud::AppHub::V1::DiscoveredWorkload]
|
686
|
+
# Discovered Workload if exists, empty otherwise.
|
687
|
+
class LookupDiscoveredWorkloadResponse
|
688
|
+
include ::Google::Protobuf::MessageExts
|
689
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
690
|
+
end
|
691
|
+
|
692
|
+
# Request for UpdateWorkload.
|
693
|
+
# @!attribute [rw] update_mask
|
694
|
+
# @return [::Google::Protobuf::FieldMask]
|
695
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
696
|
+
# Workload resource by the update.
|
697
|
+
# The fields specified in the update_mask are relative to the resource, not
|
698
|
+
# the full request.
|
699
|
+
# The API changes the values of the fields as specified in the update_mask.
|
700
|
+
# The API ignores the values of all fields not covered by the update_mask.
|
701
|
+
# You can also unset a field by not specifying it in the updated message, but
|
702
|
+
# adding the field to the mask. This clears whatever value the field
|
703
|
+
# previously had.
|
704
|
+
# @!attribute [rw] workload
|
705
|
+
# @return [::Google::Cloud::AppHub::V1::Workload]
|
706
|
+
# Required. The resource being updated.
|
707
|
+
# @!attribute [rw] request_id
|
708
|
+
# @return [::String]
|
709
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
710
|
+
# request ID so that if you must retry your request, the server will know to
|
711
|
+
# ignore the request if it has already been completed. The server will
|
712
|
+
# guarantee that for at least 60 minutes since the first request.
|
713
|
+
#
|
714
|
+
# For example, consider a situation where you make an initial request and the
|
715
|
+
# request times out. If you make the request again with the same request
|
716
|
+
# ID, the server can check if original operation with the same request ID
|
717
|
+
# was received, and if so, will ignore the second request. This prevents
|
718
|
+
# clients from accidentally creating duplicate commitments.
|
719
|
+
#
|
720
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
721
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
722
|
+
class UpdateWorkloadRequest
|
723
|
+
include ::Google::Protobuf::MessageExts
|
724
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
725
|
+
end
|
726
|
+
|
727
|
+
# Request for DeleteWorkload.
|
728
|
+
# @!attribute [rw] name
|
729
|
+
# @return [::String]
|
730
|
+
# Required. Fully qualified name of the Workload to delete from an
|
731
|
+
# Application. Expected format:
|
732
|
+
# `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
|
733
|
+
# @!attribute [rw] request_id
|
734
|
+
# @return [::String]
|
735
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
736
|
+
# request ID so that if you must retry your request, the server will know to
|
737
|
+
# ignore the request if it has already been completed. The server will
|
738
|
+
# guarantee that for at least 60 minutes after the first request.
|
739
|
+
#
|
740
|
+
# For example, consider a situation where you make an initial request and the
|
741
|
+
# request times out. If you make the request again with the same request
|
742
|
+
# ID, the server can check if original operation with the same request ID
|
743
|
+
# was received, and if so, will ignore the second request. This prevents
|
744
|
+
# clients from accidentally creating duplicate commitments.
|
745
|
+
#
|
746
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
747
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
748
|
+
class DeleteWorkloadRequest
|
749
|
+
include ::Google::Protobuf::MessageExts
|
750
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
751
|
+
end
|
752
|
+
|
753
|
+
# Represents the metadata of the long-running operation.
|
754
|
+
# @!attribute [r] create_time
|
755
|
+
# @return [::Google::Protobuf::Timestamp]
|
756
|
+
# Output only. The time the operation was created.
|
757
|
+
# @!attribute [r] end_time
|
758
|
+
# @return [::Google::Protobuf::Timestamp]
|
759
|
+
# Output only. The time the operation finished running.
|
760
|
+
# @!attribute [r] target
|
761
|
+
# @return [::String]
|
762
|
+
# Output only. Server-defined resource path for the target of the operation.
|
763
|
+
# @!attribute [r] verb
|
764
|
+
# @return [::String]
|
765
|
+
# Output only. Name of the verb executed by the operation.
|
766
|
+
# @!attribute [r] status_message
|
767
|
+
# @return [::String]
|
768
|
+
# Output only. Human-readable status of the operation, if any.
|
769
|
+
# @!attribute [r] requested_cancellation
|
770
|
+
# @return [::Boolean]
|
771
|
+
# Output only. Identifies whether the user has requested cancellation
|
772
|
+
# of the operation. Operations that have been cancelled successfully
|
773
|
+
# have [Operation.error][] value with a
|
774
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
775
|
+
# `Code.CANCELLED`.
|
776
|
+
# @!attribute [r] api_version
|
777
|
+
# @return [::String]
|
778
|
+
# Output only. API version used to start the operation.
|
779
|
+
class OperationMetadata
|
780
|
+
include ::Google::Protobuf::MessageExts
|
781
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
782
|
+
end
|
783
|
+
end
|
784
|
+
end
|
785
|
+
end
|
786
|
+
end
|