Skip to content

Commit b94b0af

Browse files
committed
chore: make generate_docs
1 parent ca54b0a commit b94b0af

File tree

2 files changed

+66
-68
lines changed

2 files changed

+66
-68
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ This module provisions a dataset and a list of tables with associated JSON schem
196196
| deletion\_protection | Whether or not to allow deletion of tables and external tables defined by this module. Can be overriden by table-level deletion\_protection configuration. | `bool` | `false` | no |
197197
| description | Dataset description. | `string` | `null` | no |
198198
| encryption\_key | Default encryption key to apply to the dataset. Defaults to null (Google-managed). | `string` | `null` | no |
199-
| external\_tables | A list of objects which include table\_id, expiration\_time, external\_data\_configuration, and labels. | <pre>list(object({<br> table_id = string,<br> description = optional(string),<br> autodetect = bool,<br> compression = string,<br> ignore_unknown_values = bool,<br> max_bad_records = number,<br> schema = string,<br> source_format = string,<br> source_uris = list(string),<br> csv_options = object({<br> quote = string,<br> allow_jagged_rows = bool,<br> allow_quoted_newlines = bool,<br> encoding = string,<br> field_delimiter = string,<br> skip_leading_rows = number,<br> }),<br> google_sheets_options = object({<br> range = string,<br> skip_leading_rows = number,<br> }),<br> hive_partitioning_options = object({<br> mode = string,<br> source_uri_prefix = string,<br> }),<br> expiration_time = optional(string, null),<br> max_staleness = optional(string),<br> deletion_protection = optional(bool),<br> labels = optional(map(string), {}),<br> }))</pre> | `[]` | no |
199+
| external\_tables | A list of objects which include table\_id, expiration\_time, external\_data\_configuration, and labels. | <pre>list(object({<br> table_id = string,<br> description = optional(string),<br> autodetect = bool,<br> compression = string,<br> ignore_unknown_values = bool,<br> max_bad_records = number,<br> schema = string,<br> connection_id = optional(string),<br> source_format = string,<br> source_uris = list(string),<br> csv_options = object({<br> quote = string,<br> allow_jagged_rows = bool,<br> allow_quoted_newlines = bool,<br> encoding = string,<br> field_delimiter = string,<br> skip_leading_rows = number,<br> }),<br> google_sheets_options = object({<br> range = string,<br> skip_leading_rows = number,<br> }),<br> hive_partitioning_options = object({<br> mode = string,<br> source_uri_prefix = string,<br> }),<br> expiration_time = optional(string, null),<br> max_staleness = optional(string),<br> deletion_protection = optional(bool),<br> labels = optional(map(string), {}),<br> }))</pre> | `[]` | no |
200200
| location | The location of the dataset. For multi-region, US or EU can be provided. | `string` | `"US"` | no |
201201
| materialized\_views | A list of objects which includes view\_id, view\_query, clustering, time\_partitioning, range\_partitioning, expiration\_time and labels | <pre>list(object({<br> view_id = string,<br> description = optional(string),<br> query = string,<br> enable_refresh = bool,<br> refresh_interval_ms = string,<br> clustering = optional(list(string), []),<br> time_partitioning = optional(object({<br> expiration_ms = string,<br> field = string,<br> type = string,<br> require_partition_filter = bool,<br> }), null),<br> range_partitioning = optional(object({<br> field = string,<br> range = object({<br> start = string,<br> end = string,<br> interval = string,<br> }),<br> }), null),<br> expiration_time = optional(string, null),<br> max_staleness = optional(string),<br> labels = optional(map(string), {}),<br> }))</pre> | `[]` | no |
202202
| max\_time\_travel\_hours | Defines the time travel window in hours | `number` | `null` | no |

metadata.display.yaml

