Google Native

Pulumi Official
Package maintained by Pulumi
v0.20.0 published on Monday, Jun 6, 2022 by Pulumi

Bucket

Creates a new bucket.

Create a Bucket Resource

new Bucket(name: string, args?: BucketArgs, opts?: CustomResourceOptions);
@overload
def Bucket(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           acl: Optional[Sequence[BucketAccessControlArgs]] = None,
           autoclass: Optional[BucketAutoclassArgs] = None,
           billing: Optional[BucketBillingArgs] = None,
           cors: Optional[Sequence[BucketCorsItemArgs]] = None,
           default_event_based_hold: Optional[bool] = None,
           default_object_acl: Optional[Sequence[ObjectAccessControlArgs]] = None,
           encryption: Optional[BucketEncryptionArgs] = None,
           etag: Optional[str] = None,
           iam_configuration: Optional[BucketIamConfigurationArgs] = None,
           id: Optional[str] = None,
           kind: Optional[str] = None,
           labels: Optional[Mapping[str, str]] = None,
           lifecycle: Optional[BucketLifecycleArgs] = None,
           location: Optional[str] = None,
           location_type: Optional[str] = None,
           logging: Optional[BucketLoggingArgs] = None,
           metageneration: Optional[str] = None,
           name: Optional[str] = None,
           owner: Optional[BucketOwnerArgs] = None,
           predefined_acl: Optional[str] = None,
           predefined_default_object_acl: Optional[str] = None,
           project: Optional[str] = None,
           project_number: Optional[str] = None,
           projection: Optional[str] = None,
           retention_policy: Optional[BucketRetentionPolicyArgs] = None,
           rpo: Optional[str] = None,
           satisfies_pzs: Optional[bool] = None,
           self_link: Optional[str] = None,
           storage_class: Optional[str] = None,
           time_created: Optional[str] = None,
           updated: Optional[str] = None,
           user_project: Optional[str] = None,
           versioning: Optional[BucketVersioningArgs] = None,
           website: Optional[BucketWebsiteArgs] = None)
@overload
def Bucket(resource_name: str,
           args: Optional[BucketArgs] = None,
           opts: Optional[ResourceOptions] = None)
func NewBucket(ctx *Context, name string, args *BucketArgs, opts ...ResourceOption) (*Bucket, error)
public Bucket(string name, BucketArgs? args = null, CustomResourceOptions? opts = null)
public Bucket(String name, BucketArgs args)
public Bucket(String name, BucketArgs args, CustomResourceOptions options)
type: google-native:storage/v1:Bucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BucketArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args BucketArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BucketArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BucketArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BucketArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Bucket Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Bucket resource accepts the following input properties:

Acl List<Pulumi.GoogleNative.Storage.V1.Inputs.BucketAccessControlArgs>

Access controls on the bucket.

Autoclass Pulumi.GoogleNative.Storage.V1.Inputs.BucketAutoclassArgs

The bucket's Autoclass configuration.

Billing Pulumi.GoogleNative.Storage.V1.Inputs.BucketBillingArgs

The bucket's billing configuration.

Cors List<Pulumi.GoogleNative.Storage.V1.Inputs.BucketCorsItemArgs>

The bucket's Cross-Origin Resource Sharing (CORS) configuration.

DefaultEventBasedHold bool

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.

DefaultObjectAcl List<Pulumi.GoogleNative.Storage.V1.Inputs.ObjectAccessControlArgs>

Default access controls to apply to new objects when no ACL is provided.

Encryption Pulumi.GoogleNative.Storage.V1.Inputs.BucketEncryptionArgs

Encryption configuration for a bucket.

Etag string

HTTP 1.1 Entity tag for the bucket.

IamConfiguration Pulumi.GoogleNative.Storage.V1.Inputs.BucketIamConfigurationArgs

The bucket's IAM configuration.

Id string

The ID of the bucket. For buckets, the id and name properties are the same.

Kind string

The kind of item this is. For buckets, this is always storage#bucket.

Labels Dictionary<string, string>

User-provided labels, in key/value pairs.

Lifecycle Pulumi.GoogleNative.Storage.V1.Inputs.BucketLifecycleArgs

The bucket's lifecycle configuration. See lifecycle management for more information.

Location string

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.

LocationType string

The type of the bucket location.

Logging Pulumi.GoogleNative.Storage.V1.Inputs.BucketLoggingArgs

The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.

Metageneration string

The metadata generation of this bucket.

Name string

The name of the bucket.

Owner Pulumi.GoogleNative.Storage.V1.Inputs.BucketOwnerArgs

The owner of the bucket. This is always the project team's owner group.

PredefinedAcl string

Apply a predefined set of access controls to this bucket.

PredefinedDefaultObjectAcl string

Apply a predefined set of default object access controls to this bucket.

Project string

A valid API project identifier.

ProjectNumber string

The project number of the project the bucket belongs to.

Projection string

Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.

RetentionPolicy Pulumi.GoogleNative.Storage.V1.Inputs.BucketRetentionPolicyArgs

The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.

Rpo string

The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.

SatisfiesPZS bool

Reserved for future use.

SelfLink string

The URI of this bucket.

StorageClass string

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.

TimeCreated string

The creation time of the bucket in RFC 3339 format.

Updated string

The modification time of the bucket in RFC 3339 format.

UserProject string

The project to be billed for this request.

Versioning Pulumi.GoogleNative.Storage.V1.Inputs.BucketVersioningArgs

The bucket's versioning configuration.

Website Pulumi.GoogleNative.Storage.V1.Inputs.BucketWebsiteArgs

The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.

Acl []BucketAccessControlTypeArgs

Access controls on the bucket.

