google-cloud-data_catalog-v1 0.13.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +276 -13
- data/lib/google/cloud/data_catalog/v1/data_catalog/operations.rb +768 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/client.rb +3214 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/operations.rb +792 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/service_stub.rb +2142 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest.rb +54 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog.rb +7 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +6 -3
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/client.rb +1273 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/service_stub.rb +846 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest.rb +57 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +6 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +6 -4
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/client.rb +538 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/service_stub.rb +227 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest.rb +55 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +6 -0
- data/lib/google/cloud/data_catalog/v1/rest.rb +39 -0
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/lib/google/cloud/data_catalog/v1.rb +5 -0
- data/lib/google/cloud/datacatalog/v1/common_pb.rb +8 -0
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +90 -0
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +33 -0
- data/lib/google/cloud/datacatalog/v1/dump_content_pb.rb +35 -0
- data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +8 -0
- data/lib/google/cloud/datacatalog/v1/schema_pb.rb +28 -0
- data/lib/google/cloud/datacatalog/v1/usage_pb.rb +6 -0
- data/proto_docs/google/api/client.rb +9 -3
- data/proto_docs/google/cloud/datacatalog/v1/common.rb +19 -0
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +283 -21
- data/proto_docs/google/cloud/datacatalog/v1/dump_content.rb +53 -0
- data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +2 -1
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +23 -2
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +6 -3
- data/proto_docs/google/cloud/datacatalog/v1/schema.rb +68 -3
- data/proto_docs/google/cloud/datacatalog/v1/search.rb +2 -2
- data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +5 -5
- data/proto_docs/google/cloud/datacatalog/v1/tags.rb +11 -8
- data/proto_docs/google/cloud/datacatalog/v1/usage.rb +30 -1
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +23 -5
@@ -7,6 +7,7 @@ require 'google/api/annotations_pb'
|
|
7
7
|
require 'google/api/client_pb'
|
8
8
|
require 'google/api/field_behavior_pb'
|
9
9
|
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/datacatalog/v1/common_pb'
|
10
11
|
require 'google/cloud/datacatalog/v1/timestamps_pb'
|
11
12
|
require 'google/iam/v1/iam_policy_pb'
|
12
13
|
require 'google/iam/v1/policy_pb'
|
@@ -22,6 +23,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
23
|
optional :policy_tag_count, :int32, 4
|
23
24
|
optional :taxonomy_timestamps, :message, 5, "google.cloud.datacatalog.v1.SystemTimestamps"
|
24
25
|
repeated :activated_policy_types, :enum, 6, "google.cloud.datacatalog.v1.Taxonomy.PolicyType"
|
26
|
+
optional :service, :message, 7, "google.cloud.datacatalog.v1.Taxonomy.Service"
|
27
|
+
end
|
28
|
+
add_message "google.cloud.datacatalog.v1.Taxonomy.Service" do
|
29
|
+
optional :name, :enum, 1, "google.cloud.datacatalog.v1.ManagingSystem"
|
30
|
+
optional :identity, :string, 2
|
25
31
|
end
|
26
32
|
add_enum "google.cloud.datacatalog.v1.Taxonomy.PolicyType" do
|
27
33
|
value :POLICY_TYPE_UNSPECIFIED, 0
|
@@ -49,6 +55,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
49
55
|
optional :parent, :string, 1
|
50
56
|
optional :page_size, :int32, 2
|
51
57
|
optional :page_token, :string, 3
|
58
|
+
optional :filter, :string, 4
|
52
59
|
end
|
53
60
|
add_message "google.cloud.datacatalog.v1.ListTaxonomiesResponse" do
|
54
61
|
repeated :taxonomies, :message, 1, "google.cloud.datacatalog.v1.Taxonomy"
|
@@ -88,6 +95,7 @@ module Google
|
|
88
95
|
module DataCatalog
|
89
96
|
module V1
|
90
97
|
Taxonomy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Taxonomy").msgclass
|
98
|
+
Taxonomy::Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Taxonomy.Service").msgclass
|
91
99
|
Taxonomy::PolicyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Taxonomy.PolicyType").enummodule
|
92
100
|
PolicyTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PolicyTag").msgclass
|
93
101
|
CreateTaxonomyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateTaxonomyRequest").msgclass
|
@@ -15,7 +15,32 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
15
|
optional :type, :string, 1
|
16
16
|
optional :description, :string, 2
|
17
17
|
optional :mode, :string, 3
|
18
|
+
optional :default_value, :string, 8
|
19
|
+
optional :ordinal_position, :int32, 9
|
20
|
+
optional :highest_indexing_type, :enum, 10, "google.cloud.datacatalog.v1.ColumnSchema.IndexingType"
|
18
21
|
repeated :subcolumns, :message, 7, "google.cloud.datacatalog.v1.ColumnSchema"
|
22
|
+
optional :gc_rule, :string, 11
|
23
|
+
oneof :system_spec do
|
24
|
+
optional :looker_column_spec, :message, 18, "google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
add_message "google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec" do
|
28
|
+
optional :type, :enum, 1, "google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType"
|
29
|
+
end
|
30
|
+
add_enum "google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType" do
|
31
|
+
value :LOOKER_COLUMN_TYPE_UNSPECIFIED, 0
|
32
|
+
value :DIMENSION, 1
|
33
|
+
value :DIMENSION_GROUP, 2
|
34
|
+
value :FILTER, 3
|
35
|
+
value :MEASURE, 4
|
36
|
+
value :PARAMETER, 5
|
37
|
+
end
|
38
|
+
add_enum "google.cloud.datacatalog.v1.ColumnSchema.IndexingType" do
|
39
|
+
value :INDEXING_TYPE_UNSPECIFIED, 0
|
40
|
+
value :INDEXING_TYPE_NONE, 1
|
41
|
+
value :INDEXING_TYPE_NON_UNIQUE, 2
|
42
|
+
value :INDEXING_TYPE_UNIQUE, 3
|
43
|
+
value :INDEXING_TYPE_PRIMARY_KEY, 4
|
19
44
|
end
|
20
45
|
end
|
21
46
|
end
|
@@ -26,6 +51,9 @@ module Google
|
|
26
51
|
module V1
|
27
52
|
Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Schema").msgclass
|
28
53
|
ColumnSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ColumnSchema").msgclass
|
54
|
+
ColumnSchema::LookerColumnSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec").msgclass
|
55
|
+
ColumnSchema::LookerColumnSpec::LookerColumnType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType").enummodule
|
56
|
+
ColumnSchema::IndexingType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ColumnSchema.IndexingType").enummodule
|
29
57
|
end
|
30
58
|
end
|
31
59
|
end
|
@@ -14,9 +14,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
14
14
|
optional :total_cancellations, :float, 3
|
15
15
|
optional :total_execution_time_for_completions_millis, :float, 4
|
16
16
|
end
|
17
|
+
add_message "google.cloud.datacatalog.v1.CommonUsageStats" do
|
18
|
+
proto3_optional :view_count, :int64, 1
|
19
|
+
end
|
17
20
|
add_message "google.cloud.datacatalog.v1.UsageSignal" do
|
18
21
|
optional :update_time, :message, 1, "google.protobuf.Timestamp"
|
19
22
|
map :usage_within_time_range, :string, :message, 2, "google.cloud.datacatalog.v1.UsageStats"
|
23
|
+
map :common_usage_within_time_range, :string, :message, 3, "google.cloud.datacatalog.v1.CommonUsageStats"
|
24
|
+
proto3_optional :favorite_count, :int64, 4
|
20
25
|
end
|
21
26
|
end
|
22
27
|
end
|
@@ -26,6 +31,7 @@ module Google
|
|
26
31
|
module DataCatalog
|
27
32
|
module V1
|
28
33
|
UsageStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UsageStats").msgclass
|
34
|
+
CommonUsageStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CommonUsageStats").msgclass
|
29
35
|
UsageSignal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UsageSignal").msgclass
|
30
36
|
end
|
31
37
|
end
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -240,8 +246,8 @@ module Google
|
|
240
246
|
# Example of a YAML configuration::
|
241
247
|
#
|
242
248
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
249
|
+
# method_settings:
|
250
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
251
|
# long_running:
|
246
252
|
# initial_poll_delay:
|
247
253
|
# seconds: 60 # 1 minute
|
@@ -49,6 +49,25 @@ module Google
|
|
49
49
|
|
50
50
|
# Dataplex.
|
51
51
|
DATAPLEX = 4
|
52
|
+
|
53
|
+
# Cloud Sql
|
54
|
+
CLOUD_SQL = 8
|
55
|
+
|
56
|
+
# Looker
|
57
|
+
LOOKER = 9
|
58
|
+
end
|
59
|
+
|
60
|
+
# This enum describes all the systems that manage
|
61
|
+
# Taxonomy and PolicyTag resources in DataCatalog.
|
62
|
+
module ManagingSystem
|
63
|
+
# Default value
|
64
|
+
MANAGING_SYSTEM_UNSPECIFIED = 0
|
65
|
+
|
66
|
+
# Dataplex.
|
67
|
+
MANAGING_SYSTEM_DATAPLEX = 1
|
68
|
+
|
69
|
+
# Other
|
70
|
+
MANAGING_SYSTEM_OTHER = 2
|
52
71
|
end
|
53
72
|
end
|
54
73
|
end
|
@@ -32,9 +32,8 @@ module Google
|
|
32
32
|
# the request returns an error.
|
33
33
|
# @!attribute [rw] query
|
34
34
|
# @return [::String]
|
35
|
-
# Optional. The query string with a minimum of 3 characters and specific
|
36
|
-
# For more information, see
|
37
|
-
# [Data Catalog search
|
35
|
+
# Optional. The query string with a minimum of 3 characters and specific
|
36
|
+
# syntax. For more information, see [Data Catalog search
|
38
37
|
# syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
|
39
38
|
#
|
40
39
|
# An empty query string returns all data assets (in the specified scope)
|
@@ -54,10 +53,11 @@ module Google
|
|
54
53
|
# exception.
|
55
54
|
# @!attribute [rw] page_token
|
56
55
|
# @return [::String]
|
57
|
-
# Optional. Pagination token that, if specified, returns the next page of
|
58
|
-
# results. If empty, returns the first page.
|
56
|
+
# Optional. Pagination token that, if specified, returns the next page of
|
57
|
+
# search results. If empty, returns the first page.
|
59
58
|
#
|
60
|
-
# This token is returned in the
|
59
|
+
# This token is returned in the
|
60
|
+
# {::Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token}
|
61
61
|
# field of the response to a previous
|
62
62
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#search_catalog SearchCatalogRequest}
|
63
63
|
# call.
|
@@ -92,15 +92,15 @@ module Google
|
|
92
92
|
# numbers, see [Projects](/docs/overview/#projects).
|
93
93
|
# @!attribute [rw] include_gcp_public_datasets
|
94
94
|
# @return [::Boolean]
|
95
|
-
# If `true`, include Google Cloud
|
95
|
+
# If `true`, include Google Cloud public datasets in
|
96
96
|
# search results. By default, they are excluded.
|
97
97
|
#
|
98
98
|
# See [Google Cloud Public Datasets](/public-datasets) for more
|
99
99
|
# information.
|
100
100
|
# @!attribute [rw] restricted_locations
|
101
101
|
# @return [::Array<::String>]
|
102
|
-
# Optional. The list of locations to search within. If empty, all locations
|
103
|
-
# searched.
|
102
|
+
# Optional. The list of locations to search within. If empty, all locations
|
103
|
+
# are searched.
|
104
104
|
#
|
105
105
|
# Returns an error if any location in the list isn't one of the [Supported
|
106
106
|
# regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
|
@@ -116,8 +116,8 @@ module Google
|
|
116
116
|
# By default, all results are returned, starred or not.
|
117
117
|
# @!attribute [rw] include_public_tag_templates
|
118
118
|
# @return [::Boolean]
|
119
|
-
# Optional. This field is deprecated. The search mechanism for public and
|
120
|
-
# templates is the same.
|
119
|
+
# Optional. This field is deprecated. The search mechanism for public and
|
120
|
+
# private tag templates is the same.
|
121
121
|
class Scope
|
122
122
|
include ::Google::Protobuf::MessageExts
|
123
123
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -150,7 +150,8 @@ module Google
|
|
150
150
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#create_entry_group CreateEntryGroup}.
|
151
151
|
# @!attribute [rw] parent
|
152
152
|
# @return [::String]
|
153
|
-
# Required. The names of the project and location that the new entry group
|
153
|
+
# Required. The names of the project and location that the new entry group
|
154
|
+
# belongs to.
|
154
155
|
#
|
155
156
|
# Note: The entry group itself and its child resources might not be
|
156
157
|
# stored in the location specified in its name.
|
@@ -475,6 +476,14 @@ module Google
|
|
475
476
|
# * Must begin with a letter or underscore.
|
476
477
|
# * Can only contain letters, numbers, and underscores.
|
477
478
|
# * Must be at least 1 character and at most 64 characters long.
|
479
|
+
# @!attribute [rw] sql_database_system_spec
|
480
|
+
# @return [::Google::Cloud::DataCatalog::V1::SqlDatabaseSystemSpec]
|
481
|
+
# Specification that applies to a relational database system. Only settable
|
482
|
+
# when `user_specified_system` is equal to `SQL_DATABASE`
|
483
|
+
# @!attribute [rw] looker_system_spec
|
484
|
+
# @return [::Google::Cloud::DataCatalog::V1::LookerSystemSpec]
|
485
|
+
# Specification that applies to Looker sysstem. Only settable when
|
486
|
+
# `user_specified_system` is equal to `LOOKER`
|
478
487
|
# @!attribute [rw] gcs_fileset_spec
|
479
488
|
# @return [::Google::Cloud::DataCatalog::V1::GcsFilesetSpec]
|
480
489
|
# Specification that applies to a Cloud Storage fileset. Valid only
|
@@ -493,7 +502,7 @@ module Google
|
|
493
502
|
# @!attribute [rw] database_table_spec
|
494
503
|
# @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec]
|
495
504
|
# Specification that applies to a table resource. Valid only
|
496
|
-
# for entries with the `TABLE` type.
|
505
|
+
# for entries with the `TABLE` or `EXPLORE` type.
|
497
506
|
# @!attribute [rw] data_source_connection_spec
|
498
507
|
# @return [::Google::Cloud::DataCatalog::V1::DataSourceConnectionSpec]
|
499
508
|
# Specification that applies to a data source connection. Valid only
|
@@ -510,9 +519,7 @@ module Google
|
|
510
519
|
# @return [::String]
|
511
520
|
# Display name of an entry.
|
512
521
|
#
|
513
|
-
# The
|
514
|
-
# dashes (-), spaces ( ), and can't start or end with spaces.
|
515
|
-
# The maximum size is 200 bytes when encoded in UTF-8.
|
522
|
+
# The maximum size is 500 bytes when encoded in UTF-8.
|
516
523
|
# Default value is an empty string.
|
517
524
|
# @!attribute [rw] description
|
518
525
|
# @return [::String]
|
@@ -553,7 +560,8 @@ module Google
|
|
553
560
|
# Output only. Physical location of the entry.
|
554
561
|
# @!attribute [r] personal_details
|
555
562
|
# @return [::Google::Cloud::DataCatalog::V1::PersonalDetails]
|
556
|
-
# Output only. Additional information related to the entry. Private to the
|
563
|
+
# Output only. Additional information related to the entry. Private to the
|
564
|
+
# current user.
|
557
565
|
class Entry
|
558
566
|
include ::Google::Protobuf::MessageExts
|
559
567
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -577,10 +585,41 @@ module Google
|
|
577
585
|
# @return [::Google::Cloud::DataCatalog::V1::DataplexTableSpec]
|
578
586
|
# Output only. Fields specific to a Dataplex table and present only in the
|
579
587
|
# Dataplex table entries.
|
588
|
+
# @!attribute [rw] database_view_spec
|
589
|
+
# @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec]
|
590
|
+
# Spec what aplies to tables that are actually views.
|
591
|
+
# Not set for "real" tables.
|
580
592
|
class DatabaseTableSpec
|
581
593
|
include ::Google::Protobuf::MessageExts
|
582
594
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
583
595
|
|
596
|
+
# Specification that applies to database view.
|
597
|
+
# @!attribute [rw] view_type
|
598
|
+
# @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::DatabaseViewSpec::ViewType]
|
599
|
+
# Type of this view.
|
600
|
+
# @!attribute [rw] base_table
|
601
|
+
# @return [::String]
|
602
|
+
# Name of a singular table this view reflects one to one.
|
603
|
+
# @!attribute [rw] sql_query
|
604
|
+
# @return [::String]
|
605
|
+
# SQL query used to generate this view.
|
606
|
+
class DatabaseViewSpec
|
607
|
+
include ::Google::Protobuf::MessageExts
|
608
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
609
|
+
|
610
|
+
# Concrete type of the view.
|
611
|
+
module ViewType
|
612
|
+
# Default unknown view type.
|
613
|
+
VIEW_TYPE_UNSPECIFIED = 0
|
614
|
+
|
615
|
+
# Standard view.
|
616
|
+
STANDARD_VIEW = 1
|
617
|
+
|
618
|
+
# Materialized view.
|
619
|
+
MATERIALIZED_VIEW = 2
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
584
623
|
# Type of the table.
|
585
624
|
module TableType
|
586
625
|
# Default unknown table type.
|
@@ -691,6 +730,65 @@ module Google
|
|
691
730
|
end
|
692
731
|
end
|
693
732
|
|
733
|
+
# Specification that applies to
|
734
|
+
# entries that are part `SQL_DATABASE` system
|
735
|
+
# (user_specified_type)
|
736
|
+
# @!attribute [rw] sql_engine
|
737
|
+
# @return [::String]
|
738
|
+
# SQL Database Engine.
|
739
|
+
# enum SqlEngine {
|
740
|
+
# UNDEFINED = 0;
|
741
|
+
# MY_SQL = 1;
|
742
|
+
# POSTGRE_SQL = 2;
|
743
|
+
# SQL_SERVER = 3;
|
744
|
+
# }
|
745
|
+
# Engine of the enclosing database instance.
|
746
|
+
# @!attribute [rw] database_version
|
747
|
+
# @return [::String]
|
748
|
+
# Version of the database engine.
|
749
|
+
# @!attribute [rw] instance_host
|
750
|
+
# @return [::String]
|
751
|
+
# Host of the SQL database
|
752
|
+
# enum InstanceHost {
|
753
|
+
# UNDEFINED = 0;
|
754
|
+
# SELF_HOSTED = 1;
|
755
|
+
# CLOUD_SQL = 2;
|
756
|
+
# AMAZON_RDS = 3;
|
757
|
+
# AZURE_SQL = 4;
|
758
|
+
# }
|
759
|
+
# Host of the enclousing database instance.
|
760
|
+
class SqlDatabaseSystemSpec
|
761
|
+
include ::Google::Protobuf::MessageExts
|
762
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
763
|
+
end
|
764
|
+
|
765
|
+
# Specification that applies to
|
766
|
+
# entries that are part `LOOKER` system
|
767
|
+
# (user_specified_type)
|
768
|
+
# @!attribute [rw] parent_instance_id
|
769
|
+
# @return [::String]
|
770
|
+
# ID of the parent Looker Instance. Empty if it does not exist.
|
771
|
+
# Example value: `someinstance.looker.com`
|
772
|
+
# @!attribute [rw] parent_instance_display_name
|
773
|
+
# @return [::String]
|
774
|
+
# Name of the parent Looker Instance. Empty if it does not exist.
|
775
|
+
# @!attribute [rw] parent_model_id
|
776
|
+
# @return [::String]
|
777
|
+
# ID of the parent Model. Empty if it does not exist.
|
778
|
+
# @!attribute [rw] parent_model_display_name
|
779
|
+
# @return [::String]
|
780
|
+
# Name of the parent Model. Empty if it does not exist.
|
781
|
+
# @!attribute [rw] parent_view_id
|
782
|
+
# @return [::String]
|
783
|
+
# ID of the parent View. Empty if it does not exist.
|
784
|
+
# @!attribute [rw] parent_view_display_name
|
785
|
+
# @return [::String]
|
786
|
+
# Name of the parent View. Empty if it does not exist.
|
787
|
+
class LookerSystemSpec
|
788
|
+
include ::Google::Protobuf::MessageExts
|
789
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
790
|
+
end
|
791
|
+
|
694
792
|
# Business Context of the entry.
|
695
793
|
# @!attribute [rw] entry_overview
|
696
794
|
# @return [::Google::Cloud::DataCatalog::V1::EntryOverview]
|
@@ -915,8 +1013,8 @@ module Google
|
|
915
1013
|
# Required. The template to update.
|
916
1014
|
# @!attribute [rw] update_mask
|
917
1015
|
# @return [::Google::Protobuf::FieldMask]
|
918
|
-
# Optional. Names of fields whose values to overwrite on an individual field
|
919
|
-
# template. The following fields are modifiable:
|
1016
|
+
# Optional. Names of fields whose values to overwrite on an individual field
|
1017
|
+
# of a tag template. The following fields are modifiable:
|
920
1018
|
#
|
921
1019
|
# * `display_name`
|
922
1020
|
# * `type.enum_type`
|
@@ -943,7 +1041,8 @@ module Google
|
|
943
1041
|
# Required. The name of the tag template field.
|
944
1042
|
# @!attribute [rw] new_tag_template_field_id
|
945
1043
|
# @return [::String]
|
946
|
-
# Required. The new ID of this tag template field. For example,
|
1044
|
+
# Required. The new ID of this tag template field. For example,
|
1045
|
+
# `my_new_field`.
|
947
1046
|
class RenameTagTemplateFieldRequest
|
948
1047
|
include ::Google::Protobuf::MessageExts
|
949
1048
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -956,7 +1055,8 @@ module Google
|
|
956
1055
|
# Required. The name of the enum field value.
|
957
1056
|
# @!attribute [rw] new_enum_value_display_name
|
958
1057
|
# @return [::String]
|
959
|
-
# Required. The new display name of the enum value. For example,
|
1058
|
+
# Required. The new display name of the enum value. For example,
|
1059
|
+
# `my_new_enum_value`.
|
960
1060
|
class RenameTagTemplateFieldEnumValueRequest
|
961
1061
|
include ::Google::Protobuf::MessageExts
|
962
1062
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1012,6 +1112,86 @@ module Google
|
|
1012
1112
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1013
1113
|
end
|
1014
1114
|
|
1115
|
+
# Request message for
|
1116
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#reconcile_tags ReconcileTags}.
|
1117
|
+
# @!attribute [rw] parent
|
1118
|
+
# @return [::String]
|
1119
|
+
# Required. Name of {::Google::Cloud::DataCatalog::V1::Entry Entry} to be tagged.
|
1120
|
+
# @!attribute [rw] tag_template
|
1121
|
+
# @return [::String]
|
1122
|
+
# Required. The name of the tag template, which is used for reconciliation.
|
1123
|
+
# @!attribute [rw] force_delete_missing
|
1124
|
+
# @return [::Boolean]
|
1125
|
+
# If set to `true`, deletes entry tags related to a tag template
|
1126
|
+
# not listed in the tags source from an entry. If set to `false`,
|
1127
|
+
# unlisted tags are retained.
|
1128
|
+
# @!attribute [rw] tags
|
1129
|
+
# @return [::Array<::Google::Cloud::DataCatalog::V1::Tag>]
|
1130
|
+
# A list of tags to apply to an entry. A tag can specify a
|
1131
|
+
# tag template, which must be the template specified in the
|
1132
|
+
# `ReconcileTagsRequest`.
|
1133
|
+
# The sole entry and each of its columns must be mentioned at most once.
|
1134
|
+
class ReconcileTagsRequest
|
1135
|
+
include ::Google::Protobuf::MessageExts
|
1136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# {::Google::Longrunning::Operation Long-running operation}
|
1140
|
+
# response message returned by
|
1141
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#reconcile_tags ReconcileTags}.
|
1142
|
+
# @!attribute [rw] created_tags_count
|
1143
|
+
# @return [::Integer]
|
1144
|
+
# Number of tags created in the request.
|
1145
|
+
# @!attribute [rw] updated_tags_count
|
1146
|
+
# @return [::Integer]
|
1147
|
+
# Number of tags updated in the request.
|
1148
|
+
# @!attribute [rw] deleted_tags_count
|
1149
|
+
# @return [::Integer]
|
1150
|
+
# Number of tags deleted in the request.
|
1151
|
+
class ReconcileTagsResponse
|
1152
|
+
include ::Google::Protobuf::MessageExts
|
1153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
# {::Google::Longrunning::Operation Long-running operation}
|
1157
|
+
# metadata message returned by the
|
1158
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#reconcile_tags ReconcileTags}.
|
1159
|
+
# @!attribute [rw] state
|
1160
|
+
# @return [::Google::Cloud::DataCatalog::V1::ReconcileTagsMetadata::ReconciliationState]
|
1161
|
+
# State of the reconciliation operation.
|
1162
|
+
# @!attribute [rw] errors
|
1163
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Rpc::Status}]
|
1164
|
+
# Maps the name of each tagged column (or empty string for a
|
1165
|
+
# sole entry) to tagging operation {::Google::Rpc::Status status}.
|
1166
|
+
class ReconcileTagsMetadata
|
1167
|
+
include ::Google::Protobuf::MessageExts
|
1168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1169
|
+
|
1170
|
+
# @!attribute [rw] key
|
1171
|
+
# @return [::String]
|
1172
|
+
# @!attribute [rw] value
|
1173
|
+
# @return [::Google::Rpc::Status]
|
1174
|
+
class ErrorsEntry
|
1175
|
+
include ::Google::Protobuf::MessageExts
|
1176
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# Enum holding possible states of the reconciliation operation.
|
1180
|
+
module ReconciliationState
|
1181
|
+
# Default value. This value is unused.
|
1182
|
+
RECONCILIATION_STATE_UNSPECIFIED = 0
|
1183
|
+
|
1184
|
+
# The reconciliation has been queued and awaits for execution.
|
1185
|
+
RECONCILIATION_QUEUED = 1
|
1186
|
+
|
1187
|
+
# The reconciliation is in progress.
|
1188
|
+
RECONCILIATION_IN_PROGRESS = 2
|
1189
|
+
|
1190
|
+
# The reconciliation has been finished.
|
1191
|
+
RECONCILIATION_DONE = 3
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1015
1195
|
# Request message for
|
1016
1196
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#list_entries ListEntries}.
|
1017
1197
|
# @!attribute [rw] parent
|
@@ -1089,6 +1269,70 @@ module Google
|
|
1089
1269
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1090
1270
|
end
|
1091
1271
|
|
1272
|
+
# Request message for
|
1273
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#import_entries ImportEntries}
|
1274
|
+
# method.
|
1275
|
+
# @!attribute [rw] parent
|
1276
|
+
# @return [::String]
|
1277
|
+
# Required. Target entry group for ingested entries.
|
1278
|
+
# @!attribute [rw] gcs_bucket_path
|
1279
|
+
# @return [::String]
|
1280
|
+
# Path to a Cloud Storage bucket that contains a dump ready for ingestion.
|
1281
|
+
class ImportEntriesRequest
|
1282
|
+
include ::Google::Protobuf::MessageExts
|
1283
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
# Response message for {::Google::Longrunning::Operation long-running operation}
|
1287
|
+
# returned by the
|
1288
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#import_entries ImportEntries}.
|
1289
|
+
# @!attribute [rw] upserted_entries_count
|
1290
|
+
# @return [::Integer]
|
1291
|
+
# Cumulative number of entries created and entries updated as a result of
|
1292
|
+
# import operation.
|
1293
|
+
# @!attribute [rw] deleted_entries_count
|
1294
|
+
# @return [::Integer]
|
1295
|
+
# Number of entries deleted as a result of import operation.
|
1296
|
+
class ImportEntriesResponse
|
1297
|
+
include ::Google::Protobuf::MessageExts
|
1298
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# Metadata message for {::Google::Longrunning::Operation long-running operation}
|
1302
|
+
# returned by the
|
1303
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#import_entries ImportEntries}.
|
1304
|
+
# @!attribute [rw] state
|
1305
|
+
# @return [::Google::Cloud::DataCatalog::V1::ImportEntriesMetadata::ImportState]
|
1306
|
+
# State of the import operation.
|
1307
|
+
# @!attribute [rw] errors
|
1308
|
+
# @return [::Array<::Google::Rpc::Status>]
|
1309
|
+
# Partial errors that are encountered during the ImportEntries operation.
|
1310
|
+
# There is no guarantee that all the encountered errors are reported.
|
1311
|
+
# However, if no errors are reported, it means that no errors were
|
1312
|
+
# encountered.
|
1313
|
+
class ImportEntriesMetadata
|
1314
|
+
include ::Google::Protobuf::MessageExts
|
1315
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1316
|
+
|
1317
|
+
# Enum holding possible states of the import operation.
|
1318
|
+
module ImportState
|
1319
|
+
# Default value. This value is unused.
|
1320
|
+
IMPORT_STATE_UNSPECIFIED = 0
|
1321
|
+
|
1322
|
+
# The dump with entries has been queued for import.
|
1323
|
+
IMPORT_QUEUED = 1
|
1324
|
+
|
1325
|
+
# The import of entries is in progress.
|
1326
|
+
IMPORT_IN_PROGRESS = 2
|
1327
|
+
|
1328
|
+
# The import of entries has been finished.
|
1329
|
+
IMPORT_DONE = 3
|
1330
|
+
|
1331
|
+
# The import of entries has been abandoned in favor of a newer request.
|
1332
|
+
IMPORT_OBSOLETE = 4
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
|
1092
1336
|
# Request message for
|
1093
1337
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#modify_entry_overview ModifyEntryOverview}.
|
1094
1338
|
# @!attribute [rw] name
|
@@ -1159,6 +1403,24 @@ module Google
|
|
1159
1403
|
|
1160
1404
|
# A service, for example, a Dataproc Metastore service.
|
1161
1405
|
SERVICE = 14
|
1406
|
+
|
1407
|
+
# Schema within a relational database.
|
1408
|
+
DATABASE_SCHEMA = 15
|
1409
|
+
|
1410
|
+
# A Dashboard, for example from Looker.
|
1411
|
+
DASHBOARD = 16
|
1412
|
+
|
1413
|
+
# A Looker Explore.
|
1414
|
+
#
|
1415
|
+
# For more information, see [Looker Explore API]
|
1416
|
+
# (https://developers.looker.com/api/explorer/4.0/methods/LookmlModel/lookml_model_explore).
|
1417
|
+
EXPLORE = 17
|
1418
|
+
|
1419
|
+
# A Looker Look.
|
1420
|
+
#
|
1421
|
+
# For more information, see [Looker Look API]
|
1422
|
+
# (https://developers.looker.com/api/explorer/4.0/methods/Look).
|
1423
|
+
LOOK = 18
|
1162
1424
|
end
|
1163
1425
|
end
|
1164
1426
|
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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
|
+
# Wrapper containing Entry and information about Tags
|
25
|
+
# that should and should not be attached to it.
|
26
|
+
# @!attribute [rw] v1_entry
|
27
|
+
# @return [::Google::Cloud::DataCatalog::V1::Entry]
|
28
|
+
# Non-encrypted Data Catalog v1 Entry.
|
29
|
+
# @!attribute [rw] present_tags
|
30
|
+
# @return [::Array<::Google::Cloud::DataCatalog::V1::Tag>]
|
31
|
+
# Tags that should be ingested into the Data Catalog.
|
32
|
+
# Caller should populate template name, column and fields.
|
33
|
+
# @!attribute [rw] absent_tags
|
34
|
+
# @return [::Array<::Google::Cloud::DataCatalog::V1::Tag>]
|
35
|
+
# Tags that should be deleted from the Data Catalog.
|
36
|
+
# Caller should populate template name and column only.
|
37
|
+
class TaggedEntry
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
end
|
41
|
+
|
42
|
+
# Wrapper for any item that can be contained in the dump.
|
43
|
+
# @!attribute [rw] tagged_entry
|
44
|
+
# @return [::Google::Cloud::DataCatalog::V1::TaggedEntry]
|
45
|
+
# Entry and its tags.
|
46
|
+
class DumpItem
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -68,7 +68,8 @@ module Google
|
|
68
68
|
# Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
|
69
69
|
# @!attribute [r] gcs_timestamps
|
70
70
|
# @return [::Google::Cloud::DataCatalog::V1::SystemTimestamps]
|
71
|
-
# Output only. Creation, modification, and expiration timestamps of a Cloud
|
71
|
+
# Output only. Creation, modification, and expiration timestamps of a Cloud
|
72
|
+
# Storage file.
|
72
73
|
# @!attribute [r] size_bytes
|
73
74
|
# @return [::Integer]
|
74
75
|
# Output only. File size in bytes.
|