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 message google.api.ClientLibrarySettings
Namespace
Google \ ApiMethods
__construct
Constructor.
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.
↳ java_settings
↳ cpp_settings
↳ php_settings
↳ python_settings
↳ node_settings
↳ dotnet_settings
↳ ruby_settings
↳ go_settings
getVersion
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".
string
setVersion
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".
var
string
$this
getLaunchStage
Launch stage of this version of the API.
int
setLaunchStage
Launch stage of this version of the API.
var
int
$this
getRestNumericEnums
When using transport=rest, the client request will encode enums as numbers rather than strings.
bool
setRestNumericEnums
When using transport=rest, the client request will encode enums as numbers rather than strings.
var
bool
$this
getJavaSettings
Settings for legacy Java features, supported in the Service YAML.
hasJavaSettings
clearJavaSettings
setJavaSettings
Settings for legacy Java features, supported in the Service YAML.
$this
getCppSettings
Settings for C++ client libraries.
hasCppSettings
clearCppSettings
setCppSettings
Settings for C++ client libraries.
$this
getPhpSettings
Settings for PHP client libraries.
hasPhpSettings
clearPhpSettings
setPhpSettings
Settings for PHP client libraries.
$this
getPythonSettings
Settings for Python client libraries.
hasPythonSettings
clearPythonSettings
setPythonSettings
Settings for Python client libraries.
$this
getNodeSettings
Settings for Node client libraries.
hasNodeSettings
clearNodeSettings
setNodeSettings
Settings for Node client libraries.
$this
getDotnetSettings
Settings for .NET client libraries.
hasDotnetSettings
clearDotnetSettings
setDotnetSettings
Settings for .NET client libraries.
$this
getRubySettings
Settings for Ruby client libraries.
hasRubySettings
clearRubySettings
setRubySettings
Settings for Ruby client libraries.
$this
getGoSettings
Settings for Go client libraries.
hasGoSettings
clearGoSettings
setGoSettings
Settings for Go client libraries.
$this