Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
vckamanga committed Apr 4, 2024
1 parent 77f4a32 commit d1b0e60
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion examples/foo/test_table.schema
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"names": [
"private"
]
}
},
"defaultValueExpression": "GENERATE_UUID()"
},
{
"name": "b",
Expand Down
13 changes: 6 additions & 7 deletions examples/test_table.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ message TestTable{

int32 a = 1 [
(gen_bq_schema.bigquery) = {
require: true
policy_tags : "private"
}
];
require: true
policy_tags : "private"
default_value_expression: "GENERATE_UUID()"
}];

string b = 2 [(gen_bq_schema.bigquery).policy_tags="public"];

message Nested {
int32 a = 1 [(gen_bq_schema.bigquery) = {
require: true
policy_tags : "private"
}
];
}];

string b = 2;
}
Expand Down

0 comments on commit d1b0e60

Please sign in to comment.