pulumi_wasm_providers_gcp_mini::functions::storage::get_bucket_object

Struct GetBucketObjectResult

source
pub struct GetBucketObjectResult {
Show 24 fields pub bucket: Output<Option<String>>, pub cache_control: Output<String>, pub content: Output<String>, pub content_disposition: Output<String>, pub content_encoding: Output<String>, pub content_language: Output<String>, pub content_type: Output<String>, pub crc32c: Output<String>, pub customer_encryptions: Output<Vec<GetBucketObjectCustomerEncryption>>, pub detect_md5hash: Output<String>, pub event_based_hold: Output<bool>, pub generation: Output<i32>, pub id: Output<String>, pub kms_key_name: Output<String>, pub md5hash: Output<String>, pub media_link: Output<String>, pub metadata: Output<HashMap<String, String>>, pub name: Output<Option<String>>, pub output_name: Output<String>, pub retentions: Output<Vec<GetBucketObjectRetention>>, pub self_link: Output<String>, pub source: Output<String>, pub storage_class: Output<String>, pub temporary_hold: Output<bool>,
}

Fields§

§bucket: Output<Option<String>>§cache_control: Output<String>

(Computed) Cache-Control directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600

§content: Output<String>§content_disposition: Output<String>

(Computed) Content-Disposition of the object data.

§content_encoding: Output<String>

(Computed) Content-Encoding of the object data.

§content_language: Output<String>

(Computed) Content-Language of the object data.

§content_type: Output<String>

(Computed) Content-Type of the object data. Defaults to “application/octet-stream” or “text/plain; charset=utf-8”.

§crc32c: Output<String>

(Computed) Base 64 CRC32 hash of the uploaded data.

§customer_encryptions: Output<Vec<GetBucketObjectCustomerEncryption>>§detect_md5hash: Output<String>§event_based_hold: Output<bool>

(Computed) Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold’s release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).

§generation: Output<i32>

(Computed) The content generation of this object. Used for object versioning and soft delete.

§id: Output<String>

The provider-assigned unique ID for this managed resource.

§kms_key_name: Output<String>§md5hash: Output<String>

(Computed) Base 64 MD5 hash of the uploaded data.

§media_link: Output<String>

(Computed) A url reference to download this object.

§metadata: Output<HashMap<String, String>>§name: Output<Option<String>>§output_name: Output<String>§retentions: Output<Vec<GetBucketObjectRetention>>§self_link: Output<String>

(Computed) A url reference to this object.

§source: Output<String>§storage_class: Output<String>

(Computed) The StorageClass of the new bucket object. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket’s default storage class or to a standard class.

§temporary_hold: Output<bool>

(Computed) Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.