googleapis / googleapis/google-cloud-cpp

Support format field in Compute Discovery Doc

Open
#14,836 0 comments 0 reactions 0 assignees View on GitHub
api: compute cpp: generator type: feature request
Dominant language
C++
Stars
659
Forks
462
Avg merge
1d 2h
Merged PRs (30d)
89

Description

Compute is adding a `format` field to the JSON to accompany occurrences of `"type": "any"` in order to specify what the resulting protobuf type should be.

The generator should expect to see them together like:
```
"properties": {
"field_name": {
"type": "any",
"format": "google.protobuf.Value"
}
}
```
This would result in a .proto field definition like:
```
optional google.protobuf.Value field_name = ;
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.