Reference documentation and code samples for the Google API Common Protos Client class DotnetSettings.
Settings for Dotnet client libraries.
Generated from protobuf message google.api.DotnetSettings
Namespace
Google \ ApiMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ common
↳ renamed_services
array| Google\Protobuf\Internal\MapField
Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
↳ renamed_resources
array| Google\Protobuf\Internal\MapField
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
↳ ignored_resources
array
List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: "documentai.googleapis.com/Location"
↳ forced_namespace_aliases
array
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
↳ handwritten_signatures
array
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated. Snippets calling these methods are still generated, however.
getCommon
Some settings.
hasCommon
clearCommon
setCommon
Some settings.
$this
getRenamedServices
Map from original service names to renamed versions.
This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
setRenamedServices
Map from original service names to renamed versions.
This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
$this
getRenamedResources
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions.
Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
setRenamedResources
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions.
Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
$this
getIgnoredResources
List of full resource types to ignore during generation.
This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: "documentai.googleapis.com/Location"
setIgnoredResources
List of full resource types to ignore during generation.
This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: "documentai.googleapis.com/Location"
var
string[]
$this
getForcedNamespaceAliases
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
setForcedNamespaceAliases
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
var
string[]
$this
getHandwrittenSignatures
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.
Snippets calling these methods are still generated, however.
setHandwrittenSignatures
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.
Snippets calling these methods are still generated, however.
var
string[]
$this