public class Iam.Projects.ServiceAccounts.Keys.Get extends IamRequest<ServiceAccountKey>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String name)
Gets a ServiceAccountKey.
|
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(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. Use one of the following formats: *
`projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` *
`projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you
can use the `-` wildcard character instead of the project ID: *
`projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` *
`projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-`
wildcard character, because it can cause response messages to contain misleading error
codes. For example, if you try to access the service account key
`projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the
response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ServiceAccountKey>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ServiceAccountKey>IOExceptionpublic Iam.Projects.ServiceAccounts.Keys.Get set$Xgafv(String $Xgafv)
IamRequestset$Xgafv in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setAccessToken(String accessToken)
IamRequestsetAccessToken in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setAlt(String alt)
IamRequestsetAlt in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setCallback(String callback)
IamRequestsetCallback in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setFields(String fields)
IamRequestsetFields in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setKey(String key)
IamRequestsetKey in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setOauthToken(String oauthToken)
IamRequestsetOauthToken in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setPrettyPrint(Boolean prettyPrint)
IamRequestsetPrettyPrint in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setQuotaUser(String quotaUser)
IamRequestsetQuotaUser in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setUploadType(String uploadType)
IamRequestsetUploadType in class IamRequest<ServiceAccountKey>public Iam.Projects.ServiceAccounts.Keys.Get setUploadProtocol(String uploadProtocol)
IamRequestsetUploadProtocol in class IamRequest<ServiceAccountKey>public String getName()
public Iam.Projects.ServiceAccounts.Keys.Get setName(String name)
public String getPublicKeyType()
public Iam.Projects.ServiceAccounts.Keys.Get setPublicKeyType(String publicKeyType)
public Iam.Projects.ServiceAccounts.Keys.Get set(String parameterName, Object value)
set in class IamRequest<ServiceAccountKey>Copyright © 2011–2023 Google. All rights reserved.