Autoclass BucketAutoclassArgs

The bucket's Autoclass configuration.

Billing BucketBillingArgs

The bucket's billing configuration.

Cors []BucketCorsItemArgs

The bucket's Cross-Origin Resource Sharing (CORS) configuration.

DefaultEventBasedHold bool

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.

DefaultObjectAcl []ObjectAccessControlTypeArgs

Default access controls to apply to new objects when no ACL is provided.

Encryption BucketEncryptionArgs

Encryption configuration for a bucket.

Etag string

HTTP 1.1 Entity tag for the bucket.

IamConfiguration BucketIamConfigurationArgs

The bucket's IAM configuration.

Id string

The ID of the bucket. For buckets, the id and name properties are the same.

Kind string

The kind of item this is. For buckets, this is always storage#bucket.

Labels map[string]string

User-provided labels, in key/value pairs.

Lifecycle BucketLifecycleArgs

The bucket's lifecycle configuration. See lifecycle management for more information.

Location string

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.

LocationType string

The type of the bucket location.

Logging BucketLoggingArgs

The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.

Metageneration string

The metadata generation of this bucket.

Name string

The name of the bucket.

Owner BucketOwnerArgs

The owner of the bucket. This is always the project team's owner group.

PredefinedAcl string

Apply a predefined set of access controls to this bucket.

PredefinedDefaultObjectAcl string

Apply a predefined set of default object access controls to this bucket.

Project string

A valid API project identifier.

ProjectNumber string

The project number of the project the bucket belongs to.

Projection string

Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.

RetentionPolicy BucketRetentionPolicyArgs

The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.

Rpo string

The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.

SatisfiesPZS bool

Reserved for future use.

SelfLink string

The URI of this bucket.

StorageClass string

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.

TimeCreated string

The creation time of the bucket in RFC 3339 format.

Updated string

The modification time of the bucket in RFC 3339 format.

UserProject string

The project to be billed for this request.

Versioning BucketVersioningArgs

The bucket's versioning configuration.

Website BucketWebsiteArgs

The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.

acl List<BucketAccessControlArgs>

Access controls on the bucket.

autoclass BucketAutoclassArgs

The bucket's Autoclass configuration.

billing BucketBillingArgs

The bucket's billing configuration.

cors List<BucketCorsItemArgs>

The bucket's Cross-Origin Resource Sharing (CORS) configuration.

defaultEventBasedHold Boolean

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.

defaultObjectAcl List<ObjectAccessControlArgs>

Default access controls to apply to new objects when no ACL is provided.

encryption BucketEncryptionArgs

Encryption configuration for a bucket.

etag String

HTTP 1.1 Entity tag for the bucket.

iamConfiguration BucketIamConfigurationArgs

The bucket's IAM configuration.

id String

The ID of the bucket. For buckets, the id and name properties are the same.

kind String

The kind of item this is. For buckets, this is always storage#bucket.

labels Map<String,String>

User-provided labels, in key/value pairs.

lifecycle BucketLifecycleArgs

The bucket's lifecycle configuration. See lifecycle management for more information.

location String

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.

locationType String

The type of the bucket location.

logging BucketLoggingArgs

The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.

metageneration String

The metadata generation of this bucket.

name String

The name of the bucket.

owner BucketOwnerArgs

The owner of the bucket. This is always the project team's owner group.

predefinedAcl String

Apply a predefined set of access controls to this bucket.

predefinedDefaultObjectAcl String

Apply a predefined set of default object access controls to this bucket.

project String

A valid API project identifier.

projectNumber String

The project number of the project the bucket belongs to.

projection String

Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.

retentionPolicy BucketRetentionPolicyArgs

The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.

rpo String

The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.

satisfiesPZS Boolean

Reserved for future use.

selfLink String

The URI of this bucket.

storageClass String

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.

timeCreated String

The creation time of the bucket in RFC 3339 format.

updated String

The modification time of the bucket in RFC 3339 format.

userProject String

The project to be billed for this request.

versioning BucketVersioningArgs

The bucket's versioning configuration.

website BucketWebsiteArgs

The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.

acl BucketAccessControlArgs[]

Access controls on the bucket.

autoclass BucketAutoclassArgs

The bucket's Autoclass configuration.

billing BucketBillingArgs

The bucket's billing configuration.

cors BucketCorsItemArgs[]

The bucket's Cross-Origin Resource Sharing (CORS) configuration.

defaultEventBasedHold boolean

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.

defaultObjectAcl ObjectAccessControlArgs[]

Default access controls to apply to new objects when no ACL is provided.

encryption BucketEncryptionArgs

Encryption configuration for a bucket.

etag string

HTTP 1.1 Entity tag for the bucket.

iamConfiguration BucketIamConfigurationArgs

The bucket's IAM configuration.

id string

The ID of the bucket. For buckets, the id and name properties are the same.

kind string

The kind of item this is. For buckets, this is always storage#bucket.

labels {[key: string]: string}

User-provided labels, in key/value pairs.

lifecycle BucketLifecycleArgs

The bucket's lifecycle configuration. See lifecycle management for more information.

location string

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.

locationType string

The type of the bucket location.

logging BucketLoggingArgs

The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.

metageneration string

The metadata generation of this bucket.

name string

The name of the bucket.

owner BucketOwnerArgs

The owner of the bucket. This is always the project team's owner group.

predefinedAcl string

Apply a predefined set of access controls to this bucket.

predefinedDefaultObjectAcl string

Apply a predefined set of default object access controls to this bucket.

project string

A valid API project identifier.

projectNumber string

The project number of the project the bucket belongs to.

projection string

Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.

retentionPolicy BucketRetentionPolicyArgs

The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.

rpo string

The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.

satisfiesPZS boolean

Reserved for future use.

selfLink string

The URI of this bucket.

storageClass string

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.

timeCreated string

The creation time of the bucket in RFC 3339 format.

updated string

The modification time of the bucket in RFC 3339 format.

userProject string

The project to be billed for this request.

versioning BucketVersioningArgs

The bucket's versioning configuration.

website BucketWebsiteArgs

The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.

acl Sequence[BucketAccessControlArgs]

Access controls on the bucket.

autoclass BucketAutoclassArgs

The bucket's Autoclass configuration.

billing BucketBillingArgs

The bucket's billing configuration.

cors Sequence[BucketCorsItemArgs]

The bucket's Cross-Origin Resource Sharing (CORS) configuration.

default_event_based_hold bool

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 Sequence[ObjectAccessControlArgs]

Default access controls to apply to new objects when no ACL is provided.

encryption BucketEncryptionArgs

Encryption configuration for a bucket.

etag str

HTTP 1.1 Entity tag for the bucket.

iam_configuration BucketIamConfigurationArgs

The bucket's IAM configuration.

id str

The ID of the bucket. For buckets, the id and name properties are the same.

kind str

The kind of item this is. For buckets, this is always storage#bucket.

labels Mapping[str, str]

User-provided labels, in key/value pairs.

lifecycle BucketLifecycleArgs

The bucket's lifecycle configuration. See lifecycle management for more information.

location str

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 str

The type of the bucket location.

logging BucketLoggingArgs

The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.

metageneration str

The metadata generation of this bucket.

name str

The name of the bucket.

owner BucketOwnerArgs

The owner of the bucket. This is always the project team's owner group.

predefined_acl str

Apply a predefined set of access controls to this bucket.

predefined_default_object_acl str

Apply a predefined set of default object access controls to this bucket.

project str

A valid API project identifier.

project_number str

The project number of the project the bucket belongs to.

projection str

Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.

retention_policy BucketRetentionPolicyArgs

The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.

rpo str

The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.

satisfies_pzs bool

Reserved for future use.

self_link str

The URI of this bucket.

storage_class str

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.

time_created str

The creation time of the bucket in RFC 3339 format.

updated str

The modification time of the bucket in RFC 3339 format.

user_project str

The project to be billed for this request.

versioning BucketVersioningArgs

The bucket's versioning configuration.

website BucketWebsiteArgs

The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.

acl List<Property Map>

Access controls on the bucket.

autoclass Property Map

The bucket's Autoclass configuration.

billing Property Map

The bucket's billing configuration.

cors List<Property Map>

The bucket's Cross-Origin Resource Sharing (CORS) configuration.

defaultEventBasedHold Boolean

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.

defaultObjectAcl List<Property Map>

Default access controls to apply to new objects when no ACL is provided.

encryption Property Map

Encryption configuration for a bucket.

etag String

HTTP 1.1 Entity tag for the bucket.

iamConfiguration Property Map

The bucket's IAM configuration.

id String

The ID of the bucket. For buckets, the id and name properties are the same.

kind String

The kind of item this is. For buckets, this is always storage#bucket.

labels Map<String>

User-provided labels, in key/value pairs.

lifecycle Property Map

The bucket's lifecycle configuration. See lifecycle management for more information.

location String

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.

locationType String

The type of the bucket location.

logging Property Map

The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.

metageneration String

The metadata generation of this bucket.

name String

The name of the bucket.

owner Property Map

The owner of the bucket. This is always the project team's owner group.

predefinedAcl String

Apply a predefined set of access controls to this bucket.

predefinedDefaultObjectAcl String

Apply a predefined set of default object access controls to this bucket.

project String

A valid API project identifier.

projectNumber String

The project number of the project the bucket belongs to.

projection String

Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.

retentionPolicy Property Map

The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.

rpo String

The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.

satisfiesPZS Boolean

Reserved for future use.

selfLink String

The URI of this bucket.

storageClass String

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.

timeCreated String

The creation time of the bucket in RFC 3339 format.

updated String

The modification time of the bucket in RFC 3339 format.

userProject String

The project to be billed for this request.

versioning Property Map

The bucket's versioning configuration.

website Property Map

The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.

Outputs

All input properties are implicitly available as output properties. Additionally, the Bucket resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

BucketAccessControl

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Id string

The ID of the access-control entry.

Kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

ProjectTeam Pulumi.GoogleNative.Storage.V1.Inputs.BucketAccessControlProjectTeam

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Id string

The ID of the access-control entry.

Kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

ProjectTeam BucketAccessControlProjectTeam

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

id String

The ID of the access-control entry.

kind String

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam BucketAccessControlProjectTeam

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

bucket string

The name of the bucket.

domain string

The domain associated with the entity, if any.

email string

The email address associated with the entity, if any.

entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId string

The ID for the entity, if any.

etag string

HTTP 1.1 Entity tag for the access-control entry.

id string

The ID of the access-control entry.

kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam BucketAccessControlProjectTeam

The project team associated with the entity, if any.

role string

The access permission for the entity.

selfLink string

The link to this access-control entry.

bucket str

The name of the bucket.

domain str

The domain associated with the entity, if any.

email str

The email address associated with the entity, if any.

entity str

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entity_id str

The ID for the entity, if any.

etag str

HTTP 1.1 Entity tag for the access-control entry.

id str

The ID of the access-control entry.

kind str

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

project_team BucketAccessControlProjectTeam

The project team associated with the entity, if any.

role str

The access permission for the entity.

self_link str

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

id String

The ID of the access-control entry.

kind String

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam Property Map

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

BucketAccessControlProjectTeam

ProjectNumber string

The project number.

Team string

The team.

ProjectNumber string

The project number.

Team string

The team.

projectNumber String

The project number.

team String

The team.

projectNumber string

The project number.

team string

The team.

project_number str

The project number.

team str

The team.

projectNumber String

The project number.

team String

The team.

BucketAccessControlProjectTeamResponse

ProjectNumber string

The project number.

Team string

The team.

ProjectNumber string

The project number.

Team string

The team.

projectNumber String

The project number.

team String

The team.

projectNumber string

The project number.

team string

The team.

project_number str

The project number.

team str

The team.

projectNumber String

The project number.

team String

The team.

BucketAccessControlResponse

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

ProjectTeam Pulumi.GoogleNative.Storage.V1.Inputs.BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

ProjectTeam BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

kind String

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

bucket string

The name of the bucket.

domain string

The domain associated with the entity, if any.

email string

The email address associated with the entity, if any.

entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId string

The ID for the entity, if any.

etag string

HTTP 1.1 Entity tag for the access-control entry.

kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role string

The access permission for the entity.

selfLink string

The link to this access-control entry.

bucket str

The name of the bucket.

domain str

The domain associated with the entity, if any.

email str

The email address associated with the entity, if any.

entity str

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entity_id str

The ID for the entity, if any.

etag str

HTTP 1.1 Entity tag for the access-control entry.

kind str

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

project_team BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role str

The access permission for the entity.

self_link str

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

kind String

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam Property Map

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

BucketAutoclass

Enabled bool

Whether or not Autoclass is enabled on this bucket

ToggleTime string

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

Enabled bool

Whether or not Autoclass is enabled on this bucket

ToggleTime string

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

enabled Boolean

Whether or not Autoclass is enabled on this bucket

toggleTime String

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

enabled boolean

Whether or not Autoclass is enabled on this bucket

toggleTime string

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

enabled bool

Whether or not Autoclass is enabled on this bucket

toggle_time str

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

enabled Boolean

Whether or not Autoclass is enabled on this bucket

toggleTime String

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

BucketAutoclassResponse

Enabled bool

Whether or not Autoclass is enabled on this bucket

ToggleTime string

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

Enabled bool

Whether or not Autoclass is enabled on this bucket

ToggleTime string

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

enabled Boolean

Whether or not Autoclass is enabled on this bucket

toggleTime String

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

enabled boolean

Whether or not Autoclass is enabled on this bucket

toggleTime string

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

enabled bool

Whether or not Autoclass is enabled on this bucket

toggle_time str

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

enabled Boolean

Whether or not Autoclass is enabled on this bucket

toggleTime String

A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

BucketBilling

RequesterPays bool

When set to true, Requester Pays is enabled for this bucket.

RequesterPays bool

When set to true, Requester Pays is enabled for this bucket.

requesterPays Boolean

When set to true, Requester Pays is enabled for this bucket.

requesterPays boolean

When set to true, Requester Pays is enabled for this bucket.

requester_pays bool

When set to true, Requester Pays is enabled for this bucket.

requesterPays Boolean

When set to true, Requester Pays is enabled for this bucket.

BucketBillingResponse

RequesterPays bool

When set to true, Requester Pays is enabled for this bucket.

RequesterPays bool

When set to true, Requester Pays is enabled for this bucket.

requesterPays Boolean

When set to true, Requester Pays is enabled for this bucket.

requesterPays boolean

When set to true, Requester Pays is enabled for this bucket.

requester_pays bool

When set to true, Requester Pays is enabled for this bucket.

requesterPays Boolean

When set to true, Requester Pays is enabled for this bucket.

BucketCorsItem

MaxAgeSeconds int

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

Method List<string>

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

Origin List<string>

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

ResponseHeader List<string>

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

MaxAgeSeconds int

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

Method []string

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

Origin []string

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

ResponseHeader []string

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

maxAgeSeconds Integer

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

method List<String>

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

origin List<String>

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

responseHeader List<String>

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

maxAgeSeconds number

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

method string[]

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

origin string[]

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

responseHeader string[]

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

max_age_seconds int

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

method Sequence[str]

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

origin Sequence[str]

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

response_header Sequence[str]

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

maxAgeSeconds Number

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

method List<String>

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

origin List<String>

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

responseHeader List<String>

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

BucketCorsItemResponse

MaxAgeSeconds int

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

Method List<string>

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

Origin List<string>

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

ResponseHeader List<string>

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

MaxAgeSeconds int

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

Method []string

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

Origin []string

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

ResponseHeader []string

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

maxAgeSeconds Integer

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

method List<String>

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

origin List<String>

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

responseHeader List<String>

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

maxAgeSeconds number

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

method string[]

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

origin string[]

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

responseHeader string[]

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

max_age_seconds int

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

method Sequence[str]

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

origin Sequence[str]

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

response_header Sequence[str]

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

maxAgeSeconds Number

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

method List<String>

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

origin List<String>

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

responseHeader List<String>

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

BucketEncryption

DefaultKmsKeyName string

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

DefaultKmsKeyName string

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

defaultKmsKeyName String

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

defaultKmsKeyName string

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

default_kms_key_name str

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

defaultKmsKeyName String

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

BucketEncryptionResponse

DefaultKmsKeyName string

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

DefaultKmsKeyName string

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

defaultKmsKeyName String

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

defaultKmsKeyName string

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

default_kms_key_name str

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

defaultKmsKeyName String

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

BucketIamConfiguration

BucketPolicyOnly Pulumi.GoogleNative.Storage.V1.Inputs.BucketIamConfigurationBucketPolicyOnly

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

PublicAccessPrevention string

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

UniformBucketLevelAccess Pulumi.GoogleNative.Storage.V1.Inputs.BucketIamConfigurationUniformBucketLevelAccess

The bucket's uniform bucket-level access configuration.

BucketPolicyOnly BucketIamConfigurationBucketPolicyOnly

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

PublicAccessPrevention string

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

UniformBucketLevelAccess BucketIamConfigurationUniformBucketLevelAccess

The bucket's uniform bucket-level access configuration.

bucketPolicyOnly BucketIamConfigurationBucketPolicyOnly

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

publicAccessPrevention String

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

uniformBucketLevelAccess BucketIamConfigurationUniformBucketLevelAccess

The bucket's uniform bucket-level access configuration.

bucketPolicyOnly BucketIamConfigurationBucketPolicyOnly

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

publicAccessPrevention string

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

uniformBucketLevelAccess BucketIamConfigurationUniformBucketLevelAccess

The bucket's uniform bucket-level access configuration.

bucket_policy_only BucketIamConfigurationBucketPolicyOnly

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

public_access_prevention str

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

uniform_bucket_level_access BucketIamConfigurationUniformBucketLevelAccess

The bucket's uniform bucket-level access configuration.

bucketPolicyOnly Property Map

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

publicAccessPrevention String

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

uniformBucketLevelAccess Property Map

The bucket's uniform bucket-level access configuration.

BucketIamConfigurationBucketPolicyOnly

Enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

LockedTime string

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.

Enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

LockedTime string

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.

enabled Boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime String

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.

enabled boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime string

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.

enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

locked_time str

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.

enabled Boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime String

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.

BucketIamConfigurationBucketPolicyOnlyResponse

Enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

LockedTime string

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.

Enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

LockedTime string

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.

enabled Boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime String

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.

enabled boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime string

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.

enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

locked_time str

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.

enabled Boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime String

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.

BucketIamConfigurationResponse

BucketPolicyOnly Pulumi.GoogleNative.Storage.V1.Inputs.BucketIamConfigurationBucketPolicyOnlyResponse

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

PublicAccessPrevention string

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

UniformBucketLevelAccess Pulumi.GoogleNative.Storage.V1.Inputs.BucketIamConfigurationUniformBucketLevelAccessResponse

The bucket's uniform bucket-level access configuration.

BucketPolicyOnly BucketIamConfigurationBucketPolicyOnlyResponse

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

PublicAccessPrevention string

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

UniformBucketLevelAccess BucketIamConfigurationUniformBucketLevelAccessResponse

The bucket's uniform bucket-level access configuration.

bucketPolicyOnly BucketIamConfigurationBucketPolicyOnlyResponse

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

publicAccessPrevention String

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

uniformBucketLevelAccess BucketIamConfigurationUniformBucketLevelAccessResponse

The bucket's uniform bucket-level access configuration.

bucketPolicyOnly BucketIamConfigurationBucketPolicyOnlyResponse

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

publicAccessPrevention string

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

uniformBucketLevelAccess BucketIamConfigurationUniformBucketLevelAccessResponse

The bucket's uniform bucket-level access configuration.

bucket_policy_only BucketIamConfigurationBucketPolicyOnlyResponse

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

public_access_prevention str

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

uniform_bucket_level_access BucketIamConfigurationUniformBucketLevelAccessResponse

The bucket's uniform bucket-level access configuration.

bucketPolicyOnly Property Map

The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.

publicAccessPrevention String

The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.

uniformBucketLevelAccess Property Map

The bucket's uniform bucket-level access configuration.

BucketIamConfigurationUniformBucketLevelAccess

Enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

LockedTime string

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.

Enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

LockedTime string

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.

enabled Boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime String

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.

enabled boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime string

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.

enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

locked_time str

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.

enabled Boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime String

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.

BucketIamConfigurationUniformBucketLevelAccessResponse

Enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

LockedTime string

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.

Enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

LockedTime string

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.

enabled Boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime String

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.

enabled boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime string

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.

enabled bool

If set, access is controlled only by bucket-level or above IAM policies.

locked_time str

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.

enabled Boolean

If set, access is controlled only by bucket-level or above IAM policies.

lockedTime String

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.

BucketLifecycle

Rule List<Pulumi.GoogleNative.Storage.V1.Inputs.BucketLifecycleRuleItem>

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

Rule []BucketLifecycleRuleItem

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

rule List<BucketLifecycleRuleItem>

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

rule BucketLifecycleRuleItem[]

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

rule Sequence[BucketLifecycleRuleItem]

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

rule List<Property Map>

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

BucketLifecycleResponse

Rule List<Pulumi.GoogleNative.Storage.V1.Inputs.BucketLifecycleRuleItemResponse>

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

Rule []BucketLifecycleRuleItemResponse

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

rule List<BucketLifecycleRuleItemResponse>

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

rule BucketLifecycleRuleItemResponse[]

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

rule Sequence[BucketLifecycleRuleItemResponse]

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

rule List<Property Map>

A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.

BucketLifecycleRuleItem

Action BucketLifecycleRuleItemAction

The action to take.

Condition BucketLifecycleRuleItemCondition

The condition(s) under which the action will be taken.

action BucketLifecycleRuleItemAction

The action to take.

condition BucketLifecycleRuleItemCondition

The condition(s) under which the action will be taken.

action BucketLifecycleRuleItemAction

The action to take.

condition BucketLifecycleRuleItemCondition

The condition(s) under which the action will be taken.

action BucketLifecycleRuleItemAction

The action to take.

condition BucketLifecycleRuleItemCondition

The condition(s) under which the action will be taken.

action Property Map

The action to take.

condition Property Map

The condition(s) under which the action will be taken.

BucketLifecycleRuleItemAction

StorageClass string

Target storage class. Required iff the type of the action is SetStorageClass.

Type string

Type of the action. Currently, only Delete and SetStorageClass are supported.

StorageClass string

Target storage class. Required iff the type of the action is SetStorageClass.

Type string

Type of the action. Currently, only Delete and SetStorageClass are supported.

storageClass String

Target storage class. Required iff the type of the action is SetStorageClass.

type String

Type of the action. Currently, only Delete and SetStorageClass are supported.

storageClass string

Target storage class. Required iff the type of the action is SetStorageClass.

type string

Type of the action. Currently, only Delete and SetStorageClass are supported.

storage_class str

Target storage class. Required iff the type of the action is SetStorageClass.

type str

Type of the action. Currently, only Delete and SetStorageClass are supported.

storageClass String

Target storage class. Required iff the type of the action is SetStorageClass.

type String

Type of the action. Currently, only Delete and SetStorageClass are supported.

BucketLifecycleRuleItemActionResponse

StorageClass string

Target storage class. Required iff the type of the action is SetStorageClass.

Type string

Type of the action. Currently, only Delete and SetStorageClass are supported.

StorageClass string

Target storage class. Required iff the type of the action is SetStorageClass.

Type string

Type of the action. Currently, only Delete and SetStorageClass are supported.

storageClass String

Target storage class. Required iff the type of the action is SetStorageClass.

type String

Type of the action. Currently, only Delete and SetStorageClass are supported.

storageClass string

Target storage class. Required iff the type of the action is SetStorageClass.

type string

Type of the action. Currently, only Delete and SetStorageClass are supported.

storage_class str

Target storage class. Required iff the type of the action is SetStorageClass.

type str

Type of the action. Currently, only Delete and SetStorageClass are supported.

storageClass String

Target storage class. Required iff the type of the action is SetStorageClass.

type String

Type of the action. Currently, only Delete and SetStorageClass are supported.

BucketLifecycleRuleItemCondition

Age int

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

CreatedBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

CustomTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

DaysSinceCustomTime int

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

DaysSinceNoncurrentTime int

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

IsLive bool

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

MatchesPattern string

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

MatchesPrefix List<string>

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

MatchesStorageClass List<string>

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

MatchesSuffix List<string>

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

NoncurrentTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

NumNewerVersions int

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

Age int

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

CreatedBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

CustomTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

DaysSinceCustomTime int

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

DaysSinceNoncurrentTime int

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

IsLive bool

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

MatchesPattern string

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

MatchesPrefix []string

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

MatchesStorageClass []string

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

MatchesSuffix []string

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

NoncurrentTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

NumNewerVersions int

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

age Integer

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

createdBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

customTimeBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

daysSinceCustomTime Integer

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

daysSinceNoncurrentTime Integer

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

isLive Boolean

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

matchesPattern String

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

matchesPrefix List<String>

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

matchesStorageClass List<String>

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

matchesSuffix List<String>

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

noncurrentTimeBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

numNewerVersions Integer

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

age number

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

createdBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

customTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

daysSinceCustomTime number

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

daysSinceNoncurrentTime number

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

isLive boolean

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

matchesPattern string

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

matchesPrefix string[]

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

matchesStorageClass string[]

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

matchesSuffix string[]

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

noncurrentTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

numNewerVersions number

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

age int

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

created_before str

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

custom_time_before str

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

days_since_custom_time int

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

days_since_noncurrent_time int

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

is_live bool

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

matches_pattern str

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

matches_prefix Sequence[str]

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

matches_storage_class Sequence[str]

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

matches_suffix Sequence[str]

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

noncurrent_time_before str

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

num_newer_versions int

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

age Number

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

createdBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

customTimeBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

daysSinceCustomTime Number

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

daysSinceNoncurrentTime Number

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

isLive Boolean

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

matchesPattern String

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

matchesPrefix List<String>

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

matchesStorageClass List<String>

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

matchesSuffix List<String>

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

noncurrentTimeBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

numNewerVersions Number

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

BucketLifecycleRuleItemConditionResponse

Age int

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

CreatedBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

CustomTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

DaysSinceCustomTime int

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

DaysSinceNoncurrentTime int

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

IsLive bool

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

MatchesPattern string

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

MatchesPrefix List<string>

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

MatchesStorageClass List<string>

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

MatchesSuffix List<string>

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

NoncurrentTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

NumNewerVersions int

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

Age int

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

CreatedBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

CustomTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

DaysSinceCustomTime int

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

DaysSinceNoncurrentTime int

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

IsLive bool

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

MatchesPattern string

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

MatchesPrefix []string

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

MatchesStorageClass []string

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

MatchesSuffix []string

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

NoncurrentTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

NumNewerVersions int

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

age Integer

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

createdBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

customTimeBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

daysSinceCustomTime Integer

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

daysSinceNoncurrentTime Integer

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

isLive Boolean

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

matchesPattern String

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

matchesPrefix List<String>

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

matchesStorageClass List<String>

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

matchesSuffix List<String>

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

noncurrentTimeBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

numNewerVersions Integer

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

age number

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

createdBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

customTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

daysSinceCustomTime number

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

daysSinceNoncurrentTime number

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

isLive boolean

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

matchesPattern string

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

matchesPrefix string[]

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

matchesStorageClass string[]

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

matchesSuffix string[]

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

noncurrentTimeBefore string

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

numNewerVersions number

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

age int

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

created_before str

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

custom_time_before str

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

days_since_custom_time int

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

days_since_noncurrent_time int

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

is_live bool

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

matches_pattern str

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

matches_prefix Sequence[str]

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

matches_storage_class Sequence[str]

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

matches_suffix Sequence[str]

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

noncurrent_time_before str

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

num_newer_versions int

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

age Number

Age of an object (in days). This condition is satisfied when an object reaches the specified age.

createdBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.

customTimeBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the custom time on an object is before this date in UTC.

daysSinceCustomTime Number

Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.

daysSinceNoncurrentTime Number

Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.

isLive Boolean

Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.

matchesPattern String

A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the "Early Access" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.

matchesPrefix List<String>

List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.

matchesStorageClass List<String>

Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.

matchesSuffix List<String>

List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.

noncurrentTimeBefore String

A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.

numNewerVersions Number

Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.

BucketLifecycleRuleItemResponse

Action BucketLifecycleRuleItemActionResponse

The action to take.

Condition BucketLifecycleRuleItemConditionResponse

The condition(s) under which the action will be taken.

action BucketLifecycleRuleItemActionResponse

The action to take.

condition BucketLifecycleRuleItemConditionResponse

The condition(s) under which the action will be taken.

action BucketLifecycleRuleItemActionResponse

The action to take.

condition BucketLifecycleRuleItemConditionResponse

The condition(s) under which the action will be taken.

action BucketLifecycleRuleItemActionResponse

The action to take.

condition BucketLifecycleRuleItemConditionResponse

The condition(s) under which the action will be taken.

action Property Map

The action to take.

condition Property Map

The condition(s) under which the action will be taken.

BucketLogging

LogBucket string

The destination bucket where the current bucket's logs should be placed.

LogObjectPrefix string

A prefix for log object names.

LogBucket string

The destination bucket where the current bucket's logs should be placed.

LogObjectPrefix string

A prefix for log object names.

logBucket String

The destination bucket where the current bucket's logs should be placed.

logObjectPrefix String

A prefix for log object names.

logBucket string

The destination bucket where the current bucket's logs should be placed.

logObjectPrefix string

A prefix for log object names.

log_bucket str

The destination bucket where the current bucket's logs should be placed.

log_object_prefix str

A prefix for log object names.

logBucket String

The destination bucket where the current bucket's logs should be placed.

logObjectPrefix String

A prefix for log object names.

BucketLoggingResponse

LogBucket string

The destination bucket where the current bucket's logs should be placed.

LogObjectPrefix string

A prefix for log object names.

LogBucket string

The destination bucket where the current bucket's logs should be placed.

LogObjectPrefix string

A prefix for log object names.

logBucket String

The destination bucket where the current bucket's logs should be placed.

logObjectPrefix String

A prefix for log object names.

logBucket string

The destination bucket where the current bucket's logs should be placed.

logObjectPrefix string

A prefix for log object names.

log_bucket str

The destination bucket where the current bucket's logs should be placed.

log_object_prefix str

A prefix for log object names.

logBucket String

The destination bucket where the current bucket's logs should be placed.

logObjectPrefix String

A prefix for log object names.

BucketOwner

Entity string

The entity, in the form project-owner-projectId.

EntityId string

The ID for the entity.

Entity string

The entity, in the form project-owner-projectId.

EntityId string

The ID for the entity.

entity String

The entity, in the form project-owner-projectId.

entityId String

The ID for the entity.

entity string

The entity, in the form project-owner-projectId.

entityId string

The ID for the entity.

entity str

The entity, in the form project-owner-projectId.

entity_id str

The ID for the entity.

entity String

The entity, in the form project-owner-projectId.

entityId String

The ID for the entity.

BucketOwnerResponse

Entity string

The entity, in the form project-owner-projectId.

EntityId string

The ID for the entity.

Entity string

The entity, in the form project-owner-projectId.

EntityId string

The ID for the entity.

entity String

The entity, in the form project-owner-projectId.

entityId String

The ID for the entity.

entity string

The entity, in the form project-owner-projectId.

entityId string

The ID for the entity.

entity str

The entity, in the form project-owner-projectId.

entity_id str

The ID for the entity.

entity String

The entity, in the form project-owner-projectId.

entityId String

The ID for the entity.

BucketRetentionPolicy

EffectiveTime string

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

IsLocked bool

Once locked, an object retention policy cannot be modified.

RetentionPeriod string

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.

EffectiveTime string

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

IsLocked bool

Once locked, an object retention policy cannot be modified.

RetentionPeriod string

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.

effectiveTime String

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

isLocked Boolean

Once locked, an object retention policy cannot be modified.

retentionPeriod String

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.

effectiveTime string

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

isLocked boolean

Once locked, an object retention policy cannot be modified.

retentionPeriod string

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.

effective_time str

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

is_locked bool

Once locked, an object retention policy cannot be modified.

retention_period str

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.

effectiveTime String

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

isLocked Boolean

Once locked, an object retention policy cannot be modified.

retentionPeriod String

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.

BucketRetentionPolicyResponse

EffectiveTime string

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

IsLocked bool

Once locked, an object retention policy cannot be modified.

RetentionPeriod string

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.

EffectiveTime string

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

IsLocked bool

Once locked, an object retention policy cannot be modified.

RetentionPeriod string

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.

effectiveTime String

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

isLocked Boolean

Once locked, an object retention policy cannot be modified.

retentionPeriod String

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.

effectiveTime string

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

isLocked boolean

Once locked, an object retention policy cannot be modified.

retentionPeriod string

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.

effective_time str

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

is_locked bool

Once locked, an object retention policy cannot be modified.

retention_period str

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.

effectiveTime String

Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.

isLocked Boolean

Once locked, an object retention policy cannot be modified.

retentionPeriod String

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.

BucketVersioning

Enabled bool

While set to true, versioning is fully enabled for this bucket.

Enabled bool

While set to true, versioning is fully enabled for this bucket.

enabled Boolean

While set to true, versioning is fully enabled for this bucket.

enabled boolean

While set to true, versioning is fully enabled for this bucket.

enabled bool

While set to true, versioning is fully enabled for this bucket.

enabled Boolean

While set to true, versioning is fully enabled for this bucket.

BucketVersioningResponse

Enabled bool

While set to true, versioning is fully enabled for this bucket.

Enabled bool

While set to true, versioning is fully enabled for this bucket.

enabled Boolean

While set to true, versioning is fully enabled for this bucket.

enabled boolean

While set to true, versioning is fully enabled for this bucket.

enabled bool

While set to true, versioning is fully enabled for this bucket.

enabled Boolean

While set to true, versioning is fully enabled for this bucket.

BucketWebsite

MainPageSuffix string

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.

NotFoundPage string

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.

MainPageSuffix string

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.

NotFoundPage string

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.

mainPageSuffix String

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.

notFoundPage String

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.

mainPageSuffix string

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.

notFoundPage string

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.

main_page_suffix str

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.

not_found_page str

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.

mainPageSuffix String

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.

notFoundPage String

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.

BucketWebsiteResponse

MainPageSuffix string

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.

NotFoundPage string

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.

MainPageSuffix string

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.

NotFoundPage string

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.

mainPageSuffix String

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.

notFoundPage String

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.

mainPageSuffix string

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.

notFoundPage string

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.

main_page_suffix str

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.

not_found_page str

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.

mainPageSuffix String

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.

notFoundPage String

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.

ObjectAccessControl

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Generation string

The content generation of the object, if applied to an object.

Id string

The ID of the access-control entry.

Kind string

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

Object string

The name of the object, if applied to an object.

ProjectTeam Pulumi.GoogleNative.Storage.V1.Inputs.ObjectAccessControlProjectTeam

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Generation string

The content generation of the object, if applied to an object.

Id string

The ID of the access-control entry.

Kind string

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

Object string

The name of the object, if applied to an object.

ProjectTeam ObjectAccessControlProjectTeam

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

generation String

The content generation of the object, if applied to an object.

id String

The ID of the access-control entry.

kind String

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

object String

The name of the object, if applied to an object.

projectTeam ObjectAccessControlProjectTeam

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

bucket string

The name of the bucket.

domain string

The domain associated with the entity, if any.

email string

The email address associated with the entity, if any.

entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId string

The ID for the entity, if any.

etag string

HTTP 1.1 Entity tag for the access-control entry.

generation string

The content generation of the object, if applied to an object.

id string

The ID of the access-control entry.

kind string

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

object string

The name of the object, if applied to an object.

projectTeam ObjectAccessControlProjectTeam

The project team associated with the entity, if any.

role string

The access permission for the entity.

selfLink string

The link to this access-control entry.

bucket str

The name of the bucket.

domain str

The domain associated with the entity, if any.

email str

The email address associated with the entity, if any.

entity str

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entity_id str

The ID for the entity, if any.

etag str

HTTP 1.1 Entity tag for the access-control entry.

generation str

The content generation of the object, if applied to an object.

id str

The ID of the access-control entry.

kind str

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

object str

The name of the object, if applied to an object.

project_team ObjectAccessControlProjectTeam

The project team associated with the entity, if any.

role str

The access permission for the entity.

self_link str

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

generation String

The content generation of the object, if applied to an object.

id String

The ID of the access-control entry.

kind String

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

object String

The name of the object, if applied to an object.

projectTeam Property Map

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

ObjectAccessControlProjectTeam

ProjectNumber string

The project number.

Team string

The team.

ProjectNumber string

The project number.

Team string

The team.

projectNumber String

The project number.

team String

The team.

projectNumber string

The project number.

team string

The team.

project_number str

The project number.

team str

The team.

projectNumber String

The project number.

team String

The team.

ObjectAccessControlProjectTeamResponse

ProjectNumber string

The project number.

Team string

The team.

ProjectNumber string

The project number.

Team string

The team.

projectNumber String

The project number.

team String

The team.

projectNumber string

The project number.

team string

The team.

project_number str

The project number.

team str

The team.

projectNumber String

The project number.

team String

The team.

ObjectAccessControlResponse

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Generation string

The content generation of the object, if applied to an object.

Kind string

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

Object string

The name of the object, if applied to an object.

ProjectTeam Pulumi.GoogleNative.Storage.V1.Inputs.ObjectAccessControlProjectTeamResponse

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Generation string

The content generation of the object, if applied to an object.

Kind string

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

Object string

The name of the object, if applied to an object.

ProjectTeam ObjectAccessControlProjectTeamResponse

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

generation String

The content generation of the object, if applied to an object.

kind String

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

object String

The name of the object, if applied to an object.

projectTeam ObjectAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

bucket string

The name of the bucket.

domain string

The domain associated with the entity, if any.

email string

The email address associated with the entity, if any.

entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId string

The ID for the entity, if any.

etag string

HTTP 1.1 Entity tag for the access-control entry.

generation string

The content generation of the object, if applied to an object.

kind string

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

object string

The name of the object, if applied to an object.

projectTeam ObjectAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role string

The access permission for the entity.

selfLink string

The link to this access-control entry.

bucket str

The name of the bucket.

domain str

The domain associated with the entity, if any.

email str

The email address associated with the entity, if any.

entity str

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entity_id str

The ID for the entity, if any.

etag str

HTTP 1.1 Entity tag for the access-control entry.

generation str

The content generation of the object, if applied to an object.

kind str

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

object str

The name of the object, if applied to an object.

project_team ObjectAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role str

The access permission for the entity.

self_link str

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

generation String

The content generation of the object, if applied to an object.

kind String

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

object String

The name of the object, if applied to an object.

projectTeam Property Map

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0