Reference documentation and code samples for the Google API Common Protos Client class ClientLibrarySettings.
Details about how and where to publish client libraries.
Generated from protobuf messagegoogle.api.ClientLibrarySettings
Namespace
Google \ Api
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ version
string
Version of the API to apply these settings to. This is the full protobuf package for the API, ending in the version element. Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
↳ launch_stage
int
Launch stage of this version of the API.
↳ rest_numeric_enums
bool
When using transport=rest, the client request will encode enums as numbers rather than strings.
[[["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 ClientLibrarySettings (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Api.ClientLibrarySettings)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Api.ClientLibrarySettings)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Api.ClientLibrarySettings)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Api.ClientLibrarySettings)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Api.ClientLibrarySettings)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Api.ClientLibrarySettings) \nReference documentation and code samples for the Google API Common Protos Client class ClientLibrarySettings.\n\nDetails about how and where to publish client libraries.\n\nGenerated from protobuf message `google.api.ClientLibrarySettings`\n\nNamespace\n---------\n\nGoogle \\\\ Api\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getVersion\n\nVersion of the API to apply these settings to. This is the full protobuf\npackage for the API, ending in the version element.\n\nExamples: \"google.cloud.speech.v1\" and \"google.spanner.admin.database.v1\".\n\n### setVersion\n\nVersion of the API to apply these settings to. This is the full protobuf\npackage for the API, ending in the version element.\n\nExamples: \"google.cloud.speech.v1\" and \"google.spanner.admin.database.v1\".\n\n### getLaunchStage\n\nLaunch stage of this version of the API.\n\n### setLaunchStage\n\nLaunch stage of this version of the API.\n\n### getRestNumericEnums\n\nWhen using transport=rest, the client request will encode enums as\nnumbers rather than strings.\n\n### setRestNumericEnums\n\nWhen using transport=rest, the client request will encode enums as\nnumbers rather than strings.\n\n### getJavaSettings\n\nSettings for legacy Java features, supported in the Service YAML.\n\n### hasJavaSettings\n\n### clearJavaSettings\n\n### setJavaSettings\n\nSettings for legacy Java features, supported in the Service YAML.\n\n### getCppSettings\n\nSettings for C++ client libraries.\n\n### hasCppSettings\n\n### clearCppSettings\n\n### setCppSettings\n\nSettings for C++ client libraries.\n\n### getPhpSettings\n\nSettings for PHP client libraries.\n\n### hasPhpSettings\n\n### clearPhpSettings\n\n### setPhpSettings\n\nSettings for PHP client libraries.\n\n### getPythonSettings\n\nSettings for Python client libraries.\n\n### hasPythonSettings\n\n### clearPythonSettings\n\n### setPythonSettings\n\nSettings for Python client libraries.\n\n### getNodeSettings\n\nSettings for Node client libraries.\n\n### hasNodeSettings\n\n### clearNodeSettings\n\n### setNodeSettings\n\nSettings for Node client libraries.\n\n### getDotnetSettings\n\nSettings for .NET client libraries.\n\n### hasDotnetSettings\n\n### clearDotnetSettings\n\n### setDotnetSettings\n\nSettings for .NET client libraries.\n\n### getRubySettings\n\nSettings for Ruby client libraries.\n\n### hasRubySettings\n\n### clearRubySettings\n\n### setRubySettings\n\nSettings for Ruby client libraries.\n\n### getGoSettings\n\nSettings for Go client libraries.\n\n### hasGoSettings\n\n### clearGoSettings\n\n### setGoSettings\n\nSettings for Go client libraries."]]