GoogleCloudStorage::Bucket
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A bucket.
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] acl Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] autoclass Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] billing Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cors Object to be assigned
The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold's release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
Custom attribute writer method checking allowed values (enum). @param [Object] default_event_based_hold Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] default_object_acl Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] encryption Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] etag Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] iam_configuration Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] kind Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] labels Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] lifecycle Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
Custom attribute writer method checking allowed values (enum). @param [Object] location Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] location_type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] logging Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] metageneration Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] owner Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] project_number Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] retention_policy Object to be assigned
The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.
Custom attribute writer method checking allowed values (enum). @param [Object] rpo Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] satisfies_pzs Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] self_link Object to be assigned
The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see storage classes.
Custom attribute writer method checking allowed values (enum). @param [Object] storage_class Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] time_created Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] updated Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid
Custom attribute writer method checking allowed values (enum). @param [Object] versioning Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] website Object to be assigned