Actions
Update Storage Bucket
Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.
To learn more, visit the GCP documentation.
Basic Parameters
Parameter | Description |
---|---|
Bucket | Name of a bucket. |
Advanced Parameters
Parameter | Description |
---|---|
Acl | Access controls on the bucket. |
Billing Requester Pays | When set to true, Requester Pays is enabled for this bucket. |
Bucket Policy Only Enabled | If set, access is controlled only by bucket-level or above IAM policies. |
Bucket Policy Only Locked Time | The deadline for changing iamConfiguration.bucketPolicyOnly.enabled from true to false in RFC 3339 format. iamConfiguration.bucketPolicyOnly.enabled may be changed from true to false until the locked time, after which the field is immutable. |
CORS | The bucket’s Cross-Origin Resource Sharing (CORS) configuration. |
Custom Placement Config Data Locations | The list of regional locations in which data is placed. |
Default Event Based Hold | 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. |
Default Object Acl | Default access controls to apply to new objects when no ACL is provided. |
Encryption Default Kms Key Name | A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. |
ID | The ID of the bucket. For buckets, the id and name properties are the same. |
Iam Configuration Public Access Prevention | The bucket’s Public Access Prevention configuration. Currently, ‘unspecified’ and ‘enforced’ are supported. |
If Metageneration Match | Makes the return of the bucket metadata conditional on whether the bucket’s current metageneration matches the given value. |
If Metageneration Not Match | Makes the return of the bucket metadata conditional on whether the bucket’s current metageneration does not match the given value. |
Kind | The kind of item this is. For buckets, this is always storage#bucket. |
Labels | User-provided labels, in key/value pairs. |
Lifecycle Rule | A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken. |
Location | 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. |
Location Type | The type of the bucket location. |
Logging Log Bucket | The destination bucket where the current bucket’s logs should be placed. |
Logging Log Object Prefix | A prefix for log object names. |
Metageneration | The metadata generation of this bucket. |
Name | The name of the bucket. |
Owner Entity | The entity, in the form project-owner-projectId. |
Owner Entity ID | The ID for the entity. |
Predefined Acl | Apply a predefined set of access controls to this bucket. |
Predefined Default Object Acl | Apply a predefined set of default object access controls to this bucket. |
Project Number | The project number of the project the bucket belongs to. |
Projection | Set of properties to return. Defaults to full. |
Provisional User Project | The project to be billed for this request if the target bucket is requester-pays bucket. |
Retention Policy Effective Time | Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format. |
Retention Policy Is Locked | Once locked, an object retention policy cannot be modified. |
Retention Policy Retention Period | The duration in seconds that objects need to be retained. Retention duration must be greater than zero and less than 100 years. Note that enforcement of retention periods less than a day is not guaranteed. Such periods should only be used for testing purposes. |
Rpo | The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket. |
Satisfies PZS | Reserved for future use. |
Storage Class | 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 MULTIREGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLEREDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see storage classes. |
Uniform Bucket Level Access Enabled | If set, access is controlled only by bucket-level or above IAM policies. |
Uniform Bucket Level Access Locked Time | The deadline for changing iamConfiguration.uniformBucketLevelAccess.enabled from true to false in RFC 3339 format. iamConfiguration.uniformBucketLevelAccess.enabled may be changed from true to false until the locked time, after which the field is immutable. |
User Project | The project to be billed for this request. Required for Requester Pays buckets. |
Versioning Enabled | While set to true, versioning is fully enabled for this bucket. |
Website Main Page Suffix | If the requested object path is missing, the service will ensure the path has a trailing ’/’, append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages. |
Website Not Found Page | If the requested object path is missing, and any mainPageSuffix object is missing, if applicable, the service will return the named object from this bucket as the content for a 404 Not Found result. |
Example Output
Workflow Library Example
Update Storage Bucket with Gcp and Send Results Via Email
Preview this Workflow on desktop
Was this page helpful?