public class Computeaccounts.Users.AddPublicKey extends ComputeaccountsRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Computeaccounts.Users.AddPublicKey(String project,
String user,
PublicKey content)
Adds a public key to the specified user using the data included in the request.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProject()
Project ID for this request.
|
String |
getUser()
Name of the user for this request.
|
Computeaccounts.Users.AddPublicKey |
set(String parameterName,
Object value) |
Computeaccounts.Users.AddPublicKey |
setAlt(String alt)
Data format for the response.
|
Computeaccounts.Users.AddPublicKey |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Computeaccounts.Users.AddPublicKey |
setKey(String key)
API key.
|
Computeaccounts.Users.AddPublicKey |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Computeaccounts.Users.AddPublicKey |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Computeaccounts.Users.AddPublicKey |
setProject(String project)
Project ID for this request.
|
Computeaccounts.Users.AddPublicKey |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Computeaccounts.Users.AddPublicKey |
setUser(String user)
Name of the user for this request.
|
Computeaccounts.Users.AddPublicKey |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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 Computeaccounts.Users.AddPublicKey(String project, String user, PublicKey content)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. Computeaccounts.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
project - Project ID for this request.user - Name of the user for this request.content - the PublicKeypublic Computeaccounts.Users.AddPublicKey setAlt(String alt)
ComputeaccountsRequestsetAlt in class ComputeaccountsRequest<Operation>public Computeaccounts.Users.AddPublicKey setFields(String fields)
ComputeaccountsRequestsetFields in class ComputeaccountsRequest<Operation>public Computeaccounts.Users.AddPublicKey setKey(String key)
ComputeaccountsRequestsetKey in class ComputeaccountsRequest<Operation>public Computeaccounts.Users.AddPublicKey setOauthToken(String oauthToken)
ComputeaccountsRequestsetOauthToken in class ComputeaccountsRequest<Operation>public Computeaccounts.Users.AddPublicKey setPrettyPrint(Boolean prettyPrint)
ComputeaccountsRequestsetPrettyPrint in class ComputeaccountsRequest<Operation>public Computeaccounts.Users.AddPublicKey setQuotaUser(String quotaUser)
ComputeaccountsRequestsetQuotaUser in class ComputeaccountsRequest<Operation>public Computeaccounts.Users.AddPublicKey setUserIp(String userIp)
ComputeaccountsRequestsetUserIp in class ComputeaccountsRequest<Operation>public String getProject()
public Computeaccounts.Users.AddPublicKey setProject(String project)
public String getUser()
public Computeaccounts.Users.AddPublicKey setUser(String user)
public Computeaccounts.Users.AddPublicKey set(String parameterName, Object value)
set in class ComputeaccountsRequest<Operation>