Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Acl - Class in com.google.cloud.storage
-
Access Control List for buckets or blobs.
- ACL - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- ACL - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- Acl.Builder - Class in com.google.cloud.storage
-
Builder for
Acl
objects. - Acl.Domain - Class in com.google.cloud.storage
-
Class for ACL Domain entities.
- Acl.Entity - Class in com.google.cloud.storage
-
Base class for Access Control List entities.
- Acl.Entity.Type - Enum in com.google.cloud.storage
- Acl.Group - Class in com.google.cloud.storage
-
Class for ACL Group entities.
- Acl.Project - Class in com.google.cloud.storage
-
Class for ACL Project entities.
- Acl.Project.ProjectRole - Class in com.google.cloud.storage
- Acl.RawEntity - Class in com.google.cloud.storage
- Acl.Role - Class in com.google.cloud.storage
- Acl.User - Class in com.google.cloud.storage
-
Class for ACL User entities.
- ACTIVE - Enum constant in enum com.google.cloud.storage.HmacKey.HmacKeyState
- addAclCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addBucketCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addCacheControlCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addContentDispositionCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addContentEncodingCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addContentLengthCondition(PostPolicyV4.ConditionV4Type, int) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
-
Deprecated.
- addContentLengthRangeCondition(int, int) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addContentTypeCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- AddCustomMetadataField(String, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- addDelete(StorageObject, RpcBatch.Callback<Void>, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch
-
Adds a call to "delete storage object" to the batch, with the provided
callback
andoptions
. - addExpiresCondition(long) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addExpiresCondition(PostPolicyV4.ConditionV4Type, long) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
-
Deprecated.
- addExpiresCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addExpiresCondition(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addGet(StorageObject, RpcBatch.Callback<StorageObject>, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch
-
Adds a call to "get storage object" to the batch, with the provided
callback
andoptions
. - addKeyCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addPatch(StorageObject, RpcBatch.Callback<StorageObject>, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch
-
Adds a call to "patch storage object" to the batch, with the provided
callback
andoptions
. - addSource(Iterable<String>) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
-
Add source blobs for compose operation.
- addSource(String...) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
-
Add source blobs for compose operation.
- addSource(String, long) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
-
Add a source with a specific generation to match.
- addSuccessActionRedirectUrlCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addSuccessActionStatusCondition(int) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- addSuccessActionStatusCondition(PostPolicyV4.ConditionV4Type, int) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- admin() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.buckets.* storage.objects.*
- AGE - Enum constant in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
-
Deprecated.
- AgeDeleteRule(int) - Constructor for class com.google.cloud.storage.BucketInfo.AgeDeleteRule
-
Deprecated.Creates an
AgeDeleteRule
object. - ALL_AUTHENTICATED_USERS - Enum constant in enum com.google.cloud.storage.Storage.PredefinedAcl
- always() - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy
-
Cleanup strategy which will always attempt to clean up part and intermediary compose objects either on success or on error.
- any() - Static method in class com.google.cloud.storage.Cors.Origin
-
Returns an
Origin
object for all possible origins. - ARCHIVE - Static variable in class com.google.cloud.storage.StorageClass
-
Archive storage class.
- asBlobInfo() - Method in class com.google.cloud.storage.Blob
-
Drop the held
Storage
instance. - asBucketInfo() - Method in class com.google.cloud.storage.Bucket
-
Drop the held
Storage
instance. - ASYNC_TURBO - Static variable in class com.google.cloud.storage.Rpo
-
Turbo recovery point objective.
- AUTHENTICATED_READ - Enum constant in enum com.google.cloud.storage.Storage.PredefinedAcl
- AUTOCLASS - Enum constant in enum com.google.cloud.storage.Storage.BucketField
B
- batch() - Method in interface com.google.cloud.storage.Storage
-
Creates a new empty batch for grouping multiple service calls in one underlying RPC call.
- BidiBlobWriteSessionConfig - Class in com.google.cloud.storage
- bidiWrite() - Static method in class com.google.cloud.storage.BlobWriteSessionConfigs
-
Factory to produce a resumable upload using a bi-directional stream.
- BILLING - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- Blob - Class in com.google.cloud.storage
-
An object in Google Cloud Storage.
- Blob.BlobSourceOption - Class in com.google.cloud.storage
-
Class for specifying blob source options when
Blob
methods are used. - Blob.Builder - Class in com.google.cloud.storage
-
Builder for
Blob
. - BlobId - Class in com.google.cloud.storage
-
Google Storage Object identifier.
- BlobInfo - Class in com.google.cloud.storage
-
Information about an object in Google Cloud Storage.
- BlobInfo.Builder - Class in com.google.cloud.storage
-
Builder for
BlobInfo
. - BlobInfo.CustomerEncryption - Class in com.google.cloud.storage
-
Objects of this class hold information on the customer-supplied encryption key, if the blob is encrypted using such a key.
- BlobInfo.ImmutableEmptyMap<K,
V> - Class in com.google.cloud.storage -
This class is meant for internal use only.
- BlobInfo.Retention - Class in com.google.cloud.storage
-
Defines a blob's Retention policy.
- BlobInfo.Retention.Builder - Class in com.google.cloud.storage
- BlobInfo.Retention.Mode - Class in com.google.cloud.storage
- blobSize - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- blobWriteSession(BlobInfo, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
- BlobWriteSession - Interface in com.google.cloud.storage
-
A session to write an object to Google Cloud Storage.
- BlobWriteSessionConfig - Class in com.google.cloud.storage
-
A sealed internal implementation only class which provides the means of configuring a
BlobWriteSession
. - BlobWriteSessionConfigs - Class in com.google.cloud.storage
-
Factory class to select and construct
BlobWriteSessionConfig
s. - Bucket - Class in com.google.cloud.storage
-
A Google cloud storage bucket.
- BUCKET - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- BUCKET_OWNER_FULL_CONTROL - Enum constant in enum com.google.cloud.storage.Storage.PredefinedAcl
- BUCKET_OWNER_READ - Enum constant in enum com.google.cloud.storage.Storage.PredefinedAcl
- Bucket.BlobTargetOption - Class in com.google.cloud.storage
-
Class for specifying blob target options when
Bucket
methods are used. - Bucket.BlobWriteOption - Class in com.google.cloud.storage
-
Class for specifying blob write options when
Bucket
methods are used. - Bucket.BucketSourceOption - Class in com.google.cloud.storage
-
Class for specifying bucket source options when
Bucket
methods are used. - Bucket.Builder - Class in com.google.cloud.storage
-
Builder for
Bucket
. - BucketInfo - Class in com.google.cloud.storage
-
Google Storage bucket metadata;
- BucketInfo.AgeDeleteRule - Class in com.google.cloud.storage
-
Deprecated.Use a
LifecycleRule
with aDeleteLifecycleAction
and useLifecycleCondition.Builder.setAge
instead.For example,
new DeleteLifecycleAction(1)
is equivalent tonew LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(1).build()))
- BucketInfo.Autoclass - Class in com.google.cloud.storage
-
Configuration for the Autoclass settings of a bucket.
- BucketInfo.Autoclass.Builder - Class in com.google.cloud.storage
- BucketInfo.Builder - Class in com.google.cloud.storage
-
Builder for
BucketInfo
. - BucketInfo.CreatedBeforeDeleteRule - Class in com.google.cloud.storage
-
Deprecated.Use a
LifecycleRule
with an actionDeleteLifecycleAction
and a conditionLifecycleCondition.Builder.setCreatedBefore
instead. - BucketInfo.CustomPlacementConfig - Class in com.google.cloud.storage
-
The bucket's custom placement configuration for Custom Dual Regions.
- BucketInfo.CustomPlacementConfig.Builder - Class in com.google.cloud.storage
- BucketInfo.DeleteRule - Class in com.google.cloud.storage
-
Deprecated.Use a
LifecycleRule
with aDeleteLifecycleAction
and aLifecycleCondition
which is equivalent to a subclass of DeleteRule instead. - BucketInfo.DeleteRule.Type - Enum in com.google.cloud.storage
-
Deprecated.
- BucketInfo.HierarchicalNamespace - Class in com.google.cloud.storage
-
The bucket's hierarchical namespace (Folders) configuration.
- BucketInfo.HierarchicalNamespace.Builder - Class in com.google.cloud.storage
- BucketInfo.IamConfiguration - Class in com.google.cloud.storage
-
The Bucket's IAM Configuration.
- BucketInfo.IamConfiguration.Builder - Class in com.google.cloud.storage
-
Builder for
IamConfiguration
- BucketInfo.IsLiveDeleteRule - Class in com.google.cloud.storage
-
Deprecated.Use a
LifecycleRule
with aDeleteLifecycleAction
and a conditionLifecycleCondition.Builder.setIsLive
instead. - BucketInfo.LifecycleRule - Class in com.google.cloud.storage
-
Lifecycle rule for a bucket.
- BucketInfo.LifecycleRule.AbortIncompleteMPUAction - Class in com.google.cloud.storage
- BucketInfo.LifecycleRule.DeleteLifecycleAction - Class in com.google.cloud.storage
- BucketInfo.LifecycleRule.LifecycleAction - Class in com.google.cloud.storage
-
Base class for the Action to take when a Lifecycle Condition is met.
- BucketInfo.LifecycleRule.LifecycleCondition - Class in com.google.cloud.storage
-
Condition for a Lifecycle rule, specifies under what criteria an Action should be executed.
- BucketInfo.LifecycleRule.LifecycleCondition.Builder - Class in com.google.cloud.storage
-
Builder for
LifecycleCondition
. - BucketInfo.LifecycleRule.SetStorageClassLifecycleAction - Class in com.google.cloud.storage
- BucketInfo.Logging - Class in com.google.cloud.storage
-
The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
- BucketInfo.Logging.Builder - Class in com.google.cloud.storage
- BucketInfo.NumNewerVersionsDeleteRule - Class in com.google.cloud.storage
-
Deprecated.Use a
LifecycleRule
with aDeleteLifecycleAction
and a conditionLifecycleCondition.Builder.setNumberOfNewerVersions
instead. - BucketInfo.ObjectRetention - Class in com.google.cloud.storage
- BucketInfo.ObjectRetention.Builder - Class in com.google.cloud.storage
- BucketInfo.ObjectRetention.Mode - Class in com.google.cloud.storage
- BucketInfo.PublicAccessPrevention - Enum in com.google.cloud.storage
-
Public Access Prevention enum with expected values.
- BucketInfo.SoftDeletePolicy - Class in com.google.cloud.storage
-
The bucket's soft delete policy.
- BucketInfo.SoftDeletePolicy.Builder - Class in com.google.cloud.storage
- bufferToDiskThenUpload(Path) - Static method in class com.google.cloud.storage.BlobWriteSessionConfigs
-
Create a new
BlobWriteSessionConfig
which will first buffer the content of the object to a temporary file under the specifiedpath
. - bufferToDiskThenUpload(Collection<Path>) - Static method in class com.google.cloud.storage.BlobWriteSessionConfigs
-
Create a new
BlobWriteSessionConfig
which will first buffer the content of the object to a temporary file under one of the specifiedpaths
. - BufferToDiskThenUpload - Class in com.google.cloud.storage
-
There are scenarios in which disk space is more plentiful than memory space.
- bufferToTempDirThenUpload() - Static method in class com.google.cloud.storage.BlobWriteSessionConfigs
-
Create a new
BlobWriteSessionConfig
which will first buffer the content of the object to a temporary file underjava.io.tmpdir
. - build() - Method in class com.google.cloud.storage.Acl.Builder
-
Creates an
Acl
object from this builder. - build() - Method in class com.google.cloud.storage.Blob.Builder
- build() - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Creates a
BlobInfo
object. - build() - Method in class com.google.cloud.storage.BlobInfo.Retention.Builder
- build() - Method in class com.google.cloud.storage.Bucket.Builder
- build() - Method in class com.google.cloud.storage.BucketInfo.Autoclass.Builder
- build() - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Creates a
BucketInfo
object. - build() - Method in class com.google.cloud.storage.BucketInfo.CustomPlacementConfig.Builder
- build() - Method in class com.google.cloud.storage.BucketInfo.HierarchicalNamespace.Builder
- build() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
-
Builds an
IamConfiguration
object - build() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Builds a
LifecycleCondition
object. - build() - Method in class com.google.cloud.storage.BucketInfo.Logging.Builder
-
Builds an
Logging
object - build() - Method in class com.google.cloud.storage.BucketInfo.ObjectRetention.Builder
- build() - Method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy.Builder
- build() - Method in class com.google.cloud.storage.Cors.Builder
-
Creates a CORS configuration.
- build() - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- build() - Method in class com.google.cloud.storage.HmacKey.Builder
-
Creates an
HmacKey
object from this builder. - build() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
-
Creates an
HmacKeyMetadata
object from this builder. - build() - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- build() - Method in class com.google.cloud.storage.Notification.Builder
- build() - Method in class com.google.cloud.storage.NotificationInfo.Builder
-
Creates a
NotificationInfo
object. - build() - Method in class com.google.cloud.storage.NotificationInfo.BuilderImpl
- build() - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- build() - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- build() - Method in class com.google.cloud.storage.SignatureInfo.Builder
-
Creates an
SignatureInfo
object from this builder. - build() - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
-
Creates a
ComposeRequest
object. - build() - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Creates a
CopyRequest
object. - build() - Method in class com.google.cloud.storage.StorageOptions.Builder
- build() - Method in class com.google.cloud.storage.transfermanager.DownloadJob.Builder
-
Creates a DownloadJob object.
- build() - Method in class com.google.cloud.storage.transfermanager.DownloadResult.Builder
-
Creates a DownloadResult object.
- build() - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig.Builder
-
Creates a ParallelDownloadConfig object.
- build() - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig.Builder
-
Creates a ParallelUploadConfig object.
- build() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig.Builder
-
Creates a TransferManagerConfig object.
- build() - Method in class com.google.cloud.storage.transfermanager.UploadJob.Builder
-
Creates a UploadJob object.
- build() - Method in class com.google.cloud.storage.transfermanager.UploadResult.Builder
-
Creates an UploadResult object.
- Builder() - Constructor for class com.google.cloud.storage.BlobInfo.Builder
- Builder() - Constructor for class com.google.cloud.storage.BlobInfo.Retention.Builder
- Builder() - Constructor for class com.google.cloud.storage.BucketInfo.Autoclass.Builder
- Builder() - Constructor for class com.google.cloud.storage.BucketInfo.CustomPlacementConfig.Builder
- Builder() - Constructor for class com.google.cloud.storage.BucketInfo.HierarchicalNamespace.Builder
- Builder() - Constructor for class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
- Builder() - Constructor for class com.google.cloud.storage.BucketInfo.Logging.Builder
- Builder() - Constructor for class com.google.cloud.storage.BucketInfo.ObjectRetention.Builder
- Builder() - Constructor for class com.google.cloud.storage.BucketInfo.SoftDeletePolicy.Builder
- Builder() - Constructor for class com.google.cloud.storage.Storage.ComposeRequest.Builder
- Builder() - Constructor for class com.google.cloud.storage.Storage.CopyRequest.Builder
- Builder(HttpMethod, long, URI) - Constructor for class com.google.cloud.storage.SignatureInfo.Builder
-
Constructs builder.
- Builder(SignatureInfo) - Constructor for class com.google.cloud.storage.SignatureInfo.Builder
C
- CACHE_CONTROL - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- cachedPool() - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.ExecutorSupplier
-
Create a cached thread pool for submitting work
- CanonicalExtensionHeadersSerializer - Class in com.google.cloud.storage
-
Canonical extension header serializer.
- CanonicalExtensionHeadersSerializer() - Constructor for class com.google.cloud.storage.CanonicalExtensionHeadersSerializer
- CanonicalExtensionHeadersSerializer(Storage.SignUrlOption.SignatureVersion) - Constructor for class com.google.cloud.storage.CanonicalExtensionHeadersSerializer
- capture() - Method in class com.google.cloud.storage.CopyWriter
- capture() - Method in class com.google.cloud.storage.HttpCopyWriter
- cleanBuckets(Storage, long, long) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
- clearInvocationId() - Method in class com.google.cloud.storage.spi.v1.HttpRpcContext
- close() - Method in interface com.google.cloud.storage.Storage
- COLDLINE - Static variable in class com.google.cloud.storage.StorageClass
-
Coldline storage class.
- com.google.cloud.storage - package com.google.cloud.storage
-
A client for Cloud Storage - Unified object storage.
- com.google.cloud.storage.spi - package com.google.cloud.storage.spi
- com.google.cloud.storage.spi.v1 - package com.google.cloud.storage.spi.v1
- com.google.cloud.storage.testing - package com.google.cloud.storage.testing
-
A testing helper for Google Cloud Storage.
- com.google.cloud.storage.transfermanager - package com.google.cloud.storage.transfermanager
- COMPONENT_COUNT - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- COMPONENT_SEPARATOR - Static variable in class com.google.cloud.storage.SignatureInfo
- compose(Storage.ComposeRequest) - Method in interface com.google.cloud.storage.Storage
-
Sends a compose request.
- compose(Iterable<StorageObject>, StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- compose(Iterable<StorageObject>, StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Sends a compose request.
- compose(Iterable<StorageObject>, StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- constructUnsignedPayload() - Method in class com.google.cloud.storage.SignatureInfo
-
Constructs payload to be signed.
- constructV2QueryString() - Method in class com.google.cloud.storage.SignatureInfo
-
Returns a query string constructed from this object's stored query parameters, sorted in code point order.
- constructV4QueryString() - Method in class com.google.cloud.storage.SignatureInfo
-
Returns a query string constructed from this object's stored query parameters, sorted in code point order so that the query string can be used in a V4 canonical request string.
- CONTENT_DISPOSITION - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- CONTENT_ENCODING - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- CONTENT_LANGUAGE - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- CONTENT_LENGTH_RANGE - Enum constant in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
- CONTENT_TYPE - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- continueRewrite(StorageRpc.RewriteResponse) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- continueRewrite(StorageRpc.RewriteResponse) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Continues rewriting on an already open rewrite channel.
- continueRewrite(StorageRpc.RewriteResponse) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- copy(Storage.CopyRequest) - Method in interface com.google.cloud.storage.Storage
-
Sends a copy request.
- COPY_SOURCE_ACL - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- copyChunk() - Method in class com.google.cloud.storage.CopyWriter
-
Copies the next chunk of the blob.
- copyChunk() - Method in class com.google.cloud.storage.HttpCopyWriter
- copySourceAcl(boolean) - Static method in class com.google.cloud.storage.Storage.BlobRestoreOption
-
Returns an option for whether the restored object should copy the access controls of the source object.
- copyTo(BlobId, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Sends a copy request for the current blob to the target blob.
- copyTo(String, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Sends a copy request for the current blob to the target bucket, preserving its name.
- copyTo(String, String, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Sends a copy request for the current blob to the target blob.
- CopyWriter - Class in com.google.cloud.storage
-
Google Storage blob copy writer.
- Cors - Class in com.google.cloud.storage
-
Cross-Origin Resource Sharing (CORS) configuration for a bucket.
- CORS - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- Cors.Builder - Class in com.google.cloud.storage
-
CORS configuration builder.
- Cors.Origin - Class in com.google.cloud.storage
-
Class for a CORS origin.
- CRC32C - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- crc32cMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's data CRC32C checksum match.
- crc32cMatch(String) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option for blob's data CRC32C checksum match.
- create() - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
Creates a
RemoteStorageHelper
object using default project id and authentication credentials. - create(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- create(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Creates a new bucket.
- create(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- create(StorageObject, InputStream, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- create(StorageObject, InputStream, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Creates a new storage object.
- create(StorageObject, InputStream, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- create(BlobInfo, byte[], int, int, Storage.BlobTargetOption...) - Method in interface com.google.cloud.storage.Storage
-
Creates a new blob with the sub array of the given byte array.
- create(BlobInfo, byte[], Storage.BlobTargetOption...) - Method in interface com.google.cloud.storage.Storage
-
Creates a new blob.
- create(BlobInfo, Storage.BlobTargetOption...) - Method in interface com.google.cloud.storage.Storage
-
Creates a new blob with no content.
- create(BlobInfo, InputStream, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
-
Deprecated.
- create(BucketInfo, Storage.BucketTargetOption...) - Method in interface com.google.cloud.storage.Storage
-
Creates a new bucket.
- create(StorageOptions) - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageFactory
- create(StorageOptions) - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageRpcFactory
-
Deprecated.
- create(StorageOptions) - Method in class com.google.cloud.storage.HttpStorageOptions.HttpStorageFactory
- create(StorageOptions) - Method in class com.google.cloud.storage.HttpStorageOptions.HttpStorageRpcFactory
- create(String, byte[], Bucket.BlobTargetOption...) - Method in class com.google.cloud.storage.Bucket
-
Creates a new blob in this bucket.
- create(String, byte[], String, Bucket.BlobTargetOption...) - Method in class com.google.cloud.storage.Bucket
-
Creates a new blob in this bucket.
- create(String, InputStream) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
Creates a
RemoteStorageHelper
object for the given project id and JSON key input stream. - create(String, InputStream, Bucket.BlobWriteOption...) - Method in class com.google.cloud.storage.Bucket
-
Creates a new blob in this bucket.
- create(String, InputStream, String, Bucket.BlobWriteOption...) - Method in class com.google.cloud.storage.Bucket
-
Creates a new blob in this bucket.
- CREATE_BEFORE - Enum constant in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
-
Deprecated.
- createAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- createAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Creates a new ACL entry on the specified bucket.
- createAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- createAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- createAcl(ObjectAccessControl) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Creates a new ACL entry on the specified object.
- createAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- createAcl(Acl) - Method in class com.google.cloud.storage.Blob
-
Creates a new ACL entry on this blob.
- createAcl(Acl) - Method in class com.google.cloud.storage.Bucket
-
Creates a new ACL entry on this bucket.
- createAcl(BlobId, Acl) - Method in interface com.google.cloud.storage.Storage
-
Creates a new ACL entry on the specified blob.
- createAcl(String, Acl) - Method in interface com.google.cloud.storage.Storage
- createAcl(String, Acl, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Creates a new ACL entry on the specified bucket.
- createBatch() - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- createBatch() - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Creates an empty batch.
- createBatch() - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- CreatedBeforeDeleteRule(long) - Constructor for class com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
-
Deprecated.Use
CreatedBeforeDeleteRule(OffsetDateTime)
instead - CreatedBeforeDeleteRule(OffsetDateTime) - Constructor for class com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
-
Deprecated.Creates an
CreatedBeforeDeleteRule
object. - createDefaultAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- createDefaultAcl(ObjectAccessControl) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Creates a new default object ACL entry on the specified bucket.
- createDefaultAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- createDefaultAcl(Acl) - Method in class com.google.cloud.storage.Bucket
-
Creates a new default blob ACL entry on this bucket.
- createDefaultAcl(String, Acl) - Method in interface com.google.cloud.storage.Storage
-
Creates a new default blob ACL entry on the specified bucket.
- createFrom(BlobInfo, InputStream, int, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
-
Reads bytes from an input stream and uploads those bytes to the blob using
Storage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...)
andbufferSize
. - createFrom(BlobInfo, InputStream, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
-
Reads bytes from an input stream and uploads those bytes to the blob using
Storage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...)
. - createFrom(BlobInfo, Path, int, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
-
Uploads
path
to the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...)
andbufferSize
. - createFrom(BlobInfo, Path, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
-
Uploads
path
to the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...)
. - createHmacKey(ServiceAccount, Storage.CreateHmacKeyOption...) - Method in interface com.google.cloud.storage.Storage
-
Creates a new HMAC Key for the provided service account, including the secret key.
- createHmacKey(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- createHmacKey(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Creates a new HMAC key for the provided service account email.
- createHmacKey(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- createNotification(String, Notification) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- createNotification(String, Notification) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Creates the notification for a given bucket.
- createNotification(String, Notification) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- createNotification(String, NotificationInfo) - Method in interface com.google.cloud.storage.Storage
-
Creates the notification for a given bucket.
- currentDirectory() - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
If specified, results are returned in a directory-like mode.
- CUSTOM_PLACEMENT_CONFIG - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- CUSTOM_TIME - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- CUSTOMER_ENCRYPTION - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- CUSTOMER_SUPPLIED_KEY - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
D
- decryptionKey(String) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- decryptionKey(String) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option to set a customer-supplied AES256 key for server-side decryption of the blob.
- decryptionKey(String) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- decryptionKey(Key) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- decryptionKey(Key) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option to set a customer-supplied AES256 key for server-side decryption of the blob.
- decryptionKey(Key) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- dedupe(Blob.BlobSourceOption...) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Blob.BlobSourceOption[], Blob.BlobSourceOption...) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Bucket.BlobTargetOption...) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Bucket.BlobTargetOption[], Bucket.BlobTargetOption...) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Bucket.BlobWriteOption...) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Deduplicate any options which are the same parameter.
- dedupe(Bucket.BlobWriteOption[], Bucket.BlobWriteOption...) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Deduplicate any options which are the same parameter.
- dedupe(Bucket.BucketSourceOption...) - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Bucket.BucketSourceOption[], Bucket.BucketSourceOption...) - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobGetOption...) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobGetOption[], Storage.BlobGetOption...) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobListOption...) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobListOption[], Storage.BlobListOption...) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobSourceOption...) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobSourceOption[], Storage.BlobSourceOption...) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobTargetOption...) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobTargetOption[], Storage.BlobTargetOption...) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobWriteOption...) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BlobWriteOption[], Storage.BlobWriteOption...) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BucketGetOption...) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BucketGetOption[], Storage.BucketGetOption...) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BucketListOption...) - Static method in class com.google.cloud.storage.Storage.BucketListOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BucketListOption[], Storage.BucketListOption...) - Static method in class com.google.cloud.storage.Storage.BucketListOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BucketSourceOption...) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BucketSourceOption[], Storage.BucketSourceOption...) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BucketTargetOption...) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.BucketTargetOption[], Storage.BucketTargetOption...) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.CreateHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.CreateHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.CreateHmacKeyOption[], Storage.CreateHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.CreateHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.DeleteHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.DeleteHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.DeleteHmacKeyOption[], Storage.DeleteHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.DeleteHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.GetHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.GetHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.GetHmacKeyOption[], Storage.GetHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.GetHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.ListHmacKeysOption...) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.ListHmacKeysOption[], Storage.ListHmacKeysOption...) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.UpdateHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.UpdateHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Storage.UpdateHmacKeyOption[], Storage.UpdateHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.UpdateHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Blob.BlobSourceOption>, Blob.BlobSourceOption...) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Bucket.BlobTargetOption>, Bucket.BlobTargetOption...) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Bucket.BlobWriteOption>, Bucket.BlobWriteOption...) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Bucket.BucketSourceOption>, Bucket.BucketSourceOption...) - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BlobGetOption>, Storage.BlobGetOption...) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BlobListOption>, Storage.BlobListOption...) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BlobSourceOption>, Storage.BlobSourceOption...) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BlobTargetOption>, Storage.BlobTargetOption...) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BlobWriteOption>, Storage.BlobWriteOption...) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BucketGetOption>, Storage.BucketGetOption...) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BucketListOption>, Storage.BucketListOption...) - Static method in class com.google.cloud.storage.Storage.BucketListOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BucketSourceOption>, Storage.BucketSourceOption...) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.BucketTargetOption>, Storage.BucketTargetOption...) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.CreateHmacKeyOption>, Storage.CreateHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.CreateHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.DeleteHmacKeyOption>, Storage.DeleteHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.DeleteHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.GetHmacKeyOption>, Storage.GetHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.GetHmacKeyOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.ListHmacKeysOption>, Storage.ListHmacKeysOption...) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Deduplicate any options which are the same parameter.
- dedupe(Collection<Storage.UpdateHmacKeyOption>, Storage.UpdateHmacKeyOption...) - Static method in class com.google.cloud.storage.Storage.UpdateHmacKeyOption
-
Deduplicate any options which are the same parameter.
- DEFAULT - Static variable in class com.google.cloud.storage.Rpo
-
Default recovery point objective.
- DEFAULT_EVENT_BASED_HOLD - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- DEFAULT_OBJECT_ACL - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- DEFAULT_PROJECTION - Static variable in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- DefaultBlobWriteSessionConfig - Class in com.google.cloud.storage
-
Default Configuration to represent uploading to Google Cloud Storage in a chunked manner.
- defaults() - Static method in class com.google.cloud.storage.GrpcStorageOptions
- defaults() - Static method in class com.google.cloud.storage.HttpStorageOptions
- DefaultStorageFactory() - Constructor for class com.google.cloud.storage.StorageOptions.DefaultStorageFactory
- DefaultStorageRpcFactory() - Constructor for class com.google.cloud.storage.StorageOptions.DefaultStorageRpcFactory
-
Deprecated.
- delete(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- delete(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Deletes the requested bucket.
- delete(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- delete(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- delete(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Deletes the requested storage object.
- delete(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- delete(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Deletes this blob.
- delete(BlobId) - Method in interface com.google.cloud.storage.Storage
-
Deletes the requested blob.
- delete(BlobId...) - Method in interface com.google.cloud.storage.Storage
-
Deletes the requested blobs.
- delete(BlobId, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Deletes the requested blob.
- delete(BlobId, Storage.BlobSourceOption...) - Method in class com.google.cloud.storage.StorageBatch
-
Adds a request representing the "delete blob" operation to this batch.
- delete(Bucket.BucketSourceOption...) - Method in class com.google.cloud.storage.Bucket
-
Deletes this bucket.
- delete(Iterable<BlobId>) - Method in interface com.google.cloud.storage.Storage
-
Deletes the requested blobs.
- delete(String, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Deletes the requested bucket.
- delete(String, String, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Deletes the requested blob.
- delete(String, String, Storage.BlobSourceOption...) - Method in class com.google.cloud.storage.StorageBatch
-
Adds a request representing the "delete blob" operation to this batch.
- DELETE - Static variable in class com.google.cloud.storage.HttpMethod
- deleteAcl(Acl.Entity) - Method in class com.google.cloud.storage.Blob
-
Deletes the ACL entry for the specified entity on this blob.
- deleteAcl(Acl.Entity) - Method in class com.google.cloud.storage.Bucket
-
Deletes the ACL entry for the specified entity on this bucket.
- deleteAcl(BlobId, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
-
Deletes the ACL entry for the specified entity on the specified blob.
- deleteAcl(String, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
- deleteAcl(String, Acl.Entity, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Deletes the ACL entry for the specified entity on the specified bucket.
- deleteAcl(String, String, Long, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- deleteAcl(String, String, Long, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Deletes the ACL entry for the specified entity on the specified object.
- deleteAcl(String, String, Long, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- deleteAcl(String, String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- deleteAcl(String, String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Deletes the ACL entry for the specified entity on the specified bucket.
- deleteAcl(String, String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- DELETED - Enum constant in enum com.google.cloud.storage.HmacKey.HmacKeyState
- deleteDefaultAcl(Acl.Entity) - Method in class com.google.cloud.storage.Bucket
-
Deletes the default object ACL entry for the specified entity on this bucket.
- deleteDefaultAcl(String, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
-
Deletes the default object ACL entry for the specified entity on the specified bucket.
- deleteDefaultAcl(String, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- deleteDefaultAcl(String, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Deletes the default object ACL entry for the specified entity on the specified bucket.
- deleteDefaultAcl(String, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- deleteHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- deleteHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Deletes the HMAC key associated with the provided metadata object.
- deleteHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- deleteHmacKey(HmacKey.HmacKeyMetadata, Storage.DeleteHmacKeyOption...) - Method in interface com.google.cloud.storage.Storage
-
Deletes an HMAC key.
- deleteLifecycleRules() - Method in class com.google.cloud.storage.Bucket.Builder
- deleteLifecycleRules() - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Deletes the lifecycle rules of this bucket.
- deleteNotification(String, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- deleteNotification(String, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Deletes the notification with the specified id on the bucket.
- deleteNotification(String, String) - Method in interface com.google.cloud.storage.Storage
-
Deletes the notification with the specified id.
- deleteNotification(String, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- delimiter(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to set a delimiter.
- DELIMITER - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- DETECT_CONTENT_TYPE - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- detectContentType() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for detecting content type.
- detectContentType() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for detecting content type.
- DISABLED - Static variable in class com.google.cloud.storage.BucketInfo.ObjectRetention.Mode
- disableGzipContent() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's data disabledGzipContent.
- disableGzipContent() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option that signals automatic gzip compression should not be performed en route to the bucket.
- doesNotExist() - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option that causes an operation to succeed only if the target blob does not exist.
- doesNotExist() - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option that causes an operation to succeed only if the target blob does not exist.
- doesNotExist() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option that causes an operation to succeed only if the target blob does not exist.
- doesNotExist() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option that causes an operation to succeed only if the target blob does not exist.
- Domain(String) - Constructor for class com.google.cloud.storage.Acl.Domain
-
Creates a domain entity.
- DOMAIN - Enum constant in enum com.google.cloud.storage.Acl.Entity.Type
- downloadBlobs(List<BlobInfo>, ParallelDownloadConfig) - Method in interface com.google.cloud.storage.transfermanager.TransferManager
-
Downloads a list of blobs in parallel.
- DownloadJob - Class in com.google.cloud.storage.transfermanager
-
A parallel download job sent to Transfer Manager.
- DownloadJob.Builder - Class in com.google.cloud.storage.transfermanager
-
Builds an instance of DownloadJob
- DownloadResult - Class in com.google.cloud.storage.transfermanager
-
Result for a single download performed by Transfer Manager.
- DownloadResult.Builder - Class in com.google.cloud.storage.transfermanager
-
Builds an instance of DownloadResult
- downloadTo(BlobId, OutputStream, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Downloads the given blob to the given output stream using specified blob read options.
- downloadTo(BlobId, Path, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Downloads the given blob to the given path using specified blob read options.
- downloadTo(OutputStream, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Downloads this blob to the given output stream using specified blob read options.
- downloadTo(Path) - Method in class com.google.cloud.storage.Blob
-
Downloads this blob to the given file path.
- downloadTo(Path, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Downloads this blob to the given file path using specified blob read options.
- DURABLE_REDUCED_AVAILABILITY - Static variable in class com.google.cloud.storage.StorageClass
-
Legacy Durable Reduced Availability storage class, use
StorageClass.STANDARD
instead.
E
- EDITORS - Static variable in class com.google.cloud.storage.Acl.Project.ProjectRole
- ENABLE_OBJECT_RETENTION - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- ENABLED - Static variable in class com.google.cloud.storage.BucketInfo.ObjectRetention.Mode
- enableObjectRetention(boolean) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Returns an option for enabling Object Retention on this bucket.
- ENCRYPTION - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- encryptionKey(String) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- encryptionKey(String) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- encryptionKey(String) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- encryptionKey(String) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- encryptionKey(Key) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- encryptionKey(Key) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- encryptionKey(Key) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- encryptionKey(Key) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
- END_OFF_SET - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- endOffset(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to set a endOffset to filter results to objects whose names are lexicographically before endOffset.
- ENFORCED - Enum constant in enum com.google.cloud.storage.BucketInfo.PublicAccessPrevention
- entrySet() - Method in class com.google.cloud.storage.BlobInfo.ImmutableEmptyMap
- equals(Object) - Method in class com.google.cloud.storage.Acl.Entity
- equals(Object) - Method in class com.google.cloud.storage.Acl
- equals(Object) - Method in class com.google.cloud.storage.Acl.Project
- equals(Object) - Method in class com.google.cloud.storage.Blob
-
Returns true if obj instance
Blob.toPb()
metadata representation andBlob.options
instance of StorageOptions are both equal. - equals(Object) - Method in class com.google.cloud.storage.BlobId
- equals(Object) - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
- equals(Object) - Method in class com.google.cloud.storage.BlobInfo
- equals(Object) - Method in class com.google.cloud.storage.BlobInfo.Retention
- equals(Object) - Method in class com.google.cloud.storage.Bucket
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.Autoclass
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.CustomPlacementConfig
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.DeleteRule
-
Deprecated.
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.HierarchicalNamespace
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.Logging
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.ObjectRetention
- equals(Object) - Method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy
- equals(Object) - Method in class com.google.cloud.storage.Cors
- equals(Object) - Method in class com.google.cloud.storage.Cors.Origin
- equals(Object) - Method in class com.google.cloud.storage.GrpcStorageOptions
- equals(Object) - Method in class com.google.cloud.storage.HmacKey
- equals(Object) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
- equals(Object) - Method in class com.google.cloud.storage.HttpStorageOptions
- equals(Object) - Method in class com.google.cloud.storage.Notification
- equals(Object) - Method in class com.google.cloud.storage.NotificationInfo
- equals(Object) - Method in class com.google.cloud.storage.PostPolicyV4.ConditionV4
- equals(Object) - Method in class com.google.cloud.storage.ServiceAccount
- equals(Object) - Method in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- equals(Object) - Method in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- equals(Object) - Method in class com.google.cloud.storage.StorageOptions
- equals(Object) - Method in class com.google.cloud.storage.transfermanager.DownloadJob
- equals(Object) - Method in class com.google.cloud.storage.transfermanager.DownloadResult
- equals(Object) - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig
- equals(Object) - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig
- equals(Object) - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
- equals(Object) - Method in class com.google.cloud.storage.transfermanager.UploadJob
- equals(Object) - Method in class com.google.cloud.storage.transfermanager.UploadResult
- equals(Object) - Method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Deprecated.
- error(StorageException) - Method in class com.google.cloud.storage.StorageBatchResult
- ETAG - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- ETAG - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- EVENT_BASED_HOLD - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- exists(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Checks if this blob exists.
- exists(Bucket.BucketSourceOption...) - Method in class com.google.cloud.storage.Bucket
-
Checks if this bucket exists.
- Expires(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
-
Deprecated.
F
- FAILED_TO_FINISH - Enum constant in enum com.google.cloud.storage.transfermanager.TransferStatus
-
The transfer failed after bytes could be moved.
- FAILED_TO_START - Enum constant in enum com.google.cloud.storage.transfermanager.TransferStatus
-
The transfer failed before bytes could be moved.
- fields(Storage.BlobField...) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option to specify the blob's fields to be returned by the RPC call.
- fields(Storage.BlobField...) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to specify the blob's fields to be returned by the RPC call.
- fields(Storage.BucketField...) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
-
Returns an option to specify the bucket's fields to be returned by the RPC call.
- fields(Storage.BucketField...) - Static method in class com.google.cloud.storage.Storage.BucketListOption
-
Returns an option to specify the bucket's fields to be returned by the RPC call.
- FIELDS - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- fixedPool(int) - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.ExecutorSupplier
-
Create a fixed size thread pool for submitting work
- fixedPool(int, int) - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.BufferAllocationStrategy
-
Create a buffer strategy which will have a fixed size pool of buffers.
- forceDelete(Storage, String) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
Deletes a bucket, even if non-empty.
- forceDelete(Storage, String, long, TimeUnit) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
Deletes a bucket, even if non-empty.
- forceDelete(Storage, String, long, TimeUnit, String) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
Deletes a bucket, even if non-empty.
- fromGsUtilUri(String) - Static method in class com.google.cloud.storage.BlobId
-
Creates a
BlobId
object.
G
- generateBucketName() - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
Returns a bucket name generated using a random UUID.
- generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, PostPolicyV4.PostConditionsV4, Storage.PostPolicyV4Option...) - Method in interface com.google.cloud.storage.Storage
-
Generates a presigned post policy without any fields.
- generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, PostPolicyV4.PostFieldsV4, PostPolicyV4.PostConditionsV4, Storage.PostPolicyV4Option...) - Method in interface com.google.cloud.storage.Storage
-
Generates a URL and a map of fields that can be specified in an HTML form to submit a POST request.
- generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, PostPolicyV4.PostFieldsV4, Storage.PostPolicyV4Option...) - Method in interface com.google.cloud.storage.Storage
-
Generates a presigned post policy without any conditions.
- generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, Storage.PostPolicyV4Option...) - Method in interface com.google.cloud.storage.Storage
-
Generates a presigned post policy without any fields or conditions.
- GENERATION - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- GENERATION - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- generationMatch() - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Returns an option for blob's generation match.
- generationMatch() - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option for blob's data generation match.
- generationMatch() - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option for blob's data generation match.
- generationMatch() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's data generation match.
- generationMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's data generation match.
- generationMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option for blob's data generation match.
- generationMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option for blob's data generation match.
- generationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option for blob's data generation match.
- generationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobRestoreOption
-
Returns an option for blob's data generation match.
- generationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option for blob's data generation match.
- generationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's data generation match.
- generationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's data generation match.
- generationNotMatch() - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Deprecated.This option is invalid, and can never result in a valid response from the server.
- generationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Deprecated.This option is invalid, and can never result in a valid response from the server. use
Storage.BlobGetOption.generationNotMatch(long)
instead. - generationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Deprecated.This option is invalid, and can never result in a valid response from the server. use
Storage.BlobSourceOption.generationNotMatch(long)
instead. - generationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's data generation mismatch.
- generationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's data generation mismatch.
- generationNotMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option for blob's data generation mismatch.
- generationNotMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option for blob's data generation mismatch.
- generationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option for blob's data generation mismatch.
- generationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobRestoreOption
-
Returns an option for blob's data generation mismatch.
- generationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option for blob's data generation mismatch.
- generationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's data generation mismatch.
- generationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's data generation mismatch.
- get(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- get(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the requested bucket or
null
if not found. - get(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- get(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- get(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the requested storage object or
null
if not found. - get(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- get(BlobId) - Method in interface com.google.cloud.storage.Storage
-
Returns the requested blob or
null
if not found. - get(BlobId...) - Method in interface com.google.cloud.storage.Storage
-
Gets the requested blobs.
- get(BlobId, Storage.BlobGetOption...) - Method in interface com.google.cloud.storage.Storage
-
Returns the requested blob or
null
if not found. - get(BlobId, Storage.BlobGetOption...) - Method in class com.google.cloud.storage.StorageBatch
-
Adds a request representing the "get blob" operation to this batch.
- get(Iterable<BlobId>) - Method in interface com.google.cloud.storage.Storage
-
Gets the requested blobs.
- get(Iterable<String>) - Method in class com.google.cloud.storage.Bucket
-
Returns a list of requested blobs in this bucket.
- get(String, Storage.BlobGetOption...) - Method in class com.google.cloud.storage.Bucket
-
Returns the requested blob in this bucket or
null
if not found. - get(String, Storage.BucketGetOption...) - Method in interface com.google.cloud.storage.Storage
-
Returns the requested bucket or
null
if not found. - get(String, Long, Storage.BlobGetOption...) - Method in class com.google.cloud.storage.Bucket
-
Returns the requested blob in this bucket of a specific generation or
null
if not found. - get(String, String, Storage.BlobGetOption...) - Method in interface com.google.cloud.storage.Storage
-
Returns the requested blob or
null
if not found. - get(String, String, Storage.BlobGetOption...) - Method in class com.google.cloud.storage.StorageBatch
-
Adds a request representing the "get blob" operation to this batch.
- get(String, String, String...) - Method in class com.google.cloud.storage.Bucket
-
Returns a list of requested blobs in this bucket.
- GET - Static variable in class com.google.cloud.storage.HttpMethod
- getAccessId() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Returns the access id for this HMAC key.
- getAccountEmail() - Method in class com.google.cloud.storage.SignatureInfo
- getAcl() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's access control configuration.
- getAcl() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's access control configuration.
- getAcl(Acl.Entity) - Method in class com.google.cloud.storage.Blob
-
Returns the ACL entry for the specified entity on this blob or
null
if not found. - getAcl(Acl.Entity) - Method in class com.google.cloud.storage.Bucket
-
Returns the ACL entry for the specified entity on this bucket or
null
if not found. - getAcl(BlobId, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
-
Returns the ACL entry for the specified entity on the specified blob or
null
if not found. - getAcl(String, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
- getAcl(String, Acl.Entity, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Returns the ACL entry for the specified entity on the specified bucket or
null
if not found. - getAcl(String, String, Long, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getAcl(String, String, Long, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the ACL entry for the specified entity on the specified object or
null
if not found. - getAcl(String, String, Long, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getAcl(String, String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getAcl(String, String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the ACL entry for the specified entity on the specified bucket or
null
if not found. - getAcl(String, String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getAction() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
- getActionType() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
- getAge() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getApiaryName() - Method in enum com.google.cloud.storage.Storage.BlobField
- getApiaryName() - Method in enum com.google.cloud.storage.Storage.BucketField
- getAutoclass() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the Autoclass configuration
- getBlobId() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's identity.
- getBlobSize() - Method in class com.google.cloud.storage.CopyWriter
-
Returns the size of the blob being copied.
- getBlobSize() - Method in class com.google.cloud.storage.HttpCopyWriter
- getBucket() - Method in class com.google.cloud.storage.BlobId
-
Returns the name of the bucket containing the blob.
- getBucket() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the name of the containing bucket.
- getBucketName() - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig
-
The bucket objects are being downloaded from.
- getBucketName() - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig
-
The bucket objects are being uploaded from
- getBucketPolicyOnlyLockedTime() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
-
Deprecated.
- getBufferSize() - Method in class com.google.cloud.storage.BidiBlobWriteSessionConfig
-
The number of bytes to hold in the buffer before each flush
- getCacheControl() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's data cache control.
- getCanonicalizedExtensionHeaders() - Method in class com.google.cloud.storage.SignatureInfo
- getCanonicalizedResource() - Method in class com.google.cloud.storage.SignatureInfo
- getChunkSize() - Method in class com.google.cloud.storage.DefaultBlobWriteSessionConfig
-
The number of bytes each chunk can be.
- getClock() - Method in class com.google.cloud.storage.GrpcStorageOptions
- getComponentCount() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the number of components that make up this blob.
- getCondition() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
- getConditions() - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4
- getContent(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Returns this blob's content.
- getContentDisposition() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's data content disposition.
- getContentEncoding() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's data content encoding.
- getContentLanguage() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's data content language.
- getContentMd5() - Method in class com.google.cloud.storage.SignatureInfo
- getContentType() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's data content type.
- getContentType() - Method in class com.google.cloud.storage.SignatureInfo
- getCors() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's Cross-Origin Resource Sharing (CORS) configuration.
- getCrc32c() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; encoded in base64 in big-endian order.
- getCrc32cToHexString() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; decoded to string.
- getCreatedBefore() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getCreatedBeforeOffsetDateTime() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
-
Returns the date and offset from UTC for this condition.
- getCreatedObjects() - Method in exception com.google.cloud.storage.ParallelCompositeUploadException
-
A future list of the
BlobId
s which were created during the Parallel Composite Upload but may not have successfully been cleaned up. - getCreateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Deprecated.
- getCreateTime() - Method in class com.google.cloud.storage.BucketInfo
-
Deprecated.
- getCreateTime() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Deprecated.
- getCreateTimeOffsetDateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the creation time of the blob.
- getCreateTimeOffsetDateTime() - Method in class com.google.cloud.storage.BucketInfo
- getCreateTimeOffsetDateTime() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Returns the creation time of this HMAC key.
- getCurrentUploadOffset(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getCurrentUploadOffset(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Requests current byte offset from Cloud Storage API.
- getCurrentUploadOffset(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getCustomAttributes() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns the list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
- getCustomerEncryption() - Method in class com.google.cloud.storage.BlobInfo
-
Returns information on the customer-supplied encryption key, if the blob is encrypted using such a key.
- getCustomPlacementConfig() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the Custom Placement Configuration
- getCustomTime() - Method in class com.google.cloud.storage.BlobInfo
-
Deprecated.
- getCustomTimeBefore() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getCustomTimeBeforeOffsetDateTime() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
-
Returns the date and offset from UTC for this condition.
- getCustomTimeOffsetDateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the custom time specified by the user for an object.
- getDataLocations() - Method in class com.google.cloud.storage.BucketInfo.CustomPlacementConfig
- getDaysSinceCustomTime() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
-
Returns the number of days elapsed since the user-specified timestamp set on an object.
- getDaysSinceNoncurrentTime() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
-
Returns the number of days elapsed since the noncurrent timestamp of an object.
- getDaysToLive() - Method in class com.google.cloud.storage.BucketInfo.AgeDeleteRule
-
Deprecated.
- getDefault() - Static method in class com.google.cloud.storage.BlobWriteSessionConfigs
-
Factory to produce the default configuration for uploading an object to Cloud Storage.
- getDefaultAcl() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the default access control configuration for this bucket's blobs.
- getDefaultAcl(Acl.Entity) - Method in class com.google.cloud.storage.Bucket
-
Returns the default object ACL entry for the specified entity on this bucket or
null
if not found. - getDefaultAcl(String, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
-
Returns the default object ACL entry for the specified entity on the specified bucket or
null
if not found. - getDefaultAcl(String, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getDefaultAcl(String, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the default object ACL entry for the specified entity on the specified bucket or
null
if not found. - getDefaultAcl(String, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getDefaultEventBasedHold() - Method in class com.google.cloud.storage.BucketInfo
-
Returns a
Boolean
with eithertrue
,null
and in certain casesfalse
. - getDefaultHttpTransportOptions() - Static method in class com.google.cloud.storage.StorageOptions
- getDefaultInstance() - Static method in class com.google.cloud.storage.GrpcStorageOptions
- getDefaultInstance() - Static method in class com.google.cloud.storage.HttpStorageOptions
- getDefaultInstance() - Static method in class com.google.cloud.storage.StorageOptions
-
Returns a default
StorageOptions
instance. - getDefaultKmsKeyName() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the default Cloud KMS key to be applied to newly inserted objects in this bucket.
- getDefaultRpcFactory() - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageDefaults
- getDefaultRpcFactory() - Method in class com.google.cloud.storage.HttpStorageOptions.HttpStorageDefaults
- getDefaultServiceFactory() - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageDefaults
- getDefaultServiceFactory() - Method in class com.google.cloud.storage.HttpStorageOptions.HttpStorageDefaults
- getDefaultStorageRetryStrategy() - Static method in interface com.google.cloud.storage.StorageRetryStrategy
-
Factory method to get an instance of the default implementation of
StorageRetryStrategy
. - getDefaultStorageWriterConfig() - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageDefaults
- getDefaultTransportOptions() - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageDefaults
- getDefaultTransportOptions() - Method in class com.google.cloud.storage.HttpStorageOptions.HttpStorageDefaults
- getDeleteRules() - Method in class com.google.cloud.storage.BucketInfo
-
Deprecated.
- getDeleteTime() - Method in class com.google.cloud.storage.BlobInfo
-
Deprecated.
- getDeleteTimeOffsetDateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the deletion time of the blob.
- getDomain() - Method in class com.google.cloud.storage.Acl.Domain
-
Returns the domain associated to this entity.
- getDownloadDirectory() - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig
-
The base directory in which all objects will be placed when downloaded.
- getDownloadResults() - Method in class com.google.cloud.storage.transfermanager.DownloadJob
-
The list of
DownloadResults
for each download request Transfer Manager executed for this job. - getEffectiveTime() - Method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy
- getEmail() - Method in class com.google.cloud.storage.Acl.Group
-
Returns the group email.
- getEmail() - Method in class com.google.cloud.storage.Acl.User
-
Returns the user email.
- getEmail() - Method in class com.google.cloud.storage.ServiceAccount
-
Returns the email address of the service account.
- getEnabled() - Method in class com.google.cloud.storage.BucketInfo.Autoclass
- getEnabled() - Method in class com.google.cloud.storage.BucketInfo.HierarchicalNamespace
- getEncryptionAlgorithm() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
-
Returns the algorithm used to encrypt the blob.
- getEntity() - Method in class com.google.cloud.storage.Acl
-
Returns the entity for this ACL object.
- getEtag() - Method in class com.google.cloud.storage.Acl
-
Returns HTTP 1.1 Entity tag for the ACL entry.
- getEtag() - Method in class com.google.cloud.storage.BlobInfo
-
Returns HTTP 1.1 Entity tag for the blob.
- getEtag() - Method in class com.google.cloud.storage.BucketInfo
-
Returns HTTP 1.1 Entity tag for the bucket.
- getEtag() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Returns HTTP 1.1 Entity tag for this HMAC key.
- getEtag() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns HTTP 1.1 Entity tag for the notification.
- getEventBasedHold() - Method in class com.google.cloud.storage.BlobInfo
-
Returns a
Boolean
with eithertrue
,null
and in certain casesfalse
. - getEventTypes() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns the events that trigger a notification to be sent.
- getException() - Method in class com.google.cloud.storage.transfermanager.DownloadResult
-
The exception produced by a failed download operation.
- getException() - Method in class com.google.cloud.storage.transfermanager.UploadResult
-
The exception produced by a failed upload operation.
- getExpiration() - Method in class com.google.cloud.storage.SignatureInfo
- getFields() - Method in class com.google.cloud.storage.PostPolicyV4
-
Returns the HTML form fields
- getFieldsMap() - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4
- getGeneratedId() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the service-generated for the blob.
- getGeneratedId() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the service-generated id for the bucket.
- getGeneration() - Method in class com.google.cloud.storage.BlobId
-
Returns blob's data generation.
- getGeneration() - Method in class com.google.cloud.storage.BlobInfo
-
Returns blob's data generation.
- getGeneration() - Method in class com.google.cloud.storage.Storage.ComposeRequest.SourceBlob
- getGrpcName() - Method in enum com.google.cloud.storage.Storage.BlobField
- getGrpcName() - Method in enum com.google.cloud.storage.Storage.BucketField
- getHardDeleteTime() - Method in class com.google.cloud.storage.BlobInfo
-
If this object has been soft-deleted, returns the time at which it will be permanently deleted.
- getHierarchicalNamespace() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the Hierarchical Namespace (Folders) Configuration
- getHmacKey(String, Storage.GetHmacKeyOption...) - Method in interface com.google.cloud.storage.Storage
-
Gets an HMAC key given its access id.
- getHmacKey(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getHmacKey(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the HMAC key associated with the provided access id.
- getHmacKey(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getHttpVerb() - Method in class com.google.cloud.storage.SignatureInfo
- getIamConfiguration() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the IAM configuration
- getIamPolicy(String, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Gets the IAM policy for the provided bucket.
- getIamPolicy(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getIamPolicy(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the IAM policy for the specified bucket.
- getIamPolicy(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getId() - Method in class com.google.cloud.storage.Acl
-
Returns the ID of the ACL entry.
- getId() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Returns the resource name of this HMAC key.
- getIdempotentHandler() - Method in interface com.google.cloud.storage.StorageRetryStrategy
-
Factory method to provide a
ResultRetryAlgorithm
which will be used to evaluate whether a retry can happen for an operation which has been deemed idempotent. - getIndexPage() - Method in class com.google.cloud.storage.BucketInfo
-
Returns bucket's website index page.
- getInput() - Method in class com.google.cloud.storage.transfermanager.DownloadResult
-
The
BlobInfo
for the object requested for download. - getInput() - Method in class com.google.cloud.storage.transfermanager.UploadResult
-
The
BlobInfo
for the object requested for upload. - getInstance() - Static method in class com.google.cloud.storage.spi.v1.HttpRpcContext
- getInvocationId() - Method in class com.google.cloud.storage.spi.v1.HttpRpcContext
- getIsLive() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getKeySha256() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
-
Returns the SHA256 hash of the encryption key.
- getKmsKeyName() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the Cloud KMS key used to encrypt the blob, if any.
- getLabels() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the labels for this bucket.
- getLegacyStorageRetryStrategy() - Static method in interface com.google.cloud.storage.StorageRetryStrategy
-
Deprecated.please migrate to using
StorageRetryStrategy.getDefaultStorageRetryStrategy()
which is capable of providing handlers which are appropriate for idempotent and non-idempotent calls. - getLibraryVersion() - Method in class com.google.cloud.storage.StorageOptions
- getLifecycleRules() - Method in class com.google.cloud.storage.BucketInfo
- getLocation() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's location.
- getLocationType() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's locationType.
- getLogBucket() - Method in class com.google.cloud.storage.BucketInfo.Logging
- getLogging() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the Logging
- getLogObjectPrefix() - Method in class com.google.cloud.storage.BucketInfo.Logging
- getMatchesPrefix() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getMatchesStorageClass() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getMatchesSuffix() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getMaxAgeSeconds() - Method in class com.google.cloud.storage.Cors
-
Returns the max time in seconds in which a client can issue requests before sending a new preflight request.
- getMaxWorkers() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
-
Maximum amount of workers to be allocated to perform work in Transfer Manager
- getMd5() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the MD5 hash of blob's data encoded in base64.
- getMd5ToHexString() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the MD5 hash of blob's data decoded to string.
- getMediaLink() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's media download link.
- getMegabytesCopiedPerChunk() - Method in class com.google.cloud.storage.Storage.CopyRequest
-
Returns the maximum number of megabytes to copy for each RPC call.
- getMetadata() - Method in class com.google.cloud.storage.BlobInfo
-
Returns blob's user provided metadata.
- getMetadata() - Method in class com.google.cloud.storage.HmacKey
-
Returns the metadata associated with this HMAC key.
- getMetageneration() - Method in class com.google.cloud.storage.BlobInfo
-
Returns blob's metageneration.
- getMetageneration() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the metadata generation of this bucket.
- getMethods() - Method in class com.google.cloud.storage.Cors
-
Returns the HTTP methods supported by this CORS configuration.
- getMode() - Method in class com.google.cloud.storage.BlobInfo.Retention
-
Returns the retention policy's Mode.
- getMode() - Method in class com.google.cloud.storage.BucketInfo.ObjectRetention
- getName() - Method in class com.google.cloud.storage.BlobId
-
Returns the name of the blob.
- getName() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's name.
- getName() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's name.
- getName() - Method in class com.google.cloud.storage.Storage.ComposeRequest.SourceBlob
- getNoncurrentTimeBefore() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getNoncurrentTimeBeforeOffsetDateTime() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
-
Returns the date and offset from UTC for this condition.
- getNonidempotentHandler() - Method in interface com.google.cloud.storage.StorageRetryStrategy
- getNotFoundPage() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the custom object to return when a requested resource is not found.
- getNotification(String, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getNotification(String, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Gets the notification with the specified id.
- getNotification(String, String) - Method in interface com.google.cloud.storage.Storage
-
Gets the notification with the specified id.
- getNotification(String, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getNotificationId() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns the service-generated id for the notification.
- getNumberOfNewerVersions() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- getNumNewerVersions() - Method in class com.google.cloud.storage.BucketInfo.NumNewerVersionsDeleteRule
-
Deprecated.
- getObjectNamePrefix() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns the object name prefix for which this notification configuration applies.
- getObjectRetention() - Method in class com.google.cloud.storage.BucketInfo
-
returns the Object Retention configuration
- getOptions() - Method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
Returns a
StorageOptions
object to be used for testing. - getOptionsPerRequest() - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig
-
A list of common BlobSourceOptions that are used for each download request.
- getOrigins() - Method in class com.google.cloud.storage.Cors
-
Returns the origins in this CORS configuration.
- getOutputDestination() - Method in class com.google.cloud.storage.transfermanager.DownloadResult
-
The destination on the Filesystem the object has been written to.
- getOwner() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's owner.
- getOwner() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's owner.
- getParallelDownloadConfig() - Method in class com.google.cloud.storage.transfermanager.DownloadJob
-
The
ParallelDownloadConfig
used for this DownloadJob. - getParallelUploadConfig() - Method in class com.google.cloud.storage.transfermanager.UploadJob
-
The
ParallelUploadConfig
used for this UploadJob. - getPayloadFormat() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns the desired content of the Payload.
- getPerWorkerBufferSize() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
-
Buffer size allowed to each worker
- getPrefix() - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig
-
A common prefix that will be applied to all object paths in the destination bucket
- getProjectId() - Method in class com.google.cloud.storage.Acl.Project
-
Returns the project id for this entity.
- getProjectId() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Returns the project id associated with this HMAC key.
- getProjectRole() - Method in class com.google.cloud.storage.Acl.Project
-
Returns the role in the project for this entity.
- getPublicAccessPrevention() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
-
Returns the Public Access Prevention.
- getQueryParams() - Method in class com.google.cloud.storage.SignatureInfo
- getResponseHeaders() - Method in class com.google.cloud.storage.Cors
-
Returns the response headers supported by this CORS configuration.
- getResult() - Method in interface com.google.cloud.storage.BlobWriteSession
-
Return an
ApiFuture
<BlobInfo>
which will represent the state of the object upon finalization and success response from Google Cloud Storage. - getResult() - Method in class com.google.cloud.storage.CopyWriter
-
Returns the updated information for the written blob.
- getResult() - Method in class com.google.cloud.storage.HttpCopyWriter
- getRetainUntilTime() - Method in class com.google.cloud.storage.BlobInfo.Retention
-
Returns what time this object will be retained until, if the mode is Locked.
- getRetention() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the object's Retention policy.
- getRetentionDuration() - Method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy
- getRetentionEffectiveTime() - Method in class com.google.cloud.storage.BucketInfo
-
Deprecated.
- getRetentionEffectiveTimeOffsetDateTime() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the retention effective time a policy took effect if a retention policy is defined.
- getRetentionExpirationTime() - Method in class com.google.cloud.storage.BlobInfo
-
Deprecated.
- getRetentionExpirationTimeOffsetDateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the retention expiration time of the blob, if a retention period is defined.
- getRetentionPeriod() - Method in class com.google.cloud.storage.BucketInfo
-
Deprecated.
- getRetentionPeriodDuration() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the retention policy retention period.
- getRetrySettings() - Method in class com.google.cloud.storage.GrpcStorageOptions
- getRole() - Method in class com.google.cloud.storage.Acl
-
Returns the role associated to the entity in this ACL object.
- getRpo() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's recovery point objective (RPO).
- getScheme() - Method in enum com.google.cloud.storage.Storage.UriScheme
- getScopes() - Method in class com.google.cloud.storage.GrpcStorageOptions
- getScopes() - Method in class com.google.cloud.storage.HttpStorageOptions
- getSecretKey() - Method in class com.google.cloud.storage.HmacKey
-
Returns the secret key associated with this HMAC key.
- getSelector() - Method in enum com.google.cloud.storage.Storage.BlobField
- getSelector() - Method in enum com.google.cloud.storage.Storage.BucketField
- getSelfLink() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the URI of this blob as a string.
- getSelfLink() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the URI of this bucket as a string.
- getSelfLink() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns the canonical URI of this topic as a string.
- getService() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
-
The service object for
TransferManager
- getServiceAccount() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Returns the service account associated with this HMAC key.
- getServiceAccount(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getServiceAccount(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the service account associated with the given project.
- getServiceAccount(String) - Method in interface com.google.cloud.storage.Storage
-
Returns the service account associated with the given project.
- getServiceAccount(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getSignatureVersion() - Method in class com.google.cloud.storage.SignatureInfo
- getSize() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the content length of the data in bytes.
- getSoftDeletePolicy() - Method in class com.google.cloud.storage.BucketInfo
-
returns the Soft Delete policy
- getSoftDeleteTime() - Method in class com.google.cloud.storage.BlobInfo
-
If this object has been soft-deleted, returns the time it was soft-deleted.
- getSource() - Method in class com.google.cloud.storage.Storage.CopyRequest
-
Returns the blob to copy, as a
BlobId
. - getSourceBlobs() - Method in class com.google.cloud.storage.Storage.ComposeRequest
-
Returns compose operation's source blobs.
- getSourceOptions() - Method in class com.google.cloud.storage.Storage.CopyRequest
-
Returns blob's source options.
- getState() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Returns the current state of this HMAC key.
- getStatus() - Method in class com.google.cloud.storage.transfermanager.DownloadResult
-
The status of the download operation.
- getStatus() - Method in class com.google.cloud.storage.transfermanager.UploadResult
-
The status of the upload operation.
- getStorage() - Method in class com.google.cloud.storage.Blob
-
Returns the blob's
Storage
object used to issue requests. - getStorage() - Method in class com.google.cloud.storage.Bucket
-
Returns the bucket's
Storage
object used to issue requests. - getStorage() - Method in class com.google.cloud.storage.Notification
-
Returns the notification's
Storage
object used to issue requests. - getStorage() - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- getStorage() - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
- getStorage() - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- getStorageClass() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the storage class of the blob.
- getStorageClass() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's storage class.
- getStorageClass() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.SetStorageClassLifecycleAction
- getStorageOptions() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
-
Storage options that Transfer Manager will use to interact with Google Cloud Storage
- getStorageRetryStrategy() - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageDefaults
- getStorageRetryStrategy() - Method in class com.google.cloud.storage.HttpStorageOptions.HttpStorageDefaults
- getStripPrefix() - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig
-
A common prefix removed from an object's name before being written to the filesystem.
- getTarget() - Method in class com.google.cloud.storage.Storage.ComposeRequest
-
Returns compose operation's target blob.
- getTarget() - Method in class com.google.cloud.storage.Storage.CopyRequest
-
Returns the
BlobInfo
for the target blob. - getTargetOptions() - Method in class com.google.cloud.storage.Storage.ComposeRequest
-
Returns compose operation's target blob's options.
- getTargetOptions() - Method in class com.google.cloud.storage.Storage.CopyRequest
-
Returns blob's target options.
- getTemporaryHold() - Method in class com.google.cloud.storage.BlobInfo
-
Returns a
Boolean
with eithertrue
,null
and in certain casesfalse
. - getTerminalStorageClass() - Method in class com.google.cloud.storage.BucketInfo.Autoclass
- getTerminalStorageClassUpdateTime() - Method in class com.google.cloud.storage.BucketInfo.Autoclass
- getTerminationAwaitDuration() - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageDefaults
- getTime() - Method in class com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
-
Deprecated.
- getTimeMillis() - Method in class com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
-
Deprecated.
- getTimestamp() - Method in class com.google.cloud.storage.SignatureInfo
- getTimeStorageClassUpdated() - Method in class com.google.cloud.storage.BlobInfo
-
Deprecated.
- getTimeStorageClassUpdatedOffsetDateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the time that the object's storage class was last changed or the time of the object creation.
- getToggleTime() - Method in class com.google.cloud.storage.BucketInfo.Autoclass
- getTopic() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns the topic in Pub/Sub that receives notifications.
- getTotalBytesCopied() - Method in class com.google.cloud.storage.CopyWriter
-
Returns the number of bytes copied.
- getTotalBytesCopied() - Method in class com.google.cloud.storage.HttpCopyWriter
- getType() - Method in class com.google.cloud.storage.Acl.Entity
-
Returns the type of entity.
- getType() - Method in class com.google.cloud.storage.BucketInfo.DeleteRule
-
Deprecated.
- getUnauthenticatedInstance() - Static method in class com.google.cloud.storage.StorageOptions
-
Returns a unauthenticated
StorageOptions
instance. - getUniformBucketLevelAccessLockedTime() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
- getUniformBucketLevelAccessLockedTimeOffsetDateTime() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
- getUniformStorageRetryStrategy() - Static method in interface com.google.cloud.storage.StorageRetryStrategy
-
Factory method to get an instance of
StorageRetryStrategy
which will uniformly retry all calls as if they were idempotent. - getUpdateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Deprecated.
- getUpdateTime() - Method in class com.google.cloud.storage.BucketInfo
-
Deprecated.
- getUpdateTime() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Deprecated.
- getUpdateTimeOffsetDateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the last modification time of the blob's metadata.
- getUpdateTimeOffsetDateTime() - Method in class com.google.cloud.storage.BucketInfo
- getUpdateTimeOffsetDateTime() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
-
Returns the last updated time of this HMAC key.
- getUploadedBlob() - Method in class com.google.cloud.storage.transfermanager.UploadResult
-
The
BlobInfo
for the Uploaded object. - getUploadResults() - Method in class com.google.cloud.storage.transfermanager.UploadJob
-
The list of
UploadResults
for each upload request Transfer Manager executed for this job. - getUrl() - Method in class com.google.cloud.storage.PostPolicyV4
-
Returns the URL for the HTTP POST request
- getValue() - Method in class com.google.cloud.storage.Acl.Entity
-
Returns the entity's value.
- getValue() - Method in enum com.google.cloud.storage.BucketInfo.PublicAccessPrevention
- getValue() - Method in class com.google.cloud.storage.Cors.Origin
- getWriteOptsPerRequest() - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig
-
A list of common BlobWriteOptions, note these options will be applied to each upload request.
- GOOG4_RSA_SHA256 - Static variable in class com.google.cloud.storage.SignatureInfo
- Group(String) - Constructor for class com.google.cloud.storage.Acl.Group
-
Creates a group entity.
- GROUP - Enum constant in enum com.google.cloud.storage.Acl.Entity.Type
- grpc() - Static method in class com.google.cloud.storage.StorageOptions
-
Builder factory method which will create a gRPC specific instance of storage options.
- GRPC - Enum constant in enum com.google.cloud.storage.TransportCompatibility.Transport
-
Value indicating usa of the Cloud Storage v2 gRPC API TODO: link to public docs when published.
- grpcInterceptorProvider() - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageDefaults
- GrpcStorageFactory() - Constructor for class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageFactory
-
Deprecated.
- GrpcStorageOptions - Class in com.google.cloud.storage
- GrpcStorageOptions.Builder - Class in com.google.cloud.storage
- GrpcStorageOptions.GrpcStorageDefaults - Class in com.google.cloud.storage
- GrpcStorageOptions.GrpcStorageFactory - Class in com.google.cloud.storage
-
Internal implementation detail, only public to allow for
Serializable
compatibility inServiceOptions
. - GrpcStorageOptions.GrpcStorageRpcFactory - Class in com.google.cloud.storage
-
Deprecated.
- GrpcStorageRpcFactory() - Constructor for class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageRpcFactory
-
Deprecated.
H
- HARD_DELETE_TIME - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- hashCode() - Method in class com.google.cloud.storage.Acl.Entity
- hashCode() - Method in class com.google.cloud.storage.Acl
- hashCode() - Method in class com.google.cloud.storage.Acl.Project
- hashCode() - Method in class com.google.cloud.storage.Blob
- hashCode() - Method in class com.google.cloud.storage.BlobId
- hashCode() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
- hashCode() - Method in class com.google.cloud.storage.BlobInfo
- hashCode() - Method in class com.google.cloud.storage.BlobInfo.Retention
- hashCode() - Method in class com.google.cloud.storage.Bucket
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.Autoclass
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.CustomPlacementConfig
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.DeleteRule
-
Deprecated.
- hashCode() - Method in class com.google.cloud.storage.BucketInfo
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.HierarchicalNamespace
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.Logging
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.ObjectRetention
- hashCode() - Method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy
- hashCode() - Method in class com.google.cloud.storage.Cors
- hashCode() - Method in class com.google.cloud.storage.Cors.Origin
- hashCode() - Method in class com.google.cloud.storage.GrpcStorageOptions
- hashCode() - Method in class com.google.cloud.storage.HmacKey
- hashCode() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
- hashCode() - Method in class com.google.cloud.storage.HttpStorageOptions
- hashCode() - Method in class com.google.cloud.storage.Notification
- hashCode() - Method in class com.google.cloud.storage.NotificationInfo
- hashCode() - Method in class com.google.cloud.storage.PostPolicyV4.ConditionV4
- hashCode() - Method in class com.google.cloud.storage.ServiceAccount
- hashCode() - Method in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- hashCode() - Method in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- hashCode() - Method in class com.google.cloud.storage.StorageOptions
- hashCode() - Method in class com.google.cloud.storage.transfermanager.DownloadJob
- hashCode() - Method in class com.google.cloud.storage.transfermanager.DownloadResult
- hashCode() - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig
- hashCode() - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig
- hashCode() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
- hashCode() - Method in class com.google.cloud.storage.transfermanager.UploadJob
- hashCode() - Method in class com.google.cloud.storage.transfermanager.UploadResult
- hashCode() - Method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Deprecated.
- HEAD - Static variable in class com.google.cloud.storage.HttpMethod
- HIERARCHICAL_NAMESPACE - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- HmacKey - Class in com.google.cloud.storage
-
HMAC key for a service account.
- HmacKey.Builder - Class in com.google.cloud.storage
-
Builder for
HmacKey
objects. - HmacKey.HmacKeyMetadata - Class in com.google.cloud.storage
-
The metadata for a service account HMAC key.
- HmacKey.HmacKeyMetadata.Builder - Class in com.google.cloud.storage
-
Builder for
HmacKeyMetadata
objects. - HmacKey.HmacKeyState - Enum in com.google.cloud.storage
- http() - Static method in class com.google.cloud.storage.StorageOptions
-
Builder factory method which will create a JSON over HTTP specific instance of storage options.
- HTTP - Enum constant in enum com.google.cloud.storage.Storage.UriScheme
- HTTP - Enum constant in enum com.google.cloud.storage.TransportCompatibility.Transport
-
Value indicating use of the Cloud Storage JSON API
- HttpCopyWriter - Class in com.google.cloud.storage
- httpMethod(HttpMethod) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
The HTTP method to be used with the signed URL.
- HttpMethod - Class in com.google.cloud.storage
-
Http method supported by Storage service.
- HttpRpcContext - Class in com.google.cloud.storage.spi.v1
- HTTPS - Enum constant in enum com.google.cloud.storage.Storage.UriScheme
- HttpStorageFactory() - Constructor for class com.google.cloud.storage.HttpStorageOptions.HttpStorageFactory
-
Deprecated.
- HttpStorageOptions - Class in com.google.cloud.storage
- HttpStorageOptions.Builder - Class in com.google.cloud.storage
- HttpStorageOptions.HttpStorageDefaults - Class in com.google.cloud.storage
- HttpStorageOptions.HttpStorageFactory - Class in com.google.cloud.storage
-
Internal implementation detail, only public to allow for
Serializable
. - HttpStorageOptions.HttpStorageRpcFactory - Class in com.google.cloud.storage
-
Internal implementation detail, only public to allow for
Serializable
. - HttpStorageRpc - Class in com.google.cloud.storage.spi.v1
- HttpStorageRpc(StorageOptions) - Constructor for class com.google.cloud.storage.spi.v1.HttpStorageRpc
- HttpStorageRpc(StorageOptions, JsonFactory) - Constructor for class com.google.cloud.storage.spi.v1.HttpStorageRpc
- HttpStorageRpcFactory() - Constructor for class com.google.cloud.storage.HttpStorageOptions.HttpStorageRpcFactory
-
Deprecated.
I
- IAMCONFIGURATION - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- ID - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- ID - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- IF_DISABLE_GZIP_CONTENT - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- IF_GENERATION_MATCH - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- IF_GENERATION_NOT_MATCH - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- IF_METAGENERATION_MATCH - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- IF_METAGENERATION_NOT_MATCH - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- IF_SOURCE_GENERATION_MATCH - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- IF_SOURCE_GENERATION_NOT_MATCH - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- IF_SOURCE_METAGENERATION_MATCH - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- IF_SOURCE_METAGENERATION_NOT_MATCH - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- ImmutableEmptyMap() - Constructor for class com.google.cloud.storage.BlobInfo.ImmutableEmptyMap
- INACTIVE - Enum constant in enum com.google.cloud.storage.HmacKey.HmacKeyState
- INCLUDE_FOLDERS_AS_PREFIXES - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- includeFolders(boolean) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option for whether to include all Folders (including empty Folders) in response.
- INHERITED - Enum constant in enum com.google.cloud.storage.BucketInfo.PublicAccessPrevention
- init() - Static method in class com.google.cloud.storage.spi.v1.HttpRpcContext
- IS_LIVE - Enum constant in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
-
Deprecated.
- isAllowDivideAndConquer() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
-
Whether to allow Transfer Manager to perform chunked Uploads/Downloads if it determines chunking will be beneficial
- isAttemptDirectPath() - Method in class com.google.cloud.storage.GrpcStorageOptions.GrpcStorageDefaults
- isBucketPolicyOnlyEnabled() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
-
Deprecated.
- isDirectory() - Method in class com.google.cloud.storage.BlobInfo
-
Returns
true
if the current blob represents a directory. - isDone - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- isDone() - Method in class com.google.cloud.storage.CopyWriter
-
Returns
true
if blob copy has finished,false
otherwise. - isDone() - Method in class com.google.cloud.storage.HttpCopyWriter
- isLive() - Method in class com.google.cloud.storage.BucketInfo.IsLiveDeleteRule
-
Deprecated.
- IsLiveDeleteRule(boolean) - Constructor for class com.google.cloud.storage.BucketInfo.IsLiveDeleteRule
-
Deprecated.Creates an
IsLiveDeleteRule
object. - isSkipIfExists() - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig
-
If set Transfer Manager will skip uploading an object if it already exists, equivalent to providing
Storage.BlobWriteOption.doesNotExist()
inParallelUploadConfig.getWriteOptsPerRequest()
- isUniformBucketLevelAccessEnabled() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
J
- journaling(Collection<Path>) - Static method in class com.google.cloud.storage.BlobWriteSessionConfigs
-
Create a new
BlobWriteSessionConfig
which will journal writes to a temporary file under one of the specifiedpaths
before transmitting the bytes to Cloud Storage. - JournalingBlobWriteSessionConfig - Class in com.google.cloud.storage
-
There are scenarios in which disk space is more plentiful than memory space.
- JSON_API_V1 - Enum constant in enum com.google.cloud.storage.NotificationInfo.PayloadFormat
K
- KIND - Enum constant in enum com.google.cloud.storage.Storage.BlobField
-
Deprecated.
- KMS_KEY_NAME - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- KMS_KEY_NAME - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- kmsKeyName(String) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option to set a customer-managed KMS key for server-side encryption of the blob.
- kmsKeyName(String) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option to set a customer-managed key for server-side encryption of the blob.
- kmsKeyName(String) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option to set a customer-managed KMS key for server-side encryption of the blob.
L
- LABELS - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- legacyBucketOwner() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.buckets.get storage.buckets.update storage.buckets.setIamPolicy storage.buckets.getIamPolicy storage.objects.list storage.objects.create storage.objects.delete
- legacyBucketReader() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.buckets.get storage.objects.list
- legacyBucketWriter() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.buckets.get storage.objects.list storage.objects.create storage.objects.delete
- legacyObjectOwner() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.objects.get storage.objects.update storage.objects.getIamPolicy storage.objects.setIamPolicy
- legacyObjectReader() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.objects.get
- LIFECYCLE - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- LifecycleAction(String) - Constructor for class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
- LifecycleRule(BucketInfo.LifecycleRule.LifecycleAction, BucketInfo.LifecycleRule.LifecycleCondition) - Constructor for class com.google.cloud.storage.BucketInfo.LifecycleRule
- list(Storage.BlobListOption...) - Method in class com.google.cloud.storage.Bucket
-
Returns the paginated list of
Blob
in this bucket. - list(Storage.BucketListOption...) - Method in interface com.google.cloud.storage.Storage
-
Lists the project's buckets.
- list(String, Storage.BlobListOption...) - Method in interface com.google.cloud.storage.Storage
-
Lists the bucket's blobs.
- list(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- list(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Lists the bucket's blobs.
- list(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- list(Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- list(Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Lists the project's buckets.
- list(Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- listAcls() - Method in class com.google.cloud.storage.Blob
-
Lists the ACL entries for this blob.
- listAcls() - Method in class com.google.cloud.storage.Bucket
-
Lists the ACL entries for this bucket.
- listAcls(BlobId) - Method in interface com.google.cloud.storage.Storage
-
Lists the ACL entries for the provided blob.
- listAcls(String) - Method in interface com.google.cloud.storage.Storage
- listAcls(String, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Lists the ACL entries for the provided bucket.
- listAcls(String, String, Long) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- listAcls(String, String, Long) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Lists the ACL entries for the provided object.
- listAcls(String, String, Long) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- listAcls(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- listAcls(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Lists the ACL entries for the provided bucket.
- listAcls(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- listDefaultAcls() - Method in class com.google.cloud.storage.Bucket
-
Lists the default blob ACL entries for this bucket.
- listDefaultAcls(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- listDefaultAcls(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Lists the default object ACL entries for the provided bucket.
- listDefaultAcls(String) - Method in interface com.google.cloud.storage.Storage
-
Lists the default blob ACL entries for the provided bucket.
- listDefaultAcls(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- listHmacKeys(Storage.ListHmacKeysOption...) - Method in interface com.google.cloud.storage.Storage
-
Lists HMAC keys for a given service account.
- listHmacKeys(Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- listHmacKeys(Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Lists the HMAC keys for the provided service account email.
- listHmacKeys(Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- listNotifications(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- listNotifications(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Retrieves the list of notifications associated with the bucket.
- listNotifications(String) - Method in interface com.google.cloud.storage.Storage
-
Retrieves the list of notifications associated with the bucket.
- listNotifications(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- load(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- load(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Reads all the bytes from a storage object.
- load(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- LOCATION - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- LOCATION_TYPE - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- LOCKED - Static variable in class com.google.cloud.storage.BlobInfo.Retention.Mode
- lockRetentionPolicy(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- lockRetentionPolicy(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Lock retention policy for the provided bucket.
- lockRetentionPolicy(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- lockRetentionPolicy(BucketInfo, Storage.BucketTargetOption...) - Method in interface com.google.cloud.storage.Storage
-
Locks bucket retention policy.
- lockRetentionPolicy(Storage.BucketTargetOption...) - Method in class com.google.cloud.storage.Bucket
-
Locks bucket retention policy.
- LOGGING - Enum constant in enum com.google.cloud.storage.Storage.BucketField
M
- MATCH_GLOB - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- MATCHES - Enum constant in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
- matchGlob(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to set a glob pattern to filter results to blobs that match the pattern.
- MAX_RESULTS - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- maxResults(long) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Returns an option for the maximum amount of HMAC keys returned per page.
- MD5HASH - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- md5Match() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Deprecated.Please compute and use a crc32c checksum instead.
Storage.BlobWriteOption.crc32cMatch()
- md5Match(String) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option for blob's data MD5 hash match.
- MEDIA_LINK - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- megabytesRewrittenPerCall - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- METADATA - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- METAGENERATION - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- METAGENERATION - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- metagenerationMatch() - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch() - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
-
Returns an option for bucket's metageneration match.
- metagenerationMatch() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch() - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Returns an option for bucket's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobRestoreOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
-
Returns an option for bucket's metageneration match.
- metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
-
Returns an option for bucket's metageneration match.
- metagenerationNotMatch() - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch() - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
-
Returns an option for bucket's metageneration mismatch.
- metagenerationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch() - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Returns an option for bucket's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobRestoreOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
-
Returns an option for bucket's metageneration mismatch.
- metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
-
Returns an option for bucket's metageneration mismatch.
- MULTI_REGIONAL - Static variable in class com.google.cloud.storage.StorageClass
-
Legacy Multi-regional storage class, use
StorageClass.STANDARD
instead.
N
- NAME - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- NAME - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- NEARLINE - Static variable in class com.google.cloud.storage.StorageClass
-
Nearline storage class.
- never() - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy
-
Cleanup strategy which will never attempt to clean up parts or intermediary compose objects either on success or on error.
- newAbortIncompleteMPUploadAction() - Static method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
-
Create a new
AbortIncompleteMPUAction
. - newBuilder() - Static method in class com.google.cloud.storage.BlobInfo.Retention
- newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.Autoclass
- newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.CustomPlacementConfig
- newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.HierarchicalNamespace
- newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.IamConfiguration
- newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.Logging
- newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.ObjectRetention
- newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy
- newBuilder() - Static method in class com.google.cloud.storage.Cors
-
Returns a CORS configuration builder.
- newBuilder() - Static method in class com.google.cloud.storage.GrpcStorageOptions
- newBuilder() - Static method in class com.google.cloud.storage.HttpStorageOptions
- newBuilder() - Static method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
- newBuilder() - Static method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4
- newBuilder() - Static method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4
- newBuilder() - Static method in class com.google.cloud.storage.Storage.ComposeRequest
-
Returns a
ComposeRequest
builder. - newBuilder() - Static method in class com.google.cloud.storage.Storage.CopyRequest
-
Creates a builder for
CopyRequest
objects. - newBuilder() - Static method in class com.google.cloud.storage.StorageOptions
-
The returned instance will use JSON over HTTP for its transport.
- newBuilder() - Static method in class com.google.cloud.storage.transfermanager.DownloadJob
- newBuilder() - Static method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig
-
Builds an instance of ParallelDownloadConfig.
- newBuilder() - Static method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig
- newBuilder() - Static method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
- newBuilder() - Static method in class com.google.cloud.storage.transfermanager.UploadJob
- newBuilder(BlobInfo, TransferStatus) - Static method in class com.google.cloud.storage.transfermanager.DownloadResult
- newBuilder(BlobInfo, TransferStatus) - Static method in class com.google.cloud.storage.transfermanager.UploadResult
- newBuilder(Acl.Entity, Acl.Role) - Static method in class com.google.cloud.storage.Acl
-
Returns a builder for
Acl
objects. - newBuilder(BlobId) - Static method in class com.google.cloud.storage.BlobInfo
-
Returns a
BlobInfo
builder where blob identity is set using the provided value. - newBuilder(BucketInfo, String) - Static method in class com.google.cloud.storage.BlobInfo
-
Returns a
BlobInfo
builder where blob identity is set using the provided values. - newBuilder(BucketInfo, String, Long) - Static method in class com.google.cloud.storage.BlobInfo
-
Returns a
BlobInfo
builder where blob identity is set using the provided values. - newBuilder(ServiceAccount) - Static method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
- newBuilder(String) - Static method in class com.google.cloud.storage.BucketInfo
-
Returns a
BucketInfo
builder where the bucket's name is set to the provided name. - newBuilder(String) - Static method in class com.google.cloud.storage.HmacKey
- newBuilder(String) - Static method in class com.google.cloud.storage.NotificationInfo
-
Creates a
NotificationInfo
object for the provided topic. - newBuilder(String, String) - Static method in class com.google.cloud.storage.BlobInfo
-
Returns a
BlobInfo
builder where blob identity is set using the provided values. - newBuilder(String, String, Long) - Static method in class com.google.cloud.storage.BlobInfo
-
Returns a
BlobInfo
builder where blob identity is set using the provided values. - newDeleteAction() - Static method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
-
Creates a new
DeleteLifecycleAction
. - newInvocationId() - Method in class com.google.cloud.storage.spi.v1.HttpRpcContext
- newLifecycleAction(String) - Static method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
-
Creates a new
LifecycleAction
, with no specific supported action associated with it. - newSetStorageClassAction(StorageClass) - Static method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
-
Creates a new
SetStorageClassLifecycleAction
. - NO_ACL_PROJECTION - Static variable in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- NONE - Enum constant in enum com.google.cloud.storage.NotificationInfo.PayloadFormat
- noOp() - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator
- noPrefix() - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy
-
Default strategy in which no stable prefix is defined.
- Notification - Class in com.google.cloud.storage
-
The class representing Pub/Sub notifications for the Storage.
- Notification.Builder - Class in com.google.cloud.storage
-
Builder for
Notification
. - NotificationInfo - Class in com.google.cloud.storage
-
The class representing Pub/Sub Notification metadata for the Storage.
- NotificationInfo.Builder - Class in com.google.cloud.storage
-
Builder for
NotificationInfo
. - NotificationInfo.BuilderImpl - Class in com.google.cloud.storage
-
Builder for
NotificationInfo
. - NotificationInfo.EventType - Enum in com.google.cloud.storage
- NotificationInfo.PayloadFormat - Enum in com.google.cloud.storage
- NUM_NEWER_VERSIONS - Enum constant in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
-
Deprecated.
- NumNewerVersionsDeleteRule(int) - Constructor for class com.google.cloud.storage.BucketInfo.NumNewerVersionsDeleteRule
-
Deprecated.Creates an
NumNewerVersionsDeleteRule
object.
O
- OBJECT_ARCHIVE - Enum constant in enum com.google.cloud.storage.NotificationInfo.EventType
- OBJECT_DELETE - Enum constant in enum com.google.cloud.storage.NotificationInfo.EventType
- OBJECT_FINALIZE - Enum constant in enum com.google.cloud.storage.NotificationInfo.EventType
- OBJECT_METADATA_UPDATE - Enum constant in enum com.google.cloud.storage.NotificationInfo.EventType
- OBJECT_RETENTION - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- objectAdmin() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.objects.*
- objectCreator() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.objects.create
- objectViewer() - Static method in class com.google.cloud.storage.StorageRoles
-
Grants the following permissions: storage.objects.list storage.objects.get
- of(Acl.Entity, Acl.Role) - Static method in class com.google.cloud.storage.Acl
-
Returns an
Acl
object. - of(BlobId, BlobId) - Static method in class com.google.cloud.storage.Storage.CopyRequest
-
Creates a copy request.
- of(BlobId, BlobInfo) - Static method in class com.google.cloud.storage.Storage.CopyRequest
-
Creates a copy request.
- of(BlobId, String) - Static method in class com.google.cloud.storage.Storage.CopyRequest
-
Creates a copy request.
- of(ServiceAccount, String, String) - Static method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
- of(Iterable<String>, BlobInfo) - Static method in class com.google.cloud.storage.Storage.ComposeRequest
-
Creates a
ComposeRequest
object. - of(String) - Static method in class com.google.cloud.storage.BucketInfo
-
Creates a
BucketInfo
object for the provided bucket name. - of(String) - Static method in class com.google.cloud.storage.Cors.Origin
-
Creates an
Origin
object for the provided value. - of(String) - Static method in class com.google.cloud.storage.NotificationInfo
-
Creates a
NotificationInfo
object for the provided topic. - of(String) - Static method in class com.google.cloud.storage.ServiceAccount
-
Returns a
ServiceAccount
object for the provided email. - of(String, PostPolicyV4.PostConditionsV4) - Static method in class com.google.cloud.storage.PostPolicyV4.PostPolicyV4Document
- of(String, Iterable<String>, String) - Static method in class com.google.cloud.storage.Storage.ComposeRequest
-
Creates a
ComposeRequest
object. - of(String, String) - Static method in class com.google.cloud.storage.BlobId
-
Creates a blob identifier.
- of(String, String, int) - Static method in class com.google.cloud.storage.Cors.Origin
-
Returns an
Origin
object for the given scheme, host and port. - of(String, String, BlobId) - Static method in class com.google.cloud.storage.Storage.CopyRequest
-
Creates a copy request.
- of(String, String, BlobInfo) - Static method in class com.google.cloud.storage.Storage.CopyRequest
-
Creates a copy request.
- of(String, String, Long) - Static method in class com.google.cloud.storage.BlobId
-
Creates a
BlobId
object. - of(String, String, String) - Static method in class com.google.cloud.storage.Storage.CopyRequest
-
Creates a copy request.
- of(String, Map<String, String>) - Static method in class com.google.cloud.storage.PostPolicyV4
-
Constructs
PostPolicyV4
instance of the given URL and fields map. - of(Map<String, String>) - Static method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4
-
Constructs
PostPolicyV4.PostFieldsV4
object of the given field map. - ofAllAuthenticatedUsers() - Static method in class com.google.cloud.storage.Acl.User
- ofAllUsers() - Static method in class com.google.cloud.storage.Acl.User
- onFailure(GoogleJsonError) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch.Callback
-
This method will be called upon failure of the batch operation.
- onlyOnSuccess() - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy
-
Cleanup strategy which will only attempt to clean up parts and intermediary compose objects either on success.
- onSuccess(T) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch.Callback
-
This method will be called upon success of the batch operation.
- open() - Method in interface com.google.cloud.storage.BlobWriteSession
-
Open the
WritableByteChannel
for this session. - open(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- open(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Opens a resumable upload channel for a given storage object.
- open(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- open(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- open(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Opens a resumable upload channel for a given signedURL.
- open(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- openRewrite(StorageRpc.RewriteRequest) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- openRewrite(StorageRpc.RewriteRequest) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Sends a rewrite request to open a rewrite channel.
- openRewrite(StorageRpc.RewriteRequest) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- operand1 - Variable in class com.google.cloud.storage.PostPolicyV4.ConditionV4
- operand2 - Variable in class com.google.cloud.storage.PostPolicyV4.ConditionV4
- Option<O extends com.google.cloud.storage.UnifiedOpts.Opt> - Class in com.google.cloud.storage
-
Deprecated.
- OPTIONS - Static variable in class com.google.cloud.storage.HttpMethod
- OVERRIDE_UNLOCKED_RETENTION - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- overrideInfo - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- overrideInfo() - Method in class com.google.cloud.storage.Storage.CopyRequest
-
Returns whether to override the target blob information with
Storage.CopyRequest.getTarget()
. - overrideUnlockedRetention(boolean) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option for overriding an Unlocked Retention policy.
- overrideUnlockedRetention(boolean) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for overriding an Unlocked Retention policy.
- OWNER - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- OWNER - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- OWNER - Static variable in class com.google.cloud.storage.Acl.Role
- OWNERS - Static variable in class com.google.cloud.storage.Acl.Project.ProjectRole
P
- PAGE_TOKEN - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- pageSize(long) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to specify the maximum number of blobs returned per page.
- pageSize(long) - Static method in class com.google.cloud.storage.Storage.BucketListOption
-
Returns an option to specify the maximum number of buckets returned per page.
- pageToken(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to specify the page token from which to start listing blobs.
- pageToken(String) - Static method in class com.google.cloud.storage.Storage.BucketListOption
-
Returns an option to specify the page token from which to start listing buckets.
- pageToken(String) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Returns an option to specify the page token from which to start listing HMAC keys.
- parallelCompositeUpload() - Static method in class com.google.cloud.storage.BlobWriteSessionConfigs
-
Create a new
BlobWriteSessionConfig
which will perform a Parallel Composite Upload by breaking the stream into parts and composing the parts together to make the ultimate object. - ParallelCompositeUploadBlobWriteSessionConfig - Class in com.google.cloud.storage
-
Immutable config builder to configure BlobWriteSession instances to perform Parallel Composite Uploads.
- ParallelCompositeUploadBlobWriteSessionConfig.BufferAllocationStrategy - Class in com.google.cloud.storage
-
A strategy which dictates how buffers are to be used for individual parts.
- ParallelCompositeUploadBlobWriteSessionConfig.ExecutorSupplier - Class in com.google.cloud.storage
-
Class which will be used to supply an Executor where work will be submitted when performing a parallel composite upload.
- ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy - Class in com.google.cloud.storage
-
A cleanup strategy which will dictate what cleanup operations are performed automatically when performing a parallel composite upload.
- ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator - Class in com.google.cloud.storage
-
A Decorator which is used to manipulate metadata fields, specifically on the part objects created in a Parallel Composite Upload
- ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy - Class in com.google.cloud.storage
-
A naming strategy which will be used to generate a name for a part or intermediary compose object.
- ParallelCompositeUploadException - Exception in com.google.cloud.storage
-
An exception which provides access to created objects during a Parallel Composite Upload that did not finish successfully.
- ParallelDownloadConfig - Class in com.google.cloud.storage.transfermanager
-
Configuration for performing Parallel Downloads with
TransferManager
. - ParallelDownloadConfig.Builder - Class in com.google.cloud.storage.transfermanager
- ParallelUploadConfig - Class in com.google.cloud.storage.transfermanager
-
Configuration for performing Parallel Uploads with
TransferManager
. - ParallelUploadConfig.Builder - Class in com.google.cloud.storage.transfermanager
-
Builds an instance of ParallelUploadConfig.
- parse(String) - Static method in enum com.google.cloud.storage.BucketInfo.PublicAccessPrevention
- PartMetadataFieldDecorator() - Constructor for class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator
- patch(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- patch(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Updates bucket information.
- patch(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- patch(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- patch(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Updates the storage object's information.
- patch(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- patchAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- patchAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Updates an ACL entry on the specified bucket.
- patchAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- patchAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- patchAcl(ObjectAccessControl) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Updates an ACL entry on the specified object.
- patchAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- patchDefaultAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- patchDefaultAcl(ObjectAccessControl) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Updates a default object ACL entry on the specified bucket.
- patchDefaultAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- POST - Static variable in class com.google.cloud.storage.HttpMethod
- PostConditionsV4(PostPolicyV4.PostConditionsV4.Builder) - Constructor for class com.google.cloud.storage.PostPolicyV4.PostConditionsV4
- PostPolicyV4 - Class in com.google.cloud.storage
-
Presigned V4 post policy.
- PostPolicyV4.ConditionV4 - Class in com.google.cloud.storage
-
Class for a specific POST policy document condition.
- PostPolicyV4.ConditionV4Type - Enum in com.google.cloud.storage
- PostPolicyV4.PostConditionsV4 - Class in com.google.cloud.storage
-
A helper class for specifying conditions in a V4 POST Policy document.
- PostPolicyV4.PostConditionsV4.Builder - Class in com.google.cloud.storage
- PostPolicyV4.PostFieldsV4 - Class in com.google.cloud.storage
-
A helper class to define fields to be specified in a V4 POST request.
- PostPolicyV4.PostFieldsV4.Builder - Class in com.google.cloud.storage
- PostPolicyV4.PostPolicyV4Document - Class in com.google.cloud.storage
-
Class for a V4 POST Policy document.
- PREDEFINED_ACL - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- PREDEFINED_DEFAULT_OBJECT_ACL - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option for specifying blob's predefined ACL configuration.
- predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option for specifying blob's predefined ACL configuration.
- predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for specifying blob's predefined ACL configuration.
- predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for specifying blob's predefined ACL configuration.
- predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Returns an option for specifying bucket's predefined ACL configuration.
- predefinedDefaultObjectAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Returns an option for specifying bucket's default ACL configuration for blobs.
- prefix(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to set a prefix to filter results to blobs whose names begin with this prefix.
- prefix(String) - Static method in class com.google.cloud.storage.Storage.BucketListOption
-
Returns an option to set a prefix to filter results to buckets whose names begin with this prefix.
- prefix(String) - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy
-
Strategy in which an explicit stable prefix is present on each part and intermediary compose object.
- PREFIX - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- PRIVATE - Enum constant in enum com.google.cloud.storage.Storage.PredefinedAcl
- Project(Acl.Project.ProjectRole, String) - Constructor for class com.google.cloud.storage.Acl.Project
-
Creates a project entity.
- PROJECT - Enum constant in enum com.google.cloud.storage.Acl.Entity.Type
- PROJECT_ID - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- PROJECT_PRIVATE - Enum constant in enum com.google.cloud.storage.Storage.PredefinedAcl
- projectId(String) - Static method in class com.google.cloud.storage.Storage.CreateHmacKeyOption
-
Returns an option to specify the Project ID for this request.
- projectId(String) - Static method in class com.google.cloud.storage.Storage.GetHmacKeyOption
-
Returns an option to specify the Project ID for this request.
- projectId(String) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Returns an option to specify the Project ID for this request.
- projectIdRequired() - Method in class com.google.cloud.storage.StorageOptions
- projection(String) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Returns an option to define the projection in the API request.
- PROJECTION - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- PUBLIC_READ - Enum constant in enum com.google.cloud.storage.Storage.PredefinedAcl
- PUBLIC_READ_WRITE - Enum constant in enum com.google.cloud.storage.Storage.PredefinedAcl
- PUT - Static variable in class com.google.cloud.storage.HttpMethod
Q
- queryCompletedResumableUpload(String, long) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- queryCompletedResumableUpload(String, long) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Attempts to retrieve the StorageObject from a completed resumable upload.
- queryCompletedResumableUpload(String, long) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
R
- read(StorageObject, Map<StorageRpc.Option, ?>, long, int) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- read(StorageObject, Map<StorageRpc.Option, ?>, long, int) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Reads the given amount of bytes from a storage object at the given position.
- read(StorageObject, Map<StorageRpc.Option, ?>, long, int) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- read(StorageObject, Map<StorageRpc.Option, ?>, long, OutputStream) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- read(StorageObject, Map<StorageRpc.Option, ?>, long, OutputStream) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Reads all the bytes from a storage object at the given position in to outputstream using direct download.
- read(StorageObject, Map<StorageRpc.Option, ?>, long, OutputStream) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- readAllBytes(BlobId, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Reads all the bytes from a blob.
- readAllBytes(String, String, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Reads all the bytes from a blob.
- reader(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Returns a
ReadChannel
object for reading this blob's content. - reader(BlobId, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Returns a channel for reading the blob's content.
- reader(String, String, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Returns a channel for reading the blob's content.
- READER - Static variable in class com.google.cloud.storage.Acl.Role
- REGIONAL - Static variable in class com.google.cloud.storage.StorageClass
-
Legacy Regional storage class, use
StorageClass.STANDARD
instead. - reload(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
-
Fetches the latest blob properties.
- reload(Bucket.BucketSourceOption...) - Method in class com.google.cloud.storage.Bucket
-
Fetches current bucket's latest information.
- RemoteStorageHelper - Class in com.google.cloud.storage.testing
-
Utility to create a remote storage configuration for testing.
- RemoteStorageHelper.StorageHelperException - Exception in com.google.cloud.storage.testing
- REQUESTED_POLICY_VERSION - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- requestedPolicyVersion(long) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
- requesterPays() - Method in class com.google.cloud.storage.BucketInfo
-
Returns a
Boolean
with eithertrue
,false
, and in a specific casenull
. - restore(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- restore(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
If an object has been soft-deleted, restores it and returns the restored object.j
- restore(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- restore(BlobId, Storage.BlobRestoreOption...) - Method in interface com.google.cloud.storage.Storage
-
Restores a soft-deleted object to full object status and returns the object.
- result - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- Retention(BlobInfo.Retention.Builder) - Constructor for class com.google.cloud.storage.BlobInfo.Retention
- RETENTION - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- RETENTION_EXPIRATION_TIME - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- RETENTION_POLICY - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- retentionPolicyIsLocked() - Method in class com.google.cloud.storage.BucketInfo
-
Returns a
Boolean
with eithertrue
ornull
. - RETURN_RAW_INPUT_STREAM - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- rewriteRequest - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- RewriteRequest(StorageObject, Map<StorageRpc.Option, ?>, boolean, StorageObject, Map<StorageRpc.Option, ?>, Long) - Constructor for class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- RewriteResponse(StorageRpc.RewriteRequest, StorageObject, long, boolean, String, long) - Constructor for class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- rewriteToken - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- RpcBatch - Interface in com.google.cloud.storage.spi.v1
-
An interface for the collection of batch operations.
- RpcBatch.Callback<T> - Interface in com.google.cloud.storage.spi.v1
-
An interface for batch callbacks.
- Rpo - Class in com.google.cloud.storage
-
Enums for the Recovery Point Objective (RPO) of dual-region buckets, which determines how fast data is replicated between regions.
- RPO - Enum constant in enum com.google.cloud.storage.Storage.BucketField
S
- SCOPE - Static variable in class com.google.cloud.storage.SignatureInfo
- self() - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- self() - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- SELF_LINK - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- SELF_LINK - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- serialize(Map<String, String>) - Method in class com.google.cloud.storage.CanonicalExtensionHeadersSerializer
- serializeHeaderNames(Map<String, String>) - Method in class com.google.cloud.storage.CanonicalExtensionHeadersSerializer
- SERVICE_ACCOUNT_EMAIL - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- serviceAccount(ServiceAccount) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Returns an option for the Service Account whose keys to list.
- ServiceAccount - Class in com.google.cloud.storage
-
A service account, with its specified scopes, authorized for this instance.
- setAccessId(String) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setAccountEmail(String) - Method in class com.google.cloud.storage.SignatureInfo.Builder
- setAcl(Iterable<Acl>) - Method in class com.google.cloud.storage.Bucket.Builder
- setAcl(Iterable<Acl>) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's access control configuration.
- setAcl(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setAcl(List<Acl>) - Method in class com.google.cloud.storage.Blob.Builder
- setAcl(List<Acl>) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's access control configuration.
- setAge(Integer) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the age in days.
- setAllowDivideAndConquer(boolean) - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig.Builder
-
Whether to allow Transfer Manager to perform chunked Uploads/Downloads if it determines chunking will be beneficial
- setAttemptDirectPath(boolean) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
-
Option which signifies the client should attempt to connect to gcs via Direct Google Access.
- setAutoclass(BucketInfo.Autoclass) - Method in class com.google.cloud.storage.Bucket.Builder
- setAutoclass(BucketInfo.Autoclass) - Method in class com.google.cloud.storage.BucketInfo.Builder
- setBlobId(BlobId) - Method in class com.google.cloud.storage.Blob.Builder
- setBlobId(BlobId) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob identity.
- setBlobWriteSessionConfig(BlobWriteSessionConfig) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setBucketName(String) - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig.Builder
-
Sets the bucketName that Transfer Manager will upload to.
- setBucketName(String) - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig.Builder
-
Sets the bucketName that Transfer Manager will download from.
- setCacheControl(String) - Method in class com.google.cloud.storage.Blob.Builder
- setCacheControl(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's data cache control.
- setCacheControl(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setCanonicalizedExtensionHeaders(Map<String, String>) - Method in class com.google.cloud.storage.SignatureInfo.Builder
- setCanonicalizedQueryParams(Map<String, String>) - Method in class com.google.cloud.storage.SignatureInfo.Builder
- setClientLibToken(String) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setClientLibToken(String) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setClock(ApiClock) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setClock(ApiClock) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setContentDisposition(String) - Method in class com.google.cloud.storage.Blob.Builder
- setContentDisposition(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's data content disposition.
- setContentDisposition(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setContentEncoding(String) - Method in class com.google.cloud.storage.Blob.Builder
- setContentEncoding(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's data content encoding.
- setContentEncoding(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setContentLanguage(String) - Method in class com.google.cloud.storage.Blob.Builder
- setContentLanguage(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's data content language.
- setContentLength(int) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
-
Deprecated.Invocation of this method has no effect, because all valid HTML form fields except Content-Length can use exact matching. Use
PostPolicyV4.PostConditionsV4.Builder.addContentLengthRangeCondition(int, int)
to specify a range for the content-length. - setContentMd5(String) - Method in class com.google.cloud.storage.SignatureInfo.Builder
- setContentType(String) - Method in class com.google.cloud.storage.Blob.Builder
- setContentType(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's data content type.
- setContentType(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setContentType(String) - Method in class com.google.cloud.storage.SignatureInfo.Builder
- setCors(Iterable<Cors>) - Method in class com.google.cloud.storage.Bucket.Builder
- setCors(Iterable<Cors>) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's Cross-Origin Resource Sharing (CORS) configuration.
- setCrc32c(String) - Method in class com.google.cloud.storage.Blob.Builder
- setCrc32c(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; encoded in base64 in big-endian order.
- setCrc32cFromHexString(String) - Method in class com.google.cloud.storage.Blob.Builder
- setCrc32cFromHexString(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; from hex string.
- setCreatedBefore(DateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
- setCreatedBeforeOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the date a Blob should be created before for an Action to be executed.
- setCreateTime(long) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setCreateTimeOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setCredentials(Credentials) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setCredentials(Credentials) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setCustomAttributes(Map<String, String>) - Method in class com.google.cloud.storage.Notification.Builder
- setCustomAttributes(Map<String, String>) - Method in class com.google.cloud.storage.NotificationInfo.Builder
- setCustomAttributes(Map<String, String>) - Method in class com.google.cloud.storage.NotificationInfo.BuilderImpl
- setCustomMetadataField(String, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setCustomPlacementConfig(BucketInfo.CustomPlacementConfig) - Method in class com.google.cloud.storage.Bucket.Builder
- setCustomPlacementConfig(BucketInfo.CustomPlacementConfig) - Method in class com.google.cloud.storage.BucketInfo.Builder
- setCustomTime(Long) - Method in class com.google.cloud.storage.Blob.Builder
-
Deprecated.
- setCustomTime(Long) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Deprecated.
- setCustomTimeBefore(DateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
- setCustomTimeBeforeOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the date with only the date part (for instance, "2013-01-15").
- setCustomTimeInFuture(Duration) - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator
-
A decorator that is used to manipulate the Custom Time Metadata field of part files.
- setCustomTimeOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.Blob.Builder
- setCustomTimeOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the custom time for an object.
- setDataLocations(List<String>) - Method in class com.google.cloud.storage.BucketInfo.CustomPlacementConfig.Builder
-
A list of regions for custom placement configurations.
- setDaysSinceCustomTime(Integer) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the number of days elapsed since the user-specified timestamp set on an object.
- setDaysSinceNoncurrentTime(Integer) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the number of days elapsed since the noncurrent timestamp of an object.
- setDefaultAcl(Iterable<Acl>) - Method in class com.google.cloud.storage.Bucket.Builder
- setDefaultAcl(Iterable<Acl>) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the default access control configuration to apply to bucket's blobs when no other configuration is specified.
- setDefaultEventBasedHold(Boolean) - Method in class com.google.cloud.storage.Bucket.Builder
- setDefaultEventBasedHold(Boolean) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the default event-based hold for this bucket.
- setDefaultKmsKeyName(String) - Method in class com.google.cloud.storage.Bucket.Builder
- setDefaultKmsKeyName(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the default Cloud KMS key name for this bucket.
- setDeleteRules(Iterable<? extends BucketInfo.DeleteRule>) - Method in class com.google.cloud.storage.Bucket.Builder
-
Deprecated.Use
Bucket.Builder.setLifecycleRules(Iterable)
instead, as insetLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build())));
- setDeleteRules(Iterable<? extends BucketInfo.DeleteRule>) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Deprecated.Use
BucketInfo.Builder.setLifecycleRules(Iterable)
instead, as insetLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build())));
- setDownloadDirectory(Path) - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig.Builder
-
Sets the base directory on the filesystem that all objects will be written to.
- setDownloadResults(List<ApiFuture<DownloadResult>>) - Method in class com.google.cloud.storage.transfermanager.DownloadJob.Builder
-
Sets the results for a DownloadJob being performed by Transfer Manager.
- setEnabled(Boolean) - Method in class com.google.cloud.storage.BucketInfo.Autoclass.Builder
-
Sets whether Autoclass is enabled for this bucket.
- setEnabled(Boolean) - Method in class com.google.cloud.storage.BucketInfo.HierarchicalNamespace.Builder
-
Sets whether Hierarchical Namespace (Folders) is enabled for this bucket.
- setEntity(Acl.Entity) - Method in class com.google.cloud.storage.Acl.Builder
-
Sets the entity for the ACL object.
- setEtag(String) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setEtag(String) - Method in class com.google.cloud.storage.Notification.Builder
- setEtag(String) - Method in class com.google.cloud.storage.NotificationInfo.Builder
- setEtag(String) - Method in class com.google.cloud.storage.NotificationInfo.BuilderImpl
- setEventBasedHold(Boolean) - Method in class com.google.cloud.storage.Blob.Builder
- setEventBasedHold(Boolean) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's event-based hold.
- setEventTypes(NotificationInfo.EventType...) - Method in class com.google.cloud.storage.Notification.Builder
- setEventTypes(NotificationInfo.EventType...) - Method in class com.google.cloud.storage.NotificationInfo.Builder
- setEventTypes(NotificationInfo.EventType...) - Method in class com.google.cloud.storage.NotificationInfo.BuilderImpl
- setException(Exception) - Method in class com.google.cloud.storage.transfermanager.DownloadResult.Builder
-
Sets the Exception produced by a failed download operation.
- setException(Exception) - Method in class com.google.cloud.storage.transfermanager.UploadResult.Builder
-
Sets the exception produced by a failed upload operation.
- setExpires(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setGrpcInterceptorProvider(GrpcInterceptorProvider) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setHeaderProvider(HeaderProvider) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setHeaderProvider(HeaderProvider) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setHierarchicalNamespace(BucketInfo.HierarchicalNamespace) - Method in class com.google.cloud.storage.Bucket.Builder
- setHierarchicalNamespace(BucketInfo.HierarchicalNamespace) - Method in class com.google.cloud.storage.BucketInfo.Builder
- setHost(String) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setHost(String) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setIamConfiguration(BucketInfo.IamConfiguration) - Method in class com.google.cloud.storage.Bucket.Builder
- setIamConfiguration(BucketInfo.IamConfiguration) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the IamConfiguration to specify whether IAM access should be enabled.
- setIamPolicy(String, Policy, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- setIamPolicy(String, Policy, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Updates the IAM policy for the specified bucket.
- setIamPolicy(String, Policy, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- setIamPolicy(String, Policy, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Updates the IAM policy on the specified bucket.
- setId(String) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setIndexPage(String) - Method in class com.google.cloud.storage.Bucket.Builder
- setIndexPage(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's website index page.
- setInput(BlobInfo) - Method in class com.google.cloud.storage.transfermanager.DownloadResult.Builder
-
Sets the
BlobInfo
for the object request for download. - setInput(BlobInfo) - Method in class com.google.cloud.storage.transfermanager.UploadResult.Builder
-
Sets the
BlobInfo
for the object request for upload. - setIsBucketPolicyOnlyEnabled(Boolean) - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
-
Deprecated.
- setIsLive(Boolean) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets an isLive Boolean condition.
- setIsUniformBucketLevelAccessEnabled(Boolean) - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
-
Sets whether uniform bucket-level access is enabled for this bucket.
- setLabels(Map<String, String>) - Method in class com.google.cloud.storage.Bucket.Builder
- setLabels(Map<String, String>) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the label of this bucket.
- setLifecycleRules(Iterable<? extends BucketInfo.LifecycleRule>) - Method in class com.google.cloud.storage.Bucket.Builder
- setLifecycleRules(Iterable<? extends BucketInfo.LifecycleRule>) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's lifecycle configuration as a number of lifecycle rules, consisting of an action and a condition.
- setLocation(String) - Method in class com.google.cloud.storage.Bucket.Builder
- setLocation(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's location.
- setLogBucket(String) - Method in class com.google.cloud.storage.BucketInfo.Logging.Builder
-
The destination bucket where the current bucket's logs should be placed.
- setLogging(BucketInfo.Logging) - Method in class com.google.cloud.storage.Bucket.Builder
- setLogging(BucketInfo.Logging) - Method in class com.google.cloud.storage.BucketInfo.Builder
- setLogObjectPrefix(String) - Method in class com.google.cloud.storage.BucketInfo.Logging.Builder
-
A prefix for log object names.
- setMatchesPrefix(List<String>) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the list of prefixes.
- setMatchesStorageClass(List<StorageClass>) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets a list of Storage Classes for a objects that satisfy the condition to execute the Action.
- setMatchesSuffix(List<String>) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the list of suffixes.
- setMaxAgeSeconds(Integer) - Method in class com.google.cloud.storage.Cors.Builder
-
Sets the max time in seconds in which a client can issue requests before sending a new preflight request.
- setMaxWorkers(int) - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig.Builder
-
Maximum amount of workers to be allocated to perform work in Transfer Manager
- setMd5(String) - Method in class com.google.cloud.storage.Blob.Builder
- setMd5(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the MD5 hash of blob's data.
- setMd5FromHexString(String) - Method in class com.google.cloud.storage.Blob.Builder
- setMd5FromHexString(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the MD5 hash of blob's data from hex string.
- setMegabytesCopiedPerChunk(Long) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets the maximum number of megabytes to copy for each RPC call.
- setMetadata(Map<String, String>) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's user provided metadata.
- setMetadata(HmacKey.HmacKeyMetadata) - Method in class com.google.cloud.storage.HmacKey.Builder
- setMetadata(Map<String, String>) - Method in class com.google.cloud.storage.Blob.Builder
- setMethods(Iterable<HttpMethod>) - Method in class com.google.cloud.storage.Cors.Builder
-
Sets the HTTP methods supported by this CORS configuration.
- setMode(BlobInfo.Retention.Mode) - Method in class com.google.cloud.storage.BlobInfo.Retention.Builder
-
Sets the retention policy's Mode.
- setMode(BucketInfo.ObjectRetention.Mode) - Method in class com.google.cloud.storage.BucketInfo.ObjectRetention.Builder
-
Sets the object retention mode.
- setName(String) - Method in class com.google.cloud.storage.Bucket.Builder
- setName(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's name.
- setNoncurrentTimeBefore(DateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
- setNoncurrentTimeBeforeOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the date with only the date part (for instance, "2013-01-15").
- setNotFoundPage(String) - Method in class com.google.cloud.storage.Bucket.Builder
- setNotFoundPage(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the custom object to return when a requested resource is not found.
- setNumberOfNewerVersions(Integer) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
-
Sets the number of newer versions a Blob should have for an Action to be executed.
- setObjectNamePrefix(String) - Method in class com.google.cloud.storage.Notification.Builder
- setObjectNamePrefix(String) - Method in class com.google.cloud.storage.NotificationInfo.Builder
- setObjectNamePrefix(String) - Method in class com.google.cloud.storage.NotificationInfo.BuilderImpl
- setOptionsPerRequest(List<Storage.BlobSourceOption>) - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig.Builder
-
Sets the BlobSourceOptions that will be applied to each download request.
- setOrigins(Iterable<Cors.Origin>) - Method in class com.google.cloud.storage.Cors.Builder
-
Sets the origins for this CORS configuration.
- setOutputDestination(Path) - Method in class com.google.cloud.storage.transfermanager.DownloadResult.Builder
-
Sets the location on the Filesystem the object has been written to.
- setParallelDownloadConfig(ParallelDownloadConfig) - Method in class com.google.cloud.storage.transfermanager.DownloadJob.Builder
-
Sets the
ParallelDownloadConfig
used for this DownloadJob. - setParallelUploadConfig(ParallelUploadConfig) - Method in class com.google.cloud.storage.transfermanager.UploadJob.Builder
-
Sets the
ParallelUploadConfig
used for this UploadJob. - setPayloadFormat(NotificationInfo.PayloadFormat) - Method in class com.google.cloud.storage.Notification.Builder
- setPayloadFormat(NotificationInfo.PayloadFormat) - Method in class com.google.cloud.storage.NotificationInfo.Builder
- setPayloadFormat(NotificationInfo.PayloadFormat) - Method in class com.google.cloud.storage.NotificationInfo.BuilderImpl
- setPerWorkerBufferSize(int) - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig.Builder
-
Buffer size allowed to each worker
- setPrefix(String) - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig.Builder
-
Sets a common prefix that will be applied to all object paths in the destination bucket.
- setProjectId(String) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setProjectId(String) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setProjectId(String) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setPublicAccessPrevention(BucketInfo.PublicAccessPrevention) - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
-
Sets the bucket's Public Access Prevention configuration.
- setQuotaProjectId(String) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setQuotaProjectId(String) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setRequesterPays(Boolean) - Method in class com.google.cloud.storage.Bucket.Builder
- setRequesterPays(Boolean) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets whether a user accessing the bucket or an object it contains should assume the transit costs related to the access.
- setResponseHeaders(Iterable<String>) - Method in class com.google.cloud.storage.Cors.Builder
-
Sets the response headers supported by this CORS configuration.
- setRetainUntilTime(OffsetDateTime) - Method in class com.google.cloud.storage.BlobInfo.Retention.Builder
-
Sets what time this object will be retained until, if the mode is Locked.
- setRetention(BlobInfo.Retention) - Method in class com.google.cloud.storage.Blob.Builder
- setRetention(BlobInfo.Retention) - Method in class com.google.cloud.storage.BlobInfo.Builder
- setRetentionDuration(Duration) - Method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy.Builder
-
Sets the length of time to retain soft-deleted objects for, expressed as a Duration
- setRetentionPeriod(Long) - Method in class com.google.cloud.storage.Bucket.Builder
-
Deprecated.
- setRetentionPeriod(Long) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Deprecated.
- setRetentionPeriodDuration(Duration) - Method in class com.google.cloud.storage.Bucket.Builder
- setRetentionPeriodDuration(Duration) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
If policy is not locked this value can be cleared, increased, and decreased.
- setRetrySettings(RetrySettings) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setRetrySettings(RetrySettings) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setRole(Acl.Role) - Method in class com.google.cloud.storage.Acl.Builder
-
Sets the role to associate to the
entity
object. - setRpo(Rpo) - Method in class com.google.cloud.storage.Bucket.Builder
- setRpo(Rpo) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's Recovery Point Objective (RPO).
- setSecretKey(String) - Method in class com.google.cloud.storage.HmacKey.Builder
- setSelfLink(String) - Method in class com.google.cloud.storage.Notification.Builder
- setSelfLink(String) - Method in class com.google.cloud.storage.NotificationInfo.Builder
- setSelfLink(String) - Method in class com.google.cloud.storage.NotificationInfo.BuilderImpl
- setServiceAccount(ServiceAccount) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setServiceFactory(ServiceFactory<Storage, StorageOptions>) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setServiceFactory(ServiceFactory<Storage, StorageOptions>) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setServiceRpcFactory(ServiceRpcFactory<StorageOptions>) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setServiceRpcFactory(ServiceRpcFactory<StorageOptions>) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setSignatureVersion(Storage.SignUrlOption.SignatureVersion) - Method in class com.google.cloud.storage.SignatureInfo.Builder
- setSkipIfExists(boolean) - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig.Builder
-
Sets the parameter for skipIfExists.
- setSoftDeletePolicy(BucketInfo.SoftDeletePolicy) - Method in class com.google.cloud.storage.Bucket.Builder
- setSoftDeletePolicy(BucketInfo.SoftDeletePolicy) - Method in class com.google.cloud.storage.BucketInfo.Builder
- setSource(BlobId) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets the blob to copy given a
BlobId
. - setSource(String, String) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets the blob to copy given bucket and blob name.
- setSourceOptions(Storage.BlobSourceOption...) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets blob's source options.
- setSourceOptions(Iterable<Storage.BlobSourceOption>) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets blob's source options.
- setState(HmacKey.HmacKeyState) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setStatus(TransferStatus) - Method in class com.google.cloud.storage.transfermanager.DownloadResult.Builder
-
Sets the status of the download.This field is required.
- setStatus(TransferStatus) - Method in class com.google.cloud.storage.transfermanager.UploadResult.Builder
-
Sets the Status of the Upload request.
- setStorageClass(StorageClass) - Method in class com.google.cloud.storage.Blob.Builder
- setStorageClass(StorageClass) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's storage class.
- setStorageClass(StorageClass) - Method in class com.google.cloud.storage.Bucket.Builder
- setStorageClass(StorageClass) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's storage class.
- setStorageOptions(StorageOptions) - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig.Builder
-
Storage options that Transfer Manager will use to interact with Google Cloud Storage
- setStorageRetryStrategy(StorageRetryStrategy) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
-
Override the default retry handling behavior with an alternate strategy.
- setStorageRetryStrategy(StorageRetryStrategy) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
-
Override the default retry handling behavior with an alternate strategy.
- setStorageRetryStrategy(StorageRetryStrategy) - Method in class com.google.cloud.storage.StorageOptions.Builder
- setStripPrefix(String) - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig.Builder
-
Sets the value for stripPrefix.
- setSuccessActionRedirect(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setSuccessActionStatus(int) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
- setTarget(BlobId) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets the copy target.
- setTarget(BlobId, Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets the copy target.
- setTarget(BlobId, Iterable<Storage.BlobTargetOption>) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets the copy target and target options.
- setTarget(BlobInfo) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
-
Sets compose operation's target blob.
- setTarget(BlobInfo, Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets the copy target and target options.
- setTarget(BlobInfo, Iterable<Storage.BlobTargetOption>) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
-
Sets the copy target and target options.
- setTargetOptions(Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
-
Sets compose operation's target blob options.
- setTargetOptions(Iterable<Storage.BlobTargetOption>) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
-
Sets compose operation's target blob options.
- setTemporaryHold(Boolean) - Method in class com.google.cloud.storage.Blob.Builder
- setTemporaryHold(Boolean) - Method in class com.google.cloud.storage.BlobInfo.Builder
-
Sets the blob's temporary hold.
- setTerminalStorageClass(StorageClass) - Method in class com.google.cloud.storage.BucketInfo.Autoclass.Builder
-
When set to
StorageClass.NEARLINE
, Autoclass restricts transitions between Standard and Nearline storage classes only. - setTerminationAwaitDuration(Duration) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
-
Set the maximum duration in which to await termination of any outstanding requests when calling
Storage.close()
- setTimestamp(long) - Method in class com.google.cloud.storage.SignatureInfo.Builder
- setTimeStorageClassUpdated(Long) - Method in class com.google.cloud.storage.Blob.Builder
- setTimeStorageClassUpdated(Long) - Method in class com.google.cloud.storage.BlobInfo.Builder
- setTimeStorageClassUpdatedOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.Blob.Builder
- setTimeStorageClassUpdatedOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.BlobInfo.Builder
- setTopic(String) - Method in class com.google.cloud.storage.Notification.Builder
- setTopic(String) - Method in class com.google.cloud.storage.NotificationInfo.Builder
- setTopic(String) - Method in class com.google.cloud.storage.NotificationInfo.BuilderImpl
-
Sets a topic in the format of "projects/{project}/topics/{topic}".
- setTransportOptions(TransportOptions) - Method in class com.google.cloud.storage.GrpcStorageOptions.Builder
- setTransportOptions(TransportOptions) - Method in class com.google.cloud.storage.HttpStorageOptions.Builder
- setUpdateTime(long) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setUpdateTimeOffsetDateTime(OffsetDateTime) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
- setUploadedBlob(BlobInfo) - Method in class com.google.cloud.storage.transfermanager.UploadResult.Builder
-
Sets the
BlobInfo
for the uploaded object. - setUploadResults(List<ApiFuture<UploadResult>>) - Method in class com.google.cloud.storage.transfermanager.UploadJob.Builder
-
Sets the results for a UploadJob being performed by Transfer Manager.
- setVersioningEnabled(Boolean) - Method in class com.google.cloud.storage.Bucket.Builder
- setVersioningEnabled(Boolean) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets whether versioning should be enabled for this bucket.
- setWriteOptsPerRequest(List<Storage.BlobWriteOption>) - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig.Builder
-
Sets the BlobWriteOptions that will be applied to each upload request.
- shouldRefreshService(Storage) - Method in class com.google.cloud.storage.GrpcStorageOptions
- shouldReturnRawInputStream(boolean) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Returns an option for whether the request should return the raw input stream, instead of automatically decompressing the content.
- shouldReturnRawInputStream(boolean) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option for whether the request should return the raw input stream, instead of automatically decompressing the content.
- shouldReturnRawInputStream(boolean) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option for whether the request should return the raw input stream, instead of automatically decompressing the content.
- SHOW_DELETED_KEYS - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- showDeletedKeys(boolean) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Returns an option to specify whether to show deleted keys in the result.
- SignatureInfo - Class in com.google.cloud.storage
-
Signature Info holds payload components of the string that requires signing.
- SignatureInfo.Builder - Class in com.google.cloud.storage
- signUrl(long, TimeUnit, Storage.SignUrlOption...) - Method in class com.google.cloud.storage.Blob
-
Generates a signed URL for this blob.
- signUrl(BlobInfo, long, TimeUnit, Storage.SignUrlOption...) - Method in interface com.google.cloud.storage.Storage
-
Generates a signed URL for a blob.
- signWith(ServiceAccountSigner) - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
-
Provides a service account signer to sign the policy.
- signWith(ServiceAccountSigner) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Provides a service account signer to sign the URL.
- simple(int) - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.BufferAllocationStrategy
-
Create a buffer strategy which will rely upon standard garbage collection.
- SIZE - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- SKIPPED - Enum constant in enum com.google.cloud.storage.transfermanager.TransferStatus
-
The transfer failed because the object/file already exists and skipIfExists was set to true.
- SOFT_DELETE_POLICY - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- SOFT_DELETE_TIME - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- SOFT_DELETED - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- softDeleted(boolean) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option for whether the request should return a soft-deleted object.
- softDeleted(boolean) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option for whether the list result should include soft-deleted objects.
- SoftDeletePolicy(BucketInfo.SoftDeletePolicy.Builder) - Constructor for class com.google.cloud.storage.BucketInfo.SoftDeletePolicy
- source - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- sourceOptions - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- STANDARD - Static variable in class com.google.cloud.storage.StorageClass
-
Standard storage class.
- START_OFF_SET - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- startOffset(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to set a startOffset to filter results to objects whose names are lexicographically equal to or after startOffset.
- STARTS_WITH - Enum constant in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
- Storage - Interface in com.google.cloud.storage
-
An interface for Google Cloud Storage.
- STORAGE_CLASS - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- STORAGE_CLASS - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- Storage.BlobField - Enum in com.google.cloud.storage
- Storage.BlobGetOption - Class in com.google.cloud.storage
-
Class for specifying blob get options.
- Storage.BlobListOption - Class in com.google.cloud.storage
-
Class for specifying blob list options.
- Storage.BlobRestoreOption - Class in com.google.cloud.storage
-
Class for specifying blob restore options *
- Storage.BlobSourceOption - Class in com.google.cloud.storage
-
Class for specifying blob source options.
- Storage.BlobTargetOption - Class in com.google.cloud.storage
-
Class for specifying blob target options.
- Storage.BlobWriteOption - Class in com.google.cloud.storage
-
Class for specifying blob write options.
- Storage.BucketField - Enum in com.google.cloud.storage
- Storage.BucketGetOption - Class in com.google.cloud.storage
-
Class for specifying bucket get options.
- Storage.BucketListOption - Class in com.google.cloud.storage
-
Class for specifying bucket list options.
- Storage.BucketSourceOption - Class in com.google.cloud.storage
-
Class for specifying bucket source options.
- Storage.BucketTargetOption - Class in com.google.cloud.storage
-
Class for specifying bucket target options.
- Storage.ComposeRequest - Class in com.google.cloud.storage
-
A class to contain all information needed for a Google Cloud Storage Compose operation.
- Storage.ComposeRequest.Builder - Class in com.google.cloud.storage
- Storage.ComposeRequest.SourceBlob - Class in com.google.cloud.storage
-
Class for Compose source blobs.
- Storage.CopyRequest - Class in com.google.cloud.storage
-
A class to contain all information needed for a Google Cloud Storage Copy operation.
- Storage.CopyRequest.Builder - Class in com.google.cloud.storage
- Storage.CreateHmacKeyOption - Class in com.google.cloud.storage
-
Class for specifying createHmacKey options
- Storage.DeleteHmacKeyOption - Class in com.google.cloud.storage
-
Class for specifying deleteHmacKey options
- Storage.GetHmacKeyOption - Class in com.google.cloud.storage
-
Class for specifying getHmacKey options
- Storage.ListHmacKeysOption - Class in com.google.cloud.storage
-
Class for specifying listHmacKeys options
- Storage.PostPolicyV4Option - Class in com.google.cloud.storage
-
Class for specifying Post Policy V4 options.
- Storage.PredefinedAcl - Enum in com.google.cloud.storage
- Storage.SignUrlOption - Class in com.google.cloud.storage
-
Class for specifying signed URL options.
- Storage.UpdateHmacKeyOption - Class in com.google.cloud.storage
-
Class for specifying updateHmacKey options
- Storage.UriScheme - Enum in com.google.cloud.storage
- StorageBatch - Class in com.google.cloud.storage
-
A batch of operations to be submitted to Google Cloud Storage using a single RPC request.
- StorageBatchResult<T> - Class in com.google.cloud.storage
-
This class holds a single result of a batch call to Cloud Storage.
- StorageClass - Class in com.google.cloud.storage
-
Enums for the storage classes.
- StorageException - Exception in com.google.cloud.storage
-
Storage service exception.
- StorageException(int, String) - Constructor for exception com.google.cloud.storage.StorageException
- StorageException(int, String, String, Throwable) - Constructor for exception com.google.cloud.storage.StorageException
- StorageException(int, String, Throwable) - Constructor for exception com.google.cloud.storage.StorageException
- StorageException(GoogleJsonError) - Constructor for exception com.google.cloud.storage.StorageException
- StorageException(IOException) - Constructor for exception com.google.cloud.storage.StorageException
- StorageFactory - Interface in com.google.cloud.storage
-
An interface for Storage factories.
- StorageHelperException(String) - Constructor for exception com.google.cloud.storage.testing.RemoteStorageHelper.StorageHelperException
- StorageHelperException(String, Throwable) - Constructor for exception com.google.cloud.storage.testing.RemoteStorageHelper.StorageHelperException
- StorageOptions - Class in com.google.cloud.storage
- StorageOptions.Builder - Class in com.google.cloud.storage
- StorageOptions.DefaultStorageFactory - Class in com.google.cloud.storage
-
Deprecated.
- StorageOptions.DefaultStorageRpcFactory - Class in com.google.cloud.storage
-
Deprecated.
- StorageRetryStrategy - Interface in com.google.cloud.storage
-
A factory class which is used to provide access to
ResultRetryAlgorithm
for idempotent and non-idempotent calls made viaStorage
. - StorageRoles - Class in com.google.cloud.storage
-
IAM roles specific to Storage.
- StorageRpc - Interface in com.google.cloud.storage.spi.v1
- StorageRpc.Option - Enum in com.google.cloud.storage.spi.v1
- StorageRpc.RewriteRequest - Class in com.google.cloud.storage.spi.v1
- StorageRpc.RewriteResponse - Class in com.google.cloud.storage.spi.v1
- StorageRpcFactory - Interface in com.google.cloud.storage.spi
-
An interface for Storage RPC factory.
- StorageRpcTestBase - Class in com.google.cloud.storage.testing
-
A stub implementation of
StorageRpc
which can be used outside of the Storage module for testing purposes. - StorageRpcTestBase() - Constructor for class com.google.cloud.storage.testing.StorageRpcTestBase
- stripPrefix() - Method in enum com.google.cloud.storage.Storage.BlobField
- submit() - Method in interface com.google.cloud.storage.spi.v1.RpcBatch
-
Submits a batch of requests for processing using a single RPC request to Cloud Storage.
- submit() - Method in class com.google.cloud.storage.StorageBatch
-
Submits this batch for processing using a single RPC request.
- success(T) - Method in class com.google.cloud.storage.StorageBatchResult
- SUCCESS - Enum constant in enum com.google.cloud.storage.transfermanager.TransferStatus
-
The transfer was successful.
T
- target - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- targetOptions - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
- TEMPORARY_HOLD - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- testIamPermissions(String, List<String>, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Tests whether the caller holds the permissions on the specified bucket.
- testIamPermissions(String, List<String>, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- testIamPermissions(String, List<String>, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Tests whether the caller holds the specified permissions for the specified bucket.
- testIamPermissions(String, List<String>, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- TIME_CREATED - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- TIME_CREATED - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- TIME_DELETED - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- TIME_STORAGE_CLASS_UPDATED - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- toBuilder() - Method in class com.google.cloud.storage.Acl
-
Returns a builder for this
Acl
object. - toBuilder() - Method in class com.google.cloud.storage.Blob
- toBuilder() - Method in class com.google.cloud.storage.BlobInfo.Retention
- toBuilder() - Method in class com.google.cloud.storage.BlobInfo
-
Returns a builder for the current blob.
- toBuilder() - Method in class com.google.cloud.storage.Bucket
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo.Autoclass
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo.CustomPlacementConfig
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo.HierarchicalNamespace
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo.Logging
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo.ObjectRetention
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy
- toBuilder() - Method in class com.google.cloud.storage.BucketInfo
-
Returns a builder for the current bucket.
- toBuilder() - Method in class com.google.cloud.storage.Cors
-
Returns a builder for this CORS configuration.
- toBuilder() - Method in class com.google.cloud.storage.GrpcStorageOptions
- toBuilder() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
- toBuilder() - Method in class com.google.cloud.storage.HttpStorageOptions
- toBuilder() - Method in class com.google.cloud.storage.Notification
- toBuilder() - Method in class com.google.cloud.storage.NotificationInfo
-
Returns a builder for the current notification.
- toBuilder() - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4
- toBuilder() - Method in class com.google.cloud.storage.StorageOptions
- toBuilder() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
- toGsUtilUri() - Method in class com.google.cloud.storage.BlobId
-
Returns this blob's Storage url which can be used with gsutil.
- toGsUtilUriWithGeneration() - Method in class com.google.cloud.storage.BlobId
-
Returns this blob's Storage url which can be used with gsutil.
- toJson() - Method in class com.google.cloud.storage.PostPolicyV4.PostPolicyV4Document
- toString() - Method in class com.google.cloud.storage.Acl.Entity
- toString() - Method in class com.google.cloud.storage.Acl
- toString() - Method in class com.google.cloud.storage.BlobId
- toString() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
- toString() - Method in class com.google.cloud.storage.BlobInfo.Retention
- toString() - Method in class com.google.cloud.storage.BlobInfo
- toString() - Method in class com.google.cloud.storage.BucketInfo.Autoclass
- toString() - Method in class com.google.cloud.storage.BucketInfo.CustomPlacementConfig
- toString() - Method in class com.google.cloud.storage.BucketInfo.HierarchicalNamespace
- toString() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
- toString() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
- toString() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
- toString() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.SetStorageClassLifecycleAction
- toString() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
- toString() - Method in class com.google.cloud.storage.BucketInfo.ObjectRetention
- toString() - Method in class com.google.cloud.storage.BucketInfo.SoftDeletePolicy
- toString() - Method in class com.google.cloud.storage.BucketInfo
- toString() - Method in class com.google.cloud.storage.Cors.Origin
- toString() - Method in class com.google.cloud.storage.NotificationInfo
- toString() - Method in class com.google.cloud.storage.PostPolicyV4.ConditionV4
-
Examples of returned strings:
["eq", "$key", "test-object"]
,["starts-with", "$acl", "public"]
,["content-length-range", 246, 266]
. - toString() - Method in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
- toString() - Method in class com.google.cloud.storage.ServiceAccount
- toString() - Method in class com.google.cloud.storage.transfermanager.DownloadJob
- toString() - Method in class com.google.cloud.storage.transfermanager.DownloadResult
- toString() - Method in class com.google.cloud.storage.transfermanager.ParallelDownloadConfig
- toString() - Method in class com.google.cloud.storage.transfermanager.ParallelUploadConfig
- toString() - Method in class com.google.cloud.storage.transfermanager.TransferManagerConfig
- toString() - Method in class com.google.cloud.storage.transfermanager.UploadJob
- toString() - Method in class com.google.cloud.storage.transfermanager.UploadResult
- toString() - Method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Deprecated.
- totalBytesRewritten - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
- TransferManager - Interface in com.google.cloud.storage.transfermanager
-
An interface for a Transfer Manager.
- TransferManagerConfig - Class in com.google.cloud.storage.transfermanager
-
Configuration for an instance of
TransferManager
- TransferManagerConfig.Builder - Class in com.google.cloud.storage.transfermanager
-
Builds an instance of TransferManagerConfig
- TransferStatus - Enum in com.google.cloud.storage.transfermanager
-
The status of a Upload/Download operation performed by Transfer Manager.
- translate(IOException) - Static method in exception com.google.cloud.storage.StorageException
-
Translate IOException to a StorageException representing the cause of the error.
- translate(Exception) - Static method in exception com.google.cloud.storage.testing.RemoteStorageHelper.StorageHelperException
- translateAndThrow(RetryHelper.RetryHelperException) - Static method in exception com.google.cloud.storage.StorageException
-
Translate RetryHelperException to the StorageException that caused the error.
- TransportCompatibility - Annotation Type in com.google.cloud.storage
-
Annotation which is used to convey which Cloud Storage API a class or method has compatibility with.
- TransportCompatibility.Transport - Enum in com.google.cloud.storage
-
Enum representing the transports
com.google.cloud.storage
classes have implementations for. - type - Variable in class com.google.cloud.storage.PostPolicyV4.ConditionV4
- TYPE - Static variable in class com.google.cloud.storage.BucketInfo.LifecycleRule.AbortIncompleteMPUAction
- TYPE - Static variable in class com.google.cloud.storage.BucketInfo.LifecycleRule.DeleteLifecycleAction
- TYPE - Static variable in class com.google.cloud.storage.BucketInfo.LifecycleRule.SetStorageClassLifecycleAction
U
- UNKNOWN - Enum constant in enum com.google.cloud.storage.Acl.Entity.Type
- UNKNOWN - Enum constant in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
-
Deprecated.
- UNKNOWN - Enum constant in enum com.google.cloud.storage.BucketInfo.PublicAccessPrevention
-
If the api returns a value that isn't defined in
BucketInfo.PublicAccessPrevention
this value will be returned. - UNLOCKED - Static variable in class com.google.cloud.storage.BlobInfo.Retention.Mode
- UNSPECIFIED - Enum constant in enum com.google.cloud.storage.BucketInfo.PublicAccessPrevention
-
Deprecated.
- update(BlobInfo) - Method in interface com.google.cloud.storage.Storage
-
Updates the properties of the blob.
- update(BlobInfo...) - Method in interface com.google.cloud.storage.Storage
-
Updates the requested blobs.
- update(BlobInfo, Storage.BlobTargetOption...) - Method in interface com.google.cloud.storage.Storage
-
Updates the blob properties if the preconditions specified by
options
are met. - update(BlobInfo, Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.StorageBatch
-
Adds a request representing the "update blob" operation to this batch.
- update(BucketInfo, Storage.BucketTargetOption...) - Method in interface com.google.cloud.storage.Storage
-
Updates bucket information.
- update(Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.Blob
-
Updates the blob properties.
- update(Storage.BucketTargetOption...) - Method in class com.google.cloud.storage.Bucket
-
Updates the bucket's information.
- update(Iterable<BlobInfo>) - Method in interface com.google.cloud.storage.Storage
-
Updates the requested blobs.
- updateAcl(Acl) - Method in class com.google.cloud.storage.Blob
-
Updates an ACL entry on this blob.
- updateAcl(Acl) - Method in class com.google.cloud.storage.Bucket
-
Updates an ACL entry on this bucket.
- updateAcl(BlobId, Acl) - Method in interface com.google.cloud.storage.Storage
-
Updates an ACL entry on the specified blob.
- updateAcl(String, Acl) - Method in interface com.google.cloud.storage.Storage
- updateAcl(String, Acl, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
-
Updates an ACL entry on the specified bucket.
- UPDATED - Enum constant in enum com.google.cloud.storage.Storage.BlobField
- UPDATED - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- updateDefaultAcl(Acl) - Method in class com.google.cloud.storage.Bucket
-
Updates a default blob ACL entry on this bucket.
- updateDefaultAcl(String, Acl) - Method in interface com.google.cloud.storage.Storage
-
Updates a default blob ACL entry on the specified bucket.
- updateHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- updateHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Updates an HMAC key for the provided metadata object and returns the updated object.
- updateHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- updateHmacKeyState(HmacKey.HmacKeyMetadata, HmacKey.HmacKeyState, Storage.UpdateHmacKeyOption...) - Method in interface com.google.cloud.storage.Storage
-
Updates the state of an HMAC key and returns the updated metadata.
- uploadFiles(List<Path>, ParallelUploadConfig) - Method in interface com.google.cloud.storage.transfermanager.TransferManager
-
Uploads a list of files in parallel.
- UploadJob - Class in com.google.cloud.storage.transfermanager
-
A parallel upload job sent to Transfer Manager.
- UploadJob.Builder - Class in com.google.cloud.storage.transfermanager
-
Builds an instance of UploadJob
- UploadResult - Class in com.google.cloud.storage.transfermanager
-
Result for a single upload performed by Transfer Manager.
- UploadResult.Builder - Class in com.google.cloud.storage.transfermanager
-
Builds an instance of UploadResult
- useExecutor(Executor) - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.ExecutorSupplier
-
Wrap an existing executor instance which will be used for submitting work
- useObjectNameAsPrefix() - Static method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy
-
Strategy in which the end object name is the prefix included and is present on each part and intermediary compose object.
- User(String) - Constructor for class com.google.cloud.storage.Acl.User
-
Creates a user entity.
- USER - Enum constant in enum com.google.cloud.storage.Acl.Entity.Type
- USER_PROJECT - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- userProject(String) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
-
Returns an option for blob's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
-
Returns an option for blob's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
-
Returns an option for blob's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
-
Returns an option for blob's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
-
Returns an option for blob's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
Returns an option to define the billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
-
Returns an option for blob's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
-
Returns an option for blob's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
-
Returns an option for blob's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
-
Returns an option for bucket's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BucketListOption
-
Returns an option for bucket's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
-
Returns an option for bucket's billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
-
Returns an option to define the billing user project.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.CreateHmacKeyOption
-
Returns an option to specify the project to be billed for this request.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.DeleteHmacKeyOption
-
Returns an option to specify the project to be billed for this request.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.GetHmacKeyOption
-
Returns an option to specify the project to be billed for this request.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
-
Returns an option to specify the project to be billed for this request.
- userProject(String) - Static method in class com.google.cloud.storage.Storage.UpdateHmacKeyOption
-
Returns an option to specify the project to be billed for this request.
V
- value() - Method in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- value() - Element in annotation type com.google.cloud.storage.TransportCompatibility
- valueOf(String) - Static method in enum com.google.cloud.storage.Acl.Entity.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.cloud.storage.Acl.Project.ProjectRole
-
Get the ProjectRole for the given String constant, and allow unrecognized values.
- valueOf(String) - Static method in class com.google.cloud.storage.Acl.Role
-
Get the Role for the given String constant, and allow unrecognized values.
- valueOf(String) - Static method in class com.google.cloud.storage.BlobInfo.Retention.Mode
- valueOf(String) - Static method in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.cloud.storage.BucketInfo.ObjectRetention.Mode
- valueOf(String) - Static method in enum com.google.cloud.storage.BucketInfo.PublicAccessPrevention
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.storage.HmacKey.HmacKeyState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.cloud.storage.HttpMethod
-
Get the HttpMethod for the given String constant, and allow unrecognized values.
- valueOf(String) - Static method in enum com.google.cloud.storage.NotificationInfo.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.storage.NotificationInfo.PayloadFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.cloud.storage.Rpo
-
Get the Rpo for the given String constant, and allow unrecognized values.
- valueOf(String) - Static method in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.storage.Storage.BlobField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.storage.Storage.BucketField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.storage.Storage.PredefinedAcl
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.storage.Storage.UriScheme
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.cloud.storage.StorageClass
-
Get the StorageClass for the given String constant, and allow unrecognized values.
- valueOf(String) - Static method in enum com.google.cloud.storage.transfermanager.TransferStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.storage.TransportCompatibility.Transport
-
Returns the enum constant of this type with the specified name.
- valueOfStrict(String) - Static method in class com.google.cloud.storage.Acl.Project.ProjectRole
-
Get the ProjectRole for the given String constant, and throw an exception if the constant is not recognized.
- valueOfStrict(String) - Static method in class com.google.cloud.storage.Acl.Role
-
Get the Role for the given String constant, and throw an exception if the constant is not recognized.
- valueOfStrict(String) - Static method in class com.google.cloud.storage.BlobInfo.Retention.Mode
- valueOfStrict(String) - Static method in class com.google.cloud.storage.BucketInfo.ObjectRetention.Mode
- valueOfStrict(String) - Static method in class com.google.cloud.storage.HttpMethod
-
Get the HttpMethod for the given String constant, and throw an exception if the constant is not recognized.
- valueOfStrict(String) - Static method in class com.google.cloud.storage.Rpo
-
Get the Rpo for the given String constant, and throw an exception if the constant is not recognized.
- valueOfStrict(String) - Static method in class com.google.cloud.storage.StorageClass
-
Get the StorageClass for the given String constant, and throw an exception if the constant is not recognized.
- values() - Static method in enum com.google.cloud.storage.Acl.Entity.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class com.google.cloud.storage.Acl.Project.ProjectRole
-
Return the known values for ProjectRole.
- values() - Static method in class com.google.cloud.storage.Acl.Role
-
Return the known values for Role.
- values() - Static method in class com.google.cloud.storage.BlobInfo.Retention.Mode
- values() - Static method in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class com.google.cloud.storage.BucketInfo.ObjectRetention.Mode
- values() - Static method in enum com.google.cloud.storage.BucketInfo.PublicAccessPrevention
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.cloud.storage.HmacKey.HmacKeyState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class com.google.cloud.storage.HttpMethod
-
Return the known values for HttpMethod.
- values() - Static method in enum com.google.cloud.storage.NotificationInfo.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.cloud.storage.NotificationInfo.PayloadFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class com.google.cloud.storage.Rpo
-
Return the known values for Rpo.
- values() - Static method in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.cloud.storage.Storage.BlobField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.cloud.storage.Storage.BucketField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.cloud.storage.Storage.PredefinedAcl
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.cloud.storage.Storage.UriScheme
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class com.google.cloud.storage.StorageClass
-
Return the known values for StorageClass.
- values() - Static method in enum com.google.cloud.storage.transfermanager.TransferStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.cloud.storage.TransportCompatibility.Transport
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Static method in class com.google.cloud.storage.StorageOptions
- VERSIONING - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- versioningEnabled() - Method in class com.google.cloud.storage.BucketInfo
-
Returns a
Boolean
with eithertrue
,null
and in certain casesfalse
. - versions(boolean) - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
If set to
true
, lists all versions of a blob. - VERSIONS - Enum constant in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
- VIEWERS - Static variable in class com.google.cloud.storage.Acl.Project.ProjectRole
W
- WEBSITE - Enum constant in enum com.google.cloud.storage.Storage.BucketField
- withBucketBoundHostname(String) - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
-
Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.
- withBucketBoundHostname(String) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.
- withBucketBoundHostname(String, Storage.UriScheme) - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
-
Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.
- withBucketBoundHostname(String, Storage.UriScheme) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.
- withBufferAllocationStrategy(ParallelCompositeUploadBlobWriteSessionConfig.BufferAllocationStrategy) - Method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig
-
Specify a specific buffering strategy which will dictate how buffers are allocated and used when performing a parallel composite upload.
- withBufferSize(int) - Method in class com.google.cloud.storage.BidiBlobWriteSessionConfig
-
Create a new instance with the
bufferSize
set to the specified value. - withChunkSize(int) - Method in class com.google.cloud.storage.DefaultBlobWriteSessionConfig
-
Create a new instance with the
chunkSize
set to the specified value. - withContentType() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use it if signature should include the blob's content-type.
- withExecutorSupplier(ParallelCompositeUploadBlobWriteSessionConfig.ExecutorSupplier) - Method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig
-
Specify a specific executor supplier where work will be submitted when performing a parallel composite upload.
- withExtHeaders(Map<String, String>) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use it if signature should include the blob's canonicalized extended headers.
- withHostName(String) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use a different host name than the default host name 'storage.googleapis.com'.
- withMd5() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use it if signature should include the blob's md5.
- withPartCleanupStrategy(ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy) - Method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig
-
Specify a specific cleanup strategy which will dictate what cleanup operations are performed automatically when performing a parallel composite upload.
- withPartMetadataFieldDecorator(ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator) - Method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig
-
Specify a Part Metadata Field decorator, this will manipulate the metadata associated with part objects, the ultimate object metadata will remain unchanged.
- withPartNamingStrategy(ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy) - Method in class com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig
-
Specify a specific naming strategy which will dictate how individual part and intermediary compose objects will be named when performing a parallel composite upload.
- withPathStyle() - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
-
Generates a path-style URL, which places the bucket name in the path portion of the URL instead of in the hostname, e.g 'https://storage.googleapis.com/mybucket/...'.
- withPathStyle() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Generates a path-style URL, which places the bucket name in the path portion of the URL instead of in the hostname, e.g 'https://storage.googleapis.com/mybucket/...'.
- withQueryParams(Map<String, String>) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use if the URL should contain additional query parameters.
- withV2Signature() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use if signature version should be V2.
- withV4Signature() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use if signature version should be V4.
- withVirtualHostedStyle() - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
-
Use a virtual hosted-style hostname, which adds the bucket into the host portion of the URI rather than the path, e.g.
- withVirtualHostedStyle() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
-
Use a virtual hosted-style hostname, which adds the bucket into the host portion of the URI rather than the path, e.g.
- write(String, byte[], int, long, int, boolean) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- write(String, byte[], int, long, int, boolean) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Writes the provided bytes to a storage object at the provided location.
- write(String, byte[], int, long, int, boolean) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
- writer(BlobInfo, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
-
Creates a blob and returns a channel for writing its content.
- writer(Storage.BlobWriteOption...) - Method in class com.google.cloud.storage.Blob
-
Returns a
WriteChannel
object for writing to this blob. - writer(URL) - Method in interface com.google.cloud.storage.Storage
-
Accepts signed URL and return a channel for writing content.
- WRITER - Static variable in class com.google.cloud.storage.Acl.Role
- writeWithResponse(String, byte[], int, long, int, boolean) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
- writeWithResponse(String, byte[], int, long, int, boolean) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Writes the provided bytes to a storage object at the provided location.
- writeWithResponse(String, byte[], int, long, int, boolean) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
PostPolicyV4.PostConditionsV4.Builder.addContentLengthRangeCondition(int, int)
to specify a range for the content-length.