google-cloud-dataplex-v1 0.1.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 +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +3133 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/credentials.rb +47 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +767 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/paths.rb +157 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service.rb +54 -0
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +135 -0
- data/lib/google/cloud/dataplex/v1/metadata_pb.rb +214 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +729 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/credentials.rb +47 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/paths.rb +102 -0
- data/lib/google/cloud/dataplex/v1/metadata_service.rb +50 -0
- data/lib/google/cloud/dataplex/v1/metadata_services_pb.rb +52 -0
- data/lib/google/cloud/dataplex/v1/resources_pb.rb +298 -0
- data/lib/google/cloud/dataplex/v1/service_pb.rb +218 -0
- data/lib/google/cloud/dataplex/v1/service_services_pb.rb +102 -0
- data/lib/google/cloud/dataplex/v1/tasks_pb.rb +133 -0
- data/lib/google/cloud/dataplex/v1/version.rb +28 -0
- data/lib/google/cloud/dataplex/v1.rb +39 -0
- data/lib/google-cloud-dataplex-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +308 -0
- data/proto_docs/google/cloud/dataplex/v1/metadata.rb +533 -0
- data/proto_docs/google/cloud/dataplex/v1/resources.rb +821 -0
- data/proto_docs/google/cloud/dataplex/v1/service.rb +601 -0
- data/proto_docs/google/cloud/dataplex/v1/tasks.rb +349 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +231 -0
@@ -0,0 +1,601 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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 Dataplex
|
23
|
+
module V1
|
24
|
+
# Create lake request.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The resource name of the lake location, of the form:
|
28
|
+
# `projects/{project_number}/locations/{location_id}`
|
29
|
+
# where `location_id` refers to a GCP region.
|
30
|
+
# @!attribute [rw] lake_id
|
31
|
+
# @return [::String]
|
32
|
+
# Required. Lake identifier.
|
33
|
+
# This ID will be used to generate names such as database and dataset names
|
34
|
+
# when publishing metadata to Hive Metastore and BigQuery.
|
35
|
+
# * Must contain only lowercase letters, numbers and hyphens.
|
36
|
+
# * Must start with a letter.
|
37
|
+
# * Must end with a number or a letter.
|
38
|
+
# * Must be between 1-63 characters.
|
39
|
+
# * Must be unique within the customer project / location.
|
40
|
+
# @!attribute [rw] lake
|
41
|
+
# @return [::Google::Cloud::Dataplex::V1::Lake]
|
42
|
+
# Required. Lake resource
|
43
|
+
# @!attribute [rw] validate_only
|
44
|
+
# @return [::Boolean]
|
45
|
+
# Optional. Only validate the request, but do not perform mutations.
|
46
|
+
# The default is false.
|
47
|
+
class CreateLakeRequest
|
48
|
+
include ::Google::Protobuf::MessageExts
|
49
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
50
|
+
end
|
51
|
+
|
52
|
+
# Update lake request.
|
53
|
+
# @!attribute [rw] update_mask
|
54
|
+
# @return [::Google::Protobuf::FieldMask]
|
55
|
+
# Required. Mask of fields to update.
|
56
|
+
# @!attribute [rw] lake
|
57
|
+
# @return [::Google::Cloud::Dataplex::V1::Lake]
|
58
|
+
# Required. Update description.
|
59
|
+
# Only fields specified in `update_mask` are updated.
|
60
|
+
# @!attribute [rw] validate_only
|
61
|
+
# @return [::Boolean]
|
62
|
+
# Optional. Only validate the request, but do not perform mutations.
|
63
|
+
# The default is false.
|
64
|
+
class UpdateLakeRequest
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
+
end
|
68
|
+
|
69
|
+
# Delete lake request.
|
70
|
+
# @!attribute [rw] name
|
71
|
+
# @return [::String]
|
72
|
+
# Required. The resource name of the lake:
|
73
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`
|
74
|
+
class DeleteLakeRequest
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
end
|
78
|
+
|
79
|
+
# List lakes request.
|
80
|
+
# @!attribute [rw] parent
|
81
|
+
# @return [::String]
|
82
|
+
# Required. The resource name of the lake location, of the form:
|
83
|
+
# `projects/{project_number}/locations/{location_id}`
|
84
|
+
# where `location_id` refers to a GCP region.
|
85
|
+
# @!attribute [rw] page_size
|
86
|
+
# @return [::Integer]
|
87
|
+
# Optional. Maximum number of Lakes to return. The service may return fewer than this
|
88
|
+
# value. If unspecified, at most 10 lakes will be returned. The maximum
|
89
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
90
|
+
# @!attribute [rw] page_token
|
91
|
+
# @return [::String]
|
92
|
+
# Optional. Page token received from a previous `ListLakes` call. Provide this to
|
93
|
+
# retrieve the subsequent page. When paginating, all other parameters
|
94
|
+
# provided to `ListLakes` must match the call that provided the page token.
|
95
|
+
# @!attribute [rw] filter
|
96
|
+
# @return [::String]
|
97
|
+
# Optional. Filter request.
|
98
|
+
# @!attribute [rw] order_by
|
99
|
+
# @return [::String]
|
100
|
+
# Optional. Order by fields for the result.
|
101
|
+
class ListLakesRequest
|
102
|
+
include ::Google::Protobuf::MessageExts
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
|
+
end
|
105
|
+
|
106
|
+
# List lakes response.
|
107
|
+
# @!attribute [rw] lakes
|
108
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::Lake>]
|
109
|
+
# Lakes under the given parent location.
|
110
|
+
# @!attribute [rw] next_page_token
|
111
|
+
# @return [::String]
|
112
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
113
|
+
# results in the list.
|
114
|
+
# @!attribute [rw] unreachable_locations
|
115
|
+
# @return [::Array<::String>]
|
116
|
+
# Locations that could not be reached.
|
117
|
+
class ListLakesResponse
|
118
|
+
include ::Google::Protobuf::MessageExts
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
120
|
+
end
|
121
|
+
|
122
|
+
# List lake actions request.
|
123
|
+
# @!attribute [rw] parent
|
124
|
+
# @return [::String]
|
125
|
+
# Required. The resource name of the parent lake:
|
126
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`
|
127
|
+
# @!attribute [rw] page_size
|
128
|
+
# @return [::Integer]
|
129
|
+
# Optional. Maximum number of actions to return. The service may return fewer than this
|
130
|
+
# value. If unspecified, at most 10 actions will be returned. The maximum
|
131
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
132
|
+
# @!attribute [rw] page_token
|
133
|
+
# @return [::String]
|
134
|
+
# Optional. Page token received from a previous `ListLakeActions` call. Provide this to
|
135
|
+
# retrieve the subsequent page. When paginating, all other parameters
|
136
|
+
# provided to `ListLakeActions` must match the call that provided the page
|
137
|
+
# token.
|
138
|
+
class ListLakeActionsRequest
|
139
|
+
include ::Google::Protobuf::MessageExts
|
140
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
141
|
+
end
|
142
|
+
|
143
|
+
# List actions response.
|
144
|
+
# @!attribute [rw] actions
|
145
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::Action>]
|
146
|
+
# Actions under the given parent lake/zone/asset.
|
147
|
+
# @!attribute [rw] next_page_token
|
148
|
+
# @return [::String]
|
149
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
150
|
+
# results in the list.
|
151
|
+
class ListActionsResponse
|
152
|
+
include ::Google::Protobuf::MessageExts
|
153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
154
|
+
end
|
155
|
+
|
156
|
+
# Get lake request.
|
157
|
+
# @!attribute [rw] name
|
158
|
+
# @return [::String]
|
159
|
+
# Required. The resource name of the lake:
|
160
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
|
161
|
+
class GetLakeRequest
|
162
|
+
include ::Google::Protobuf::MessageExts
|
163
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
164
|
+
end
|
165
|
+
|
166
|
+
# Create zone request.
|
167
|
+
# @!attribute [rw] parent
|
168
|
+
# @return [::String]
|
169
|
+
# Required. The resource name of the parent lake:
|
170
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
|
171
|
+
# @!attribute [rw] zone_id
|
172
|
+
# @return [::String]
|
173
|
+
# Required. Zone identifier.
|
174
|
+
# This ID will be used to generate names such as database and dataset names
|
175
|
+
# when publishing metadata to Hive Metastore and BigQuery.
|
176
|
+
# * Must contain only lowercase letters, numbers and hyphens.
|
177
|
+
# * Must start with a letter.
|
178
|
+
# * Must end with a number or a letter.
|
179
|
+
# * Must be between 1-63 characters.
|
180
|
+
# * Must be unique across all lakes from all locations in a project.
|
181
|
+
# * Must not be one of the reserved IDs (i.e. "default", "global-temp")
|
182
|
+
# @!attribute [rw] zone
|
183
|
+
# @return [::Google::Cloud::Dataplex::V1::Zone]
|
184
|
+
# Required. Zone resource.
|
185
|
+
# @!attribute [rw] validate_only
|
186
|
+
# @return [::Boolean]
|
187
|
+
# Optional. Only validate the request, but do not perform mutations.
|
188
|
+
# The default is false.
|
189
|
+
class CreateZoneRequest
|
190
|
+
include ::Google::Protobuf::MessageExts
|
191
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
192
|
+
end
|
193
|
+
|
194
|
+
# Update zone request.
|
195
|
+
# @!attribute [rw] update_mask
|
196
|
+
# @return [::Google::Protobuf::FieldMask]
|
197
|
+
# Required. Mask of fields to update.
|
198
|
+
# @!attribute [rw] zone
|
199
|
+
# @return [::Google::Cloud::Dataplex::V1::Zone]
|
200
|
+
# Required. Update description.
|
201
|
+
# Only fields specified in `update_mask` are updated.
|
202
|
+
# @!attribute [rw] validate_only
|
203
|
+
# @return [::Boolean]
|
204
|
+
# Optional. Only validate the request, but do not perform mutations.
|
205
|
+
# The default is false.
|
206
|
+
class UpdateZoneRequest
|
207
|
+
include ::Google::Protobuf::MessageExts
|
208
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
209
|
+
end
|
210
|
+
|
211
|
+
# Delete zone request.
|
212
|
+
# @!attribute [rw] name
|
213
|
+
# @return [::String]
|
214
|
+
# Required. The resource name of the zone:
|
215
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
|
216
|
+
class DeleteZoneRequest
|
217
|
+
include ::Google::Protobuf::MessageExts
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
219
|
+
end
|
220
|
+
|
221
|
+
# List zones request.
|
222
|
+
# @!attribute [rw] parent
|
223
|
+
# @return [::String]
|
224
|
+
# Required. The resource name of the parent lake:
|
225
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
|
226
|
+
# @!attribute [rw] page_size
|
227
|
+
# @return [::Integer]
|
228
|
+
# Optional. Maximum number of zones to return. The service may return fewer than this
|
229
|
+
# value. If unspecified, at most 10 zones will be returned. The maximum
|
230
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
231
|
+
# @!attribute [rw] page_token
|
232
|
+
# @return [::String]
|
233
|
+
# Optional. Page token received from a previous `ListZones` call. Provide this to
|
234
|
+
# retrieve the subsequent page. When paginating, all other parameters
|
235
|
+
# provided to `ListZones` must match the call that provided the page token.
|
236
|
+
# @!attribute [rw] filter
|
237
|
+
# @return [::String]
|
238
|
+
# Optional. Filter request.
|
239
|
+
# @!attribute [rw] order_by
|
240
|
+
# @return [::String]
|
241
|
+
# Optional. Order by fields for the result.
|
242
|
+
class ListZonesRequest
|
243
|
+
include ::Google::Protobuf::MessageExts
|
244
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
end
|
246
|
+
|
247
|
+
# List zones response.
|
248
|
+
# @!attribute [rw] zones
|
249
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::Zone>]
|
250
|
+
# Zones under the given parent lake.
|
251
|
+
# @!attribute [rw] next_page_token
|
252
|
+
# @return [::String]
|
253
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
254
|
+
# results in the list.
|
255
|
+
class ListZonesResponse
|
256
|
+
include ::Google::Protobuf::MessageExts
|
257
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
258
|
+
end
|
259
|
+
|
260
|
+
# List zone actions request.
|
261
|
+
# @!attribute [rw] parent
|
262
|
+
# @return [::String]
|
263
|
+
# Required. The resource name of the parent zone:
|
264
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
|
265
|
+
# @!attribute [rw] page_size
|
266
|
+
# @return [::Integer]
|
267
|
+
# Optional. Maximum number of actions to return. The service may return fewer than this
|
268
|
+
# value. If unspecified, at most 10 actions will be returned. The maximum
|
269
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
270
|
+
# @!attribute [rw] page_token
|
271
|
+
# @return [::String]
|
272
|
+
# Optional. Page token received from a previous `ListZoneActions` call. Provide this to
|
273
|
+
# retrieve the subsequent page. When paginating, all other parameters
|
274
|
+
# provided to `ListZoneActions` must match the call that provided the page
|
275
|
+
# token.
|
276
|
+
class ListZoneActionsRequest
|
277
|
+
include ::Google::Protobuf::MessageExts
|
278
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
279
|
+
end
|
280
|
+
|
281
|
+
# Get zone request.
|
282
|
+
# @!attribute [rw] name
|
283
|
+
# @return [::String]
|
284
|
+
# Required. The resource name of the zone:
|
285
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
|
286
|
+
class GetZoneRequest
|
287
|
+
include ::Google::Protobuf::MessageExts
|
288
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
289
|
+
end
|
290
|
+
|
291
|
+
# Create asset request.
|
292
|
+
# @!attribute [rw] parent
|
293
|
+
# @return [::String]
|
294
|
+
# Required. The resource name of the parent zone:
|
295
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`
|
296
|
+
# @!attribute [rw] asset_id
|
297
|
+
# @return [::String]
|
298
|
+
# Required. Asset identifier.
|
299
|
+
# This ID will be used to generate names such as table names when publishing
|
300
|
+
# metadata to Hive Metastore and BigQuery.
|
301
|
+
# * Must contain only lowercase letters, numbers and hyphens.
|
302
|
+
# * Must start with a letter.
|
303
|
+
# * Must end with a number or a letter.
|
304
|
+
# * Must be between 1-63 characters.
|
305
|
+
# * Must be unique within the zone.
|
306
|
+
# @!attribute [rw] asset
|
307
|
+
# @return [::Google::Cloud::Dataplex::V1::Asset]
|
308
|
+
# Required. Asset resource.
|
309
|
+
# @!attribute [rw] validate_only
|
310
|
+
# @return [::Boolean]
|
311
|
+
# Optional. Only validate the request, but do not perform mutations.
|
312
|
+
# The default is false.
|
313
|
+
class CreateAssetRequest
|
314
|
+
include ::Google::Protobuf::MessageExts
|
315
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
316
|
+
end
|
317
|
+
|
318
|
+
# Update asset request.
|
319
|
+
# @!attribute [rw] update_mask
|
320
|
+
# @return [::Google::Protobuf::FieldMask]
|
321
|
+
# Required. Mask of fields to update.
|
322
|
+
# @!attribute [rw] asset
|
323
|
+
# @return [::Google::Cloud::Dataplex::V1::Asset]
|
324
|
+
# Required. Update description.
|
325
|
+
# Only fields specified in `update_mask` are updated.
|
326
|
+
# @!attribute [rw] validate_only
|
327
|
+
# @return [::Boolean]
|
328
|
+
# Optional. Only validate the request, but do not perform mutations.
|
329
|
+
# The default is false.
|
330
|
+
class UpdateAssetRequest
|
331
|
+
include ::Google::Protobuf::MessageExts
|
332
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
333
|
+
end
|
334
|
+
|
335
|
+
# Delete asset request.
|
336
|
+
# @!attribute [rw] name
|
337
|
+
# @return [::String]
|
338
|
+
# Required. The resource name of the asset:
|
339
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
|
340
|
+
class DeleteAssetRequest
|
341
|
+
include ::Google::Protobuf::MessageExts
|
342
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
343
|
+
end
|
344
|
+
|
345
|
+
# List assets request.
|
346
|
+
# @!attribute [rw] parent
|
347
|
+
# @return [::String]
|
348
|
+
# Required. The resource name of the parent zone:
|
349
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
|
350
|
+
# @!attribute [rw] page_size
|
351
|
+
# @return [::Integer]
|
352
|
+
# Optional. Maximum number of asset to return. The service may return fewer than
|
353
|
+
# this value. If unspecified, at most 10 assets will be returned. The
|
354
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
355
|
+
# @!attribute [rw] page_token
|
356
|
+
# @return [::String]
|
357
|
+
# Optional. Page token received from a previous `ListAssets` call. Provide this to
|
358
|
+
# retrieve the subsequent page. When paginating, all other parameters
|
359
|
+
# provided to `ListAssets` must match the call that provided the page
|
360
|
+
# token.
|
361
|
+
# @!attribute [rw] filter
|
362
|
+
# @return [::String]
|
363
|
+
# Optional. Filter request.
|
364
|
+
# @!attribute [rw] order_by
|
365
|
+
# @return [::String]
|
366
|
+
# Optional. Order by fields for the result.
|
367
|
+
class ListAssetsRequest
|
368
|
+
include ::Google::Protobuf::MessageExts
|
369
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
370
|
+
end
|
371
|
+
|
372
|
+
# List assets response.
|
373
|
+
# @!attribute [rw] assets
|
374
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::Asset>]
|
375
|
+
# Asset under the given parent zone.
|
376
|
+
# @!attribute [rw] next_page_token
|
377
|
+
# @return [::String]
|
378
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
379
|
+
# results in the list.
|
380
|
+
class ListAssetsResponse
|
381
|
+
include ::Google::Protobuf::MessageExts
|
382
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
383
|
+
end
|
384
|
+
|
385
|
+
# List asset actions request.
|
386
|
+
# @!attribute [rw] parent
|
387
|
+
# @return [::String]
|
388
|
+
# Required. The resource name of the parent asset:
|
389
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
|
390
|
+
# @!attribute [rw] page_size
|
391
|
+
# @return [::Integer]
|
392
|
+
# Optional. Maximum number of actions to return. The service may return fewer than this
|
393
|
+
# value. If unspecified, at most 10 actions will be returned. The maximum
|
394
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
395
|
+
# @!attribute [rw] page_token
|
396
|
+
# @return [::String]
|
397
|
+
# Optional. Page token received from a previous `ListAssetActions` call. Provide this
|
398
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
399
|
+
# provided to `ListAssetActions` must match the call that provided the page
|
400
|
+
# token.
|
401
|
+
class ListAssetActionsRequest
|
402
|
+
include ::Google::Protobuf::MessageExts
|
403
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
404
|
+
end
|
405
|
+
|
406
|
+
# Get asset request.
|
407
|
+
# @!attribute [rw] name
|
408
|
+
# @return [::String]
|
409
|
+
# Required. The resource name of the asset:
|
410
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
|
411
|
+
class GetAssetRequest
|
412
|
+
include ::Google::Protobuf::MessageExts
|
413
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
414
|
+
end
|
415
|
+
|
416
|
+
# Represents the metadata of a long-running operation.
|
417
|
+
# @!attribute [r] create_time
|
418
|
+
# @return [::Google::Protobuf::Timestamp]
|
419
|
+
# Output only. The time the operation was created.
|
420
|
+
# @!attribute [r] end_time
|
421
|
+
# @return [::Google::Protobuf::Timestamp]
|
422
|
+
# Output only. The time the operation finished running.
|
423
|
+
# @!attribute [r] target
|
424
|
+
# @return [::String]
|
425
|
+
# Output only. Server-defined resource path for the target of the operation.
|
426
|
+
# @!attribute [r] verb
|
427
|
+
# @return [::String]
|
428
|
+
# Output only. Name of the verb executed by the operation.
|
429
|
+
# @!attribute [r] status_message
|
430
|
+
# @return [::String]
|
431
|
+
# Output only. Human-readable status of the operation, if any.
|
432
|
+
# @!attribute [r] requested_cancellation
|
433
|
+
# @return [::Boolean]
|
434
|
+
# Output only. Identifies whether the user has requested cancellation
|
435
|
+
# of the operation. Operations that have successfully been cancelled
|
436
|
+
# have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
437
|
+
# corresponding to `Code.CANCELLED`.
|
438
|
+
# @!attribute [r] api_version
|
439
|
+
# @return [::String]
|
440
|
+
# Output only. API version used to start the operation.
|
441
|
+
class OperationMetadata
|
442
|
+
include ::Google::Protobuf::MessageExts
|
443
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
444
|
+
end
|
445
|
+
|
446
|
+
# Create task request.
|
447
|
+
# @!attribute [rw] parent
|
448
|
+
# @return [::String]
|
449
|
+
# Required. The resource name of the parent lake:
|
450
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
|
451
|
+
# @!attribute [rw] task_id
|
452
|
+
# @return [::String]
|
453
|
+
# Required. Task identifier.
|
454
|
+
# @!attribute [rw] task
|
455
|
+
# @return [::Google::Cloud::Dataplex::V1::Task]
|
456
|
+
# Required. Task resource.
|
457
|
+
# @!attribute [rw] validate_only
|
458
|
+
# @return [::Boolean]
|
459
|
+
# Optional. Only validate the request, but do not perform mutations.
|
460
|
+
# The default is false.
|
461
|
+
class CreateTaskRequest
|
462
|
+
include ::Google::Protobuf::MessageExts
|
463
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
464
|
+
end
|
465
|
+
|
466
|
+
# Update task request.
|
467
|
+
# @!attribute [rw] update_mask
|
468
|
+
# @return [::Google::Protobuf::FieldMask]
|
469
|
+
# Required. Mask of fields to update.
|
470
|
+
# @!attribute [rw] task
|
471
|
+
# @return [::Google::Cloud::Dataplex::V1::Task]
|
472
|
+
# Required. Update description.
|
473
|
+
# Only fields specified in `update_mask` are updated.
|
474
|
+
# @!attribute [rw] validate_only
|
475
|
+
# @return [::Boolean]
|
476
|
+
# Optional. Only validate the request, but do not perform mutations.
|
477
|
+
# The default is false.
|
478
|
+
class UpdateTaskRequest
|
479
|
+
include ::Google::Protobuf::MessageExts
|
480
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
481
|
+
end
|
482
|
+
|
483
|
+
# Delete task request.
|
484
|
+
# @!attribute [rw] name
|
485
|
+
# @return [::String]
|
486
|
+
# Required. The resource name of the task:
|
487
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
|
488
|
+
class DeleteTaskRequest
|
489
|
+
include ::Google::Protobuf::MessageExts
|
490
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
491
|
+
end
|
492
|
+
|
493
|
+
# List tasks request.
|
494
|
+
# @!attribute [rw] parent
|
495
|
+
# @return [::String]
|
496
|
+
# Required. The resource name of the parent lake:
|
497
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
|
498
|
+
# @!attribute [rw] page_size
|
499
|
+
# @return [::Integer]
|
500
|
+
# Optional. Maximum number of tasks to return. The service may return fewer than this
|
501
|
+
# value. If unspecified, at most 10 tasks will be returned. The maximum
|
502
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
503
|
+
# @!attribute [rw] page_token
|
504
|
+
# @return [::String]
|
505
|
+
# Optional. Page token received from a previous `ListZones` call. Provide this to
|
506
|
+
# retrieve the subsequent page. When paginating, all other parameters
|
507
|
+
# provided to `ListZones` must match the call that provided the page token.
|
508
|
+
# @!attribute [rw] filter
|
509
|
+
# @return [::String]
|
510
|
+
# Optional. Filter request.
|
511
|
+
# @!attribute [rw] order_by
|
512
|
+
# @return [::String]
|
513
|
+
# Optional. Order by fields for the result.
|
514
|
+
class ListTasksRequest
|
515
|
+
include ::Google::Protobuf::MessageExts
|
516
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
517
|
+
end
|
518
|
+
|
519
|
+
# List tasks response.
|
520
|
+
# @!attribute [rw] tasks
|
521
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::Task>]
|
522
|
+
# Tasks under the given parent lake.
|
523
|
+
# @!attribute [rw] next_page_token
|
524
|
+
# @return [::String]
|
525
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
526
|
+
# results in the list.
|
527
|
+
# @!attribute [rw] unreachable_locations
|
528
|
+
# @return [::Array<::String>]
|
529
|
+
# Locations that could not be reached.
|
530
|
+
class ListTasksResponse
|
531
|
+
include ::Google::Protobuf::MessageExts
|
532
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
533
|
+
end
|
534
|
+
|
535
|
+
# Get task request.
|
536
|
+
# @!attribute [rw] name
|
537
|
+
# @return [::String]
|
538
|
+
# Required. The resource name of the task:
|
539
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`
|
540
|
+
class GetTaskRequest
|
541
|
+
include ::Google::Protobuf::MessageExts
|
542
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
543
|
+
end
|
544
|
+
|
545
|
+
# Get job request.
|
546
|
+
# @!attribute [rw] name
|
547
|
+
# @return [::String]
|
548
|
+
# Required. The resource name of the job:
|
549
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
|
550
|
+
class GetJobRequest
|
551
|
+
include ::Google::Protobuf::MessageExts
|
552
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
553
|
+
end
|
554
|
+
|
555
|
+
# List jobs request.
|
556
|
+
# @!attribute [rw] parent
|
557
|
+
# @return [::String]
|
558
|
+
# Required. The resource name of the parent environment:
|
559
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
|
560
|
+
# @!attribute [rw] page_size
|
561
|
+
# @return [::Integer]
|
562
|
+
# Optional. Maximum number of jobs to return. The service may return fewer than
|
563
|
+
# this value. If unspecified, at most 10 jobs will be returned. The
|
564
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
565
|
+
# @!attribute [rw] page_token
|
566
|
+
# @return [::String]
|
567
|
+
# Optional. Page token received from a previous `ListJobs` call. Provide this to
|
568
|
+
# retrieve the subsequent page. When paginating, all other parameters
|
569
|
+
# provided to `ListJobs` must match the call that provided the page
|
570
|
+
# token.
|
571
|
+
class ListJobsRequest
|
572
|
+
include ::Google::Protobuf::MessageExts
|
573
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
574
|
+
end
|
575
|
+
|
576
|
+
# List jobs response.
|
577
|
+
# @!attribute [rw] jobs
|
578
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::Job>]
|
579
|
+
# Jobs under a given task.
|
580
|
+
# @!attribute [rw] next_page_token
|
581
|
+
# @return [::String]
|
582
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
583
|
+
# results in the list.
|
584
|
+
class ListJobsResponse
|
585
|
+
include ::Google::Protobuf::MessageExts
|
586
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
587
|
+
end
|
588
|
+
|
589
|
+
# Cancel task jobs.
|
590
|
+
# @!attribute [rw] name
|
591
|
+
# @return [::String]
|
592
|
+
# Required. The resource name of the job:
|
593
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
|
594
|
+
class CancelJobRequest
|
595
|
+
include ::Google::Protobuf::MessageExts
|
596
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
597
|
+
end
|
598
|
+
end
|
599
|
+
end
|
600
|
+
end
|
601
|
+
end
|