public class ServiceManagement.Services.GetConfig extends ServiceManagementRequest<Service>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
GetConfig(String serviceName)
Gets a service configuration (version) for a managed service.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getConfigId()
Required.
|
String |
getServiceName()
Required.
|
String |
getView()
Specifies which parts of the Service Config should be returned in the response.
|
ServiceManagement.Services.GetConfig |
set(String parameterName,
Object value) |
ServiceManagement.Services.GetConfig |
set$Xgafv(String $Xgafv)
V1 error format.
|
ServiceManagement.Services.GetConfig |
setAccessToken(String accessToken)
OAuth access token.
|
ServiceManagement.Services.GetConfig |
setAlt(String alt)
Data format for response.
|
ServiceManagement.Services.GetConfig |
setCallback(String callback)
JSONP
|
ServiceManagement.Services.GetConfig |
setConfigId(String configId)
Required.
|
ServiceManagement.Services.GetConfig |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
ServiceManagement.Services.GetConfig |
setKey(String key)
API key.
|
ServiceManagement.Services.GetConfig |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
ServiceManagement.Services.GetConfig |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
ServiceManagement.Services.GetConfig |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
ServiceManagement.Services.GetConfig |
setServiceName(String serviceName)
Required.
|
ServiceManagement.Services.GetConfig |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
ServiceManagement.Services.GetConfig |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
ServiceManagement.Services.GetConfig |
setView(String view)
Specifies which parts of the Service Config should be returned in the response.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected GetConfig(String serviceName)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. ServiceManagement.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
serviceName - Required. The name of the service. See the [overview](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Service>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Service>IOExceptionpublic ServiceManagement.Services.GetConfig set$Xgafv(String $Xgafv)
ServiceManagementRequestset$Xgafv in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setAccessToken(String accessToken)
ServiceManagementRequestsetAccessToken in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setAlt(String alt)
ServiceManagementRequestsetAlt in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setCallback(String callback)
ServiceManagementRequestsetCallback in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setFields(String fields)
ServiceManagementRequestsetFields in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setKey(String key)
ServiceManagementRequestsetKey in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setOauthToken(String oauthToken)
ServiceManagementRequestsetOauthToken in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setPrettyPrint(Boolean prettyPrint)
ServiceManagementRequestsetPrettyPrint in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setQuotaUser(String quotaUser)
ServiceManagementRequestsetQuotaUser in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setUploadType(String uploadType)
ServiceManagementRequestsetUploadType in class ServiceManagementRequest<Service>public ServiceManagement.Services.GetConfig setUploadProtocol(String uploadProtocol)
ServiceManagementRequestsetUploadProtocol in class ServiceManagementRequest<Service>public String getServiceName()
public ServiceManagement.Services.GetConfig setServiceName(String serviceName)
public String getConfigId()
public ServiceManagement.Services.GetConfig setConfigId(String configId)
public String getView()
public ServiceManagement.Services.GetConfig setView(String view)
public ServiceManagement.Services.GetConfig set(String parameterName, Object value)
set in class ServiceManagementRequest<Service>Copyright © 2011–2025 Google. All rights reserved.