public class ServiceManagement.Services.GetConfig extends ServiceManagementRequest<Service>
com.google.api.client.util.GenericData.Flags
AbstractMap.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, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected 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>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Service>
IOException
public ServiceManagement.Services.GetConfig set$Xgafv(String $Xgafv)
ServiceManagementRequest
set$Xgafv
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setAccessToken(String accessToken)
ServiceManagementRequest
setAccessToken
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setAlt(String alt)
ServiceManagementRequest
setAlt
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setCallback(String callback)
ServiceManagementRequest
setCallback
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setFields(String fields)
ServiceManagementRequest
setFields
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setKey(String key)
ServiceManagementRequest
setKey
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setOauthToken(String oauthToken)
ServiceManagementRequest
setOauthToken
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setPrettyPrint(Boolean prettyPrint)
ServiceManagementRequest
setPrettyPrint
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setQuotaUser(String quotaUser)
ServiceManagementRequest
setQuotaUser
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setUploadType(String uploadType)
ServiceManagementRequest
setUploadType
in class ServiceManagementRequest<Service>
public ServiceManagement.Services.GetConfig setUploadProtocol(String uploadProtocol)
ServiceManagementRequest
setUploadProtocol
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–2024 Google. All rights reserved.