Reference documentation and code samples for the Google API Common Protos Client class GoSettings.
Settings for Go client libraries.
Generated from protobuf message google.api.GoSettings
Namespace
Google \ ApiMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ common |
CommonLanguageSettings
Some settings. |
↳ renamed_services |
array|Google\Protobuf\Internal\MapField
Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin |
getCommon
Some settings.
Returns | |
---|---|
Type | Description |
CommonLanguageSettings|null |
hasCommon
clearCommon
setCommon
Some settings.
Parameter | |
---|---|
Name | Description |
var |
CommonLanguageSettings
|
Returns | |
---|---|
Type | Description |
$this |
getRenamedServices
Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options.
publishing: go_settings: renamed_services: Publisher: TopicAdmin
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setRenamedServices
Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options.
publishing: go_settings: renamed_services: Publisher: TopicAdmin
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |