public class Storage.ObjectAccessControls.Insert extends StorageRequest<ObjectAccessControl>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Insert(String bucket,
String object__,
ObjectAccessControl content)
Creates a new ACL entry on the specified object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBucket()
Name of a bucket.
|
Long |
getGeneration()
If present, selects a specific revision of this object (as opposed to the latest version, the
default).
|
String |
getObject()
Name of the object.
|
String |
getUserProject()
The project to be billed for this request.
|
Storage.ObjectAccessControls.Insert |
set(String parameterName,
Object value) |
Storage.ObjectAccessControls.Insert |
setAlt(String alt)
Data format for the response.
|
Storage.ObjectAccessControls.Insert |
setBucket(String bucket)
Name of a bucket.
|
Storage.ObjectAccessControls.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Storage.ObjectAccessControls.Insert |
setGeneration(Long generation)
If present, selects a specific revision of this object (as opposed to the latest version,
the default).
|
Storage.ObjectAccessControls.Insert |
setKey(String key)
API key.
|
Storage.ObjectAccessControls.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.ObjectAccessControls.Insert |
setObject(String object__)
Name of the object.
|
Storage.ObjectAccessControls.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.ObjectAccessControls.Insert |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Storage.ObjectAccessControls.Insert |
setUserIp(String userIp)
Deprecated.
|
Storage.ObjectAccessControls.Insert |
setUserProject(String userProject)
The project to be billed for this request.
|
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, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Insert(String bucket, String object__, ObjectAccessControl content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Storage.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
bucket - Name of a bucket.object__ - Name of the object. For information about how to URL encode object names to be path safe, see
Encoding URI Path Parts.content - the ObjectAccessControlpublic Storage.ObjectAccessControls.Insert setAlt(String alt)
StorageRequestsetAlt in class StorageRequest<ObjectAccessControl>public Storage.ObjectAccessControls.Insert setFields(String fields)
StorageRequestsetFields in class StorageRequest<ObjectAccessControl>public Storage.ObjectAccessControls.Insert setKey(String key)
StorageRequestsetKey in class StorageRequest<ObjectAccessControl>public Storage.ObjectAccessControls.Insert setOauthToken(String oauthToken)
StorageRequestsetOauthToken in class StorageRequest<ObjectAccessControl>public Storage.ObjectAccessControls.Insert setPrettyPrint(Boolean prettyPrint)
StorageRequestsetPrettyPrint in class StorageRequest<ObjectAccessControl>public Storage.ObjectAccessControls.Insert setQuotaUser(String quotaUser)
StorageRequestsetQuotaUser in class StorageRequest<ObjectAccessControl>public Storage.ObjectAccessControls.Insert setUserIp(String userIp)
StorageRequestsetUserIp in class StorageRequest<ObjectAccessControl>public String getBucket()
public Storage.ObjectAccessControls.Insert setBucket(String bucket)
public String getObject()
public Storage.ObjectAccessControls.Insert setObject(String object__)
public Long getGeneration()
public Storage.ObjectAccessControls.Insert setGeneration(Long generation)
public String getUserProject()
public Storage.ObjectAccessControls.Insert setUserProject(String userProject)
public Storage.ObjectAccessControls.Insert set(String parameterName, Object value)
set in class StorageRequest<ObjectAccessControl>Copyright © 2011–2018 Google. All rights reserved.