Description
:
If present, specifies the generation of the bucket. This is required if softDeleted is true.
Format
:
int64
Location
:
query
softDeleted
Type
:
boolean
Description
:
If true, return the soft-deleted version of this bucket. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).
Location
:
query
▼▲
storage.buckets.list
Parameters
:
softDeleted
Type
:
boolean
Description
:
If true, only soft-deleted bucket versions will be returned. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).
Location
:
query
2 updated methods | 1 removed method
Updates
Methods
▼▲
storage.buckets.get
Parameters
:
generation
Type
:
string
Description
:
If present, specifies the generation of the bucket. This is required if softDeleted is true.
Format
:
int64
Location
:
query
softDeleted
Type
:
boolean
Description
:
If true, return the soft-deleted version of this bucket. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).
Location
:
query
▼▲
storage.buckets.list
Parameters
:
softDeleted
Type
:
boolean
Description
:
If true, only soft-deleted bucket versions will be returned. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).
Location
:
query
Deletions
Methods
▼▲
storage.buckets.restore
Path
:
b/{bucket}/restore
HTTP Method
:
POST
Description
:
Restores a soft-deleted bucket.
Parameters
:
bucket
Type
:
string
Description
:
Name of a bucket.
Required
:
Yes
Location
:
path
generation
Type
:
string
Description
:
Generation of a bucket.
Required
:
Yes
Format
:
int64
Location
:
query
userProject
Type
:
string
Description
:
The project to be billed for this request. Required for Requester Pays buckets.