Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Field and Description |
---|---|
static StorageClass |
StorageClass.ARCHIVE
Archive storage class.
|
static StorageClass |
StorageClass.COLDLINE
Coldline storage class.
|
static StorageClass |
StorageClass.DURABLE_REDUCED_AVAILABILITY
Legacy Durable Reduced Availability storage class, use
STANDARD instead. |
static StorageClass |
StorageClass.MULTI_REGIONAL
Legacy Multi-regional storage class, use
STANDARD instead. |
static StorageClass |
StorageClass.NEARLINE
Nearline storage class.
|
static StorageClass |
StorageClass.REGIONAL
Legacy Regional storage class, use
STANDARD instead. |
static StorageClass |
StorageClass.STANDARD
Standard storage class.
|
Modifier and Type | Method and Description |
---|---|
StorageClass |
BucketInfo.getStorageClass()
Returns the bucket's storage class.
|
StorageClass |
BucketInfo.LifecycleRule.SetStorageClassLifecycleAction.getStorageClass() |
StorageClass |
BlobInfo.getStorageClass()
Returns the storage class of the blob.
|
static StorageClass |
StorageClass.valueOf(String constant)
Get the StorageClass for the given String constant, and allow unrecognized values.
|
static StorageClass |
StorageClass.valueOfStrict(String constant)
Get the StorageClass for the given String constant, and throw an exception if the constant is
not recognized.
|
static StorageClass[] |
StorageClass.values()
Return the known values for StorageClass.
|
Modifier and Type | Method and Description |
---|---|
List<StorageClass> |
BucketInfo.LifecycleRule.LifecycleCondition.getMatchesStorageClass() |
Modifier and Type | Method and Description |
---|---|
static BucketInfo.LifecycleRule.SetStorageClassLifecycleAction |
BucketInfo.LifecycleRule.LifecycleAction.newSetStorageClassAction(@NonNull StorageClass storageClass)
Creates a new
SetStorageClassLifecycleAction . |
Blob.Builder |
Blob.Builder.setStorageClass(StorageClass storageClass) |
abstract BucketInfo.Builder |
BucketInfo.Builder.setStorageClass(StorageClass storageClass)
Sets the bucket's storage class.
|
Bucket.Builder |
Bucket.Builder.setStorageClass(StorageClass storageClass) |
abstract BlobInfo.Builder |
BlobInfo.Builder.setStorageClass(StorageClass storageClass)
Sets the blob's storage class.
|
Modifier and Type | Method and Description |
---|---|
BucketInfo.LifecycleRule.LifecycleCondition.Builder |
BucketInfo.LifecycleRule.LifecycleCondition.Builder.setMatchesStorageClass(List<StorageClass> matchesStorageClass)
Sets a list of Storage Classes for a objects that satisfy the condition to execute the
Action.
|
Copyright © 2023 Google LLC. All rights reserved.