public class Iam.Projects.ServiceAccounts.Keys.List extends IamRequest<ListServiceAccountKeysResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String name)
Lists ServiceAccountKeys.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
List<String> |
getKeyTypes()
Filters the types of keys the user wants to include in the list response.
|
String |
getName()
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
Iam.Projects.ServiceAccounts.Keys.List |
set(String parameterName,
Object value) |
Iam.Projects.ServiceAccounts.Keys.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
Iam.Projects.ServiceAccounts.Keys.List |
setAccessToken(String accessToken)
OAuth access token.
|
Iam.Projects.ServiceAccounts.Keys.List |
setAlt(String alt)
Data format for response.
|
Iam.Projects.ServiceAccounts.Keys.List |
setCallback(String callback)
JSONP
|
Iam.Projects.ServiceAccounts.Keys.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Iam.Projects.ServiceAccounts.Keys.List |
setKey(String key)
API key.
|
Iam.Projects.ServiceAccounts.Keys.List |
setKeyTypes(List<String> keyTypes)
Filters the types of keys the user wants to include in the list response.
|
Iam.Projects.ServiceAccounts.Keys.List |
setName(String name)
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
Iam.Projects.ServiceAccounts.Keys.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Iam.Projects.ServiceAccounts.Keys.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Iam.Projects.ServiceAccounts.Keys.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Iam.Projects.ServiceAccounts.Keys.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Iam.Projects.ServiceAccounts.Keys.List |
setUploadType(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, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected List(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 - 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 HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<ListServiceAccountKeysResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<ListServiceAccountKeysResponse>IOExceptionpublic Iam.Projects.ServiceAccounts.Keys.List set$Xgafv(String $Xgafv)
IamRequestset$Xgafv in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setAccessToken(String accessToken)
IamRequestsetAccessToken in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setAlt(String alt)
IamRequestsetAlt in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setCallback(String callback)
IamRequestsetCallback in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setFields(String fields)
IamRequestsetFields in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setKey(String key)
IamRequestsetKey in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setOauthToken(String oauthToken)
IamRequestsetOauthToken in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setPrettyPrint(Boolean prettyPrint)
IamRequestsetPrettyPrint in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setQuotaUser(String quotaUser)
IamRequestsetQuotaUser in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setUploadType(String uploadType)
IamRequestsetUploadType in class IamRequest<ListServiceAccountKeysResponse>public Iam.Projects.ServiceAccounts.Keys.List setUploadProtocol(String uploadProtocol)
IamRequestsetUploadProtocol in class IamRequest<ListServiceAccountKeysResponse>public String getName()
public Iam.Projects.ServiceAccounts.Keys.List setName(String name)
public List<String> getKeyTypes()
public Iam.Projects.ServiceAccounts.Keys.List setKeyTypes(List<String> keyTypes)
public Iam.Projects.ServiceAccounts.Keys.List set(String parameterName, Object value)
set in class IamRequest<ListServiceAccountKeysResponse>Copyright © 2011–2019 Google. All rights reserved.