target.apidocs.com.google.api.services.servicemanagement.ServiceManagement.Services.GetConfig.html Maven / Gradle / Ivy
ServiceManagement.Services.GetConfig (Service Management API v1-rev20240823-2.0.0)
com.google.api.services.servicemanagement
Class ServiceManagement.Services.GetConfig
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.servicemanagement.ServiceManagementRequest<Service>
-
- com.google.api.services.servicemanagement.ServiceManagement.Services.GetConfig
-
- Enclosing class:
- ServiceManagement.Services
public class ServiceManagement.Services.GetConfig
extends ServiceManagementRequest<Service>
-
-
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
Modifier
Constructor and Description
protected
GetConfig(String serviceName)
Gets a service configuration (version) for a managed service.
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.services.servicemanagement.ServiceManagementRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
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
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
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
-
-
Constructor Detail
-
GetConfig
protected GetConfig(String serviceName)
Gets a service configuration (version) for a managed service.
Create a request for the method "services.getConfig".
This request holds the parameters needed by the the servicemanagement server. After setting
any optional parameters, call the 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.
- Parameters:
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`.
- Since:
- 1.13
-
Method Detail
-
executeUsingHead
public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
- Overrides:
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Service>
- Throws:
IOException
-
buildHttpRequestUsingHead
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
- Overrides:
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Service>
- Throws:
IOException
-
set$Xgafv
public ServiceManagement.Services.GetConfig set$Xgafv(String $Xgafv)
Description copied from class: ServiceManagementRequest
V1 error format.
- Overrides:
set$Xgafv
in class ServiceManagementRequest<Service>
-
setAccessToken
public ServiceManagement.Services.GetConfig setAccessToken(String accessToken)
Description copied from class: ServiceManagementRequest
OAuth access token.
- Overrides:
setAccessToken
in class ServiceManagementRequest<Service>
-
setAlt
public ServiceManagement.Services.GetConfig setAlt(String alt)
Description copied from class: ServiceManagementRequest
Data format for response.
- Overrides:
setAlt
in class ServiceManagementRequest<Service>
-
setCallback
public ServiceManagement.Services.GetConfig setCallback(String callback)
Description copied from class: ServiceManagementRequest
JSONP
- Overrides:
setCallback
in class ServiceManagementRequest<Service>
-
setFields
public ServiceManagement.Services.GetConfig setFields(String fields)
Description copied from class: ServiceManagementRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class ServiceManagementRequest<Service>
-
setKey
public ServiceManagement.Services.GetConfig setKey(String key)
Description copied from class: ServiceManagementRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class ServiceManagementRequest<Service>
-
setOauthToken
public ServiceManagement.Services.GetConfig setOauthToken(String oauthToken)
Description copied from class: ServiceManagementRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class ServiceManagementRequest<Service>
-
setPrettyPrint
public ServiceManagement.Services.GetConfig setPrettyPrint(Boolean prettyPrint)
Description copied from class: ServiceManagementRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class ServiceManagementRequest<Service>
-
setQuotaUser
public ServiceManagement.Services.GetConfig setQuotaUser(String quotaUser)
Description copied from class: ServiceManagementRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
- Overrides:
setQuotaUser
in class ServiceManagementRequest<Service>
-
setUploadType
public ServiceManagement.Services.GetConfig setUploadType(String uploadType)
Description copied from class: ServiceManagementRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class ServiceManagementRequest<Service>
-
setUploadProtocol
public ServiceManagement.Services.GetConfig setUploadProtocol(String uploadProtocol)
Description copied from class: ServiceManagementRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class ServiceManagementRequest<Service>
-
getServiceName
public String getServiceName()
Required. The name of the service. See the [overview](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.
-
setServiceName
public ServiceManagement.Services.GetConfig setServiceName(String 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`.
-
getConfigId
public String getConfigId()
Required. The id of the service configuration resource. This field must be specified for the server
to return all fields, including `SourceInfo`.
-
setConfigId
public ServiceManagement.Services.GetConfig setConfigId(String configId)
Required. The id of the service configuration resource. This field must be specified for
the server to return all fields, including `SourceInfo`.
-
getView
public String getView()
Specifies which parts of the Service Config should be returned in the response.
-
setView
public ServiceManagement.Services.GetConfig setView(String view)
Specifies which parts of the Service Config should be returned in the response.
-
set
public ServiceManagement.Services.GetConfig set(String parameterName,
Object value)
- Overrides:
set
in class ServiceManagementRequest<Service>
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy