public class Iam.Projects.ServiceAccounts.Get extends IamRequest<ServiceAccount>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Get(java.lang.String name)
Gets a ServiceAccount.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getName()
Required.
|
Iam.Projects.ServiceAccounts.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Iam.Projects.ServiceAccounts.Get |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Iam.Projects.ServiceAccounts.Get |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Iam.Projects.ServiceAccounts.Get |
setAlt(java.lang.String alt)
Data format for response.
|
Iam.Projects.ServiceAccounts.Get |
setCallback(java.lang.String callback)
JSONP
|
Iam.Projects.ServiceAccounts.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Iam.Projects.ServiceAccounts.Get |
setKey(java.lang.String key)
API key.
|
Iam.Projects.ServiceAccounts.Get |
setName(java.lang.String name)
Required.
|
Iam.Projects.ServiceAccounts.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Iam.Projects.ServiceAccounts.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Iam.Projects.ServiceAccounts.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Iam.Projects.ServiceAccounts.Get |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Iam.Projects.ServiceAccounts.Get |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Get(java.lang.String name)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Iam.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
name
- Required. The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Using `-` as a wildcard for the
`PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the
`email` address or the
`unique_id` of the service account.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 Iam.Projects.ServiceAccounts.Get set$Xgafv(java.lang.String $Xgafv)
IamRequest
set$Xgafv
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setAccessToken(java.lang.String accessToken)
IamRequest
setAccessToken
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setAlt(java.lang.String alt)
IamRequest
setAlt
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setCallback(java.lang.String callback)
IamRequest
setCallback
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setFields(java.lang.String fields)
IamRequest
setFields
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setKey(java.lang.String key)
IamRequest
setKey
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setOauthToken(java.lang.String oauthToken)
IamRequest
setOauthToken
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setPrettyPrint(java.lang.Boolean prettyPrint)
IamRequest
setPrettyPrint
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setQuotaUser(java.lang.String quotaUser)
IamRequest
setQuotaUser
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setUploadType(java.lang.String uploadType)
IamRequest
setUploadType
in class IamRequest<ServiceAccount>
public Iam.Projects.ServiceAccounts.Get setUploadProtocol(java.lang.String uploadProtocol)
IamRequest
setUploadProtocol
in class IamRequest<ServiceAccount>
public java.lang.String getName()
public Iam.Projects.ServiceAccounts.Get setName(java.lang.String name)
public Iam.Projects.ServiceAccounts.Get set(java.lang.String parameterName, java.lang.Object value)
set
in class IamRequest<ServiceAccount>