Google API Common Protos Client - Class ClientLibrarySettings (4.12.3)

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 \ 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.

↳ java_settings
JavaSettings

Settings for legacy Java features, supported in the Service YAML.

↳ cpp_settings
CppSettings

Settings for C++ client libraries.

↳ php_settings
PhpSettings

Settings for PHP client libraries.

↳ python_settings
PythonSettings

Settings for Python client libraries.

↳ node_settings
NodeSettings

Settings for Node client libraries.

↳ dotnet_settings
DotnetSettings

Settings for .NET client libraries.

↳ ruby_settings
RubySettings

Settings for Ruby client libraries.

↳ go_settings
GoSettings

Settings for Go client libraries.

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".

Returns
Type
Description
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".

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLaunchStage

Launch stage of this version of the API.

Returns
Type
Description
int

setLaunchStage

Launch stage of this version of the API.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getRestNumericEnums

When using transport=rest, the client request will encode enums as numbers rather than strings.

Returns
Type
Description
bool

setRestNumericEnums

When using transport=rest, the client request will encode enums as numbers rather than strings.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getJavaSettings

Settings for legacy Java features, supported in the Service YAML.

Returns
Type
Description
JavaSettings |null

hasJavaSettings

clearJavaSettings

setJavaSettings

Settings for legacy Java features, supported in the Service YAML.

Parameter
Name
Description
Returns
Type
Description
$this

getCppSettings

Settings for C++ client libraries.

Returns
Type
Description
CppSettings |null

hasCppSettings

clearCppSettings

setCppSettings

Settings for C++ client libraries.

Parameter
Name
Description
Returns
Type
Description
$this

getPhpSettings

Settings for PHP client libraries.

Returns
Type
Description
PhpSettings |null

hasPhpSettings

clearPhpSettings

setPhpSettings

Settings for PHP client libraries.

Parameter
Name
Description
Returns
Type
Description
$this

getPythonSettings

Settings for Python client libraries.

Returns
Type
Description

hasPythonSettings

clearPythonSettings

setPythonSettings

Settings for Python client libraries.

Parameter
Name
Description
Returns
Type
Description
$this

getNodeSettings

Settings for Node client libraries.

Returns
Type
Description
NodeSettings |null

hasNodeSettings

clearNodeSettings

setNodeSettings

Settings for Node client libraries.

Parameter
Name
Description
Returns
Type
Description
$this

getDotnetSettings

Settings for .NET client libraries.

Returns
Type
Description

hasDotnetSettings

clearDotnetSettings

setDotnetSettings

Settings for .NET client libraries.

Parameter
Name
Description
Returns
Type
Description
$this

getRubySettings

Settings for Ruby client libraries.

Returns
Type
Description
RubySettings |null

hasRubySettings

clearRubySettings

setRubySettings

Settings for Ruby client libraries.

Parameter
Name
Description
Returns
Type
Description
$this

getGoSettings

Settings for Go client libraries.

Returns
Type
Description
GoSettings |null

hasGoSettings

clearGoSettings

setGoSettings

Settings for Go client libraries.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: