Class Bucket
- java.lang.Object
-
- org.jclouds.googlecloudstorage.domain.Bucket
-
public abstract class Bucket extends Object
The Bucket represents a bucket in Google Cloud Storage. There is a single global namespace shared by all buckets.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Bucket.Cors
static class
Bucket.LifeCycle
static class
Bucket.Logging
static class
Bucket.Versioning
static class
Bucket.Website
-
Constructor Summary
Constructors Constructor Description Bucket()
-
Method Summary
-
-
-
Method Detail
-
id
public abstract String id()
-
name
public abstract String name()
-
timeCreated
public abstract Date timeCreated()
-
metageneration
public abstract Long metageneration()
-
acl
public abstract List<BucketAccessControls> acl()
-
defaultObjectAcl
public abstract List<ObjectAccessControls> defaultObjectAcl()
-
location
@Nullable public abstract DomainResourceReferences.Location location()
-
website
@Nullable public abstract Bucket.Website website()
-
logging
@Nullable public abstract Bucket.Logging logging()
-
versioning
@Nullable public abstract Bucket.Versioning versioning()
-
cors
public abstract List<Bucket.Cors> cors()
-
lifeCycle
@Nullable public abstract Bucket.LifeCycle lifeCycle()
-
storageClass
@Nullable public abstract DomainResourceReferences.StorageClass storageClass()
-
create
public static Bucket create(String id, String name, Long projectNumber, Date timeCreated, Long metageneration, List<BucketAccessControls> acl, List<ObjectAccessControls> defaultObjectAcl, Owner owner, DomainResourceReferences.Location location, Bucket.Website website, Bucket.Logging logging, Bucket.Versioning versioning, List<Bucket.Cors> cors, Bucket.LifeCycle lifeCycle, DomainResourceReferences.StorageClass storageClass)
-
-