Skip to content

Commit 03f0f22

Browse files
author
David Cavazos
authored
dataflow: have consistent metadata names in camelCase (GoogleCloudPlatform#3599)
* Make isOptional camelCase * Make isOptional camelCase * Make names to camelCase
1 parent 6dd3098 commit 03f0f22

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

dataflow/flex-templates/kafka_to_bigquery/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "inputTopic",
77
"label": "Kafka input topic.",
88
"helpText": "Apache Kafka topic to read from.",
9-
"is_optional": true,
9+
"isOptional": true,
1010
"regexes": [
1111
"[-_.a-zA-Z0-9]+"
1212
]
@@ -23,7 +23,7 @@
2323
"name": "bootstrapServer",
2424
"label": "Kafka bootstrap server",
2525
"helpText": "Apache Kafka bootstrap server in the form 'hostname:port'.",
26-
"is_optional": true,
26+
"isOptional": true,
2727
"regexes": [
2828
"[-_.:a-zA-Z0-9]+"
2929
]

dataflow/flex-templates/streaming_beam_sql/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "outputTable",
1515
"label": "BigQuery output table",
1616
"helpText": "BigQuery table spec to write to, in the form 'project:dataset.table'.",
17-
"is_optional": true,
17+
"isOptional": true,
1818
"regexes": [
1919
"[^:]+:[^.]+[.].+"
2020
]

dataflow/templates/WordCount_metadata

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@
1818
{
1919
"name": "inputFile",
2020
"label": "Input GCS File Pattern",
21-
"help_text: "Google Cloud Storage file pattern glob of the file(s) to read from.",
21+
"helpText: "Google Cloud Storage file pattern glob of the file(s) to read from.",
2222
"regexes": ["^gs:\/\/[^\n\r]+$"],
23-
"is_optional": true
23+
"isOptional": true
2424
},
2525
{
2626
"name": "outputBucket",
2727
"label": "Output GCS Bucket",
28-
"help_text: "Google Cloud Storage bucket to store the outputs.",
28+
"helpText: "Google Cloud Storage bucket to store the outputs.",
2929
"regexes": ["^[a-z0-9][-_.a-z0-9]+[a-z0-9]$"]
3030
},
3131
{
3232
"name": "withSubstring",
3333
"label": "With Substring",
34-
"help_text: "Filter only words containing the specified substring.",
35-
"is_optional": true
34+
"helpText: "Filter only words containing the specified substring.",
35+
"isOptional": true
3636
},
3737
]
38-
}
38+
}

0 commit comments

Comments
 (0)