storageClass property

String? storageClass
getter/setter pair

Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets.

If unspecified, the default behavior is the same as STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT. Possible string values are:

  • "STORAGE_CLASS_UNSPECIFIED" : Storage class behavior is unspecified.
  • "STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT" : Use the destination bucket's default storage class.
  • "STORAGE_CLASS_PRESERVE" : Preserve the object's original storage class. This is only supported for transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL storage classes will be mapped to STANDARD to ensure they can be written to the destination bucket.
  • "STORAGE_CLASS_STANDARD" : Set the storage class to STANDARD.
  • "STORAGE_CLASS_NEARLINE" : Set the storage class to NEARLINE.
  • "STORAGE_CLASS_COLDLINE" : Set the storage class to COLDLINE.
  • "STORAGE_CLASS_ARCHIVE" : Set the storage class to ARCHIVE.

Implementation

core.String? storageClass;