1. Packages
  2. Google Cloud Native
  3. API Docs
  4. storage
  5. storage/v1
  6. BucketObject

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.storage/v1.BucketObject

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Stores a new object and metadata.

    Create BucketObject Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BucketObject(name: string, args: BucketObjectArgs, opts?: CustomResourceOptions);
    @overload
    def BucketObject(resource_name: str,
                     args: BucketObjectArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def BucketObject(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     bucket: Optional[str] = None,
                     kind: Optional[str] = None,
                     crc32c: Optional[str] = None,
                     media_link: Optional[str] = None,
                     content_disposition: Optional[str] = None,
                     content_encoding: Optional[str] = None,
                     content_language: Optional[str] = None,
                     content_type: Optional[str] = None,
                     md5_hash: Optional[str] = None,
                     custom_time: Optional[str] = None,
                     customer_encryption: Optional[BucketObjectCustomerEncryptionArgs] = None,
                     etag: Optional[str] = None,
                     event_based_hold: Optional[bool] = None,
                     kms_key_name: Optional[str] = None,
                     hard_delete_time: Optional[str] = None,
                     id: Optional[str] = None,
                     if_generation_match: Optional[str] = None,
                     if_generation_not_match: Optional[str] = None,
                     if_metageneration_match: Optional[str] = None,
                     if_metageneration_not_match: Optional[str] = None,
                     acl: Optional[Sequence[ObjectAccessControlArgs]] = None,
                     generation: Optional[str] = None,
                     cache_control: Optional[str] = None,
                     component_count: Optional[int] = None,
                     metadata: Optional[Mapping[str, str]] = None,
                     metageneration: Optional[str] = None,
                     name: Optional[str] = None,
                     owner: Optional[BucketObjectOwnerArgs] = None,
                     predefined_acl: Optional[str] = None,
                     projection: Optional[str] = None,
                     retention: Optional[BucketObjectRetentionArgs] = None,
                     retention_expiration_time: Optional[str] = None,
                     self_link: Optional[str] = None,
                     size: Optional[str] = None,
                     soft_delete_time: Optional[str] = None,
                     source: Optional[Union[pulumi.Asset, pulumi.Archive]] = None,
                     storage_class: Optional[str] = None,
                     temporary_hold: Optional[bool] = None,
                     time_created: Optional[str] = None,
                     time_deleted: Optional[str] = None,
                     time_storage_class_updated: Optional[str] = None,
                     updated: Optional[str] = None,
                     user_project: Optional[str] = None)
    func NewBucketObject(ctx *Context, name string, args BucketObjectArgs, opts ...ResourceOption) (*BucketObject, error)
    public BucketObject(string name, BucketObjectArgs args, CustomResourceOptions? opts = null)
    public BucketObject(String name, BucketObjectArgs args)
    public BucketObject(String name, BucketObjectArgs args, CustomResourceOptions options)
    
    type: google-native:storage/v1:BucketObject
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BucketObjectArgs
    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 BucketObjectArgs
    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 BucketObjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BucketObjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BucketObjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var bucketObjectResource = new GoogleNative.Storage.V1.BucketObject("bucketObjectResource", new()
    {
        Bucket = "string",
        Kind = "string",
        Crc32c = "string",
        MediaLink = "string",
        ContentDisposition = "string",
        ContentEncoding = "string",
        ContentLanguage = "string",
        ContentType = "string",
        Md5Hash = "string",
        CustomTime = "string",
        CustomerEncryption = new GoogleNative.Storage.V1.Inputs.BucketObjectCustomerEncryptionArgs
        {
            EncryptionAlgorithm = "string",
            KeySha256 = "string",
        },
        Etag = "string",
        EventBasedHold = false,
        KmsKeyName = "string",
        HardDeleteTime = "string",
        Id = "string",
        IfGenerationMatch = "string",
        IfGenerationNotMatch = "string",
        IfMetagenerationMatch = "string",
        IfMetagenerationNotMatch = "string",
        Acl = new[]
        {
            new GoogleNative.Storage.V1.Inputs.ObjectAccessControlArgs
            {
                Bucket = "string",
                Domain = "string",
                Email = "string",
                Entity = "string",
                EntityId = "string",
                Etag = "string",
                Generation = "string",
                Id = "string",
                Kind = "string",
                Object = "string",
                ProjectTeam = new GoogleNative.Storage.V1.Inputs.ObjectAccessControlProjectTeamArgs
                {
                    ProjectNumber = "string",
                    Team = "string",
                },
                Role = "string",
                SelfLink = "string",
            },
        },
        Generation = "string",
        CacheControl = "string",
        ComponentCount = 0,
        Metadata = 
        {
            { "string", "string" },
        },
        Metageneration = "string",
        Name = "string",
        Owner = new GoogleNative.Storage.V1.Inputs.BucketObjectOwnerArgs
        {
            Entity = "string",
            EntityId = "string",
        },
        PredefinedAcl = "string",
        Projection = "string",
        Retention = new GoogleNative.Storage.V1.Inputs.BucketObjectRetentionArgs
        {
            Mode = "string",
            RetainUntilTime = "string",
        },
        RetentionExpirationTime = "string",
        SelfLink = "string",
        Size = "string",
        SoftDeleteTime = "string",
        Source = new StringAsset("content"),
        StorageClass = "string",
        TemporaryHold = false,
        TimeCreated = "string",
        TimeDeleted = "string",
        TimeStorageClassUpdated = "string",
        Updated = "string",
        UserProject = "string",
    });
    
    example, err := storage.NewBucketObject(ctx, "bucketObjectResource", &storage.BucketObjectArgs{
    	Bucket:             pulumi.String("string"),
    	Kind:               pulumi.String("string"),
    	Crc32c:             pulumi.String("string"),
    	MediaLink:          pulumi.String("string"),
    	ContentDisposition: pulumi.String("string"),
    	ContentEncoding:    pulumi.String("string"),
    	ContentLanguage:    pulumi.String("string"),
    	ContentType:        pulumi.String("string"),
    	Md5Hash:            pulumi.String("string"),
    	CustomTime:         pulumi.String("string"),
    	CustomerEncryption: &storage.BucketObjectCustomerEncryptionArgs{
    		EncryptionAlgorithm: pulumi.String("string"),
    		KeySha256:           pulumi.String("string"),
    	},
    	Etag:                     pulumi.String("string"),
    	EventBasedHold:           pulumi.Bool(false),
    	KmsKeyName:               pulumi.String("string"),
    	HardDeleteTime:           pulumi.String("string"),
    	Id:                       pulumi.String("string"),
    	IfGenerationMatch:        pulumi.String("string"),
    	IfGenerationNotMatch:     pulumi.String("string"),
    	IfMetagenerationMatch:    pulumi.String("string"),
    	IfMetagenerationNotMatch: pulumi.String("string"),
    	Acl: storage.ObjectAccessControlTypeArray{
    		&storage.ObjectAccessControlTypeArgs{
    			Bucket:     pulumi.String("string"),
    			Domain:     pulumi.String("string"),
    			Email:      pulumi.String("string"),
    			Entity:     pulumi.String("string"),
    			EntityId:   pulumi.String("string"),
    			Etag:       pulumi.String("string"),
    			Generation: pulumi.String("string"),
    			Id:         pulumi.String("string"),
    			Kind:       pulumi.String("string"),
    			Object:     pulumi.String("string"),
    			ProjectTeam: &storage.ObjectAccessControlProjectTeamArgs{
    				ProjectNumber: pulumi.String("string"),
    				Team:          pulumi.String("string"),
    			},
    			Role:     pulumi.String("string"),
    			SelfLink: pulumi.String("string"),
    		},
    	},
    	Generation:     pulumi.String("string"),
    	CacheControl:   pulumi.String("string"),
    	ComponentCount: pulumi.Int(0),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Metageneration: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	Owner: &storage.BucketObjectOwnerArgs{
    		Entity:   pulumi.String("string"),
    		EntityId: pulumi.String("string"),
    	},
    	PredefinedAcl: pulumi.String("string"),
    	Projection:    pulumi.String("string"),
    	Retention: &storage.BucketObjectRetentionArgs{
    		Mode:            pulumi.String("string"),
    		RetainUntilTime: pulumi.String("string"),
    	},
    	RetentionExpirationTime: pulumi.String("string"),
    	SelfLink:                pulumi.String("string"),
    	Size:                    pulumi.String("string"),
    	SoftDeleteTime:          pulumi.String("string"),
    	Source:                  pulumi.NewStringAsset("content"),
    	StorageClass:            pulumi.String("string"),
    	TemporaryHold:           pulumi.Bool(false),
    	TimeCreated:             pulumi.String("string"),
    	TimeDeleted:             pulumi.String("string"),
    	TimeStorageClassUpdated: pulumi.String("string"),
    	Updated:                 pulumi.String("string"),
    	UserProject:             pulumi.String("string"),
    })
    
    var bucketObjectResource = new BucketObject("bucketObjectResource", BucketObjectArgs.builder()
        .bucket("string")
        .kind("string")
        .crc32c("string")
        .mediaLink("string")
        .contentDisposition("string")
        .contentEncoding("string")
        .contentLanguage("string")
        .contentType("string")
        .md5Hash("string")
        .customTime("string")
        .customerEncryption(BucketObjectCustomerEncryptionArgs.builder()
            .encryptionAlgorithm("string")
            .keySha256("string")
            .build())
        .etag("string")
        .eventBasedHold(false)
        .kmsKeyName("string")
        .hardDeleteTime("string")
        .id("string")
        .ifGenerationMatch("string")
        .ifGenerationNotMatch("string")
        .ifMetagenerationMatch("string")
        .ifMetagenerationNotMatch("string")
        .acl(ObjectAccessControlArgs.builder()
            .bucket("string")
            .domain("string")
            .email("string")
            .entity("string")
            .entityId("string")
            .etag("string")
            .generation("string")
            .id("string")
            .kind("string")
            .object("string")
            .projectTeam(ObjectAccessControlProjectTeamArgs.builder()
                .projectNumber("string")
                .team("string")
                .build())
            .role("string")
            .selfLink("string")
            .build())
        .generation("string")
        .cacheControl("string")
        .componentCount(0)
        .metadata(Map.of("string", "string"))
        .metageneration("string")
        .name("string")
        .owner(BucketObjectOwnerArgs.builder()
            .entity("string")
            .entityId("string")
            .build())
        .predefinedAcl("string")
        .projection("string")
        .retention(BucketObjectRetentionArgs.builder()
            .mode("string")
            .retainUntilTime("string")
            .build())
        .retentionExpirationTime("string")
        .selfLink("string")
        .size("string")
        .softDeleteTime("string")
        .source(new StringAsset("content"))
        .storageClass("string")
        .temporaryHold(false)
        .timeCreated("string")
        .timeDeleted("string")
        .timeStorageClassUpdated("string")
        .updated("string")
        .userProject("string")
        .build());
    
    bucket_object_resource = google_native.storage.v1.BucketObject("bucketObjectResource",
        bucket="string",
        kind="string",
        crc32c="string",
        media_link="string",
        content_disposition="string",
        content_encoding="string",
        content_language="string",
        content_type="string",
        md5_hash="string",
        custom_time="string",
        customer_encryption=google_native.storage.v1.BucketObjectCustomerEncryptionArgs(
            encryption_algorithm="string",
            key_sha256="string",
        ),
        etag="string",
        event_based_hold=False,
        kms_key_name="string",
        hard_delete_time="string",
        id="string",
        if_generation_match="string",
        if_generation_not_match="string",
        if_metageneration_match="string",
        if_metageneration_not_match="string",
        acl=[google_native.storage.v1.ObjectAccessControlArgs(
            bucket="string",
            domain="string",
            email="string",
            entity="string",
            entity_id="string",
            etag="string",
            generation="string",
            id="string",
            kind="string",
            object="string",
            project_team=google_native.storage.v1.ObjectAccessControlProjectTeamArgs(
                project_number="string",
                team="string",
            ),
            role="string",
            self_link="string",
        )],
        generation="string",
        cache_control="string",
        component_count=0,
        metadata={
            "string": "string",
        },
        metageneration="string",
        name="string",
        owner=google_native.storage.v1.BucketObjectOwnerArgs(
            entity="string",
            entity_id="string",
        ),
        predefined_acl="string",
        projection="string",
        retention=google_native.storage.v1.BucketObjectRetentionArgs(
            mode="string",
            retain_until_time="string",
        ),
        retention_expiration_time="string",
        self_link="string",
        size="string",
        soft_delete_time="string",
        source=pulumi.StringAsset("content"),
        storage_class="string",
        temporary_hold=False,
        time_created="string",
        time_deleted="string",
        time_storage_class_updated="string",
        updated="string",
        user_project="string")
    
    const bucketObjectResource = new google_native.storage.v1.BucketObject("bucketObjectResource", {
        bucket: "string",
        kind: "string",
        crc32c: "string",
        mediaLink: "string",
        contentDisposition: "string",
        contentEncoding: "string",
        contentLanguage: "string",
        contentType: "string",
        md5Hash: "string",
        customTime: "string",
        customerEncryption: {
            encryptionAlgorithm: "string",
            keySha256: "string",
        },
        etag: "string",
        eventBasedHold: false,
        kmsKeyName: "string",
        hardDeleteTime: "string",
        id: "string",
        ifGenerationMatch: "string",
        ifGenerationNotMatch: "string",
        ifMetagenerationMatch: "string",
        ifMetagenerationNotMatch: "string",
        acl: [{
            bucket: "string",
            domain: "string",
            email: "string",
            entity: "string",
            entityId: "string",
            etag: "string",
            generation: "string",
            id: "string",
            kind: "string",
            object: "string",
            projectTeam: {
                projectNumber: "string",
                team: "string",
            },
            role: "string",
            selfLink: "string",
        }],
        generation: "string",
        cacheControl: "string",
        componentCount: 0,
        metadata: {
            string: "string",
        },
        metageneration: "string",
        name: "string",
        owner: {
            entity: "string",
            entityId: "string",
        },
        predefinedAcl: "string",
        projection: "string",
        retention: {
            mode: "string",
            retainUntilTime: "string",
        },
        retentionExpirationTime: "string",
        selfLink: "string",
        size: "string",
        softDeleteTime: "string",
        source: new pulumi.asset.StringAsset("content"),
        storageClass: "string",
        temporaryHold: false,
        timeCreated: "string",
        timeDeleted: "string",
        timeStorageClassUpdated: "string",
        updated: "string",
        userProject: "string",
    });
    
    type: google-native:storage/v1:BucketObject
    properties:
        acl:
            - bucket: string
              domain: string
              email: string
              entity: string
              entityId: string
              etag: string
              generation: string
              id: string
              kind: string
              object: string
              projectTeam:
                projectNumber: string
                team: string
              role: string
              selfLink: string
        bucket: string
        cacheControl: string
        componentCount: 0
        contentDisposition: string
        contentEncoding: string
        contentLanguage: string
        contentType: string
        crc32c: string
        customTime: string
        customerEncryption:
            encryptionAlgorithm: string
            keySha256: string
        etag: string
        eventBasedHold: false
        generation: string
        hardDeleteTime: string
        id: string
        ifGenerationMatch: string
        ifGenerationNotMatch: string
        ifMetagenerationMatch: string
        ifMetagenerationNotMatch: string
        kind: string
        kmsKeyName: string
        md5Hash: string
        mediaLink: string
        metadata:
            string: string
        metageneration: string
        name: string
        owner:
            entity: string
            entityId: string
        predefinedAcl: string
        projection: string
        retention:
            mode: string
            retainUntilTime: string
        retentionExpirationTime: string
        selfLink: string
        size: string
        softDeleteTime: string
        source:
            fn::StringAsset: content
        storageClass: string
        temporaryHold: false
        timeCreated: string
        timeDeleted: string
        timeStorageClassUpdated: string
        updated: string
        userProject: string
    

    BucketObject 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 BucketObject resource accepts the following input properties:

    Bucket string
    The name of the bucket containing this object.
    Acl List<Pulumi.GoogleNative.Storage.V1.Inputs.ObjectAccessControl>
    Access controls on the object.
    CacheControl string
    Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.
    ComponentCount int
    Number of underlying components that make up this object. Components are accumulated by compose operations.
    ContentDisposition string
    Content-Disposition of the object data.
    ContentEncoding string
    Content-Encoding of the object data.
    ContentLanguage string
    Content-Language of the object data.
    ContentType string
    Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
    Crc32c string
    CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
    CustomTime string
    A timestamp in RFC 3339 format specified by the user for an object.
    CustomerEncryption Pulumi.GoogleNative.Storage.V1.Inputs.BucketObjectCustomerEncryption
    Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
    Etag string
    HTTP 1.1 Entity tag for the object.
    EventBasedHold bool
    Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). 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 the 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.
    Generation string
    The content generation of this object. Used for object versioning.
    HardDeleteTime string
    This is the time (in the future) when the soft-deleted object will no longer be restorable. It is equal to the soft delete time plus the current soft delete retention duration of the bucket.
    Id string
    The ID of the object, including the bucket name, object name, and generation number.
    IfGenerationMatch string
    Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
    IfGenerationNotMatch string
    Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
    IfMetagenerationMatch string
    Makes the operation conditional on whether the object's current metageneration matches the given value.
    IfMetagenerationNotMatch string
    Makes the operation conditional on whether the object's current metageneration does not match the given value.
    Kind string
    The kind of item this is. For objects, this is always storage#object.
    KmsKeyName string
    Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
    Md5Hash string
    MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
    MediaLink string
    Media download link.
    Metadata Dictionary<string, string>
    User-provided metadata, in key/value pairs.
    Metageneration string
    The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
    Name string
    The name of the object. Required if not specified by URL parameter.
    Owner Pulumi.GoogleNative.Storage.V1.Inputs.BucketObjectOwner
    The owner of the object. This will always be the uploader of the object.
    PredefinedAcl string
    Apply a predefined set of access controls to this object.
    Projection string
    Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
    Retention Pulumi.GoogleNative.Storage.V1.Inputs.BucketObjectRetention
    A collection of object level retention parameters.
    RetentionExpirationTime string
    A server-determined value that specifies the earliest time that the object's retention period expires. This value is in RFC 3339 format. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
    SelfLink string
    The link to this object.
    Size string
    Content-Length of the data in bytes.
    SoftDeleteTime string
    The time at which the object became soft-deleted in RFC 3339 format.
    Source AssetOrArchive
    StorageClass string
    Storage class of the object.
    TemporaryHold bool
    Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
    TimeCreated string
    The creation time of the object in RFC 3339 format.
    TimeDeleted string
    The time at which the object became noncurrent in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
    TimeStorageClassUpdated string
    The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
    Updated string
    The modification time of the object metadata in RFC 3339 format. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
    UserProject string
    The project to be billed for this request. Required for Requester Pays buckets.
    Bucket string
    The name of the bucket containing this object.
    Acl []ObjectAccessControlTypeArgs
    Access controls on the object.
    CacheControl string
    Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.
    ComponentCount int
    Number of underlying components that make up this object. Components are accumulated by compose operations.
    ContentDisposition string
    Content-Disposition of the object data.
    ContentEncoding string
    Content-Encoding of the object data.
    ContentLanguage string
    Content-Language of the object data.
    ContentType string
    Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
    Crc32c string
    CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
    CustomTime string
    A timestamp in RFC 3339 format specified by the user for an object.
    CustomerEncryption BucketObjectCustomerEncryptionArgs
    Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
    Etag string
    HTTP 1.1 Entity tag for the object.
    EventBasedHold bool
    Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). 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 the 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.
    Generation string
    The content generation of this object. Used for object versioning.
    HardDeleteTime string
    This is the time (in the future) when the soft-deleted object will no longer be restorable. It is equal to the soft delete time plus the current soft delete retention duration of the bucket.
    Id string
    The ID of the object, including the bucket name, object name, and generation number.
    IfGenerationMatch string
    Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
    IfGenerationNotMatch string
    Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
    IfMetagenerationMatch string
    Makes the operation conditional on whether the object's current metageneration matches the given value.
    IfMetagenerationNotMatch string
    Makes the operation conditional on whether the object's current metageneration does not match the given value.
    Kind string
    The kind of item this is. For objects, this is always storage#object.
    KmsKeyName string
    Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
    Md5Hash string
    MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
    MediaLink string
    Media download link.
    Metadata map[string]string
    User-provided metadata, in key/value pairs.
    Metageneration string
    The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
    Name string
    The name of the object. Required if not specified by URL parameter.
    Owner BucketObjectOwnerArgs
    The owner of the object. This will always be the uploader of the object.
    PredefinedAcl string
    Apply a predefined set of access controls to this object.
    Projection string
    Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
    Retention BucketObjectRetentionArgs
    A collection of object level retention parameters.
    RetentionExpirationTime string
    A server-determined value that specifies the earliest time that the object's retention period expires. This value is in RFC 3339 format. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
    SelfLink string
    The link to this object.
    Size string
    Content-Length of the data in bytes.
    SoftDeleteTime string
    The time at which the object became soft-deleted in RFC 3339 format.
    Source pulumi.AssetOrArchive
    StorageClass string
    Storage class of the object.
    TemporaryHold bool
    Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
    TimeCreated string
    The creation time of the object in RFC 3339 format.
    TimeDeleted string
    The time at which the object became noncurrent in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
    TimeStorageClassUpdated string
    The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
    Updated string
    The modification time of the object metadata in RFC 3339 format. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
    UserProject string
    The project to be billed for this request. Required for Requester Pays buckets.
    bucket String
    The name of the bucket containing this object.
    acl List<ObjectAccessControl>
    Access controls on the object.
    cacheControl String
    Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.
    componentCount Integer
    Number of underlying components that make up this object. Components are accumulated by compose operations.
    contentDisposition String
    Content-Disposition of the object data.
    contentEncoding String
    Content-Encoding of the object data.
    contentLanguage String
    Content-Language of the object data.
    contentType String
    Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
    crc32c String
    CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
    customTime String
    A timestamp in RFC 3339 format specified by the user for an object.
    customerEncryption BucketObjectCustomerEncryption
    Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
    etag String
    HTTP 1.1 Entity tag for the object.
    eventBasedHold Boolean
    Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). 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 the 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.
    generation String
    The content generation of this object. Used for object versioning.
    hardDeleteTime String
    This is the time (in the future) when the soft-deleted object will no longer be restorable. It is equal to the soft delete time plus the current soft delete retention duration of the bucket.
    id String
    The ID of the object, including the bucket name, object name, and generation number.
    ifGenerationMatch String
    Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
    ifGenerationNotMatch String
    Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
    ifMetagenerationMatch String
    Makes the operation conditional on whether the object's current metageneration matches the given value.
    ifMetagenerationNotMatch String
    Makes the operation conditional on whether the object's current metageneration does not match the given value.
    kind String
    The kind of item this is. For objects, this is always storage#object.
    kmsKeyName String
    Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
    md5Hash String
    MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
    mediaLink String
    Media download link.
    metadata Map<String,String>
    User-provided metadata, in key/value pairs.
    metageneration String
    The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
    name String
    The name of the object. Required if not specified by URL parameter.
    owner BucketObjectOwner
    The owner of the object. This will always be the uploader of the object.
    predefinedAcl String
    Apply a predefined set of access controls to this object.
    projection String
    Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
    retention BucketObjectRetention
    A collection of object level retention parameters.
    retentionExpirationTime String
    A server-determined value that specifies the earliest time that the object's retention period expires. This value is in RFC 3339 format. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
    selfLink String
    The link to this object.
    size String
    Content-Length of the data in bytes.
    softDeleteTime String
    The time at which the object became soft-deleted in RFC 3339 format.
    source AssetOrArchive
    storageClass String
    Storage class of the object.
    temporaryHold Boolean
    Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
    timeCreated String
    The creation time of the object in RFC 3339 format.
    timeDeleted String
    The time at which the object became noncurrent in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
    timeStorageClassUpdated String
    The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
    updated String
    The modification time of the object metadata in RFC 3339 format. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
    userProject String
    The project to be billed for this request. Required for Requester Pays buckets.
    bucket string
    The name of the bucket containing this object.
    acl ObjectAccessControl[]
    Access controls on the object.
    cacheControl string
    Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.
    componentCount number
    Number of underlying components that make up this object. Components are accumulated by compose operations.
    contentDisposition string
    Content-Disposition of the object data.
    contentEncoding string
    Content-Encoding of the object data.
    contentLanguage string
    Content-Language of the object data.
    contentType string
    Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
    crc32c string
    CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
    customTime string
    A timestamp in RFC 3339 format specified by the user for an object.
    customerEncryption BucketObjectCustomerEncryption
    Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
    etag string
    HTTP 1.1 Entity tag for the object.
    eventBasedHold boolean
    Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). 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 the 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.
    generation string
    The content generation of this object. Used for object versioning.
    hardDeleteTime string
    This is the time (in the future) when the soft-deleted object will no longer be restorable. It is equal to the soft delete time plus the current soft delete retention duration of the bucket.
    id string
    The ID of the object, including the bucket name, object name, and generation number.
    ifGenerationMatch string
    Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
    ifGenerationNotMatch string
    Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
    ifMetagenerationMatch string
    Makes the operation conditional on whether the object's current metageneration matches the given value.
    ifMetagenerationNotMatch string
    Makes the operation conditional on whether the object's current metageneration does not match the given value.
    kind string
    The kind of item this is. For objects, this is always storage#object.
    kmsKeyName string
    Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
    md5Hash string
    MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
    mediaLink string
    Media download link.
    metadata {[key: string]: string}
    User-provided metadata, in key/value pairs.
    metageneration string
    The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
    name string
    The name of the object. Required if not specified by URL parameter.
    owner BucketObjectOwner
    The owner of the object. This will always be the uploader of the object.
    predefinedAcl string
    Apply a predefined set of access controls to this object.
    projection string
    Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
    retention BucketObjectRetention
    A collection of object level retention parameters.
    retentionExpirationTime string
    A server-determined value that specifies the earliest time that the object's retention period expires. This value is in RFC 3339 format. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
    selfLink string
    The link to this object.
    size string
    Content-Length of the data in bytes.
    softDeleteTime string
    The time at which the object became soft-deleted in RFC 3339 format.
    source pulumi.asset.Asset | pulumi.asset.Archive
    storageClass string
    Storage class of the object.
    temporaryHold boolean
    Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
    timeCreated string
    The creation time of the object in RFC 3339 format.
    timeDeleted string
    The time at which the object became noncurrent in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
    timeStorageClassUpdated string
    The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
    updated string
    The modification time of the object metadata in RFC 3339 format. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
    userProject string
    The project to be billed for this request. Required for Requester Pays buckets.
    bucket str
    The name of the bucket containing this object.
    acl Sequence[ObjectAccessControlArgs]
    Access controls on the object.
    cache_control str
    Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.
    component_count int
    Number of underlying components that make up this object. Components are accumulated by compose operations.
    content_disposition str
    Content-Disposition of the object data.
    content_encoding str
    Content-Encoding of the object data.
    content_language str
    Content-Language of the object data.
    content_type str
    Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
    crc32c str
    CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
    custom_time str
    A timestamp in RFC 3339 format specified by the user for an object.
    customer_encryption BucketObjectCustomerEncryptionArgs
    Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
    etag str
    HTTP 1.1 Entity tag for the object.
    event_based_hold bool
    Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). 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 the 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.
    generation str
    The content generation of this object. Used for object versioning.
    hard_delete_time str
    This is the time (in the future) when the soft-deleted object will no longer be restorable. It is equal to the soft delete time plus the current soft delete retention duration of the bucket.
    id str
    The ID of the object, including the bucket name, object name, and generation number.
    if_generation_match str
    Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
    if_generation_not_match str
    Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
    if_metageneration_match str
    Makes the operation conditional on whether the object's current metageneration matches the given value.
    if_metageneration_not_match str
    Makes the operation conditional on whether the object's current metageneration does not match the given value.
    kind str
    The kind of item this is. For objects, this is always storage#object.
    kms_key_name str
    Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
    md5_hash str
    MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
    media_link str
    Media download link.
    metadata Mapping[str, str]
    User-provided metadata, in key/value pairs.
    metageneration str
    The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
    name str
    The name of the object. Required if not specified by URL parameter.
    owner BucketObjectOwnerArgs
    The owner of the object. This will always be the uploader of the object.
    predefined_acl str
    Apply a predefined set of access controls to this object.
    projection str
    Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
    retention BucketObjectRetentionArgs
    A collection of object level retention parameters.
    retention_expiration_time str
    A server-determined value that specifies the earliest time that the object's retention period expires. This value is in RFC 3339 format. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
    self_link str
    The link to this object.
    size str
    Content-Length of the data in bytes.
    soft_delete_time str
    The time at which the object became soft-deleted in RFC 3339 format.
    source Union[pulumi.Asset, pulumi.Archive]
    storage_class str
    Storage class of the object.
    temporary_hold bool
    Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
    time_created str
    The creation time of the object in RFC 3339 format.
    time_deleted str
    The time at which the object became noncurrent in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
    time_storage_class_updated str
    The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
    updated str
    The modification time of the object metadata in RFC 3339 format. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
    user_project str
    The project to be billed for this request. Required for Requester Pays buckets.
    bucket String
    The name of the bucket containing this object.
    acl List<Property Map>
    Access controls on the object.
    cacheControl String
    Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.
    componentCount Number
    Number of underlying components that make up this object. Components are accumulated by compose operations.
    contentDisposition String
    Content-Disposition of the object data.
    contentEncoding String
    Content-Encoding of the object data.
    contentLanguage String
    Content-Language of the object data.
    contentType String
    Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
    crc32c String
    CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
    customTime String
    A timestamp in RFC 3339 format specified by the user for an object.
    customerEncryption Property Map
    Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
    etag String
    HTTP 1.1 Entity tag for the object.
    eventBasedHold Boolean
    Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). 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 the 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.
    generation String
    The content generation of this object. Used for object versioning.
    hardDeleteTime String
    This is the time (in the future) when the soft-deleted object will no longer be restorable. It is equal to the soft delete time plus the current soft delete retention duration of the bucket.
    id String
    The ID of the object, including the bucket name, object name, and generation number.
    ifGenerationMatch String
    Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
    ifGenerationNotMatch String
    Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
    ifMetagenerationMatch String
    Makes the operation conditional on whether the object's current metageneration matches the given value.
    ifMetagenerationNotMatch String
    Makes the operation conditional on whether the object's current metageneration does not match the given value.
    kind String
    The kind of item this is. For objects, this is always storage#object.
    kmsKeyName String
    Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
    md5Hash String
    MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
    mediaLink String
    Media download link.
    metadata Map<String>
    User-provided metadata, in key/value pairs.
    metageneration String
    The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
    name String
    The name of the object. Required if not specified by URL parameter.
    owner Property Map
    The owner of the object. This will always be the uploader of the object.
    predefinedAcl String
    Apply a predefined set of access controls to this object.
    projection String
    Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
    retention Property Map
    A collection of object level retention parameters.
    retentionExpirationTime String
    A server-determined value that specifies the earliest time that the object's retention period expires. This value is in RFC 3339 format. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
    selfLink String
    The link to this object.
    size String
    Content-Length of the data in bytes.
    softDeleteTime String
    The time at which the object became soft-deleted in RFC 3339 format.
    source Asset
    storageClass String
    Storage class of the object.
    temporaryHold Boolean
    Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
    timeCreated String
    The creation time of the object in RFC 3339 format.
    timeDeleted String
    The time at which the object became noncurrent in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
    timeStorageClassUpdated String
    The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
    updated String
    The modification time of the object metadata in RFC 3339 format. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
    userProject String
    The project to be billed for this request. Required for Requester Pays buckets.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BucketObject 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

    BucketObjectCustomerEncryption, BucketObjectCustomerEncryptionArgs

    EncryptionAlgorithm string
    The encryption algorithm.
    KeySha256 string
    SHA256 hash value of the encryption key.
    EncryptionAlgorithm string
    The encryption algorithm.
    KeySha256 string
    SHA256 hash value of the encryption key.
    encryptionAlgorithm String
    The encryption algorithm.
    keySha256 String
    SHA256 hash value of the encryption key.
    encryptionAlgorithm string
    The encryption algorithm.
    keySha256 string
    SHA256 hash value of the encryption key.
    encryption_algorithm str
    The encryption algorithm.
    key_sha256 str
    SHA256 hash value of the encryption key.
    encryptionAlgorithm String
    The encryption algorithm.
    keySha256 String
    SHA256 hash value of the encryption key.

    BucketObjectCustomerEncryptionResponse, BucketObjectCustomerEncryptionResponseArgs

    EncryptionAlgorithm string
    The encryption algorithm.
    KeySha256 string
    SHA256 hash value of the encryption key.
    EncryptionAlgorithm string
    The encryption algorithm.
    KeySha256 string
    SHA256 hash value of the encryption key.
    encryptionAlgorithm String
    The encryption algorithm.
    keySha256 String
    SHA256 hash value of the encryption key.
    encryptionAlgorithm string
    The encryption algorithm.
    keySha256 string
    SHA256 hash value of the encryption key.
    encryption_algorithm str
    The encryption algorithm.
    key_sha256 str
    SHA256 hash value of the encryption key.
    encryptionAlgorithm String
    The encryption algorithm.
    keySha256 String
    SHA256 hash value of the encryption key.

    BucketObjectOwner, BucketObjectOwnerArgs

    Entity string
    The entity, in the form user-userId.
    EntityId string
    The ID for the entity.
    Entity string
    The entity, in the form user-userId.
    EntityId string
    The ID for the entity.
    entity String
    The entity, in the form user-userId.
    entityId String
    The ID for the entity.
    entity string
    The entity, in the form user-userId.
    entityId string
    The ID for the entity.
    entity str
    The entity, in the form user-userId.
    entity_id str
    The ID for the entity.
    entity String
    The entity, in the form user-userId.
    entityId String
    The ID for the entity.

    BucketObjectOwnerResponse, BucketObjectOwnerResponseArgs

    Entity string
    The entity, in the form user-userId.
    EntityId string
    The ID for the entity.
    Entity string
    The entity, in the form user-userId.
    EntityId string
    The ID for the entity.
    entity String
    The entity, in the form user-userId.
    entityId String
    The ID for the entity.
    entity string
    The entity, in the form user-userId.
    entityId string
    The ID for the entity.
    entity str
    The entity, in the form user-userId.
    entity_id str
    The ID for the entity.
    entity String
    The entity, in the form user-userId.
    entityId String
    The ID for the entity.

    BucketObjectRetention, BucketObjectRetentionArgs

    Mode string
    The bucket's object retention mode, can only be Unlocked or Locked.
    RetainUntilTime string
    A time in RFC 3339 format until which object retention protects this object.
    Mode string
    The bucket's object retention mode, can only be Unlocked or Locked.
    RetainUntilTime string
    A time in RFC 3339 format until which object retention protects this object.
    mode String
    The bucket's object retention mode, can only be Unlocked or Locked.
    retainUntilTime String
    A time in RFC 3339 format until which object retention protects this object.
    mode string
    The bucket's object retention mode, can only be Unlocked or Locked.
    retainUntilTime string
    A time in RFC 3339 format until which object retention protects this object.
    mode str
    The bucket's object retention mode, can only be Unlocked or Locked.
    retain_until_time str
    A time in RFC 3339 format until which object retention protects this object.
    mode String
    The bucket's object retention mode, can only be Unlocked or Locked.
    retainUntilTime String
    A time in RFC 3339 format until which object retention protects this object.

    BucketObjectRetentionResponse, BucketObjectRetentionResponseArgs

    Mode string
    The bucket's object retention mode, can only be Unlocked or Locked.
    RetainUntilTime string
    A time in RFC 3339 format until which object retention protects this object.
    Mode string
    The bucket's object retention mode, can only be Unlocked or Locked.
    RetainUntilTime string
    A time in RFC 3339 format until which object retention protects this object.
    mode String
    The bucket's object retention mode, can only be Unlocked or Locked.
    retainUntilTime String
    A time in RFC 3339 format until which object retention protects this object.
    mode string
    The bucket's object retention mode, can only be Unlocked or Locked.
    retainUntilTime string
    A time in RFC 3339 format until which object retention protects this object.
    mode str
    The bucket's object retention mode, can only be Unlocked or Locked.
    retain_until_time str
    A time in RFC 3339 format until which object retention protects this object.
    mode String
    The bucket's object retention mode, can only be Unlocked or Locked.
    retainUntilTime String
    A time in RFC 3339 format until which object retention protects this object.

    ObjectAccessControl, ObjectAccessControlArgs

    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, ObjectAccessControlProjectTeamArgs

    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, ObjectAccessControlProjectTeamResponseArgs

    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, ObjectAccessControlResponseArgs

    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
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi