public class AndroidEnterprise.Enterprises.GetServiceAccount extends AndroidEnterpriseRequest<ServiceAccount>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
GetServiceAccount(java.lang.String enterpriseId)
Returns a service account and credentials.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getEnterpriseId()
The ID of the enterprise.
|
java.lang.String |
getKeyType()
The type of credential to return with the service account.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
set(java.lang.String parameterName,
java.lang.Object value) |
AndroidEnterprise.Enterprises.GetServiceAccount |
setAlt(java.lang.String alt)
Data format for the response.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
setEnterpriseId(java.lang.String enterpriseId)
The ID of the enterprise.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
setKey(java.lang.String key)
API key.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
setKeyType(java.lang.String keyType)
The type of credential to return with the service account.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected GetServiceAccount(java.lang.String enterpriseId)
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation. GetServiceAccount#initialize(com.google.api.client.googleapis.serv
ices.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after
invoking the constructor.
enterpriseId
- The ID of the enterprise.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ServiceAccount>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ServiceAccount>
java.io.IOException
public AndroidEnterprise.Enterprises.GetServiceAccount setAlt(java.lang.String alt)
AndroidEnterpriseRequest
setAlt
in class AndroidEnterpriseRequest<ServiceAccount>
public AndroidEnterprise.Enterprises.GetServiceAccount setFields(java.lang.String fields)
AndroidEnterpriseRequest
setFields
in class AndroidEnterpriseRequest<ServiceAccount>
public AndroidEnterprise.Enterprises.GetServiceAccount setKey(java.lang.String key)
AndroidEnterpriseRequest
setKey
in class AndroidEnterpriseRequest<ServiceAccount>
public AndroidEnterprise.Enterprises.GetServiceAccount setOauthToken(java.lang.String oauthToken)
AndroidEnterpriseRequest
setOauthToken
in class AndroidEnterpriseRequest<ServiceAccount>
public AndroidEnterprise.Enterprises.GetServiceAccount setPrettyPrint(java.lang.Boolean prettyPrint)
AndroidEnterpriseRequest
setPrettyPrint
in class AndroidEnterpriseRequest<ServiceAccount>
public AndroidEnterprise.Enterprises.GetServiceAccount setQuotaUser(java.lang.String quotaUser)
AndroidEnterpriseRequest
setQuotaUser
in class AndroidEnterpriseRequest<ServiceAccount>
public AndroidEnterprise.Enterprises.GetServiceAccount setUserIp(java.lang.String userIp)
AndroidEnterpriseRequest
setUserIp
in class AndroidEnterpriseRequest<ServiceAccount>
public java.lang.String getEnterpriseId()
public AndroidEnterprise.Enterprises.GetServiceAccount setEnterpriseId(java.lang.String enterpriseId)
public java.lang.String getKeyType()
public AndroidEnterprise.Enterprises.GetServiceAccount setKeyType(java.lang.String keyType)
public AndroidEnterprise.Enterprises.GetServiceAccount set(java.lang.String parameterName, java.lang.Object value)
set
in class AndroidEnterpriseRequest<ServiceAccount>