defstorageclass - Get or set the default storage class on buckets

defstorageclass - Get or set the default storage class on buckets

Synopsis

gsutil defstorageclass set <storage-class> bucket_url...
gsutil defstorageclass get bucket_url...

Description

The defstorageclass command has two sub-commands:

Set

The "defstorageclass set" command sets the default storage class for the specified bucket(s). If you specify a default storage class for a certain bucket, Cloud Storage applies the default storage class to all new objects uploaded to that bucket, except when the storage class is overridden by individual upload requests.

Setting a default storage class on a bucket provides a convenient way to ensure newly uploaded objects have a specific storage class. If you don't set the bucket's default storage class, it will default to Standard.

Get

Gets the default storage class for a bucket.

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.