target.apidocs.com.google.api.services.servicemanagement.model.DotnetSettings.html Maven / Gradle / Ivy
DotnetSettings (Service Management API v1-rev20240823-2.0.0)
com.google.api.services.servicemanagement.model
Class DotnetSettings
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.servicemanagement.model.DotnetSettings
-
public final class DotnetSettings
extends com.google.api.client.json.GenericJson
Settings for Dotnet client libraries.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Service Management API. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
DotnetSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DotnetSettings
clone()
CommonLanguageSettings
getCommon()
Some settings.
List<String>
getForcedNamespaceAliases()
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable)
naming collision
List<String>
getHandwrittenSignatures()
Method signatures (in the form "service.method(signature)") which are provided separately, so
shouldn't be generated.
List<String>
getIgnoredResources()
List of full resource types to ignore during generation.
Map<String,String>
getRenamedResources()
Map from full resource types to the effective short name for the resource.
Map<String,String>
getRenamedServices()
Map from original service names to renamed versions.
DotnetSettings
set(String fieldName,
Object value)
DotnetSettings
setCommon(CommonLanguageSettings common)
Some settings.
DotnetSettings
setForcedNamespaceAliases(List<String> forcedNamespaceAliases)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable)
naming collision
DotnetSettings
setHandwrittenSignatures(List<String> handwrittenSignatures)
Method signatures (in the form "service.method(signature)") which are provided separately, so
shouldn't be generated.
DotnetSettings
setIgnoredResources(List<String> ignoredResources)
List of full resource types to ignore during generation.
DotnetSettings
setRenamedResources(Map<String,String> renamedResources)
Map from full resource types to the effective short name for the resource.
DotnetSettings
setRenamedServices(Map<String,String> renamedServices)
Map from original service names to renamed versions.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCommon
public CommonLanguageSettings getCommon()
Some settings.
- Returns:
- value or
null
for none
-
setCommon
public DotnetSettings setCommon(CommonLanguageSettings common)
Some settings.
- Parameters:
common
- common or null
for none
-
getForcedNamespaceAliases
public List<String> getForcedNamespaceAliases()
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable)
naming collision
- Returns:
- value or
null
for none
-
setForcedNamespaceAliases
public DotnetSettings setForcedNamespaceAliases(List<String> forcedNamespaceAliases)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable)
naming collision
- Parameters:
forcedNamespaceAliases
- forcedNamespaceAliases or null
for none
-
getHandwrittenSignatures
public List<String> 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.
- Returns:
- value or
null
for none
-
setHandwrittenSignatures
public DotnetSettings setHandwrittenSignatures(List<String> handwrittenSignatures)
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.
- Parameters:
handwrittenSignatures
- handwrittenSignatures or null
for none
-
getIgnoredResources
public List<String> 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"
- Returns:
- value or
null
for none
-
setIgnoredResources
public DotnetSettings setIgnoredResources(List<String> ignoredResources)
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"
- Parameters:
ignoredResources
- ignoredResources or null
for none
-
getRenamedResources
public Map<String,String> 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"
- Returns:
- value or
null
for none
-
setRenamedResources
public DotnetSettings setRenamedResources(Map<String,String> renamedResources)
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"
- Parameters:
renamedResources
- renamedResources or null
for none
-
getRenamedServices
public Map<String,String> 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.
- Returns:
- value or
null
for none
-
setRenamedServices
public DotnetSettings setRenamedServices(Map<String,String> renamedServices)
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.
- Parameters:
renamedServices
- renamedServices or null
for none
-
set
public DotnetSettings set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DotnetSettings clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy