Skip to content

Check if Bucket.exists()? #1133

@raintears

Description

@raintears

Hi,

I still can't understand how can I use bucket.exists from the documentation. I don't even know how to instantiate a new bucket. This is what I did.

Bucket bucket = new Bucket("bucketname");
return bucket.exists();

Apparently I can't instantiate a new bucket like this, so how then can I use bucket.exists()?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions