google-cloud-data_catalog-v1 0.7.3 → 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/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,7 +21,7 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module DataCatalog
|
23
23
|
module V1
|
24
|
-
# Represents a schema
|
24
|
+
# Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
|
25
25
|
# @!attribute [rw] columns
|
26
26
|
# @return [::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>]
|
27
27
|
# The unified GoogleSQL-like schema of columns.
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
end
|
35
35
|
|
36
|
-
#
|
36
|
+
# A column within a schema. Columns can be nested inside
|
37
37
|
# other columns.
|
38
38
|
# @!attribute [rw] column
|
39
39
|
# @return [::String]
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# bytes.
|
55
55
|
# @!attribute [rw] mode
|
56
56
|
# @return [::String]
|
57
|
-
# Optional. A column's mode indicates
|
57
|
+
# Optional. A column's mode indicates whether values in this column are required,
|
58
58
|
# nullable, or repeated.
|
59
59
|
#
|
60
60
|
# Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
|
@@ -21,60 +21,74 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module DataCatalog
|
23
23
|
module V1
|
24
|
-
#
|
25
|
-
#
|
24
|
+
# Result in the response to a search request.
|
25
|
+
#
|
26
|
+
# Each result captures details of one entry that matches the search.
|
26
27
|
# @!attribute [rw] search_result_type
|
27
28
|
# @return [::Google::Cloud::DataCatalog::V1::SearchResultType]
|
28
|
-
# Type of the search result.
|
29
|
-
#
|
29
|
+
# Type of the search result.
|
30
|
+
#
|
31
|
+
# You can use this field to determine which get method to call to fetch the
|
32
|
+
# full resource.
|
30
33
|
# @!attribute [rw] search_result_subtype
|
31
34
|
# @return [::String]
|
32
|
-
# Sub-type of the search result.
|
33
|
-
#
|
34
|
-
#
|
35
|
-
# `
|
35
|
+
# Sub-type of the search result.
|
36
|
+
#
|
37
|
+
# A dot-delimited full type of the resource. The same type you
|
38
|
+
# specify in the `type` search predicate.
|
39
|
+
#
|
40
|
+
# Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
|
36
41
|
# @!attribute [rw] relative_resource_name
|
37
42
|
# @return [::String]
|
38
|
-
# The relative
|
43
|
+
# The relative name of the resource in URL format.
|
44
|
+
#
|
39
45
|
# Examples:
|
40
46
|
#
|
41
|
-
# * `projects/{
|
42
|
-
# * `projects/{
|
47
|
+
# * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
|
48
|
+
# * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
|
43
49
|
# @!attribute [rw] linked_resource
|
44
50
|
# @return [::String]
|
45
|
-
# The full name of the
|
46
|
-
#
|
51
|
+
# The full name of the Google Cloud resource the entry belongs to.
|
52
|
+
#
|
53
|
+
# For more information, see [Full Resource Name]
|
54
|
+
# (/apis/design/resource_names#full_resource_name).
|
55
|
+
#
|
47
56
|
# Example:
|
48
57
|
#
|
49
|
-
#
|
58
|
+
# `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
|
50
59
|
# @!attribute [rw] modify_time
|
51
60
|
# @return [::Google::Protobuf::Timestamp]
|
52
|
-
#
|
61
|
+
# The last modification timestamp of the entry in the source system.
|
53
62
|
# @!attribute [r] integrated_system
|
54
63
|
# @return [::Google::Cloud::DataCatalog::V1::IntegratedSystem]
|
55
|
-
# Output only.
|
56
|
-
#
|
64
|
+
# Output only. The source system that Data Catalog automatically integrates with, such
|
65
|
+
# as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
|
57
66
|
# @!attribute [rw] user_specified_system
|
58
67
|
# @return [::String]
|
59
|
-
#
|
60
|
-
# integrate with.
|
68
|
+
# Custom source system that you can manually integrate Data Catalog with.
|
61
69
|
# @!attribute [rw] fully_qualified_name
|
62
70
|
# @return [::String]
|
63
|
-
# Fully
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
# *
|
71
|
+
# Fully qualified name (FQN) of the resource.
|
72
|
+
#
|
73
|
+
# FQNs take two forms:
|
74
|
+
#
|
75
|
+
# * For non-regionalized resources:
|
76
|
+
#
|
77
|
+
# `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
|
78
|
+
#
|
79
|
+
# * For regionalized resources:
|
80
|
+
#
|
81
|
+
# `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
|
82
|
+
#
|
83
|
+
# Example for a DPMS table:
|
84
|
+
#
|
85
|
+
# `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
|
72
86
|
class SearchCatalogResult
|
73
87
|
include ::Google::Protobuf::MessageExts
|
74
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
89
|
end
|
76
90
|
|
77
|
-
# The
|
91
|
+
# The resource types that can be returned in search results.
|
78
92
|
module SearchResultType
|
79
93
|
# Default unknown type.
|
80
94
|
SEARCH_RESULT_TYPE_UNSPECIFIED = 0
|
@@ -27,12 +27,12 @@ module Google
|
|
27
27
|
# Output only. The table source type.
|
28
28
|
# @!attribute [rw] view_spec
|
29
29
|
# @return [::Google::Cloud::DataCatalog::V1::ViewSpec]
|
30
|
-
# Table view specification.
|
31
|
-
# `table_source_type` is `BIGQUERY_VIEW`.
|
30
|
+
# Table view specification. Populated only if
|
31
|
+
# the `table_source_type` is `BIGQUERY_VIEW`.
|
32
32
|
# @!attribute [rw] table_spec
|
33
33
|
# @return [::Google::Cloud::DataCatalog::V1::TableSpec]
|
34
|
-
#
|
35
|
-
# `table_source_type` is `BIGQUERY_TABLE`.
|
34
|
+
# Specification of a BigQuery table. Populated only if
|
35
|
+
# the `table_source_type` is `BIGQUERY_TABLE`.
|
36
36
|
class BigQueryTableSpec
|
37
37
|
include ::Google::Protobuf::MessageExts
|
38
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -47,31 +47,38 @@ module Google
|
|
47
47
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
48
|
end
|
49
49
|
|
50
|
-
# Normal BigQuery table
|
50
|
+
# Normal BigQuery table specification.
|
51
51
|
# @!attribute [r] grouped_entry
|
52
52
|
# @return [::String]
|
53
|
-
# Output only. If the table is
|
54
|
-
#
|
55
|
-
# grouped entry
|
56
|
-
#
|
53
|
+
# Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
|
54
|
+
# name pattern, this field is the Data Catalog resource name of the
|
55
|
+
# date-sharded grouped entry. For example:
|
56
|
+
#
|
57
|
+
# `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
|
58
|
+
#
|
57
59
|
# Otherwise, `grouped_entry` is empty.
|
58
60
|
class TableSpec
|
59
61
|
include ::Google::Protobuf::MessageExts
|
60
62
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
61
63
|
end
|
62
64
|
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
65
|
+
# Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
|
66
|
+
# pattern.
|
67
|
+
#
|
68
|
+
# For more information, see [Introduction to partitioned tables]
|
69
|
+
# (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
|
66
70
|
# @!attribute [r] dataset
|
67
71
|
# @return [::String]
|
68
72
|
# Output only. The Data Catalog resource name of the dataset entry the current table
|
69
|
-
# belongs to
|
70
|
-
#
|
73
|
+
# belongs to. For example:
|
74
|
+
#
|
75
|
+
# `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
|
71
76
|
# @!attribute [r] table_prefix
|
72
77
|
# @return [::String]
|
73
|
-
# Output only. The table name prefix of the shards.
|
74
|
-
#
|
78
|
+
# Output only. The table name prefix of the shards.
|
79
|
+
#
|
80
|
+
# The name of any given shard is `[table_prefix]YYYYMMDD`.
|
81
|
+
# For example, for the `MyTable20180101` shard, the
|
75
82
|
# `table_prefix` is `MyTable`.
|
76
83
|
# @!attribute [r] shard_count
|
77
84
|
# @return [::Integer]
|
@@ -21,27 +21,24 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module DataCatalog
|
23
23
|
module V1
|
24
|
-
# Tags
|
25
|
-
# conform
|
24
|
+
# Tags contain custom metadata and are attached to Data Catalog resources. Tags
|
25
|
+
# conform with the specification of their tag template.
|
26
26
|
#
|
27
27
|
# See [Data Catalog
|
28
28
|
# IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information
|
29
29
|
# on the permissions needed to create or view tags.
|
30
30
|
# @!attribute [rw] name
|
31
31
|
# @return [::String]
|
32
|
-
# The resource name of the tag in URL format
|
33
|
-
#
|
34
|
-
# `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
|
35
|
-
#
|
36
|
-
# where `tag_id` is a system-generated identifier.
|
32
|
+
# The resource name of the tag in URL format where tag ID is a
|
33
|
+
# system-generated identifier.
|
37
34
|
#
|
38
35
|
# Note: The tag itself might not be stored in the location specified in its
|
39
36
|
# name.
|
40
37
|
# @!attribute [rw] template
|
41
38
|
# @return [::String]
|
42
|
-
# Required. The resource name of the tag template
|
39
|
+
# Required. The resource name of the tag template this tag uses. Example:
|
43
40
|
#
|
44
|
-
# `projects/{
|
41
|
+
# `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
|
45
42
|
#
|
46
43
|
# This field cannot be modified after creation.
|
47
44
|
# @!attribute [r] template_display_name
|
@@ -50,14 +47,16 @@ module Google
|
|
50
47
|
# @!attribute [rw] column
|
51
48
|
# @return [::String]
|
52
49
|
# Resources like entry can have schemas associated with them. This scope
|
53
|
-
# allows
|
50
|
+
# allows you to attach tags to an individual column based on that schema.
|
54
51
|
#
|
55
52
|
# To attach a tag to a nested column, separate column names with a dot
|
56
53
|
# (`.`). Example: `column.nested_column`.
|
57
54
|
# @!attribute [rw] fields
|
58
55
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::TagField}]
|
59
|
-
# Required.
|
60
|
-
# about that field.
|
56
|
+
# Required. Maps the ID of a tag field to its value and additional information
|
57
|
+
# about that field.
|
58
|
+
#
|
59
|
+
# Tag template defines valid field IDs. A tag
|
61
60
|
# must have at least 1 field and at most 500 fields.
|
62
61
|
class Tag
|
63
62
|
include ::Google::Protobuf::MessageExts
|
@@ -73,40 +72,50 @@ module Google
|
|
73
72
|
end
|
74
73
|
end
|
75
74
|
|
76
|
-
# Contains the value and
|
75
|
+
# Contains the value and additional information on a field within
|
77
76
|
# a {::Google::Cloud::DataCatalog::V1::Tag Tag}.
|
78
77
|
# @!attribute [r] display_name
|
79
78
|
# @return [::String]
|
80
79
|
# Output only. The display name of this field.
|
81
80
|
# @!attribute [rw] double_value
|
82
81
|
# @return [::Float]
|
83
|
-
#
|
82
|
+
# The value of a tag field with a double type.
|
84
83
|
# @!attribute [rw] string_value
|
85
84
|
# @return [::String]
|
86
|
-
#
|
85
|
+
# The value of a tag field with a string type.
|
86
|
+
#
|
87
87
|
# The maximum length is 2000 UTF-8 characters.
|
88
88
|
# @!attribute [rw] bool_value
|
89
89
|
# @return [::Boolean]
|
90
|
-
#
|
90
|
+
# The value of a tag field with a boolean type.
|
91
91
|
# @!attribute [rw] timestamp_value
|
92
92
|
# @return [::Google::Protobuf::Timestamp]
|
93
|
-
#
|
93
|
+
# The value of a tag field with a timestamp type.
|
94
94
|
# @!attribute [rw] enum_value
|
95
95
|
# @return [::Google::Cloud::DataCatalog::V1::TagField::EnumValue]
|
96
|
-
#
|
97
|
-
#
|
96
|
+
# The value of a tag field with an enum type.
|
97
|
+
#
|
98
|
+
# This value must be one of the allowed values listed in this enum.
|
99
|
+
# @!attribute [rw] richtext_value
|
100
|
+
# @return [::String]
|
101
|
+
# The value of a tag field with a rich text type.
|
102
|
+
#
|
103
|
+
# The maximum length is 10 MiB as this value holds HTML descriptions
|
104
|
+
# including encoded images. The maximum length of the text without images
|
105
|
+
# is 100 KiB.
|
98
106
|
# @!attribute [r] order
|
99
107
|
# @return [::Integer]
|
100
|
-
# Output only. The order of this field with respect to other fields in this tag.
|
101
|
-
# set
|
102
|
-
#
|
103
|
-
#
|
104
|
-
#
|
108
|
+
# Output only. The order of this field with respect to other fields in this tag. Can be
|
109
|
+
# set by {::Google::Cloud::DataCatalog::V1::TagTemplateField#order Tag}.
|
110
|
+
#
|
111
|
+
# For example, a higher value can indicate a more important field.
|
112
|
+
# The value can be negative. Multiple fields can have the same order, and
|
113
|
+
# field orders within a tag don't have to be sequential.
|
105
114
|
class TagField
|
106
115
|
include ::Google::Protobuf::MessageExts
|
107
116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
108
117
|
|
109
|
-
#
|
118
|
+
# An enum value.
|
110
119
|
# @!attribute [rw] display_name
|
111
120
|
# @return [::String]
|
112
121
|
# The display name of the enum value.
|
@@ -116,19 +125,18 @@ module Google
|
|
116
125
|
end
|
117
126
|
end
|
118
127
|
|
119
|
-
# A tag template defines a tag
|
120
|
-
#
|
121
|
-
#
|
122
|
-
# roles]
|
123
|
-
#
|
124
|
-
# the
|
125
|
-
# User]
|
126
|
-
#
|
128
|
+
# A tag template defines a tag that can have one or more typed fields.
|
129
|
+
#
|
130
|
+
# The template is used to create tags that are attached to GCP resources.
|
131
|
+
# [Tag template roles]
|
132
|
+
# (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
|
133
|
+
# provide permissions to create, edit, and use the template. For example,
|
134
|
+
# see the [TagTemplate User]
|
135
|
+
# (https://cloud.google.com/data-catalog/docs/how-to/template-user) role
|
136
|
+
# that includes a permission to use the tag template to tag resources.
|
127
137
|
# @!attribute [rw] name
|
128
138
|
# @return [::String]
|
129
|
-
# The resource name of the tag template in URL format.
|
130
|
-
#
|
131
|
-
# `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
|
139
|
+
# The resource name of the tag template in URL format.
|
132
140
|
#
|
133
141
|
# Note: The tag template itself and its child resources might not be
|
134
142
|
# stored in the location specified in its name.
|
@@ -139,16 +147,48 @@ module Google
|
|
139
147
|
# The name must contain only Unicode letters, numbers (0-9), underscores (_),
|
140
148
|
# dashes (-), spaces ( ), and can't start or end with spaces.
|
141
149
|
# The maximum length is 200 characters.
|
150
|
+
# @!attribute [rw] is_publicly_readable
|
151
|
+
# @return [::Boolean]
|
152
|
+
# Indicates whether this is a public tag template.
|
153
|
+
#
|
154
|
+
# Every user has view access to a *public* tag template by default.
|
155
|
+
# This means that:
|
156
|
+
#
|
157
|
+
# * Every user can use this tag template to tag an entry.
|
158
|
+
# * If an entry is tagged using the tag template, the tag is always
|
159
|
+
# shown in the response to ``ListTags`` called on the entry.
|
160
|
+
# * To get the template using the GetTagTemplate method, you
|
161
|
+
# need view access either on the project or the organization the tag
|
162
|
+
# template resides in but no other permission is needed.
|
163
|
+
# * Operations on the tag template other than viewing (for example,
|
164
|
+
# editing IAM policies) follow standard IAM structures.
|
165
|
+
#
|
166
|
+
# Tags created with a public tag template are referred to as public tags.
|
167
|
+
#
|
168
|
+
# You can search for a public tag by value with a
|
169
|
+
# simple search query instead of using a ``tag:`` predicate.
|
170
|
+
#
|
171
|
+
# Public tag templates may not appear in search results depending on scope,
|
172
|
+
# see:
|
173
|
+
# {::Google::Cloud::DataCatalog::V1::SearchCatalogRequest::Scope#include_public_tag_templates include_public_tag_templates}
|
174
|
+
#
|
175
|
+
# Note: If an [IAM domain
|
176
|
+
# restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains)
|
177
|
+
# is configured in the tag template's location, the public access will not be
|
178
|
+
# enabled but the simple search for tag values will still work.
|
142
179
|
# @!attribute [rw] fields
|
143
180
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::TagTemplateField}]
|
144
181
|
# Required. Map of tag template field IDs to the settings for the field.
|
145
|
-
# This map is an exhaustive list of the allowed fields.
|
182
|
+
# This map is an exhaustive list of the allowed fields. The map must contain
|
146
183
|
# at least one field and at most 500 fields.
|
147
184
|
#
|
148
|
-
# The keys to this map are tag template field IDs.
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
185
|
+
# The keys to this map are tag template field IDs. The IDs have the
|
186
|
+
# following limitations:
|
187
|
+
#
|
188
|
+
# * Can contain uppercase and lowercase letters, numbers (0-9) and
|
189
|
+
# underscores (_).
|
190
|
+
# * Must be at least 1 character and at most 64 characters long.
|
191
|
+
# * Must start with a letter or underscore.
|
152
192
|
class TagTemplate
|
153
193
|
include ::Google::Protobuf::MessageExts
|
154
194
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -168,9 +208,9 @@ module Google
|
|
168
208
|
# @return [::String]
|
169
209
|
# Output only. The resource name of the tag template field in URL format. Example:
|
170
210
|
#
|
171
|
-
# `projects/{
|
211
|
+
# `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
|
172
212
|
#
|
173
|
-
# Note: The
|
213
|
+
# Note: The tag template field itself might not be stored in the location
|
174
214
|
# specified in its name.
|
175
215
|
#
|
176
216
|
# The name must contain only letters (a-z, A-Z), numbers (0-9),
|
@@ -188,16 +228,18 @@ module Google
|
|
188
228
|
# Required. The type of value this tag field can contain.
|
189
229
|
# @!attribute [rw] is_required
|
190
230
|
# @return [::Boolean]
|
191
|
-
#
|
231
|
+
# If true, this field is required. Defaults to false.
|
192
232
|
# @!attribute [rw] description
|
193
233
|
# @return [::String]
|
194
234
|
# The description for this field. Defaults to an empty string.
|
195
235
|
# @!attribute [rw] order
|
196
236
|
# @return [::Integer]
|
197
237
|
# The order of this field with respect to other fields in this tag
|
198
|
-
# template.
|
199
|
-
#
|
200
|
-
#
|
238
|
+
# template.
|
239
|
+
#
|
240
|
+
# For example, a higher value can indicate a more important field.
|
241
|
+
# The value can be negative. Multiple fields can have the same order and
|
242
|
+
# field orders within a tag don't have to be sequential.
|
201
243
|
class TagTemplateField
|
202
244
|
include ::Google::Protobuf::MessageExts
|
203
245
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -205,10 +247,10 @@ module Google
|
|
205
247
|
|
206
248
|
# @!attribute [rw] primitive_type
|
207
249
|
# @return [::Google::Cloud::DataCatalog::V1::FieldType::PrimitiveType]
|
208
|
-
#
|
250
|
+
# Primitive types, such as string, boolean, etc.
|
209
251
|
# @!attribute [rw] enum_type
|
210
252
|
# @return [::Google::Cloud::DataCatalog::V1::FieldType::EnumType]
|
211
|
-
#
|
253
|
+
# An enum type.
|
212
254
|
class FieldType
|
213
255
|
include ::Google::Protobuf::MessageExts
|
214
256
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -222,7 +264,7 @@ module Google
|
|
222
264
|
# be case-insensitively unique within this set.
|
223
265
|
#
|
224
266
|
# The order of items in this set is preserved. This field can be used to
|
225
|
-
# create, remove and reorder enum values. To rename enum values, use the
|
267
|
+
# create, remove, and reorder enum values. To rename enum values, use the
|
226
268
|
# `RenameTagTemplateFieldEnumValue` method.
|
227
269
|
class EnumType
|
228
270
|
include ::Google::Protobuf::MessageExts
|
@@ -242,7 +284,7 @@ module Google
|
|
242
284
|
end
|
243
285
|
|
244
286
|
module PrimitiveType
|
245
|
-
#
|
287
|
+
# The default invalid value for a type.
|
246
288
|
PRIMITIVE_TYPE_UNSPECIFIED = 0
|
247
289
|
|
248
290
|
# A double precision number.
|
@@ -256,6 +298,9 @@ module Google
|
|
256
298
|
|
257
299
|
# A timestamp.
|
258
300
|
TIMESTAMP = 4
|
301
|
+
|
302
|
+
# A Richtext description.
|
303
|
+
RICHTEXT = 5
|
259
304
|
end
|
260
305
|
end
|
261
306
|
end
|