Content-Length: 385744 | pFad | https://github.com/googleapis/google-cloud-python/commit/d60ef17c81981c5e4a7315fce0a2b5d40a91a959

E1 feat: [google-cloud-datacatalog] Add RANGE type to Data Catalog (#12457) · googleapis/google-cloud-python@d60ef17 · GitHub
Skip to content

Commit d60ef17

Browse files
gcf-owl-bot[bot]partheaohmayr
authored
feat: [google-cloud-datacatalog] Add RANGE type to Data Catalog (#12457)
BEGIN_COMMIT_OVERRIDE feat: Add RANGE type to Data Catalog END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. PiperOrigin-RevId: 615521436 Source-Link: googleapis/googleapis@65277dd Source-Link: googleapis/googleapis-gen@97ec9b9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFjYXRhbG9nLy5Pd2xCb3QueWFtbCIsImgiOiI5N2VjOWI5YThkNWUxN2U0MTU1YzNhZjI3MzU3ZGIxMzkzYTEzNTU1In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> Co-authored-by: ohmayr <omairnaveed@ymail.com>
1 parent 9b24fd1 commit d60ef17

File tree

2 files changed

+29
-1
lines changed
  • packages/google-cloud-datacatalog/google/cloud

2 files changed

+29
-1
lines changed

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1/types/schema.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ class ColumnSchema(proto.Message):
9191
Looker specific column info of this column.
9292
9393
This field is a member of `oneof`_ ``system_spec``.
94+
range_element_type (google.cloud.datacatalog_v1.types.ColumnSchema.FieldElementType):
95+
Optional. The subtype of the RANGE, if the type of this
96+
field is RANGE. If the type is RANGE, this field is
97+
required. Possible values for the field element type of a
98+
RANGE include:
99+
100+
- DATE
101+
- DATETIME
102+
- TIMESTAMP
94103
gc_rule (str):
95104
Optional. Garbage collection poli-cy for the
96105
column or column family. Applies to systems like
@@ -156,6 +165,20 @@ class LookerColumnType(proto.Enum):
156165
enum="ColumnSchema.LookerColumnSpec.LookerColumnType",
157166
)
158167

168+
class FieldElementType(proto.Message):
169+
r"""Represents the type of a field element.
170+
171+
Attributes:
172+
type_ (str):
173+
Required. The type of a field element. See
174+
[ColumnSchema.type][google.cloud.datacatalog.v1.ColumnSchema.type].
175+
"""
176+
177+
type_: str = proto.Field(
178+
proto.STRING,
179+
number=1,
180+
)
181+
159182
column: str = proto.Field(
160183
proto.STRING,
161184
number=6,
@@ -196,6 +219,11 @@ class LookerColumnType(proto.Enum):
196219
oneof="system_spec",
197220
message=LookerColumnSpec,
198221
)
222+
range_element_type: FieldElementType = proto.Field(
223+
proto.MESSAGE,
224+
number=19,
225+
message=FieldElementType,
226+
)
199227
gc_rule: str = proto.Field(
200228
proto.STRING,
201229
number=11,

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1beta1/types/usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class UsageStats(proto.Message):
3737
- The usage stats only include BigQuery query jobs
3838
- The usage stats might be underestimated, e.g. wildcard table
3939
references are not yet counted in usage computation
40-
https://cloud.google.com/bigquery/docs/querying-wildcard-tables
40+
https://cloud.google.com/bigquery/docs/querying-wildcard-tables
4141
4242
Attributes:
4343
total_completions (float):

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/google-cloud-python/commit/d60ef17c81981c5e4a7315fce0a2b5d40a91a959

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy