google-cloud-data_fusion-v1 0.1.0 → 0.1.4
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/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/lib/google/cloud/data_fusion/v1/data_fusion/client.rb +240 -73
- data/lib/google/cloud/data_fusion/v1/data_fusion/operations.rb +145 -33
- data/lib/google/cloud/data_fusion/v1/data_fusion/paths.rb +38 -0
- data/lib/google/cloud/data_fusion/v1/version.rb +1 -1
- data/lib/google/cloud/datafusion/v1/datafusion_pb.rb +16 -2
- data/lib/google/cloud/datafusion/v1/datafusion_services_pb.rb +1 -1
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/datafusion/v1/datafusion.rb +46 -16
- metadata +5 -5
@@ -54,9 +54,24 @@ module Google
|
|
54
54
|
# @!attribute [rw] available_features
|
55
55
|
# @return [::Array<::String>]
|
56
56
|
# Represents a list of available feature names for a given version.
|
57
|
+
# @!attribute [rw] type
|
58
|
+
# @return [::Google::Cloud::DataFusion::V1::Version::Type]
|
59
|
+
# Type represents the release availability of the version
|
57
60
|
class Version
|
58
61
|
include ::Google::Protobuf::MessageExts
|
59
62
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
|
64
|
+
# Each type represents the release availability of a CDF version
|
65
|
+
module Type
|
66
|
+
# Version does not have availability yet
|
67
|
+
TYPE_UNSPECIFIED = 0
|
68
|
+
|
69
|
+
# Version is under development and not considered stable
|
70
|
+
TYPE_PREVIEW = 1
|
71
|
+
|
72
|
+
# Version is available for public use
|
73
|
+
TYPE_GENERAL_AVAILABILITY = 2
|
74
|
+
end
|
60
75
|
end
|
61
76
|
|
62
77
|
# Identifies Data Fusion accelerators for an instance.
|
@@ -178,8 +193,7 @@ module Google
|
|
178
193
|
# Current version of the Data Fusion. Only specifiable in Update.
|
179
194
|
# @!attribute [r] service_account
|
180
195
|
# @return [::String]
|
181
|
-
# Output only. Deprecated. Use tenant_project_id instead to extract the
|
182
|
-
# tenant project ID.
|
196
|
+
# Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
|
183
197
|
# @!attribute [rw] display_name
|
184
198
|
# @return [::String]
|
185
199
|
# Display name for an instance.
|
@@ -192,8 +206,7 @@ module Google
|
|
192
206
|
# Output only. Endpoint on which the REST APIs is accessible.
|
193
207
|
# @!attribute [r] gcs_bucket
|
194
208
|
# @return [::String]
|
195
|
-
# Output only. Cloud Storage bucket generated by Data Fusion in the customer
|
196
|
-
# project.
|
209
|
+
# Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
|
197
210
|
# @!attribute [rw] accelerators
|
198
211
|
# @return [::Array<::Google::Cloud::DataFusion::V1::Accelerator>]
|
199
212
|
# List of accelerators enabled for this CDF instance.
|
@@ -217,6 +230,9 @@ module Google
|
|
217
230
|
# @return [::Google::Cloud::DataFusion::V1::CryptoKeyConfig]
|
218
231
|
# The crypto key configuration. This field is used by the Customer-Managed
|
219
232
|
# Encryption Keys (CMEK) feature.
|
233
|
+
# @!attribute [r] disabled_reason
|
234
|
+
# @return [::Array<::Google::Cloud::DataFusion::V1::Instance::DisabledReason>]
|
235
|
+
# Output only. If the instance state is DISABLED, the reason for disabling the instance.
|
220
236
|
class Instance
|
221
237
|
include ::Google::Protobuf::MessageExts
|
222
238
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -295,13 +311,25 @@ module Google
|
|
295
311
|
|
296
312
|
# Instance is being auto-upgraded
|
297
313
|
AUTO_UPGRADING = 9
|
314
|
+
|
315
|
+
# Instance is disabled
|
316
|
+
DISABLED = 10
|
317
|
+
end
|
318
|
+
|
319
|
+
# The reason for disabling the instance if the state is DISABLED.
|
320
|
+
module DisabledReason
|
321
|
+
# This is an unknown reason for disabling.
|
322
|
+
DISABLED_REASON_UNSPECIFIED = 0
|
323
|
+
|
324
|
+
# The KMS key used by the instance is either revoked or denied access to
|
325
|
+
KMS_KEY_ISSUE = 1
|
298
326
|
end
|
299
327
|
end
|
300
328
|
|
301
329
|
# Request message for listing Data Fusion instances.
|
302
330
|
# @!attribute [rw] parent
|
303
331
|
# @return [::String]
|
304
|
-
# The project and location for which to retrieve instance information
|
332
|
+
# Required. The project and location for which to retrieve instance information
|
305
333
|
# in the format projects/\\{project}/locations/\\{location}. If the location is
|
306
334
|
# specified as '-' (wildcard), then all regions available to the project
|
307
335
|
# are queried, and the results are aggregated.
|
@@ -342,8 +370,8 @@ module Google
|
|
342
370
|
# Request message for the list available versions request.
|
343
371
|
# @!attribute [rw] parent
|
344
372
|
# @return [::String]
|
345
|
-
# Required. The project and location for which to retrieve instance
|
346
|
-
#
|
373
|
+
# Required. The project and location for which to retrieve instance information
|
374
|
+
# in the format projects/\\{project}/locations/\\{location}.
|
347
375
|
# @!attribute [rw] page_size
|
348
376
|
# @return [::Integer]
|
349
377
|
# The maximum number of items to return.
|
@@ -377,7 +405,7 @@ module Google
|
|
377
405
|
# Request message for getting details about a Data Fusion instance.
|
378
406
|
# @!attribute [rw] name
|
379
407
|
# @return [::String]
|
380
|
-
# The instance resource name in the format
|
408
|
+
# Required. The instance resource name in the format
|
381
409
|
# projects/\\{project}/locations/\\{location}/instances/\\{instance}.
|
382
410
|
class GetInstanceRequest
|
383
411
|
include ::Google::Protobuf::MessageExts
|
@@ -387,11 +415,11 @@ module Google
|
|
387
415
|
# Request message for creating a Data Fusion instance.
|
388
416
|
# @!attribute [rw] parent
|
389
417
|
# @return [::String]
|
390
|
-
# The instance's project and location in the format
|
418
|
+
# Required. The instance's project and location in the format
|
391
419
|
# projects/\\{project}/locations/\\{location}.
|
392
420
|
# @!attribute [rw] instance_id
|
393
421
|
# @return [::String]
|
394
|
-
# The name of the instance to create.
|
422
|
+
# Required. The name of the instance to create.
|
395
423
|
# @!attribute [rw] instance
|
396
424
|
# @return [::Google::Cloud::DataFusion::V1::Instance]
|
397
425
|
# An instance resource.
|
@@ -403,16 +431,19 @@ module Google
|
|
403
431
|
# Request message for deleting a Data Fusion instance.
|
404
432
|
# @!attribute [rw] name
|
405
433
|
# @return [::String]
|
406
|
-
# The instance resource name in the format
|
434
|
+
# Required. The instance resource name in the format
|
407
435
|
# projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
408
436
|
class DeleteInstanceRequest
|
409
437
|
include ::Google::Protobuf::MessageExts
|
410
438
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
411
439
|
end
|
412
440
|
|
441
|
+
# Request message for updating a Data Fusion instance.
|
442
|
+
# Data Fusion allows updating the labels, options, and stack driver settings.
|
443
|
+
# This is also used for CDF version upgrade.
|
413
444
|
# @!attribute [rw] instance
|
414
445
|
# @return [::Google::Cloud::DataFusion::V1::Instance]
|
415
|
-
# The instance resource that replaces the resource on the server. Currently,
|
446
|
+
# Required. The instance resource that replaces the resource on the server. Currently,
|
416
447
|
# Data Fusion only allows replacing labels, options, and stack driver
|
417
448
|
# settings. All other fields will be ignored.
|
418
449
|
# @!attribute [rw] update_mask
|
@@ -431,7 +462,7 @@ module Google
|
|
431
462
|
# Request message for restarting a Data Fusion instance.
|
432
463
|
# @!attribute [rw] name
|
433
464
|
# @return [::String]
|
434
|
-
# Name of the Data Fusion instance which need to be restarted in the form of
|
465
|
+
# Required. Name of the Data Fusion instance which need to be restarted in the form of
|
435
466
|
# projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
436
467
|
class RestartInstanceRequest
|
437
468
|
include ::Google::Protobuf::MessageExts
|
@@ -458,9 +489,8 @@ module Google
|
|
458
489
|
# @return [::Boolean]
|
459
490
|
# Identifies whether the user has requested cancellation
|
460
491
|
# of the operation. Operations that have successfully been cancelled
|
461
|
-
# have [Operation.error][] value with a
|
462
|
-
#
|
463
|
-
# `Code.CANCELLED`.
|
492
|
+
# have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
493
|
+
# corresponding to `Code.CANCELLED`.
|
464
494
|
# @!attribute [rw] api_version
|
465
495
|
# @return [::String]
|
466
496
|
# API version used to start the operation.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_fusion-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
|
-
rubygems_version: 3.
|
212
|
+
rubygems_version: 3.3.5
|
213
213
|
signing_key:
|
214
214
|
specification_version: 4
|
215
215
|
summary: API Client library for the Cloud Data Fusion V1 API
|