Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Field and Description |
---|---|
static StorageClass |
StorageClass.COLDLINE
Coldline storage class.
|
static StorageClass |
StorageClass.DURABLE_REDUCED_AVAILABILITY
Durable Reduced Availability (deprecated)
|
static StorageClass |
StorageClass.MULTI_REGIONAL
Multi-regional storage class.
|
static StorageClass |
StorageClass.NEARLINE
Nearline storage class.
|
static StorageClass |
StorageClass.REGIONAL
Regional storage class.
|
static StorageClass |
StorageClass.STANDARD
Standard storage class.
|
Modifier and Type | Method and Description |
---|---|
StorageClass |
BucketInfo.getStorageClass()
Returns the bucket's storage class.
|
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(StorageClass storageClass)
Creates a new
SetStorageClassLifecycleAction . |
abstract BucketInfo.Builder |
BucketInfo.Builder.setStorageClass(StorageClass storageClass)
Sets the bucket's storage class.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setStorageClass(StorageClass storageClass)
Sets the blob's storage class.
|
Bucket.Builder |
Bucket.Builder.setStorageClass(StorageClass storageClass) |
Blob.Builder |
Blob.Builder.setStorageClass(StorageClass storageClass) |
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 © 2019 Google LLC. All rights reserved.