File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 22
33https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#Service
44
5- The primary key for this table is ** _ cq_id ** .
5+ The composite primary key for this table is ( ** project_id ** , ** name ** ) .
66
77## Relations
88
@@ -14,10 +14,10 @@ This table depends on [gcp_run_locations](gcp_run_locations.md).
1414| ------------- | ------------- |
1515| _ cq_source_name| String|
1616| _ cq_sync_time| Timestamp|
17- | _ cq_id (PK) | UUID|
17+ | _ cq_id| UUID|
1818| _ cq_parent_id| UUID|
19- | project_id| String|
20- | name| String|
19+ | project_id (PK) | String|
20+ | name (PK) | String|
2121| description| String|
2222| uid| String|
2323| generation| Int|
Original file line number Diff line number Diff line change @@ -19,6 +19,17 @@ func Services() *schema.Table {
1919 Name : "project_id" ,
2020 Type : schema .TypeString ,
2121 Resolver : client .ResolveProject ,
22+ CreationOptions : schema.ColumnCreationOptions {
23+ PrimaryKey : true ,
24+ },
25+ },
26+ {
27+ Name : "name" ,
28+ Type : schema .TypeString ,
29+ Resolver : schema .PathResolver ("Name" ),
30+ CreationOptions : schema.ColumnCreationOptions {
31+ PrimaryKey : true ,
32+ },
2233 },
2334 },
2435 }
You can’t perform that action at this time.
0 commit comments