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 messagegoogle.api.SelectiveGapicGeneration
Namespace
Google \ Api
Methods
__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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google API Common Protos Client - Class SelectiveGapicGeneration (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Api.SelectiveGapicGeneration)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Api.SelectiveGapicGeneration)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Api.SelectiveGapicGeneration)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Api.SelectiveGapicGeneration)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Api.SelectiveGapicGeneration)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Api.SelectiveGapicGeneration) \nReference documentation and code samples for the Google API Common Protos Client class SelectiveGapicGeneration.\n\nThis message is used to configure the generation of a subset of the RPCs in\na service for client libraries.\n\nGenerated from protobuf message `google.api.SelectiveGapicGeneration`\n\nNamespace\n---------\n\nGoogle \\\\ Api\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMethods\n\nAn allowlist of the fully qualified names of RPCs that should be included\non public client surfaces.\n\n### setMethods\n\nAn allowlist of the fully qualified names of RPCs that should be included\non public client surfaces.\n\n### getGenerateOmittedAsInternal\n\nSetting this to true indicates to the client generators that methods\nthat would be excluded from the generation should instead be generated\nin a way that indicates these methods should not be consumed by\nend users. How this is expressed is up to individual language\nimplementations to decide. Some examples may be: added annotations,\nobfuscated identifiers, or other language idiomatic patterns.\n\n### setGenerateOmittedAsInternal\n\nSetting this to true indicates to the client generators that methods\nthat would be excluded from the generation should instead be generated\nin a way that indicates these methods should not be consumed by\nend users. How this is expressed is up to individual language\nimplementations to decide. Some examples may be: added annotations,\nobfuscated identifiers, or other language idiomatic patterns."]]