Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Class and Description |
---|---|
class |
Bucket
A Google cloud storage bucket.
|
Modifier and Type | Method and Description |
---|---|
abstract BucketInfo |
BucketInfo.Builder.build()
Creates a
BucketInfo object. |
static BucketInfo |
BucketInfo.of(String name)
Creates a
BucketInfo object for the provided bucket name. |
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.
|
static BlobInfo.Builder |
BlobInfo.newBuilder(BucketInfo bucketInfo,
String name)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
static BlobInfo.Builder |
BlobInfo.newBuilder(BucketInfo bucketInfo,
String name,
Long generation)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
Bucket |
Storage.update(BucketInfo bucketInfo,
Storage.BucketTargetOption... options)
Updates bucket information.
|
Copyright © 2019 Google LLC. All rights reserved.