Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ class ColumnSchema(proto.Message):
Looker specific column info of this column.

This field is a member of `oneof`_ ``system_spec``.
range_element_type (google.cloud.datacatalog_v1.types.ColumnSchema.FieldElementType):
Optional. The subtype of the RANGE, if the type of this
field is RANGE. If the type is RANGE, this field is
required. Possible values for the field element type of a
RANGE include:

- DATE
- DATETIME
- TIMESTAMP
gc_rule (str):
Optional. Garbage collection policy for the
column or column family. Applies to systems like
Expand Down Expand Up @@ -156,6 +165,20 @@ class LookerColumnType(proto.Enum):
enum="ColumnSchema.LookerColumnSpec.LookerColumnType",
)

class FieldElementType(proto.Message):
r"""Represents the type of a field element.

Attributes:
type_ (str):
Required. The type of a field element. See
[ColumnSchema.type][google.cloud.datacatalog.v1.ColumnSchema.type].
"""

type_: str = proto.Field(
proto.STRING,
number=1,
)

column: str = proto.Field(
proto.STRING,
number=6,
Expand Down Expand Up @@ -196,6 +219,11 @@ class LookerColumnType(proto.Enum):
oneof="system_spec",
message=LookerColumnSpec,
)
range_element_type: FieldElementType = proto.Field(
proto.MESSAGE,
number=19,
message=FieldElementType,
)
gc_rule: str = proto.Field(
proto.STRING,
number=11,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class UsageStats(proto.Message):
- The usage stats only include BigQuery query jobs
- The usage stats might be underestimated, e.g. wildcard table
references are not yet counted in usage computation
https://cloud.google.com/bigquery/docs/querying-wildcard-tables
https://cloud.google.com/bigquery/docs/querying-wildcard-tables

Attributes:
total_completions (float):
Expand Down