google-cloud-data_catalog-v1 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog.rb +2 -2
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +312 -324
- 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 +56 -46
- 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 +110 -23
- 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 +16 -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/api/field_behavior.rb +7 -1
- 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 +98 -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
- data/proto_docs/google/type/expr.rb +35 -12
- metadata +19 -9
@@ -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
|
@@ -19,30 +19,53 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Type
|
22
|
-
# Represents
|
22
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
23
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
24
|
+
# are documented at https://github.com/google/cel-spec.
|
23
25
|
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
26
|
+
# Example (Comparison):
|
27
|
+
#
|
28
|
+
# title: "Summary size limit"
|
29
|
+
# description: "Determines if a summary is less than 100 chars"
|
30
|
+
# expression: "document.summary.size() < 100"
|
31
|
+
#
|
32
|
+
# Example (Equality):
|
33
|
+
#
|
34
|
+
# title: "Requestor is owner"
|
35
|
+
# description: "Determines if requestor is the document owner"
|
36
|
+
# expression: "document.owner == request.auth.claims.email"
|
37
|
+
#
|
38
|
+
# Example (Logic):
|
39
|
+
#
|
40
|
+
# title: "Public documents"
|
41
|
+
# description: "Determine whether the document should be publicly visible"
|
42
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
43
|
+
#
|
44
|
+
# Example (Data Manipulation):
|
45
|
+
#
|
46
|
+
# title: "Notification string"
|
47
|
+
# description: "Create a notification string with a timestamp."
|
48
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
49
|
+
#
|
50
|
+
# The exact variables and functions that may be referenced within an expression
|
51
|
+
# are determined by the service that evaluates it. See the service
|
52
|
+
# documentation for additional information.
|
27
53
|
# @!attribute [rw] expression
|
28
54
|
# @return [::String]
|
29
|
-
# Textual representation of an expression in
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# The application context of the containing message determines which
|
33
|
-
# well-known feature set of CEL is supported.
|
55
|
+
# Textual representation of an expression in Common Expression Language
|
56
|
+
# syntax.
|
34
57
|
# @!attribute [rw] title
|
35
58
|
# @return [::String]
|
36
|
-
#
|
59
|
+
# Optional. Title for the expression, i.e. a short string describing
|
37
60
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
38
61
|
# expression.
|
39
62
|
# @!attribute [rw] description
|
40
63
|
# @return [::String]
|
41
|
-
#
|
64
|
+
# Optional. Description of the expression. This is a longer text which
|
42
65
|
# describes the expression, e.g. when hovered over it in a UI.
|
43
66
|
# @!attribute [rw] location
|
44
67
|
# @return [::String]
|
45
|
-
#
|
68
|
+
# Optional. String indicating the location of the expression for error
|
46
69
|
# reporting, e.g. a file name and a position in the file.
|
47
70
|
class Expr
|
48
71
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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-
|
11
|
+
date: 2021-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.5'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.5'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,7 +53,7 @@ dependencies:
|
|
47
53
|
version: 0.6.10
|
48
54
|
- - "<"
|
49
55
|
- !ruby/object:Gem::Version
|
50
|
-
version:
|
56
|
+
version: 2.a
|
51
57
|
type: :runtime
|
52
58
|
prerelease: false
|
53
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +63,7 @@ dependencies:
|
|
57
63
|
version: 0.6.10
|
58
64
|
- - "<"
|
59
65
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
66
|
+
version: 2.a
|
61
67
|
- !ruby/object:Gem::Dependency
|
62
68
|
name: google-style
|
63
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,6 +206,7 @@ files:
|
|
200
206
|
- lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/credentials.rb
|
201
207
|
- lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/paths.rb
|
202
208
|
- lib/google/cloud/data_catalog/v1/version.rb
|
209
|
+
- lib/google/cloud/datacatalog/v1/bigquery_pb.rb
|
203
210
|
- lib/google/cloud/datacatalog/v1/common_pb.rb
|
204
211
|
- lib/google/cloud/datacatalog/v1/data_source_pb.rb
|
205
212
|
- lib/google/cloud/datacatalog/v1/datacatalog_pb.rb
|
@@ -214,9 +221,11 @@ files:
|
|
214
221
|
- lib/google/cloud/datacatalog/v1/table_spec_pb.rb
|
215
222
|
- lib/google/cloud/datacatalog/v1/tags_pb.rb
|
216
223
|
- lib/google/cloud/datacatalog/v1/timestamps_pb.rb
|
224
|
+
- lib/google/cloud/datacatalog/v1/usage_pb.rb
|
217
225
|
- proto_docs/README.md
|
218
226
|
- proto_docs/google/api/field_behavior.rb
|
219
227
|
- proto_docs/google/api/resource.rb
|
228
|
+
- proto_docs/google/cloud/datacatalog/v1/bigquery.rb
|
220
229
|
- proto_docs/google/cloud/datacatalog/v1/common.rb
|
221
230
|
- proto_docs/google/cloud/datacatalog/v1/data_source.rb
|
222
231
|
- proto_docs/google/cloud/datacatalog/v1/datacatalog.rb
|
@@ -228,6 +237,7 @@ files:
|
|
228
237
|
- proto_docs/google/cloud/datacatalog/v1/table_spec.rb
|
229
238
|
- proto_docs/google/cloud/datacatalog/v1/tags.rb
|
230
239
|
- proto_docs/google/cloud/datacatalog/v1/timestamps.rb
|
240
|
+
- proto_docs/google/cloud/datacatalog/v1/usage.rb
|
231
241
|
- proto_docs/google/iam/v1/iam_policy.rb
|
232
242
|
- proto_docs/google/iam/v1/options.rb
|
233
243
|
- proto_docs/google/iam/v1/policy.rb
|
@@ -254,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
264
|
- !ruby/object:Gem::Version
|
255
265
|
version: '0'
|
256
266
|
requirements: []
|
257
|
-
rubygems_version: 3.2.
|
267
|
+
rubygems_version: 3.2.17
|
258
268
|
signing_key:
|
259
269
|
specification_version: 4
|
260
270
|
summary: API Client library for the Data Catalog V1 API
|