google-cloud-data_catalog-v1 0.7.3 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/data_catalog/v1/data_catalog.rb +2 -2
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +303 -291
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +1 -1
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +54 -45
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +4 -3
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +109 -22
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +48 -0
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +44 -0
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +179 -142
- data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +15 -14
- data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +5 -0
- data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +28 -14
- data/lib/google/cloud/datacatalog/v1/tags_pb.rb +3 -0
- data/lib/google/cloud/datacatalog/v1/usage_pb.rb +31 -0
- data/proto_docs/google/cloud/datacatalog/v1/bigquery.rb +87 -0
- data/proto_docs/google/cloud/datacatalog/v1/common.rb +1 -2
- data/proto_docs/google/cloud/datacatalog/v1/data_source.rb +6 -5
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +370 -246
- data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +16 -15
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +87 -71
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +34 -19
- data/proto_docs/google/cloud/datacatalog/v1/schema.rb +3 -3
- data/proto_docs/google/cloud/datacatalog/v1/search.rb +43 -29
- data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +23 -16
- data/proto_docs/google/cloud/datacatalog/v1/tags.rb +96 -51
- data/proto_docs/google/cloud/datacatalog/v1/timestamps.rb +12 -5
- data/proto_docs/google/cloud/datacatalog/v1/usage.rb +79 -0
- metadata +6 -2
@@ -21,17 +21,24 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module DataCatalog
|
23
23
|
module V1
|
24
|
-
# Timestamps
|
24
|
+
# Timestamps associated with this resource in a particular system.
|
25
25
|
# @!attribute [rw] create_time
|
26
26
|
# @return [::Google::Protobuf::Timestamp]
|
27
|
-
#
|
27
|
+
# Creation timestamp of the resource within the given system.
|
28
28
|
# @!attribute [rw] update_time
|
29
29
|
# @return [::Google::Protobuf::Timestamp]
|
30
|
-
#
|
30
|
+
# Timestamp of the last modification of the resource or its metadata within
|
31
|
+
# a given system.
|
32
|
+
#
|
33
|
+
# Note: Depending on the source system, not every modification updates this
|
34
|
+
# timestamp.
|
35
|
+
# For example, BigQuery timestamps every metadata modification but not data
|
36
|
+
# or permission changes.
|
31
37
|
# @!attribute [r] expire_time
|
32
38
|
# @return [::Google::Protobuf::Timestamp]
|
33
|
-
# Output only.
|
34
|
-
#
|
39
|
+
# Output only. Expiration timestamp of the resource within the given system.
|
40
|
+
#
|
41
|
+
# Currently only applicable to BigQuery resources.
|
35
42
|
class SystemTimestamps
|
36
43
|
include ::Google::Protobuf::MessageExts
|
37
44
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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 DataCatalog
|
23
|
+
module V1
|
24
|
+
# Detailed statistics on the entry's usage.
|
25
|
+
#
|
26
|
+
# Usage statistics have the following limitations:
|
27
|
+
#
|
28
|
+
# - Only BigQuery tables have them.
|
29
|
+
# - They only include BigQuery query jobs.
|
30
|
+
# - They might be underestimated because wildcard table references
|
31
|
+
# are not yet counted. For more information, see
|
32
|
+
# [Querying multiple tables using a wildcard table]
|
33
|
+
# (https://cloud.google.com/bigquery/docs/querying-wildcard-tables)
|
34
|
+
# @!attribute [rw] total_completions
|
35
|
+
# @return [::Float]
|
36
|
+
# The number of successful uses of the underlying entry.
|
37
|
+
# @!attribute [rw] total_failures
|
38
|
+
# @return [::Float]
|
39
|
+
# The number of failed attempts to use the underlying entry.
|
40
|
+
# @!attribute [rw] total_cancellations
|
41
|
+
# @return [::Float]
|
42
|
+
# The number of cancelled attempts to use the underlying entry.
|
43
|
+
# @!attribute [rw] total_execution_time_for_completions_millis
|
44
|
+
# @return [::Float]
|
45
|
+
# Total time spent only on successful uses, in milliseconds.
|
46
|
+
class UsageStats
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
|
51
|
+
# The set of all usage signals that Data Catalog stores.
|
52
|
+
#
|
53
|
+
# Note: Usually, these signals are updated daily. In rare cases, an update may
|
54
|
+
# fail but will be performed again on the next day.
|
55
|
+
# @!attribute [rw] update_time
|
56
|
+
# @return [::Google::Protobuf::Timestamp]
|
57
|
+
# The end timestamp of the duration of usage statistics.
|
58
|
+
# @!attribute [rw] usage_within_time_range
|
59
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::UsageStats}]
|
60
|
+
# Usage statistics over each of the predefined time ranges.
|
61
|
+
#
|
62
|
+
# Supported time ranges are `{"24H", "7D", "30D"}`.
|
63
|
+
class UsageSignal
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
|
67
|
+
# @!attribute [rw] key
|
68
|
+
# @return [::String]
|
69
|
+
# @!attribute [rw] value
|
70
|
+
# @return [::Google::Cloud::DataCatalog::V1::UsageStats]
|
71
|
+
class UsageWithinTimeRangeEntry
|
72
|
+
include ::Google::Protobuf::MessageExts
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_catalog-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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: 2021-07-
|
11
|
+
date: 2021-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -206,6 +206,7 @@ files:
|
|
206
206
|
- lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/credentials.rb
|
207
207
|
- lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/paths.rb
|
208
208
|
- lib/google/cloud/data_catalog/v1/version.rb
|
209
|
+
- lib/google/cloud/datacatalog/v1/bigquery_pb.rb
|
209
210
|
- lib/google/cloud/datacatalog/v1/common_pb.rb
|
210
211
|
- lib/google/cloud/datacatalog/v1/data_source_pb.rb
|
211
212
|
- lib/google/cloud/datacatalog/v1/datacatalog_pb.rb
|
@@ -220,9 +221,11 @@ files:
|
|
220
221
|
- lib/google/cloud/datacatalog/v1/table_spec_pb.rb
|
221
222
|
- lib/google/cloud/datacatalog/v1/tags_pb.rb
|
222
223
|
- lib/google/cloud/datacatalog/v1/timestamps_pb.rb
|
224
|
+
- lib/google/cloud/datacatalog/v1/usage_pb.rb
|
223
225
|
- proto_docs/README.md
|
224
226
|
- proto_docs/google/api/field_behavior.rb
|
225
227
|
- proto_docs/google/api/resource.rb
|
228
|
+
- proto_docs/google/cloud/datacatalog/v1/bigquery.rb
|
226
229
|
- proto_docs/google/cloud/datacatalog/v1/common.rb
|
227
230
|
- proto_docs/google/cloud/datacatalog/v1/data_source.rb
|
228
231
|
- proto_docs/google/cloud/datacatalog/v1/datacatalog.rb
|
@@ -234,6 +237,7 @@ files:
|
|
234
237
|
- proto_docs/google/cloud/datacatalog/v1/table_spec.rb
|
235
238
|
- proto_docs/google/cloud/datacatalog/v1/tags.rb
|
236
239
|
- proto_docs/google/cloud/datacatalog/v1/timestamps.rb
|
240
|
+
- proto_docs/google/cloud/datacatalog/v1/usage.rb
|
237
241
|
- proto_docs/google/iam/v1/iam_policy.rb
|
238
242
|
- proto_docs/google/iam/v1/options.rb
|
239
243
|
- proto_docs/google/iam/v1/policy.rb
|