public class Compute.Projects.SetCommonInstanceMetadata extends ComputeRequest<Operation>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Compute.Projects.SetCommonInstanceMetadata(String project,
Metadata content)
Sets metadata common to all instances within the specified project using the data included in
the request.
|
Modifier and Type | Method and Description |
---|---|
String |
getProject()
Name of the project scoping this request.
|
Compute.Projects.SetCommonInstanceMetadata |
setAlt(String alt)
Data format for the response.
|
Compute.Projects.SetCommonInstanceMetadata |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Projects.SetCommonInstanceMetadata |
setKey(String key)
API key.
|
Compute.Projects.SetCommonInstanceMetadata |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Projects.SetCommonInstanceMetadata |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Projects.SetCommonInstanceMetadata |
setProject(String project)
Name of the project scoping this request.
|
Compute.Projects.SetCommonInstanceMetadata |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Projects.SetCommonInstanceMetadata |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Compute.Projects.SetCommonInstanceMetadata(String project, Metadata content)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. Compute.initialize(AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
project
- Name of the project scoping this request.content
- the Metadata
public Compute.Projects.SetCommonInstanceMetadata setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<Operation>
public Compute.Projects.SetCommonInstanceMetadata setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<Operation>
public Compute.Projects.SetCommonInstanceMetadata setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<Operation>
public Compute.Projects.SetCommonInstanceMetadata setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<Operation>
public Compute.Projects.SetCommonInstanceMetadata setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<Operation>
public Compute.Projects.SetCommonInstanceMetadata setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<Operation>
public Compute.Projects.SetCommonInstanceMetadata setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<Operation>
public String getProject()
public Compute.Projects.SetCommonInstanceMetadata setProject(String project)