Skip to content

Commit

Permalink
Combine all the common resource configurations into the root
Browse files Browse the repository at this point in the history
This has the disadvantage that there's API-specific information in a global file - but the advantage that there's now one global, consistent place to put resource configurations.
  • Loading branch information
jskeet committed Feb 17, 2020
1 parent 2913e46 commit d71244f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 179 deletions.
20 changes: 19 additions & 1 deletion CommonResourcesConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@
"csharp_package_name": "Google.Api.Gax",
"csharp_namespace": "Google.Api.Gax.ResourceNames",
"csharp_class_name": "LocationName"
}
},
{
"type": "bigtable.googleapis.com/Table",
"csharp_package_name": "Google.Cloud.Bigtable.Common.V2",
"csharp_namespace": "Google.Cloud.Bigtable.Common.V2",
"csharp_class_name": "TableName"
},
{
"type": "spanner.googleapis.com/Database",
"csharp_package_name": "Google.Cloud.Spanner.Common.V1",
"csharp_namespace": "Google.Cloud.Spanner.Common.V1",
"csharp_class_name": "DatabaseName"
},
{
"type": "spanner.googleapis.com/Instance",
"csharp_package_name": "Google.Cloud.Spanner.Common.V1",
"csharp_namespace": "Google.Cloud.Spanner.Common.V1",
"csharp_class_name": "InstanceName"
}
]
}
40 changes: 0 additions & 40 deletions apis/Google.Cloud.Bigtable.V2/CommonResourcesConfig.json

This file was deleted.

This file was deleted.

This file was deleted.

46 changes: 0 additions & 46 deletions apis/Google.Cloud.Spanner.V1/CommonResourcesConfig.json

This file was deleted.

0 comments on commit d71244f

Please sign in to comment.