Skip to content

Commit 78733bf

Browse files
Google APIscopybara-github
authored andcommitted
feat: add support for field generate_omitted_as_internal in selective gapic generation
PiperOrigin-RevId: 721375937
1 parent 6161270 commit 78733bf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

google/api/client.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,4 +469,12 @@ message SelectiveGapicGeneration {
469469
// An allowlist of the fully qualified names of RPCs that should be included
470470
// on public client surfaces.
471471
repeated string methods = 1;
472+
473+
// Setting this to true indicates to the client generators that methods
474+
// that would be excluded from the generation should instead be generated
475+
// in a way that indicates these methods should not be consumed by
476+
// end users. How this is expressed is up to individual language
477+
// implementations to decide. Some examples may be: added annotations,
478+
// obfuscated identifiers, or other language idiomatic patterns.
479+
bool generate_omitted_as_internal = 2;
472480
}

0 commit comments

Comments
 (0)