google-cloud-dataplex-v1 0.7.0 → 0.9.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/README.md +1 -1
- data/lib/google/cloud/dataplex/v1/analyze_pb.rb +26 -81
- data/lib/google/cloud/dataplex/v1/content_pb.rb +26 -33
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +6 -4
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +6 -4
- data/lib/google/cloud/dataplex/v1/content_service/rest/service_stub.rb +8 -8
- data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +26 -50
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +25 -74
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +16 -8
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +5 -3
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +16 -8
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +9 -7
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +8 -8
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +99 -4
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +5 -3
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +76 -4
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +9 -7
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +92 -32
- data/lib/google/cloud/dataplex/v1/datascans_pb.rb +31 -121
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +26 -151
- data/lib/google/cloud/dataplex/v1/metadata_pb.rb +27 -191
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +6 -4
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +6 -4
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/service_stub.rb +9 -9
- data/lib/google/cloud/dataplex/v1/processing_pb.rb +24 -27
- data/lib/google/cloud/dataplex/v1/resources_pb.rb +27 -238
- data/lib/google/cloud/dataplex/v1/rest.rb +1 -1
- data/lib/google/cloud/dataplex/v1/service_pb.rb +31 -196
- data/lib/google/cloud/dataplex/v1/service_services_pb.rb +2 -0
- data/lib/google/cloud/dataplex/v1/tasks_pb.rb +26 -113
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/dataplex/v1/analyze.rb +4 -0
- data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +64 -87
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +54 -32
- data/proto_docs/google/cloud/dataplex/v1/datascans.rb +10 -2
- data/proto_docs/google/cloud/dataplex/v1/metadata.rb +31 -2
- data/proto_docs/google/cloud/dataplex/v1/processing.rb +23 -13
- data/proto_docs/google/cloud/dataplex/v1/resources.rb +24 -6
- data/proto_docs/google/cloud/dataplex/v1/service.rb +17 -0
- data/proto_docs/google/cloud/dataplex/v1/tasks.rb +2 -3
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
@@ -249,9 +249,8 @@ module Google
|
|
249
249
|
# discovery every 60 minutes. To explicitly set a timezone to the cron
|
250
250
|
# tab, apply a prefix in the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or
|
251
251
|
# TZ=$\\{IANA_TIME_ZONE}". The $\\{IANA_TIME_ZONE} may only be a valid string
|
252
|
-
# from IANA time zone database. For example,
|
253
|
-
# `
|
254
|
-
# or `TZ=America/New_York 1 * * * *`.
|
252
|
+
# from IANA time zone database. For example, `CRON_TZ=America/New_York 1
|
253
|
+
# * * * *`, or `TZ=America/New_York 1 * * * *`.
|
255
254
|
class DiscoverySpec
|
256
255
|
include ::Google::Protobuf::MessageExts
|
257
256
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -629,9 +628,8 @@ module Google
|
|
629
628
|
# discovery every 60 minutes. To explicitly set a timezone to the cron
|
630
629
|
# tab, apply a prefix in the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or
|
631
630
|
# TZ=$\\{IANA_TIME_ZONE}". The $\\{IANA_TIME_ZONE} may only be a valid string
|
632
|
-
# from IANA time zone database. For example,
|
633
|
-
# `
|
634
|
-
# or `TZ=America/New_York 1 * * * *`.
|
631
|
+
# from IANA time zone database. For example, `CRON_TZ=America/New_York 1
|
632
|
+
# * * * *`, or `TZ=America/New_York 1 * * * *`.
|
635
633
|
class DiscoverySpec
|
636
634
|
include ::Google::Protobuf::MessageExts
|
637
635
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -682,6 +680,10 @@ module Google
|
|
682
680
|
# @!attribute [rw] type
|
683
681
|
# @return [::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::Type]
|
684
682
|
# Required. Immutable. Type of resource.
|
683
|
+
# @!attribute [rw] read_access_mode
|
684
|
+
# @return [::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::AccessMode]
|
685
|
+
# Optional. Determines how read permissions are handled for each asset and
|
686
|
+
# their associated tables. Only available to storage buckets assets.
|
685
687
|
class ResourceSpec
|
686
688
|
include ::Google::Protobuf::MessageExts
|
687
689
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -697,6 +699,19 @@ module Google
|
|
697
699
|
# BigQuery dataset.
|
698
700
|
BIGQUERY_DATASET = 2
|
699
701
|
end
|
702
|
+
|
703
|
+
# Access Mode determines how data stored within the resource is read. This
|
704
|
+
# is only applicable to storage bucket assets.
|
705
|
+
module AccessMode
|
706
|
+
# Access mode unspecified.
|
707
|
+
ACCESS_MODE_UNSPECIFIED = 0
|
708
|
+
|
709
|
+
# Default. Data is accessed directly using storage APIs.
|
710
|
+
DIRECT = 1
|
711
|
+
|
712
|
+
# Data is accessed through a managed interface using BigQuery APIs.
|
713
|
+
MANAGED = 2
|
714
|
+
end
|
700
715
|
end
|
701
716
|
|
702
717
|
# Status of the resource referenced by an asset.
|
@@ -709,6 +724,9 @@ module Google
|
|
709
724
|
# @!attribute [rw] update_time
|
710
725
|
# @return [::Google::Protobuf::Timestamp]
|
711
726
|
# Last update time of the status.
|
727
|
+
# @!attribute [r] managed_access_identity
|
728
|
+
# @return [::String]
|
729
|
+
# Output only. Service account associated with the BigQuery Connection.
|
712
730
|
class ResourceStatus
|
713
731
|
include ::Google::Protobuf::MessageExts
|
714
732
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -553,6 +553,23 @@ module Google
|
|
553
553
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
554
554
|
end
|
555
555
|
|
556
|
+
# @!attribute [rw] name
|
557
|
+
# @return [::String]
|
558
|
+
# Required. The resource name of the task:
|
559
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
|
560
|
+
class RunTaskRequest
|
561
|
+
include ::Google::Protobuf::MessageExts
|
562
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
563
|
+
end
|
564
|
+
|
565
|
+
# @!attribute [rw] job
|
566
|
+
# @return [::Google::Cloud::Dataplex::V1::Job]
|
567
|
+
# Jobs created by RunTask API.
|
568
|
+
class RunTaskResponse
|
569
|
+
include ::Google::Protobuf::MessageExts
|
570
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
571
|
+
end
|
572
|
+
|
556
573
|
# List jobs request.
|
557
574
|
# @!attribute [rw] parent
|
558
575
|
# @return [::String]
|
@@ -174,9 +174,8 @@ module Google
|
|
174
174
|
# tab, apply a prefix in the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or
|
175
175
|
# "TZ=$\\{IANA_TIME_ZONE}". The $\\{IANA_TIME_ZONE} may only be a valid
|
176
176
|
# string from IANA time zone database. For example,
|
177
|
-
# `CRON_TZ=America/New_York 1 * * * *`,
|
178
|
-
#
|
179
|
-
# This field is required for RECURRING tasks.
|
177
|
+
# `CRON_TZ=America/New_York 1 * * * *`, or `TZ=America/New_York 1 * * *
|
178
|
+
# *`. This field is required for RECURRING tasks.
|
180
179
|
class TriggerSpec
|
181
180
|
include ::Google::Protobuf::MessageExts
|
182
181
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataplex-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 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.19.1
|
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.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|