Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BucketTargetOption |
Storage.BucketTargetOption.metagenerationMatch()
Returns an option for bucket's metageneration match.
|
static Storage.BucketTargetOption |
Storage.BucketTargetOption.metagenerationNotMatch()
Returns an option for bucket's metageneration mismatch.
|
static Storage.BucketTargetOption |
Storage.BucketTargetOption.predefinedAcl(Storage.PredefinedAcl acl)
Returns an option for specifying bucket's predefined ACL configuration.
|
static Storage.BucketTargetOption |
Storage.BucketTargetOption.predefinedDefaultObjectAcl(Storage.PredefinedAcl acl)
Returns an option for specifying bucket's default ACL configuration for blobs.
|
static Storage.BucketTargetOption |
Storage.BucketTargetOption.projection(String projection)
Returns an option to define the projection in the API request.
|
static Storage.BucketTargetOption |
Storage.BucketTargetOption.userProject(String userProject)
Returns an option to define the billing user project.
|
Modifier and Type | Method and Description |
---|---|
Bucket |
Storage.create(BucketInfo bucketInfo,
Storage.BucketTargetOption... options)
Creates a new bucket.
|
Bucket |
Storage.lockRetentionPolicy(BucketInfo bucket,
Storage.BucketTargetOption... options)
Locks bucket retention policy.
|
Bucket |
Bucket.lockRetentionPolicy(Storage.BucketTargetOption... options)
Locks bucket retention policy.
|
Bucket |
Storage.update(BucketInfo bucketInfo,
Storage.BucketTargetOption... options)
Updates bucket information.
|
Bucket |
Bucket.update(Storage.BucketTargetOption... options)
Updates the bucket's information.
|
Copyright © 2019 Google LLC. All rights reserved.