google-cloud-data_catalog-v1 0.7.3 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +989 -432
- data/lib/google/cloud/data_catalog/v1/data_catalog.rb +2 -2
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +394 -133
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +1 -1
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +198 -61
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +4 -3
- 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/data_source_pb.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +46 -2
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +180 -143
- data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +16 -15
- data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +7 -2
- data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +29 -15
- data/lib/google/cloud/datacatalog/v1/schema_pb.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/search_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/tags_pb.rb +5 -2
- data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +2 -2
- 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 +8 -4
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/datacatalog/v1/search.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/cloud/datacatalog/v1/common_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/datacatalog/v1/search.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.datacatalog.v1.SearchCatalogResult" do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/datacatalog/v1/table_spec.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/datacatalog/v1/table_spec.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.datacatalog.v1.BigQueryTableSpec" do
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/datacatalog/v1/tags.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/datacatalog/v1/tags.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.datacatalog.v1.Tag" do
|
@@ -26,6 +26,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
26
|
optional :bool_value, :bool, 4
|
27
27
|
optional :timestamp_value, :message, 5, "google.protobuf.Timestamp"
|
28
28
|
optional :enum_value, :message, 6, "google.cloud.datacatalog.v1.TagField.EnumValue"
|
29
|
+
optional :richtext_value, :string, 8
|
29
30
|
end
|
30
31
|
end
|
31
32
|
add_message "google.cloud.datacatalog.v1.TagField.EnumValue" do
|
@@ -34,6 +35,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
34
35
|
add_message "google.cloud.datacatalog.v1.TagTemplate" do
|
35
36
|
optional :name, :string, 1
|
36
37
|
optional :display_name, :string, 2
|
38
|
+
optional :is_publicly_readable, :bool, 5
|
37
39
|
map :fields, :string, :message, 3, "google.cloud.datacatalog.v1.TagTemplateField"
|
38
40
|
end
|
39
41
|
add_message "google.cloud.datacatalog.v1.TagTemplateField" do
|
@@ -62,6 +64,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
64
|
value :STRING, 2
|
63
65
|
value :BOOL, 3
|
64
66
|
value :TIMESTAMP, 4
|
67
|
+
value :RICHTEXT, 5
|
65
68
|
end
|
66
69
|
end
|
67
70
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/datacatalog/v1/timestamps.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/protobuf/timestamp_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/datacatalog/v1/timestamps.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.datacatalog.v1.SystemTimestamps" do
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/datacatalog/v1/usage.proto
|
3
|
+
|
4
|
+
require 'google/protobuf/timestamp_pb'
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_file("google/cloud/datacatalog/v1/usage.proto", :syntax => :proto3) do
|
9
|
+
add_message "google.cloud.datacatalog.v1.UsageStats" do
|
10
|
+
optional :total_completions, :float, 1
|
11
|
+
optional :total_failures, :float, 2
|
12
|
+
optional :total_cancellations, :float, 3
|
13
|
+
optional :total_execution_time_for_completions_millis, :float, 4
|
14
|
+
end
|
15
|
+
add_message "google.cloud.datacatalog.v1.UsageSignal" do
|
16
|
+
optional :update_time, :message, 1, "google.protobuf.Timestamp"
|
17
|
+
map :usage_within_time_range, :string, :message, 2, "google.cloud.datacatalog.v1.UsageStats"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module DataCatalog
|
25
|
+
module V1
|
26
|
+
UsageStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UsageStats").msgclass
|
27
|
+
UsageSignal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UsageSignal").msgclass
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,87 @@
|
|
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
|
+
# Specification for the BigQuery connection.
|
25
|
+
# @!attribute [rw] connection_type
|
26
|
+
# @return [::Google::Cloud::DataCatalog::V1::BigQueryConnectionSpec::ConnectionType]
|
27
|
+
# The type of the BigQuery connection.
|
28
|
+
# @!attribute [rw] cloud_sql
|
29
|
+
# @return [::Google::Cloud::DataCatalog::V1::CloudSqlBigQueryConnectionSpec]
|
30
|
+
# Specification for the BigQuery connection to a Cloud SQL instance.
|
31
|
+
# @!attribute [rw] has_credential
|
32
|
+
# @return [::Boolean]
|
33
|
+
# True if there are credentials attached to the BigQuery connection; false
|
34
|
+
# otherwise.
|
35
|
+
class BigQueryConnectionSpec
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
|
39
|
+
# The type of the BigQuery connection.
|
40
|
+
module ConnectionType
|
41
|
+
# Unspecified type.
|
42
|
+
CONNECTION_TYPE_UNSPECIFIED = 0
|
43
|
+
|
44
|
+
# Cloud SQL connection.
|
45
|
+
CLOUD_SQL = 1
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# Specification for the BigQuery connection to a Cloud SQL instance.
|
50
|
+
# @!attribute [rw] instance_id
|
51
|
+
# @return [::String]
|
52
|
+
# Cloud SQL instance ID in the format of `project:location:instance`.
|
53
|
+
# @!attribute [rw] database
|
54
|
+
# @return [::String]
|
55
|
+
# Database name.
|
56
|
+
# @!attribute [rw] type
|
57
|
+
# @return [::Google::Cloud::DataCatalog::V1::CloudSqlBigQueryConnectionSpec::DatabaseType]
|
58
|
+
# Type of the Cloud SQL database.
|
59
|
+
class CloudSqlBigQueryConnectionSpec
|
60
|
+
include ::Google::Protobuf::MessageExts
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
|
63
|
+
# Supported Cloud SQL database types.
|
64
|
+
module DatabaseType
|
65
|
+
# Unspecified database type.
|
66
|
+
DATABASE_TYPE_UNSPECIFIED = 0
|
67
|
+
|
68
|
+
# Cloud SQL for PostgreSQL.
|
69
|
+
POSTGRES = 1
|
70
|
+
|
71
|
+
# Cloud SQL for MySQL.
|
72
|
+
MYSQL = 2
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# Fields specific for BigQuery routines.
|
77
|
+
# @!attribute [rw] imported_libraries
|
78
|
+
# @return [::Array<::String>]
|
79
|
+
# Paths of the imported libraries.
|
80
|
+
class BigQueryRoutineSpec
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -21,8 +21,7 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module DataCatalog
|
23
23
|
module V1
|
24
|
-
# This enum
|
25
|
-
# with.
|
24
|
+
# This enum lists all the systems that Data Catalog integrates with.
|
26
25
|
module IntegratedSystem
|
27
26
|
# Default unknown system.
|
28
27
|
INTEGRATED_SYSTEM_UNSPECIFIED = 0
|
@@ -21,19 +21,20 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module DataCatalog
|
23
23
|
module V1
|
24
|
-
#
|
24
|
+
# Physical location of an entry.
|
25
25
|
# @!attribute [rw] service
|
26
26
|
# @return [::Google::Cloud::DataCatalog::V1::DataSource::Service]
|
27
|
-
# Service
|
27
|
+
# Service that physically stores the data.
|
28
28
|
# @!attribute [rw] resource
|
29
29
|
# @return [::String]
|
30
|
-
# Full name of
|
31
|
-
#
|
30
|
+
# Full name of a resource as defined by the service. For example:
|
31
|
+
#
|
32
|
+
# `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
|
32
33
|
class DataSource
|
33
34
|
include ::Google::Protobuf::MessageExts
|
34
35
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
36
|
|
36
|
-
#
|
37
|
+
# Name of a service that stores the data.
|
37
38
|
module Service
|
38
39
|
# Default unknown service.
|
39
40
|
SERVICE_UNSPECIFIED = 0
|