Lines changed: 65 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,42 @@ spec:
7171
value: GZIP
7272
- label: NONE
7373
value: NONE
74+
csv_options:
75+
name: csv_options
76+
title: CSV Options
77+
properties:
78+
encoding:
79+
name: encoding
80+
title: Encoding
81+
enumValueLabels:
82+
- label: UTF-8
83+
value: UTF-8
84+
- label: ISO-8859-1
85+
value: ISO-8859-1
86+
skip_leading_rows:
87+
name: skip_leading_rows
88+
title: Skip Leading Rows
89+
google_sheets_options:
90+
name: google_sheets_options
91+
title: Google Sheets Options
92+
properties:
93+
skip_leading_rows:
94+
name: skip_leading_rows
95+
title: Skip Leading Rows
96+
hive_partitioning_options:
97+
name: hive_partitioning_options
98+
title: Hive Partitioning Options
99+
properties:
100+
mode:
101+
name: mode
102+
title: Mode
103+
enumValueLabels:
104+
- label: AUTO
105+
value: AUTO
106+
- label: STRINGS
107+
value: STRINGS
108+
- label: CUSTOM
109+
value: CUSTOM
74110
source_format:
75111
name: source_format
76112
title: Source Format
@@ -98,44 +134,6 @@ spec:
98134
title: Source Uris
99135
regexValidation: ^gs://([a-z0-9]([a-z0-9-.]*[a-z0-9])?)/([^#?]+)?$
100136
validation: Must be a valid Google Cloud Storage URI.
101-
google_sheets_options:
102-
name: google_sheets_options
103-
title: Google Sheets Options
104-
properties:
105-
skip_leading_rows:
106-
name: skip_leading_rows
107-
title: Skip Leading Rows
108-
min: 0
109-
hive_partitioning_options:
110-
name: hive_partitioning_options
111-
title: Hive Partitioning Options
112-
properties:
113-
mode:
114-
name: mode
115-
title: Mode
116-
enumValueLabels:
117-
- label: AUTO
118-
value: AUTO
119-
- label: STRINGS
120-
value: STRINGS
121-
- label: CUSTOM
122-
value: CUSTOM
123-
csv_options:
124-
name: csv_options
125-
title: CSV Options
126-
properties:
127-
encoding:
128-
name: encoding
129-
title: Encoding
130-
enumValueLabels:
131-
- label: UTF-8
132-
value: UTF-8
133-
- label: ISO-8859-1
134-
value: ISO-8859-1
135-
skip_leading_rows:
136-
name: skip_leading_rows
137-
title: Skip Leading Rows
138-
min: 0
139137
location:
140138
name: location
141139
title: Location
@@ -174,35 +172,6 @@ spec:
174172
name: routines
175173
title: Routines
176174
properties:
177-
routine_id:
178-
name: routine_id
179-
title: Routine Id
180-
regexValidation: ^[A-Za-z_]{1,256}$
181-
validation: The routine ID must contain only letters, numbers, and underscores, and cannot start with a number.
182-
routine_type:
183-
name: routine_type
184-
title: Routine Type
185-
enumValueLabels:
186-
- label: SCALAR_FUNCTION
187-
value: SCALAR_FUNCTION
188-
- label: PROCEDURE
189-
value: PROCEDURE
190-
- label: TABLE_VALUED_FUNCTION
191-
value: TABLE_VALUED_FUNCTION
192-
language:
193-
name: language
194-
title: Language
195-
enumValueLabels:
196-
- label: SQL
197-
value: SQL
198-
- label: JAVASCRIPT
199-
value: JAVASCRIPT
200-
- label: PYTHON
201-
value: PYTHON
202-
- label: JAVA
203-
value: JAVA
204-
- label: SCALA
205-
value: SCALA
206175
arguments:
207176
name: arguments
208177
title: Arguments
@@ -225,6 +194,35 @@ spec:
225194
value: OUT
226195
- label: INOUT
227196
value: INOUT
197+
language:
198+
name: language
199+
title: Language
200+
enumValueLabels:
201+
- label: SQL
202+
value: SQL
203+
- label: JAVASCRIPT
204+
value: JAVASCRIPT
205+
- label: PYTHON
206+
value: PYTHON
207+
- label: JAVA
208+
value: JAVA
209+
- label: SCALA
210+
value: SCALA
211+
routine_id:
212+
name: routine_id
213+
title: Routine Id
214+
regexValidation: ^[A-Za-z_]{1,256}$
215+
validation: The routine ID must contain only letters, numbers, and underscores, and cannot start with a number.
216+
routine_type:
217+
name: routine_type
218+
title: Routine Type
219+
enumValueLabels:
220+
- label: SCALAR_FUNCTION
221+
value: SCALAR_FUNCTION
222+
- label: PROCEDURE
223+
value: PROCEDURE
224+
- label: TABLE_VALUED_FUNCTION
225+
value: TABLE_VALUED_FUNCTION
228226
storage_billing_model:
229227
name: storage_billing_model
230228
title: Storage Billing Model

0 commit comments

Comments
 (0)