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.
Parameters | |
---|---|
Name | Description |
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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setMethods
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |