public class Iam.Projects.ServiceAccounts.Keys.Get extends IamRequest<ServiceAccountKey>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Get(java.lang.String name)
Gets the ServiceAccountKey by key id.
|
| 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.
|
java.lang.String |
getPublicKeyType()
The output format of the public key requested.
|
Iam.Projects.ServiceAccounts.Keys.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Iam.Projects.ServiceAccounts.Keys.Get |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setAlt(java.lang.String alt)
Data format for response.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setCallback(java.lang.String callback)
JSONP
|
Iam.Projects.ServiceAccounts.Keys.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setKey(java.lang.String key)
API key.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setName(java.lang.String name)
Required.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setPublicKeyType(java.lang.String publicKeyType)
The output format of the public key requested.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Iam.Projects.ServiceAccounts.Keys.Get |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Iam.Projects.ServiceAccounts.Keys.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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected 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 key in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
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<ServiceAccountKey>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ServiceAccountKey>java.io.IOExceptionpublic Iam.Projects.ServiceAccounts.Keys.Get set$Xgafv(java.lang.String $Xgafv)
IamRequestset$Xgafv in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setAccessToken(java.lang.String accessToken)
IamRequestsetAccessToken in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setAlt(java.lang.String alt)
IamRequestsetAlt in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setCallback(java.lang.String callback)
IamRequestsetCallback in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setFields(java.lang.String fields)
IamRequestsetFields in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setKey(java.lang.String key)
IamRequestsetKey in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setOauthToken(java.lang.String oauthToken)
IamRequestsetOauthToken in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setPrettyPrint(java.lang.Boolean prettyPrint)
IamRequestsetPrettyPrint in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setQuotaUser(java.lang.String quotaUser)
IamRequestsetQuotaUser in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setUploadType(java.lang.String uploadType)
IamRequestsetUploadType in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setUploadProtocol(java.lang.String uploadProtocol)
IamRequestsetUploadProtocol in class IamRequest<ServiceAccountKey>public java.lang.String getName()
public Iam.Projects.ServiceAccounts.Keys.Get setName(java.lang.String name)
public java.lang.String getPublicKeyType()
public Iam.Projects.ServiceAccounts.Keys.Get setPublicKeyType(java.lang.String publicKeyType)
public Iam.Projects.ServiceAccounts.Keys.Get set(java.lang.String parameterName, java.lang.Object value)
set in class IamRequest<ServiceAccountKey>