Reference documentation and code samples for the Google API Common Protos Client class SelectiveGapicGeneration.
This message is used to configure the generation of a subset of the RPCs in a service for client libraries.
Generated from protobuf message google.api.SelectiveGapicGeneration
Namespace
Google \ ApiMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ methods
array
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
↳ generate_omitted_as_internal
bool
Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.
getMethods
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
setMethods
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
var
string[]
$this
getGenerateOmittedAsInternal
Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.
bool
setGenerateOmittedAsInternal
Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.
var
bool
$this