v1

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	pulumi.CustomResourceState

	// Access controls on the bucket.
	Acl BucketAccessControlResponseArrayOutput `pulumi:"acl"`
	// The bucket's Autoclass configuration.
	Autoclass BucketAutoclassResponseOutput `pulumi:"autoclass"`
	// The bucket's billing configuration.
	Billing BucketBillingResponseOutput `pulumi:"billing"`
	// The bucket's Cross-Origin Resource Sharing (CORS) configuration.
	Cors BucketCorsItemResponseArrayOutput `pulumi:"cors"`
	// The bucket's custom placement configuration for Custom Dual Regions.
	CustomPlacementConfig BucketCustomPlacementConfigResponseOutput `pulumi:"customPlacementConfig"`
	// 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.
	DefaultEventBasedHold pulumi.BoolOutput `pulumi:"defaultEventBasedHold"`
	// Default access controls to apply to new objects when no ACL is provided.
	DefaultObjectAcl ObjectAccessControlResponseArrayOutput `pulumi:"defaultObjectAcl"`
	// When set to true, object retention is enabled for this bucket.
	EnableObjectRetention pulumi.BoolPtrOutput `pulumi:"enableObjectRetention"`
	// Encryption configuration for a bucket.
	Encryption BucketEncryptionResponseOutput `pulumi:"encryption"`
	// HTTP 1.1 Entity tag for the bucket.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The bucket's IAM configuration.
	IamConfiguration BucketIamConfigurationResponseOutput `pulumi:"iamConfiguration"`
	// The kind of item this is. For buckets, this is always storage#bucket.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// User-provided labels, in key/value pairs.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The bucket's lifecycle configuration. See lifecycle management for more information.
	Lifecycle BucketLifecycleResponseOutput `pulumi:"lifecycle"`
	// 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 pulumi.StringOutput `pulumi:"location"`
	// The type of the bucket location.
	LocationType pulumi.StringOutput `pulumi:"locationType"`
	// The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
	Logging BucketLoggingResponseOutput `pulumi:"logging"`
	// The metadata generation of this bucket.
	Metageneration pulumi.StringOutput `pulumi:"metageneration"`
	// The name of the bucket.
	Name pulumi.StringOutput `pulumi:"name"`
	// The bucket's object retention config.
	ObjectRetention BucketObjectRetentionResponseOutput `pulumi:"objectRetention"`
	// The owner of the bucket. This is always the project team's owner group.
	Owner BucketOwnerResponseOutput `pulumi:"owner"`
	// Apply a predefined set of access controls to this bucket.
	PredefinedAcl pulumi.StringPtrOutput `pulumi:"predefinedAcl"`
	// Apply a predefined set of default object access controls to this bucket.
	PredefinedDefaultObjectAcl pulumi.StringPtrOutput `pulumi:"predefinedDefaultObjectAcl"`
	// A valid API project identifier.
	Project pulumi.StringOutput `pulumi:"project"`
	// The project number of the project the bucket belongs to.
	ProjectNumber pulumi.StringOutput `pulumi:"projectNumber"`
	// Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.
	Projection pulumi.StringPtrOutput `pulumi:"projection"`
	// 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.
	RetentionPolicy BucketRetentionPolicyResponseOutput `pulumi:"retentionPolicy"`
	// The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.
	Rpo pulumi.StringOutput `pulumi:"rpo"`
	// Reserved for future use.
	SatisfiesPZS pulumi.BoolOutput `pulumi:"satisfiesPZS"`
	// The URI of this bucket.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.
	SoftDeletePolicy BucketSoftDeletePolicyResponseOutput `pulumi:"softDeletePolicy"`
	// 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.
	StorageClass pulumi.StringOutput `pulumi:"storageClass"`
	// The creation time of the bucket in RFC 3339 format.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The modification time of the bucket in RFC 3339 format.
	Updated pulumi.StringOutput `pulumi:"updated"`
	// The project to be billed for this request.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
	// The bucket's versioning configuration.
	Versioning BucketVersioningResponseOutput `pulumi:"versioning"`
	// 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.
	Website BucketWebsiteResponseOutput `pulumi:"website"`
}

Creates a new bucket.

func GetBucket

func GetBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketState, opts ...pulumi.ResourceOption) (*Bucket, error)

GetBucket gets an existing Bucket resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucket

func NewBucket(ctx *pulumi.Context,
	name string, args *BucketArgs, opts ...pulumi.ResourceOption) (*Bucket, error)

NewBucket registers a new resource with the given unique name, arguments, and options.

func (*Bucket) ElementType

func (*Bucket) ElementType() reflect.Type

func (*Bucket) ToBucketOutput

func (i *Bucket) ToBucketOutput() BucketOutput

func (*Bucket) ToBucketOutputWithContext

func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput

type BucketAccessControl

type BucketAccessControl struct {
	pulumi.CustomResourceState

	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email pulumi.StringOutput `pulumi:"email"`
	// 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 pulumi.StringOutput `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId pulumi.StringOutput `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The project team associated with the entity, if any.
	ProjectTeam BucketAccessControlProjectTeamResponseOutput `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role pulumi.StringOutput `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
}

Creates a new ACL entry on the specified bucket. Auto-naming is currently not supported for this resource.

func GetBucketAccessControl

func GetBucketAccessControl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketAccessControlState, opts ...pulumi.ResourceOption) (*BucketAccessControl, error)

GetBucketAccessControl gets an existing BucketAccessControl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucketAccessControl

func NewBucketAccessControl(ctx *pulumi.Context,
	name string, args *BucketAccessControlArgs, opts ...pulumi.ResourceOption) (*BucketAccessControl, error)

NewBucketAccessControl registers a new resource with the given unique name, arguments, and options.

func (*BucketAccessControl) ElementType

func (*BucketAccessControl) ElementType() reflect.Type

func (*BucketAccessControl) ToBucketAccessControlOutput

func (i *BucketAccessControl) ToBucketAccessControlOutput() BucketAccessControlOutput

func (*BucketAccessControl) ToBucketAccessControlOutputWithContext

func (i *BucketAccessControl) ToBucketAccessControlOutputWithContext(ctx context.Context) BucketAccessControlOutput

type BucketAccessControlArgs

type BucketAccessControlArgs struct {
	// The name of the bucket.
	Bucket pulumi.StringInput
	// The domain associated with the entity, if any.
	Domain pulumi.StringPtrInput
	// The email address associated with the entity, if any.
	Email pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// The ID for the entity, if any.
	EntityId pulumi.StringPtrInput
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag pulumi.StringPtrInput
	// The ID of the access-control entry.
	Id pulumi.StringPtrInput
	// The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
	Kind pulumi.StringPtrInput
	// The project team associated with the entity, if any.
	ProjectTeam BucketAccessControlProjectTeamPtrInput
	// The access permission for the entity.
	Role pulumi.StringPtrInput
	// The link to this access-control entry.
	SelfLink pulumi.StringPtrInput
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrInput
}

The set of arguments for constructing a BucketAccessControl resource.

func (BucketAccessControlArgs) ElementType

func (BucketAccessControlArgs) ElementType() reflect.Type

type BucketAccessControlInput

type BucketAccessControlInput interface {
	pulumi.Input

	ToBucketAccessControlOutput() BucketAccessControlOutput
	ToBucketAccessControlOutputWithContext(ctx context.Context) BucketAccessControlOutput
}

type BucketAccessControlOutput

type BucketAccessControlOutput struct{ *pulumi.OutputState }

func (BucketAccessControlOutput) Bucket added in v0.19.0

func (BucketAccessControlOutput) Domain added in v0.19.0

The domain associated with the entity, if any.

func (BucketAccessControlOutput) ElementType

func (BucketAccessControlOutput) ElementType() reflect.Type

func (BucketAccessControlOutput) Email added in v0.19.0

The email address associated with the entity, if any.

func (BucketAccessControlOutput) Entity added in v0.19.0

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.

func (BucketAccessControlOutput) EntityId added in v0.19.0

The ID for the entity, if any.

func (BucketAccessControlOutput) Etag added in v0.19.0

HTTP 1.1 Entity tag for the access-control entry.

func (BucketAccessControlOutput) Kind added in v0.19.0

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

func (BucketAccessControlOutput) ProjectTeam added in v0.19.0

The project team associated with the entity, if any.

func (BucketAccessControlOutput) Role added in v0.19.0

The access permission for the entity.

The link to this access-control entry.

func (BucketAccessControlOutput) ToBucketAccessControlOutput

func (o BucketAccessControlOutput) ToBucketAccessControlOutput() BucketAccessControlOutput

func (BucketAccessControlOutput) ToBucketAccessControlOutputWithContext

func (o BucketAccessControlOutput) ToBucketAccessControlOutputWithContext(ctx context.Context) BucketAccessControlOutput

func (BucketAccessControlOutput) UserProject added in v0.21.0

The project to be billed for this request. Required for Requester Pays buckets.

type BucketAccessControlProjectTeam

type BucketAccessControlProjectTeam struct {
	// The project number.
	ProjectNumber *string `pulumi:"projectNumber"`
	// The team.
	Team *string `pulumi:"team"`
}

The project team associated with the entity, if any.

type BucketAccessControlProjectTeamArgs

type BucketAccessControlProjectTeamArgs struct {
	// The project number.
	ProjectNumber pulumi.StringPtrInput `pulumi:"projectNumber"`
	// The team.
	Team pulumi.StringPtrInput `pulumi:"team"`
}

The project team associated with the entity, if any.

func (BucketAccessControlProjectTeamArgs) ElementType

func (BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamOutput

func (i BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamOutput() BucketAccessControlProjectTeamOutput

func (BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamOutputWithContext

func (i BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamOutputWithContext(ctx context.Context) BucketAccessControlProjectTeamOutput

func (BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamPtrOutput

func (i BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamPtrOutput() BucketAccessControlProjectTeamPtrOutput

func (BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamPtrOutputWithContext

func (i BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) BucketAccessControlProjectTeamPtrOutput

type BucketAccessControlProjectTeamInput

type BucketAccessControlProjectTeamInput interface {
	pulumi.Input

	ToBucketAccessControlProjectTeamOutput() BucketAccessControlProjectTeamOutput
	ToBucketAccessControlProjectTeamOutputWithContext(context.Context) BucketAccessControlProjectTeamOutput
}

BucketAccessControlProjectTeamInput is an input type that accepts BucketAccessControlProjectTeamArgs and BucketAccessControlProjectTeamOutput values. You can construct a concrete instance of `BucketAccessControlProjectTeamInput` via:

BucketAccessControlProjectTeamArgs{...}

type BucketAccessControlProjectTeamOutput

type BucketAccessControlProjectTeamOutput struct{ *pulumi.OutputState }

The project team associated with the entity, if any.

func (BucketAccessControlProjectTeamOutput) ElementType

func (BucketAccessControlProjectTeamOutput) ProjectNumber

The project number.

func (BucketAccessControlProjectTeamOutput) Team

The team.

func (BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamOutput

func (o BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamOutput() BucketAccessControlProjectTeamOutput

func (BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamOutputWithContext

func (o BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamOutputWithContext(ctx context.Context) BucketAccessControlProjectTeamOutput

func (BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamPtrOutput

func (o BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamPtrOutput() BucketAccessControlProjectTeamPtrOutput

func (BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamPtrOutputWithContext

func (o BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) BucketAccessControlProjectTeamPtrOutput

type BucketAccessControlProjectTeamPtrInput

type BucketAccessControlProjectTeamPtrInput interface {
	pulumi.Input

	ToBucketAccessControlProjectTeamPtrOutput() BucketAccessControlProjectTeamPtrOutput
	ToBucketAccessControlProjectTeamPtrOutputWithContext(context.Context) BucketAccessControlProjectTeamPtrOutput
}

BucketAccessControlProjectTeamPtrInput is an input type that accepts BucketAccessControlProjectTeamArgs, BucketAccessControlProjectTeamPtr and BucketAccessControlProjectTeamPtrOutput values. You can construct a concrete instance of `BucketAccessControlProjectTeamPtrInput` via:

        BucketAccessControlProjectTeamArgs{...}

or:

        nil

type BucketAccessControlProjectTeamPtrOutput

type BucketAccessControlProjectTeamPtrOutput struct{ *pulumi.OutputState }

func (BucketAccessControlProjectTeamPtrOutput) Elem

func (BucketAccessControlProjectTeamPtrOutput) ElementType

func (BucketAccessControlProjectTeamPtrOutput) ProjectNumber

The project number.

func (BucketAccessControlProjectTeamPtrOutput) Team

The team.

func (BucketAccessControlProjectTeamPtrOutput) ToBucketAccessControlProjectTeamPtrOutput

func (o BucketAccessControlProjectTeamPtrOutput) ToBucketAccessControlProjectTeamPtrOutput() BucketAccessControlProjectTeamPtrOutput

func (BucketAccessControlProjectTeamPtrOutput) ToBucketAccessControlProjectTeamPtrOutputWithContext

func (o BucketAccessControlProjectTeamPtrOutput) ToBucketAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) BucketAccessControlProjectTeamPtrOutput

type BucketAccessControlProjectTeamResponse

type BucketAccessControlProjectTeamResponse struct {
	// The project number.
	ProjectNumber string `pulumi:"projectNumber"`
	// The team.
	Team string `pulumi:"team"`
}

The project team associated with the entity, if any.

type BucketAccessControlProjectTeamResponseOutput

type BucketAccessControlProjectTeamResponseOutput struct{ *pulumi.OutputState }

The project team associated with the entity, if any.

func (BucketAccessControlProjectTeamResponseOutput) ElementType

func (BucketAccessControlProjectTeamResponseOutput) ProjectNumber

The project number.

func (BucketAccessControlProjectTeamResponseOutput) Team

The team.

func (BucketAccessControlProjectTeamResponseOutput) ToBucketAccessControlProjectTeamResponseOutput

func (o BucketAccessControlProjectTeamResponseOutput) ToBucketAccessControlProjectTeamResponseOutput() BucketAccessControlProjectTeamResponseOutput

func (BucketAccessControlProjectTeamResponseOutput) ToBucketAccessControlProjectTeamResponseOutputWithContext

func (o BucketAccessControlProjectTeamResponseOutput) ToBucketAccessControlProjectTeamResponseOutputWithContext(ctx context.Context) BucketAccessControlProjectTeamResponseOutput

type BucketAccessControlResponse

type BucketAccessControlResponse struct {
	// The name of the bucket.
	Bucket string `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain string `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email string `pulumi:"email"`
	// 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 string `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId string `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag string `pulumi:"etag"`
	// The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
	Kind string `pulumi:"kind"`
	// The project team associated with the entity, if any.
	ProjectTeam BucketAccessControlProjectTeamResponse `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role string `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink string `pulumi:"selfLink"`
}

An access-control entry.

type BucketAccessControlResponseArrayOutput

type BucketAccessControlResponseArrayOutput struct{ *pulumi.OutputState }

func (BucketAccessControlResponseArrayOutput) ElementType

func (BucketAccessControlResponseArrayOutput) Index

func (BucketAccessControlResponseArrayOutput) ToBucketAccessControlResponseArrayOutput

func (o BucketAccessControlResponseArrayOutput) ToBucketAccessControlResponseArrayOutput() BucketAccessControlResponseArrayOutput

func (BucketAccessControlResponseArrayOutput) ToBucketAccessControlResponseArrayOutputWithContext

func (o BucketAccessControlResponseArrayOutput) ToBucketAccessControlResponseArrayOutputWithContext(ctx context.Context) BucketAccessControlResponseArrayOutput

type BucketAccessControlResponseOutput

type BucketAccessControlResponseOutput struct{ *pulumi.OutputState }

An access-control entry.

func (BucketAccessControlResponseOutput) Bucket

The name of the bucket.

func (BucketAccessControlResponseOutput) Domain

The domain associated with the entity, if any.

func (BucketAccessControlResponseOutput) ElementType

func (BucketAccessControlResponseOutput) Email

The email address associated with the entity, if any.

func (BucketAccessControlResponseOutput) Entity

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.

func (BucketAccessControlResponseOutput) EntityId

The ID for the entity, if any.

func (BucketAccessControlResponseOutput) Etag

HTTP 1.1 Entity tag for the access-control entry.

func (BucketAccessControlResponseOutput) Kind

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

func (BucketAccessControlResponseOutput) ProjectTeam

The project team associated with the entity, if any.

func (BucketAccessControlResponseOutput) Role

The access permission for the entity.

The link to this access-control entry.

func (BucketAccessControlResponseOutput) ToBucketAccessControlResponseOutput

func (o BucketAccessControlResponseOutput) ToBucketAccessControlResponseOutput() BucketAccessControlResponseOutput

func (BucketAccessControlResponseOutput) ToBucketAccessControlResponseOutputWithContext

func (o BucketAccessControlResponseOutput) ToBucketAccessControlResponseOutputWithContext(ctx context.Context) BucketAccessControlResponseOutput

type BucketAccessControlState

type BucketAccessControlState struct {
}

func (BucketAccessControlState) ElementType

func (BucketAccessControlState) ElementType() reflect.Type

type BucketAccessControlType

type BucketAccessControlType struct {
	// The name of the bucket.
	Bucket *string `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain *string `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email *string `pulumi:"email"`
	// 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 *string `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId *string `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag *string `pulumi:"etag"`
	// The ID of the access-control entry.
	Id *string `pulumi:"id"`
	// The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
	Kind *string `pulumi:"kind"`
	// The project team associated with the entity, if any.
	ProjectTeam *BucketAccessControlProjectTeam `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role *string `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink *string `pulumi:"selfLink"`
}

An access-control entry.

type BucketAccessControlTypeArgs

type BucketAccessControlTypeArgs struct {
	// The name of the bucket.
	Bucket pulumi.StringPtrInput `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email pulumi.StringPtrInput `pulumi:"email"`
	// 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 pulumi.StringPtrInput `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId pulumi.StringPtrInput `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag pulumi.StringPtrInput `pulumi:"etag"`
	// The ID of the access-control entry.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// The project team associated with the entity, if any.
	ProjectTeam BucketAccessControlProjectTeamPtrInput `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role pulumi.StringPtrInput `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink pulumi.StringPtrInput `pulumi:"selfLink"`
}

An access-control entry.

func (BucketAccessControlTypeArgs) ElementType

func (BucketAccessControlTypeArgs) ToBucketAccessControlTypeOutput

func (i BucketAccessControlTypeArgs) ToBucketAccessControlTypeOutput() BucketAccessControlTypeOutput

func (BucketAccessControlTypeArgs) ToBucketAccessControlTypeOutputWithContext

func (i BucketAccessControlTypeArgs) ToBucketAccessControlTypeOutputWithContext(ctx context.Context) BucketAccessControlTypeOutput

type BucketAccessControlTypeArray

type BucketAccessControlTypeArray []BucketAccessControlTypeInput

func (BucketAccessControlTypeArray) ElementType

func (BucketAccessControlTypeArray) ToBucketAccessControlTypeArrayOutput

func (i BucketAccessControlTypeArray) ToBucketAccessControlTypeArrayOutput() BucketAccessControlTypeArrayOutput

func (BucketAccessControlTypeArray) ToBucketAccessControlTypeArrayOutputWithContext

func (i BucketAccessControlTypeArray) ToBucketAccessControlTypeArrayOutputWithContext(ctx context.Context) BucketAccessControlTypeArrayOutput

type BucketAccessControlTypeArrayInput

type BucketAccessControlTypeArrayInput interface {
	pulumi.Input

	ToBucketAccessControlTypeArrayOutput() BucketAccessControlTypeArrayOutput
	ToBucketAccessControlTypeArrayOutputWithContext(context.Context) BucketAccessControlTypeArrayOutput
}

BucketAccessControlTypeArrayInput is an input type that accepts BucketAccessControlTypeArray and BucketAccessControlTypeArrayOutput values. You can construct a concrete instance of `BucketAccessControlTypeArrayInput` via:

BucketAccessControlTypeArray{ BucketAccessControlTypeArgs{...} }

type BucketAccessControlTypeArrayOutput

type BucketAccessControlTypeArrayOutput struct{ *pulumi.OutputState }

func (BucketAccessControlTypeArrayOutput) ElementType

func (BucketAccessControlTypeArrayOutput) Index

func (BucketAccessControlTypeArrayOutput) ToBucketAccessControlTypeArrayOutput

func (o BucketAccessControlTypeArrayOutput) ToBucketAccessControlTypeArrayOutput() BucketAccessControlTypeArrayOutput

func (BucketAccessControlTypeArrayOutput) ToBucketAccessControlTypeArrayOutputWithContext

func (o BucketAccessControlTypeArrayOutput) ToBucketAccessControlTypeArrayOutputWithContext(ctx context.Context) BucketAccessControlTypeArrayOutput

type BucketAccessControlTypeInput

type BucketAccessControlTypeInput interface {
	pulumi.Input

	ToBucketAccessControlTypeOutput() BucketAccessControlTypeOutput
	ToBucketAccessControlTypeOutputWithContext(context.Context) BucketAccessControlTypeOutput
}

BucketAccessControlTypeInput is an input type that accepts BucketAccessControlTypeArgs and BucketAccessControlTypeOutput values. You can construct a concrete instance of `BucketAccessControlTypeInput` via:

BucketAccessControlTypeArgs{...}

type BucketAccessControlTypeOutput

type BucketAccessControlTypeOutput struct{ *pulumi.OutputState }

An access-control entry.

func (BucketAccessControlTypeOutput) Bucket

The name of the bucket.

func (BucketAccessControlTypeOutput) Domain

The domain associated with the entity, if any.

func (BucketAccessControlTypeOutput) ElementType

func (BucketAccessControlTypeOutput) Email

The email address associated with the entity, if any.

func (BucketAccessControlTypeOutput) Entity

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.

func (BucketAccessControlTypeOutput) EntityId

The ID for the entity, if any.

func (BucketAccessControlTypeOutput) Etag

HTTP 1.1 Entity tag for the access-control entry.

func (BucketAccessControlTypeOutput) Id

The ID of the access-control entry.

func (BucketAccessControlTypeOutput) Kind

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

func (BucketAccessControlTypeOutput) ProjectTeam

The project team associated with the entity, if any.

func (BucketAccessControlTypeOutput) Role

The access permission for the entity.

The link to this access-control entry.

func (BucketAccessControlTypeOutput) ToBucketAccessControlTypeOutput

func (o BucketAccessControlTypeOutput) ToBucketAccessControlTypeOutput() BucketAccessControlTypeOutput

func (BucketAccessControlTypeOutput) ToBucketAccessControlTypeOutputWithContext

func (o BucketAccessControlTypeOutput) ToBucketAccessControlTypeOutputWithContext(ctx context.Context) BucketAccessControlTypeOutput

type BucketArgs

type BucketArgs struct {
	// Access controls on the bucket.
	Acl BucketAccessControlTypeArrayInput
	// The bucket's Autoclass configuration.
	Autoclass BucketAutoclassPtrInput
	// The bucket's billing configuration.
	Billing BucketBillingPtrInput
	// The bucket's Cross-Origin Resource Sharing (CORS) configuration.
	Cors BucketCorsItemArrayInput
	// The bucket's custom placement configuration for Custom Dual Regions.
	CustomPlacementConfig BucketCustomPlacementConfigPtrInput
	// 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.
	DefaultEventBasedHold pulumi.BoolPtrInput
	// Default access controls to apply to new objects when no ACL is provided.
	DefaultObjectAcl ObjectAccessControlTypeArrayInput
	// When set to true, object retention is enabled for this bucket.
	EnableObjectRetention pulumi.BoolPtrInput
	// Encryption configuration for a bucket.
	Encryption BucketEncryptionPtrInput
	// HTTP 1.1 Entity tag for the bucket.
	Etag pulumi.StringPtrInput
	// The bucket's IAM configuration.
	IamConfiguration BucketIamConfigurationPtrInput
	// The ID of the bucket. For buckets, the id and name properties are the same.
	Id pulumi.StringPtrInput
	// The kind of item this is. For buckets, this is always storage#bucket.
	Kind pulumi.StringPtrInput
	// User-provided labels, in key/value pairs.
	Labels pulumi.StringMapInput
	// The bucket's lifecycle configuration. See lifecycle management for more information.
	Lifecycle BucketLifecyclePtrInput
	// 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 pulumi.StringPtrInput
	// The type of the bucket location.
	LocationType pulumi.StringPtrInput
	// The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
	Logging BucketLoggingPtrInput
	// The metadata generation of this bucket.
	Metageneration pulumi.StringPtrInput
	// The name of the bucket.
	Name pulumi.StringPtrInput
	// The bucket's object retention config.
	ObjectRetention BucketObjectRetentionPtrInput
	// The owner of the bucket. This is always the project team's owner group.
	Owner BucketOwnerPtrInput
	// Apply a predefined set of access controls to this bucket.
	PredefinedAcl pulumi.StringPtrInput
	// Apply a predefined set of default object access controls to this bucket.
	PredefinedDefaultObjectAcl pulumi.StringPtrInput
	// A valid API project identifier.
	Project pulumi.StringPtrInput
	// The project number of the project the bucket belongs to.
	ProjectNumber pulumi.StringPtrInput
	// Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.
	Projection pulumi.StringPtrInput
	// 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.
	RetentionPolicy BucketRetentionPolicyPtrInput
	// The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.
	Rpo pulumi.StringPtrInput
	// Reserved for future use.
	SatisfiesPZS pulumi.BoolPtrInput
	// The URI of this bucket.
	SelfLink pulumi.StringPtrInput
	// The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.
	SoftDeletePolicy BucketSoftDeletePolicyPtrInput
	// 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.
	StorageClass pulumi.StringPtrInput
	// The creation time of the bucket in RFC 3339 format.
	TimeCreated pulumi.StringPtrInput
	// The modification time of the bucket in RFC 3339 format.
	Updated pulumi.StringPtrInput
	// The project to be billed for this request.
	UserProject pulumi.StringPtrInput
	// The bucket's versioning configuration.
	Versioning BucketVersioningPtrInput
	// 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.
	Website BucketWebsitePtrInput
}

The set of arguments for constructing a Bucket resource.

func (BucketArgs) ElementType

func (BucketArgs) ElementType() reflect.Type

type BucketAutoclass added in v0.9.0

type BucketAutoclass struct {
	// Whether or not Autoclass is enabled on this bucket
	Enabled *bool `pulumi:"enabled"`
	// The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.
	TerminalStorageClass *string `pulumi:"terminalStorageClass"`
	// A date and time in RFC 3339 format representing the time of the most recent update to "terminalStorageClass".
	TerminalStorageClassUpdateTime *string `pulumi:"terminalStorageClassUpdateTime"`
	// A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.
	ToggleTime *string `pulumi:"toggleTime"`
}

The bucket's Autoclass configuration.

type BucketAutoclassArgs added in v0.9.0

type BucketAutoclassArgs struct {
	// Whether or not Autoclass is enabled on this bucket
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.
	TerminalStorageClass pulumi.StringPtrInput `pulumi:"terminalStorageClass"`
	// A date and time in RFC 3339 format representing the time of the most recent update to "terminalStorageClass".
	TerminalStorageClassUpdateTime pulumi.StringPtrInput `pulumi:"terminalStorageClassUpdateTime"`
	// A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.
	ToggleTime pulumi.StringPtrInput `pulumi:"toggleTime"`
}

The bucket's Autoclass configuration.

func (BucketAutoclassArgs) ElementType added in v0.9.0

func (BucketAutoclassArgs) ElementType() reflect.Type

func (BucketAutoclassArgs) ToBucketAutoclassOutput added in v0.9.0

func (i BucketAutoclassArgs) ToBucketAutoclassOutput() BucketAutoclassOutput

func (BucketAutoclassArgs) ToBucketAutoclassOutputWithContext added in v0.9.0

func (i BucketAutoclassArgs) ToBucketAutoclassOutputWithContext(ctx context.Context) BucketAutoclassOutput

func (BucketAutoclassArgs) ToBucketAutoclassPtrOutput added in v0.9.0

func (i BucketAutoclassArgs) ToBucketAutoclassPtrOutput() BucketAutoclassPtrOutput

func (BucketAutoclassArgs) ToBucketAutoclassPtrOutputWithContext added in v0.9.0

func (i BucketAutoclassArgs) ToBucketAutoclassPtrOutputWithContext(ctx context.Context) BucketAutoclassPtrOutput

type BucketAutoclassInput added in v0.9.0

type BucketAutoclassInput interface {
	pulumi.Input

	ToBucketAutoclassOutput() BucketAutoclassOutput
	ToBucketAutoclassOutputWithContext(context.Context) BucketAutoclassOutput
}

BucketAutoclassInput is an input type that accepts BucketAutoclassArgs and BucketAutoclassOutput values. You can construct a concrete instance of `BucketAutoclassInput` via:

BucketAutoclassArgs{...}

type BucketAutoclassOutput added in v0.9.0

type BucketAutoclassOutput struct{ *pulumi.OutputState }

The bucket's Autoclass configuration.

func (BucketAutoclassOutput) ElementType added in v0.9.0

func (BucketAutoclassOutput) ElementType() reflect.Type

func (BucketAutoclassOutput) Enabled added in v0.9.0

Whether or not Autoclass is enabled on this bucket

func (BucketAutoclassOutput) TerminalStorageClass added in v0.32.0

func (o BucketAutoclassOutput) TerminalStorageClass() pulumi.StringPtrOutput

The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.

func (BucketAutoclassOutput) TerminalStorageClassUpdateTime added in v0.32.0

func (o BucketAutoclassOutput) TerminalStorageClassUpdateTime() pulumi.StringPtrOutput

A date and time in RFC 3339 format representing the time of the most recent update to "terminalStorageClass".

func (BucketAutoclassOutput) ToBucketAutoclassOutput added in v0.9.0

func (o BucketAutoclassOutput) ToBucketAutoclassOutput() BucketAutoclassOutput

func (BucketAutoclassOutput) ToBucketAutoclassOutputWithContext added in v0.9.0

func (o BucketAutoclassOutput) ToBucketAutoclassOutputWithContext(ctx context.Context) BucketAutoclassOutput

func (BucketAutoclassOutput) ToBucketAutoclassPtrOutput added in v0.9.0

func (o BucketAutoclassOutput) ToBucketAutoclassPtrOutput() BucketAutoclassPtrOutput

func (BucketAutoclassOutput) ToBucketAutoclassPtrOutputWithContext added in v0.9.0

func (o BucketAutoclassOutput) ToBucketAutoclassPtrOutputWithContext(ctx context.Context) BucketAutoclassPtrOutput

func (BucketAutoclassOutput) ToggleTime added in v0.9.0

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

type BucketAutoclassPtrInput added in v0.9.0

type BucketAutoclassPtrInput interface {
	pulumi.Input

	ToBucketAutoclassPtrOutput() BucketAutoclassPtrOutput
	ToBucketAutoclassPtrOutputWithContext(context.Context) BucketAutoclassPtrOutput
}

BucketAutoclassPtrInput is an input type that accepts BucketAutoclassArgs, BucketAutoclassPtr and BucketAutoclassPtrOutput values. You can construct a concrete instance of `BucketAutoclassPtrInput` via:

        BucketAutoclassArgs{...}

or:

        nil

func BucketAutoclassPtr added in v0.9.0

func BucketAutoclassPtr(v *BucketAutoclassArgs) BucketAutoclassPtrInput

type BucketAutoclassPtrOutput added in v0.9.0

type BucketAutoclassPtrOutput struct{ *pulumi.OutputState }

func (BucketAutoclassPtrOutput) Elem added in v0.9.0

func (BucketAutoclassPtrOutput) ElementType added in v0.9.0

func (BucketAutoclassPtrOutput) ElementType() reflect.Type

func (BucketAutoclassPtrOutput) Enabled added in v0.9.0

Whether or not Autoclass is enabled on this bucket

func (BucketAutoclassPtrOutput) TerminalStorageClass added in v0.32.0

func (o BucketAutoclassPtrOutput) TerminalStorageClass() pulumi.StringPtrOutput

The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.

func (BucketAutoclassPtrOutput) TerminalStorageClassUpdateTime added in v0.32.0

func (o BucketAutoclassPtrOutput) TerminalStorageClassUpdateTime() pulumi.StringPtrOutput

A date and time in RFC 3339 format representing the time of the most recent update to "terminalStorageClass".

func (BucketAutoclassPtrOutput) ToBucketAutoclassPtrOutput added in v0.9.0

func (o BucketAutoclassPtrOutput) ToBucketAutoclassPtrOutput() BucketAutoclassPtrOutput

func (BucketAutoclassPtrOutput) ToBucketAutoclassPtrOutputWithContext added in v0.9.0

func (o BucketAutoclassPtrOutput) ToBucketAutoclassPtrOutputWithContext(ctx context.Context) BucketAutoclassPtrOutput

func (BucketAutoclassPtrOutput) ToggleTime added in v0.9.0

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

type BucketAutoclassResponse added in v0.9.0

type BucketAutoclassResponse struct {
	// Whether or not Autoclass is enabled on this bucket
	Enabled bool `pulumi:"enabled"`
	// The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.
	TerminalStorageClass string `pulumi:"terminalStorageClass"`
	// A date and time in RFC 3339 format representing the time of the most recent update to "terminalStorageClass".
	TerminalStorageClassUpdateTime string `pulumi:"terminalStorageClassUpdateTime"`
	// A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.
	ToggleTime string `pulumi:"toggleTime"`
}

The bucket's Autoclass configuration.

type BucketAutoclassResponseOutput added in v0.9.0

type BucketAutoclassResponseOutput struct{ *pulumi.OutputState }

The bucket's Autoclass configuration.

func (BucketAutoclassResponseOutput) ElementType added in v0.9.0

func (BucketAutoclassResponseOutput) Enabled added in v0.9.0

Whether or not Autoclass is enabled on this bucket

func (BucketAutoclassResponseOutput) TerminalStorageClass added in v0.32.0

func (o BucketAutoclassResponseOutput) TerminalStorageClass() pulumi.StringOutput

The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.

func (BucketAutoclassResponseOutput) TerminalStorageClassUpdateTime added in v0.32.0

func (o BucketAutoclassResponseOutput) TerminalStorageClassUpdateTime() pulumi.StringOutput

A date and time in RFC 3339 format representing the time of the most recent update to "terminalStorageClass".

func (BucketAutoclassResponseOutput) ToBucketAutoclassResponseOutput added in v0.9.0

func (o BucketAutoclassResponseOutput) ToBucketAutoclassResponseOutput() BucketAutoclassResponseOutput

func (BucketAutoclassResponseOutput) ToBucketAutoclassResponseOutputWithContext added in v0.9.0

func (o BucketAutoclassResponseOutput) ToBucketAutoclassResponseOutputWithContext(ctx context.Context) BucketAutoclassResponseOutput

func (BucketAutoclassResponseOutput) ToggleTime added in v0.9.0

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

type BucketBilling

type BucketBilling struct {
	// When set to true, Requester Pays is enabled for this bucket.
	RequesterPays *bool `pulumi:"requesterPays"`
}

The bucket's billing configuration.

type BucketBillingArgs

type BucketBillingArgs struct {
	// When set to true, Requester Pays is enabled for this bucket.
	RequesterPays pulumi.BoolPtrInput `pulumi:"requesterPays"`
}

The bucket's billing configuration.

func (BucketBillingArgs) ElementType

func (BucketBillingArgs) ElementType() reflect.Type

func (BucketBillingArgs) ToBucketBillingOutput

func (i BucketBillingArgs) ToBucketBillingOutput() BucketBillingOutput

func (BucketBillingArgs) ToBucketBillingOutputWithContext

func (i BucketBillingArgs) ToBucketBillingOutputWithContext(ctx context.Context) BucketBillingOutput

func (BucketBillingArgs) ToBucketBillingPtrOutput

func (i BucketBillingArgs) ToBucketBillingPtrOutput() BucketBillingPtrOutput

func (BucketBillingArgs) ToBucketBillingPtrOutputWithContext

func (i BucketBillingArgs) ToBucketBillingPtrOutputWithContext(ctx context.Context) BucketBillingPtrOutput

type BucketBillingInput

type BucketBillingInput interface {
	pulumi.Input

	ToBucketBillingOutput() BucketBillingOutput
	ToBucketBillingOutputWithContext(context.Context) BucketBillingOutput
}

BucketBillingInput is an input type that accepts BucketBillingArgs and BucketBillingOutput values. You can construct a concrete instance of `BucketBillingInput` via:

BucketBillingArgs{...}

type BucketBillingOutput

type BucketBillingOutput struct{ *pulumi.OutputState }

The bucket's billing configuration.

func (BucketBillingOutput) ElementType

func (BucketBillingOutput) ElementType() reflect.Type

func (BucketBillingOutput) RequesterPays

func (o BucketBillingOutput) RequesterPays() pulumi.BoolPtrOutput

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

func (BucketBillingOutput) ToBucketBillingOutput

func (o BucketBillingOutput) ToBucketBillingOutput() BucketBillingOutput

func (BucketBillingOutput) ToBucketBillingOutputWithContext

func (o BucketBillingOutput) ToBucketBillingOutputWithContext(ctx context.Context) BucketBillingOutput

func (BucketBillingOutput) ToBucketBillingPtrOutput

func (o BucketBillingOutput) ToBucketBillingPtrOutput() BucketBillingPtrOutput

func (BucketBillingOutput) ToBucketBillingPtrOutputWithContext

func (o BucketBillingOutput) ToBucketBillingPtrOutputWithContext(ctx context.Context) BucketBillingPtrOutput

type BucketBillingPtrInput

type BucketBillingPtrInput interface {
	pulumi.Input

	ToBucketBillingPtrOutput() BucketBillingPtrOutput
	ToBucketBillingPtrOutputWithContext(context.Context) BucketBillingPtrOutput
}

BucketBillingPtrInput is an input type that accepts BucketBillingArgs, BucketBillingPtr and BucketBillingPtrOutput values. You can construct a concrete instance of `BucketBillingPtrInput` via:

        BucketBillingArgs{...}

or:

        nil

type BucketBillingPtrOutput

type BucketBillingPtrOutput struct{ *pulumi.OutputState }

func (BucketBillingPtrOutput) Elem

func (BucketBillingPtrOutput) ElementType

func (BucketBillingPtrOutput) ElementType() reflect.Type

func (BucketBillingPtrOutput) RequesterPays

func (o BucketBillingPtrOutput) RequesterPays() pulumi.BoolPtrOutput

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

func (BucketBillingPtrOutput) ToBucketBillingPtrOutput

func (o BucketBillingPtrOutput) ToBucketBillingPtrOutput() BucketBillingPtrOutput

func (BucketBillingPtrOutput) ToBucketBillingPtrOutputWithContext

func (o BucketBillingPtrOutput) ToBucketBillingPtrOutputWithContext(ctx context.Context) BucketBillingPtrOutput

type BucketBillingResponse

type BucketBillingResponse struct {
	// When set to true, Requester Pays is enabled for this bucket.
	RequesterPays bool `pulumi:"requesterPays"`
}

The bucket's billing configuration.

type BucketBillingResponseOutput

type BucketBillingResponseOutput struct{ *pulumi.OutputState }

The bucket's billing configuration.

func (BucketBillingResponseOutput) ElementType

func (BucketBillingResponseOutput) RequesterPays

func (o BucketBillingResponseOutput) RequesterPays() pulumi.BoolOutput

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

func (BucketBillingResponseOutput) ToBucketBillingResponseOutput

func (o BucketBillingResponseOutput) ToBucketBillingResponseOutput() BucketBillingResponseOutput

func (BucketBillingResponseOutput) ToBucketBillingResponseOutputWithContext

func (o BucketBillingResponseOutput) ToBucketBillingResponseOutputWithContext(ctx context.Context) BucketBillingResponseOutput

type BucketCorsItem

type BucketCorsItem struct {
	// The value, in seconds, to return in the  Access-Control-Max-Age header used in preflight responses.
	MaxAgeSeconds *int `pulumi:"maxAgeSeconds"`
	// 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".
	Method []string `pulumi:"method"`
	// The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
	Origin []string `pulumi:"origin"`
	// The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
	ResponseHeader []string `pulumi:"responseHeader"`
}

type BucketCorsItemArgs

type BucketCorsItemArgs struct {
	// The value, in seconds, to return in the  Access-Control-Max-Age header used in preflight responses.
	MaxAgeSeconds pulumi.IntPtrInput `pulumi:"maxAgeSeconds"`
	// 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".
	Method pulumi.StringArrayInput `pulumi:"method"`
	// The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
	Origin pulumi.StringArrayInput `pulumi:"origin"`
	// The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
	ResponseHeader pulumi.StringArrayInput `pulumi:"responseHeader"`
}

func (BucketCorsItemArgs) ElementType

func (BucketCorsItemArgs) ElementType() reflect.Type

func (BucketCorsItemArgs) ToBucketCorsItemOutput

func (i BucketCorsItemArgs) ToBucketCorsItemOutput() BucketCorsItemOutput

func (BucketCorsItemArgs) ToBucketCorsItemOutputWithContext

func (i BucketCorsItemArgs) ToBucketCorsItemOutputWithContext(ctx context.Context) BucketCorsItemOutput

type BucketCorsItemArray

type BucketCorsItemArray []BucketCorsItemInput

func (BucketCorsItemArray) ElementType

func (BucketCorsItemArray) ElementType() reflect.Type

func (BucketCorsItemArray) ToBucketCorsItemArrayOutput

func (i BucketCorsItemArray) ToBucketCorsItemArrayOutput() BucketCorsItemArrayOutput

func (BucketCorsItemArray) ToBucketCorsItemArrayOutputWithContext

func (i BucketCorsItemArray) ToBucketCorsItemArrayOutputWithContext(ctx context.Context) BucketCorsItemArrayOutput

type BucketCorsItemArrayInput

type BucketCorsItemArrayInput interface {
	pulumi.Input

	ToBucketCorsItemArrayOutput() BucketCorsItemArrayOutput
	ToBucketCorsItemArrayOutputWithContext(context.Context) BucketCorsItemArrayOutput
}

BucketCorsItemArrayInput is an input type that accepts BucketCorsItemArray and BucketCorsItemArrayOutput values. You can construct a concrete instance of `BucketCorsItemArrayInput` via:

BucketCorsItemArray{ BucketCorsItemArgs{...} }

type BucketCorsItemArrayOutput

type BucketCorsItemArrayOutput struct{ *pulumi.OutputState }

func (BucketCorsItemArrayOutput) ElementType

func (BucketCorsItemArrayOutput) ElementType() reflect.Type

func (BucketCorsItemArrayOutput) Index

func (BucketCorsItemArrayOutput) ToBucketCorsItemArrayOutput

func (o BucketCorsItemArrayOutput) ToBucketCorsItemArrayOutput() BucketCorsItemArrayOutput

func (BucketCorsItemArrayOutput) ToBucketCorsItemArrayOutputWithContext

func (o BucketCorsItemArrayOutput) ToBucketCorsItemArrayOutputWithContext(ctx context.Context) BucketCorsItemArrayOutput

type BucketCorsItemInput

type BucketCorsItemInput interface {
	pulumi.Input

	ToBucketCorsItemOutput() BucketCorsItemOutput
	ToBucketCorsItemOutputWithContext(context.Context) BucketCorsItemOutput
}

BucketCorsItemInput is an input type that accepts BucketCorsItemArgs and BucketCorsItemOutput values. You can construct a concrete instance of `BucketCorsItemInput` via:

BucketCorsItemArgs{...}

type BucketCorsItemOutput

type BucketCorsItemOutput struct{ *pulumi.OutputState }

func (BucketCorsItemOutput) ElementType

func (BucketCorsItemOutput) ElementType() reflect.Type

func (BucketCorsItemOutput) MaxAgeSeconds

func (o BucketCorsItemOutput) MaxAgeSeconds() pulumi.IntPtrOutput

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

func (BucketCorsItemOutput) Method

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".

func (BucketCorsItemOutput) Origin

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

func (BucketCorsItemOutput) ResponseHeader

func (o BucketCorsItemOutput) ResponseHeader() pulumi.StringArrayOutput

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

func (BucketCorsItemOutput) ToBucketCorsItemOutput

func (o BucketCorsItemOutput) ToBucketCorsItemOutput() BucketCorsItemOutput

func (BucketCorsItemOutput) ToBucketCorsItemOutputWithContext

func (o BucketCorsItemOutput) ToBucketCorsItemOutputWithContext(ctx context.Context) BucketCorsItemOutput

type BucketCorsItemResponse

type BucketCorsItemResponse struct {
	// The value, in seconds, to return in the  Access-Control-Max-Age header used in preflight responses.
	MaxAgeSeconds int `pulumi:"maxAgeSeconds"`
	// 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".
	Method []string `pulumi:"method"`
	// The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
	Origin []string `pulumi:"origin"`
	// The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
	ResponseHeader []string `pulumi:"responseHeader"`
}

type BucketCorsItemResponseArrayOutput

type BucketCorsItemResponseArrayOutput struct{ *pulumi.OutputState }

func (BucketCorsItemResponseArrayOutput) ElementType

func (BucketCorsItemResponseArrayOutput) Index

func (BucketCorsItemResponseArrayOutput) ToBucketCorsItemResponseArrayOutput

func (o BucketCorsItemResponseArrayOutput) ToBucketCorsItemResponseArrayOutput() BucketCorsItemResponseArrayOutput

func (BucketCorsItemResponseArrayOutput) ToBucketCorsItemResponseArrayOutputWithContext

func (o BucketCorsItemResponseArrayOutput) ToBucketCorsItemResponseArrayOutputWithContext(ctx context.Context) BucketCorsItemResponseArrayOutput

type BucketCorsItemResponseOutput

type BucketCorsItemResponseOutput struct{ *pulumi.OutputState }

func (BucketCorsItemResponseOutput) ElementType

func (BucketCorsItemResponseOutput) MaxAgeSeconds

func (o BucketCorsItemResponseOutput) MaxAgeSeconds() pulumi.IntOutput

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

func (BucketCorsItemResponseOutput) Method

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".

func (BucketCorsItemResponseOutput) Origin

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

func (BucketCorsItemResponseOutput) ResponseHeader

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

func (BucketCorsItemResponseOutput) ToBucketCorsItemResponseOutput

func (o BucketCorsItemResponseOutput) ToBucketCorsItemResponseOutput() BucketCorsItemResponseOutput

func (BucketCorsItemResponseOutput) ToBucketCorsItemResponseOutputWithContext

func (o BucketCorsItemResponseOutput) ToBucketCorsItemResponseOutputWithContext(ctx context.Context) BucketCorsItemResponseOutput

type BucketCustomPlacementConfig added in v0.8.0

type BucketCustomPlacementConfig struct {
	// The list of regional locations in which data is placed.
	DataLocations []string `pulumi:"dataLocations"`
}

The bucket's custom placement configuration for Custom Dual Regions.

type BucketCustomPlacementConfigArgs added in v0.8.0

type BucketCustomPlacementConfigArgs struct {
	// The list of regional locations in which data is placed.
	DataLocations pulumi.StringArrayInput `pulumi:"dataLocations"`
}

The bucket's custom placement configuration for Custom Dual Regions.

func (BucketCustomPlacementConfigArgs) ElementType added in v0.8.0

func (BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigOutput added in v0.8.0

func (i BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigOutput() BucketCustomPlacementConfigOutput

func (BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigOutputWithContext added in v0.8.0

func (i BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigOutputWithContext(ctx context.Context) BucketCustomPlacementConfigOutput

func (BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigPtrOutput added in v0.8.0

func (i BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigPtrOutput() BucketCustomPlacementConfigPtrOutput

func (BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigPtrOutputWithContext added in v0.8.0

func (i BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigPtrOutputWithContext(ctx context.Context) BucketCustomPlacementConfigPtrOutput

type BucketCustomPlacementConfigInput added in v0.8.0

type BucketCustomPlacementConfigInput interface {
	pulumi.Input

	ToBucketCustomPlacementConfigOutput() BucketCustomPlacementConfigOutput
	ToBucketCustomPlacementConfigOutputWithContext(context.Context) BucketCustomPlacementConfigOutput
}

BucketCustomPlacementConfigInput is an input type that accepts BucketCustomPlacementConfigArgs and BucketCustomPlacementConfigOutput values. You can construct a concrete instance of `BucketCustomPlacementConfigInput` via:

BucketCustomPlacementConfigArgs{...}

type BucketCustomPlacementConfigOutput added in v0.8.0

type BucketCustomPlacementConfigOutput struct{ *pulumi.OutputState }

The bucket's custom placement configuration for Custom Dual Regions.

func (BucketCustomPlacementConfigOutput) DataLocations added in v0.8.0

The list of regional locations in which data is placed.

func (BucketCustomPlacementConfigOutput) ElementType added in v0.8.0

func (BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigOutput added in v0.8.0

func (o BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigOutput() BucketCustomPlacementConfigOutput

func (BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigOutputWithContext added in v0.8.0

func (o BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigOutputWithContext(ctx context.Context) BucketCustomPlacementConfigOutput

func (BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigPtrOutput added in v0.8.0

func (o BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigPtrOutput() BucketCustomPlacementConfigPtrOutput

func (BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigPtrOutputWithContext added in v0.8.0

func (o BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigPtrOutputWithContext(ctx context.Context) BucketCustomPlacementConfigPtrOutput

type BucketCustomPlacementConfigPtrInput added in v0.8.0

type BucketCustomPlacementConfigPtrInput interface {
	pulumi.Input

	ToBucketCustomPlacementConfigPtrOutput() BucketCustomPlacementConfigPtrOutput
	ToBucketCustomPlacementConfigPtrOutputWithContext(context.Context) BucketCustomPlacementConfigPtrOutput
}

BucketCustomPlacementConfigPtrInput is an input type that accepts BucketCustomPlacementConfigArgs, BucketCustomPlacementConfigPtr and BucketCustomPlacementConfigPtrOutput values. You can construct a concrete instance of `BucketCustomPlacementConfigPtrInput` via:

        BucketCustomPlacementConfigArgs{...}

or:

        nil

func BucketCustomPlacementConfigPtr added in v0.8.0

type BucketCustomPlacementConfigPtrOutput added in v0.8.0

type BucketCustomPlacementConfigPtrOutput struct{ *pulumi.OutputState }

func (BucketCustomPlacementConfigPtrOutput) DataLocations added in v0.8.0

The list of regional locations in which data is placed.

func (BucketCustomPlacementConfigPtrOutput) Elem added in v0.8.0

func (BucketCustomPlacementConfigPtrOutput) ElementType added in v0.8.0

func (BucketCustomPlacementConfigPtrOutput) ToBucketCustomPlacementConfigPtrOutput added in v0.8.0

func (o BucketCustomPlacementConfigPtrOutput) ToBucketCustomPlacementConfigPtrOutput() BucketCustomPlacementConfigPtrOutput

func (BucketCustomPlacementConfigPtrOutput) ToBucketCustomPlacementConfigPtrOutputWithContext added in v0.8.0

func (o BucketCustomPlacementConfigPtrOutput) ToBucketCustomPlacementConfigPtrOutputWithContext(ctx context.Context) BucketCustomPlacementConfigPtrOutput

type BucketCustomPlacementConfigResponse added in v0.8.0

type BucketCustomPlacementConfigResponse struct {
	// The list of regional locations in which data is placed.
	DataLocations []string `pulumi:"dataLocations"`
}

The bucket's custom placement configuration for Custom Dual Regions.

type BucketCustomPlacementConfigResponseOutput added in v0.8.0

type BucketCustomPlacementConfigResponseOutput struct{ *pulumi.OutputState }

The bucket's custom placement configuration for Custom Dual Regions.

func (BucketCustomPlacementConfigResponseOutput) DataLocations added in v0.8.0

The list of regional locations in which data is placed.

func (BucketCustomPlacementConfigResponseOutput) ElementType added in v0.8.0

func (BucketCustomPlacementConfigResponseOutput) ToBucketCustomPlacementConfigResponseOutput added in v0.8.0

func (o BucketCustomPlacementConfigResponseOutput) ToBucketCustomPlacementConfigResponseOutput() BucketCustomPlacementConfigResponseOutput

func (BucketCustomPlacementConfigResponseOutput) ToBucketCustomPlacementConfigResponseOutputWithContext added in v0.8.0

func (o BucketCustomPlacementConfigResponseOutput) ToBucketCustomPlacementConfigResponseOutputWithContext(ctx context.Context) BucketCustomPlacementConfigResponseOutput

type BucketEncryption

type BucketEncryption struct {
	// A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
	DefaultKmsKeyName *string `pulumi:"defaultKmsKeyName"`
}

Encryption configuration for a bucket.

type BucketEncryptionArgs

type BucketEncryptionArgs struct {
	// A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
	DefaultKmsKeyName pulumi.StringPtrInput `pulumi:"defaultKmsKeyName"`
}

Encryption configuration for a bucket.

func (BucketEncryptionArgs) ElementType

func (BucketEncryptionArgs) ElementType() reflect.Type

func (BucketEncryptionArgs) ToBucketEncryptionOutput

func (i BucketEncryptionArgs) ToBucketEncryptionOutput() BucketEncryptionOutput

func (BucketEncryptionArgs) ToBucketEncryptionOutputWithContext

func (i BucketEncryptionArgs) ToBucketEncryptionOutputWithContext(ctx context.Context) BucketEncryptionOutput

func (BucketEncryptionArgs) ToBucketEncryptionPtrOutput

func (i BucketEncryptionArgs) ToBucketEncryptionPtrOutput() BucketEncryptionPtrOutput

func (BucketEncryptionArgs) ToBucketEncryptionPtrOutputWithContext

func (i BucketEncryptionArgs) ToBucketEncryptionPtrOutputWithContext(ctx context.Context) BucketEncryptionPtrOutput

type BucketEncryptionInput

type BucketEncryptionInput interface {
	pulumi.Input

	ToBucketEncryptionOutput() BucketEncryptionOutput
	ToBucketEncryptionOutputWithContext(context.Context) BucketEncryptionOutput
}

BucketEncryptionInput is an input type that accepts BucketEncryptionArgs and BucketEncryptionOutput values. You can construct a concrete instance of `BucketEncryptionInput` via:

BucketEncryptionArgs{...}

type BucketEncryptionOutput

type BucketEncryptionOutput struct{ *pulumi.OutputState }

Encryption configuration for a bucket.

func (BucketEncryptionOutput) DefaultKmsKeyName

func (o BucketEncryptionOutput) DefaultKmsKeyName() pulumi.StringPtrOutput

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

func (BucketEncryptionOutput) ElementType

func (BucketEncryptionOutput) ElementType() reflect.Type

func (BucketEncryptionOutput) ToBucketEncryptionOutput

func (o BucketEncryptionOutput) ToBucketEncryptionOutput() BucketEncryptionOutput

func (BucketEncryptionOutput) ToBucketEncryptionOutputWithContext

func (o BucketEncryptionOutput) ToBucketEncryptionOutputWithContext(ctx context.Context) BucketEncryptionOutput

func (BucketEncryptionOutput) ToBucketEncryptionPtrOutput

func (o BucketEncryptionOutput) ToBucketEncryptionPtrOutput() BucketEncryptionPtrOutput

func (BucketEncryptionOutput) ToBucketEncryptionPtrOutputWithContext

func (o BucketEncryptionOutput) ToBucketEncryptionPtrOutputWithContext(ctx context.Context) BucketEncryptionPtrOutput

type BucketEncryptionPtrInput

type BucketEncryptionPtrInput interface {
	pulumi.Input

	ToBucketEncryptionPtrOutput() BucketEncryptionPtrOutput
	ToBucketEncryptionPtrOutputWithContext(context.Context) BucketEncryptionPtrOutput
}

BucketEncryptionPtrInput is an input type that accepts BucketEncryptionArgs, BucketEncryptionPtr and BucketEncryptionPtrOutput values. You can construct a concrete instance of `BucketEncryptionPtrInput` via:

        BucketEncryptionArgs{...}

or:

        nil

type BucketEncryptionPtrOutput

type BucketEncryptionPtrOutput struct{ *pulumi.OutputState }

func (BucketEncryptionPtrOutput) DefaultKmsKeyName

func (o BucketEncryptionPtrOutput) DefaultKmsKeyName() pulumi.StringPtrOutput

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

func (BucketEncryptionPtrOutput) Elem

func (BucketEncryptionPtrOutput) ElementType

func (BucketEncryptionPtrOutput) ElementType() reflect.Type

func (BucketEncryptionPtrOutput) ToBucketEncryptionPtrOutput

func (o BucketEncryptionPtrOutput) ToBucketEncryptionPtrOutput() BucketEncryptionPtrOutput

func (BucketEncryptionPtrOutput) ToBucketEncryptionPtrOutputWithContext

func (o BucketEncryptionPtrOutput) ToBucketEncryptionPtrOutputWithContext(ctx context.Context) BucketEncryptionPtrOutput

type BucketEncryptionResponse

type BucketEncryptionResponse struct {
	// A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
	DefaultKmsKeyName string `pulumi:"defaultKmsKeyName"`
}

Encryption configuration for a bucket.

type BucketEncryptionResponseOutput

type BucketEncryptionResponseOutput struct{ *pulumi.OutputState }

Encryption configuration for a bucket.

func (BucketEncryptionResponseOutput) DefaultKmsKeyName

func (o BucketEncryptionResponseOutput) DefaultKmsKeyName() pulumi.StringOutput

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

func (BucketEncryptionResponseOutput) ElementType

func (BucketEncryptionResponseOutput) ToBucketEncryptionResponseOutput

func (o BucketEncryptionResponseOutput) ToBucketEncryptionResponseOutput() BucketEncryptionResponseOutput

func (BucketEncryptionResponseOutput) ToBucketEncryptionResponseOutputWithContext

func (o BucketEncryptionResponseOutput) ToBucketEncryptionResponseOutputWithContext(ctx context.Context) BucketEncryptionResponseOutput

type BucketIamBinding added in v0.26.0

type BucketIamBinding struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringOutput `pulumi:"role"`
}

Updates an IAM policy for the specified bucket.

func GetBucketIamBinding added in v0.26.0

func GetBucketIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketIamBindingState, opts ...pulumi.ResourceOption) (*BucketIamBinding, error)

GetBucketIamBinding gets an existing BucketIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucketIamBinding added in v0.26.0

func NewBucketIamBinding(ctx *pulumi.Context,
	name string, args *BucketIamBindingArgs, opts ...pulumi.ResourceOption) (*BucketIamBinding, error)

NewBucketIamBinding registers a new resource with the given unique name, arguments, and options.

func (*BucketIamBinding) ElementType added in v0.26.0

func (*BucketIamBinding) ElementType() reflect.Type

func (*BucketIamBinding) ToBucketIamBindingOutput added in v0.26.0

func (i *BucketIamBinding) ToBucketIamBindingOutput() BucketIamBindingOutput

func (*BucketIamBinding) ToBucketIamBindingOutputWithContext added in v0.26.0

func (i *BucketIamBinding) ToBucketIamBindingOutputWithContext(ctx context.Context) BucketIamBindingOutput

type BucketIamBindingArgs added in v0.26.0

type BucketIamBindingArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identities that will be granted the privilege in role. Each entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Members pulumi.StringArrayInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied. Only one `IamBinding` can be used per role.
	Role pulumi.StringInput
}

The set of arguments for constructing a BucketIamBinding resource.

func (BucketIamBindingArgs) ElementType added in v0.26.0

func (BucketIamBindingArgs) ElementType() reflect.Type

type BucketIamBindingInput added in v0.26.0

type BucketIamBindingInput interface {
	pulumi.Input

	ToBucketIamBindingOutput() BucketIamBindingOutput
	ToBucketIamBindingOutputWithContext(ctx context.Context) BucketIamBindingOutput
}

type BucketIamBindingOutput added in v0.26.0

type BucketIamBindingOutput struct{ *pulumi.OutputState }

func (BucketIamBindingOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (BucketIamBindingOutput) ElementType added in v0.26.0

func (BucketIamBindingOutput) ElementType() reflect.Type

func (BucketIamBindingOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (BucketIamBindingOutput) Members added in v0.26.0

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (BucketIamBindingOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (BucketIamBindingOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (BucketIamBindingOutput) Role added in v0.26.0

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (BucketIamBindingOutput) ToBucketIamBindingOutput added in v0.26.0

func (o BucketIamBindingOutput) ToBucketIamBindingOutput() BucketIamBindingOutput

func (BucketIamBindingOutput) ToBucketIamBindingOutputWithContext added in v0.26.0

func (o BucketIamBindingOutput) ToBucketIamBindingOutputWithContext(ctx context.Context) BucketIamBindingOutput

type BucketIamBindingState added in v0.26.0

type BucketIamBindingState struct {
}

func (BucketIamBindingState) ElementType added in v0.26.0

func (BucketIamBindingState) ElementType() reflect.Type

type BucketIamConfiguration

type BucketIamConfiguration struct {
	// 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.
	BucketPolicyOnly *BucketIamConfigurationBucketPolicyOnly `pulumi:"bucketPolicyOnly"`
	// The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.
	PublicAccessPrevention *string `pulumi:"publicAccessPrevention"`
	// The bucket's uniform bucket-level access configuration.
	UniformBucketLevelAccess *BucketIamConfigurationUniformBucketLevelAccess `pulumi:"uniformBucketLevelAccess"`
}

The bucket's IAM configuration.

type BucketIamConfigurationArgs

type BucketIamConfigurationArgs struct {
	// 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.
	BucketPolicyOnly BucketIamConfigurationBucketPolicyOnlyPtrInput `pulumi:"bucketPolicyOnly"`
	// The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.
	PublicAccessPrevention pulumi.StringPtrInput `pulumi:"publicAccessPrevention"`
	// The bucket's uniform bucket-level access configuration.
	UniformBucketLevelAccess BucketIamConfigurationUniformBucketLevelAccessPtrInput `pulumi:"uniformBucketLevelAccess"`
}

The bucket's IAM configuration.

func (BucketIamConfigurationArgs) ElementType

func (BucketIamConfigurationArgs) ElementType() reflect.Type

func (BucketIamConfigurationArgs) ToBucketIamConfigurationOutput

func (i BucketIamConfigurationArgs) ToBucketIamConfigurationOutput() BucketIamConfigurationOutput

func (BucketIamConfigurationArgs) ToBucketIamConfigurationOutputWithContext

func (i BucketIamConfigurationArgs) ToBucketIamConfigurationOutputWithContext(ctx context.Context) BucketIamConfigurationOutput

func (BucketIamConfigurationArgs) ToBucketIamConfigurationPtrOutput

func (i BucketIamConfigurationArgs) ToBucketIamConfigurationPtrOutput() BucketIamConfigurationPtrOutput

func (BucketIamConfigurationArgs) ToBucketIamConfigurationPtrOutputWithContext

func (i BucketIamConfigurationArgs) ToBucketIamConfigurationPtrOutputWithContext(ctx context.Context) BucketIamConfigurationPtrOutput

type BucketIamConfigurationBucketPolicyOnly added in v0.4.0

type BucketIamConfigurationBucketPolicyOnly struct {
	// If set, access is controlled only by bucket-level or above IAM policies.
	Enabled *bool `pulumi:"enabled"`
	// 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.
	LockedTime *string `pulumi:"lockedTime"`
}

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.

type BucketIamConfigurationBucketPolicyOnlyArgs added in v0.4.0

type BucketIamConfigurationBucketPolicyOnlyArgs struct {
	// If set, access is controlled only by bucket-level or above IAM policies.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// 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.
	LockedTime pulumi.StringPtrInput `pulumi:"lockedTime"`
}

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.

func (BucketIamConfigurationBucketPolicyOnlyArgs) ElementType added in v0.4.0

func (BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyOutput added in v0.4.0

func (i BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyOutput() BucketIamConfigurationBucketPolicyOnlyOutput

func (BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyOutputWithContext added in v0.4.0

func (i BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyOutputWithContext(ctx context.Context) BucketIamConfigurationBucketPolicyOnlyOutput

func (BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyPtrOutput added in v0.4.0

func (i BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyPtrOutput() BucketIamConfigurationBucketPolicyOnlyPtrOutput

func (BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext added in v0.4.0

func (i BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext(ctx context.Context) BucketIamConfigurationBucketPolicyOnlyPtrOutput

type BucketIamConfigurationBucketPolicyOnlyInput added in v0.4.0

type BucketIamConfigurationBucketPolicyOnlyInput interface {
	pulumi.Input

	ToBucketIamConfigurationBucketPolicyOnlyOutput() BucketIamConfigurationBucketPolicyOnlyOutput
	ToBucketIamConfigurationBucketPolicyOnlyOutputWithContext(context.Context) BucketIamConfigurationBucketPolicyOnlyOutput
}

BucketIamConfigurationBucketPolicyOnlyInput is an input type that accepts BucketIamConfigurationBucketPolicyOnlyArgs and BucketIamConfigurationBucketPolicyOnlyOutput values. You can construct a concrete instance of `BucketIamConfigurationBucketPolicyOnlyInput` via:

BucketIamConfigurationBucketPolicyOnlyArgs{...}

type BucketIamConfigurationBucketPolicyOnlyOutput added in v0.4.0

type BucketIamConfigurationBucketPolicyOnlyOutput struct{ *pulumi.OutputState }

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.

func (BucketIamConfigurationBucketPolicyOnlyOutput) ElementType added in v0.4.0

func (BucketIamConfigurationBucketPolicyOnlyOutput) Enabled added in v0.4.0

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

func (BucketIamConfigurationBucketPolicyOnlyOutput) LockedTime added in v0.4.0

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.

func (BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBucketPolicyOnlyOutput added in v0.4.0

func (o BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBucketPolicyOnlyOutput() BucketIamConfigurationBucketPolicyOnlyOutput

func (BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBucketPolicyOnlyOutputWithContext added in v0.4.0

func (o BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBucketPolicyOnlyOutputWithContext(ctx context.Context) BucketIamConfigurationBucketPolicyOnlyOutput

func (BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBucketPolicyOnlyPtrOutput added in v0.4.0

func (o BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBucketPolicyOnlyPtrOutput() BucketIamConfigurationBucketPolicyOnlyPtrOutput

func (BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext added in v0.4.0

func (o BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext(ctx context.Context) BucketIamConfigurationBucketPolicyOnlyPtrOutput

type BucketIamConfigurationBucketPolicyOnlyPtrInput added in v0.4.0

type BucketIamConfigurationBucketPolicyOnlyPtrInput interface {
	pulumi.Input

	ToBucketIamConfigurationBucketPolicyOnlyPtrOutput() BucketIamConfigurationBucketPolicyOnlyPtrOutput
	ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext(context.Context) BucketIamConfigurationBucketPolicyOnlyPtrOutput
}

BucketIamConfigurationBucketPolicyOnlyPtrInput is an input type that accepts BucketIamConfigurationBucketPolicyOnlyArgs, BucketIamConfigurationBucketPolicyOnlyPtr and BucketIamConfigurationBucketPolicyOnlyPtrOutput values. You can construct a concrete instance of `BucketIamConfigurationBucketPolicyOnlyPtrInput` via:

        BucketIamConfigurationBucketPolicyOnlyArgs{...}

or:

        nil

type BucketIamConfigurationBucketPolicyOnlyPtrOutput added in v0.4.0

type BucketIamConfigurationBucketPolicyOnlyPtrOutput struct{ *pulumi.OutputState }

func (BucketIamConfigurationBucketPolicyOnlyPtrOutput) Elem added in v0.4.0

func (BucketIamConfigurationBucketPolicyOnlyPtrOutput) ElementType added in v0.4.0

func (BucketIamConfigurationBucketPolicyOnlyPtrOutput) Enabled added in v0.4.0

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

func (BucketIamConfigurationBucketPolicyOnlyPtrOutput) LockedTime added in v0.4.0

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.

func (BucketIamConfigurationBucketPolicyOnlyPtrOutput) ToBucketIamConfigurationBucketPolicyOnlyPtrOutput added in v0.4.0

func (o BucketIamConfigurationBucketPolicyOnlyPtrOutput) ToBucketIamConfigurationBucketPolicyOnlyPtrOutput() BucketIamConfigurationBucketPolicyOnlyPtrOutput

func (BucketIamConfigurationBucketPolicyOnlyPtrOutput) ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext added in v0.4.0

func (o BucketIamConfigurationBucketPolicyOnlyPtrOutput) ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext(ctx context.Context) BucketIamConfigurationBucketPolicyOnlyPtrOutput

type BucketIamConfigurationBucketPolicyOnlyResponse added in v0.4.0

type BucketIamConfigurationBucketPolicyOnlyResponse struct {
	// If set, access is controlled only by bucket-level or above IAM policies.
	Enabled bool `pulumi:"enabled"`
	// 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.
	LockedTime string `pulumi:"lockedTime"`
}

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.

type BucketIamConfigurationBucketPolicyOnlyResponseOutput added in v0.4.0

type BucketIamConfigurationBucketPolicyOnlyResponseOutput struct{ *pulumi.OutputState }

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.

func (BucketIamConfigurationBucketPolicyOnlyResponseOutput) ElementType added in v0.4.0

func (BucketIamConfigurationBucketPolicyOnlyResponseOutput) Enabled added in v0.4.0

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

func (BucketIamConfigurationBucketPolicyOnlyResponseOutput) LockedTime added in v0.4.0

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.

func (BucketIamConfigurationBucketPolicyOnlyResponseOutput) ToBucketIamConfigurationBucketPolicyOnlyResponseOutput added in v0.4.0

func (BucketIamConfigurationBucketPolicyOnlyResponseOutput) ToBucketIamConfigurationBucketPolicyOnlyResponseOutputWithContext added in v0.4.0

func (o BucketIamConfigurationBucketPolicyOnlyResponseOutput) ToBucketIamConfigurationBucketPolicyOnlyResponseOutputWithContext(ctx context.Context) BucketIamConfigurationBucketPolicyOnlyResponseOutput

type BucketIamConfigurationInput

type BucketIamConfigurationInput interface {
	pulumi.Input

	ToBucketIamConfigurationOutput() BucketIamConfigurationOutput
	ToBucketIamConfigurationOutputWithContext(context.Context) BucketIamConfigurationOutput
}

BucketIamConfigurationInput is an input type that accepts BucketIamConfigurationArgs and BucketIamConfigurationOutput values. You can construct a concrete instance of `BucketIamConfigurationInput` via:

BucketIamConfigurationArgs{...}

type BucketIamConfigurationOutput

type BucketIamConfigurationOutput struct{ *pulumi.OutputState }

The bucket's IAM configuration.

func (BucketIamConfigurationOutput) BucketPolicyOnly

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.

func (BucketIamConfigurationOutput) ElementType

func (BucketIamConfigurationOutput) PublicAccessPrevention

func (o BucketIamConfigurationOutput) PublicAccessPrevention() pulumi.StringPtrOutput

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

func (BucketIamConfigurationOutput) ToBucketIamConfigurationOutput

func (o BucketIamConfigurationOutput) ToBucketIamConfigurationOutput() BucketIamConfigurationOutput

func (BucketIamConfigurationOutput) ToBucketIamConfigurationOutputWithContext

func (o BucketIamConfigurationOutput) ToBucketIamConfigurationOutputWithContext(ctx context.Context) BucketIamConfigurationOutput

func (BucketIamConfigurationOutput) ToBucketIamConfigurationPtrOutput

func (o BucketIamConfigurationOutput) ToBucketIamConfigurationPtrOutput() BucketIamConfigurationPtrOutput

func (BucketIamConfigurationOutput) ToBucketIamConfigurationPtrOutputWithContext

func (o BucketIamConfigurationOutput) ToBucketIamConfigurationPtrOutputWithContext(ctx context.Context) BucketIamConfigurationPtrOutput

func (BucketIamConfigurationOutput) UniformBucketLevelAccess

The bucket's uniform bucket-level access configuration.

type BucketIamConfigurationPtrInput

type BucketIamConfigurationPtrInput interface {
	pulumi.Input

	ToBucketIamConfigurationPtrOutput() BucketIamConfigurationPtrOutput
	ToBucketIamConfigurationPtrOutputWithContext(context.Context) BucketIamConfigurationPtrOutput
}

BucketIamConfigurationPtrInput is an input type that accepts BucketIamConfigurationArgs, BucketIamConfigurationPtr and BucketIamConfigurationPtrOutput values. You can construct a concrete instance of `BucketIamConfigurationPtrInput` via:

        BucketIamConfigurationArgs{...}

or:

        nil

type BucketIamConfigurationPtrOutput

type BucketIamConfigurationPtrOutput struct{ *pulumi.OutputState }

func (BucketIamConfigurationPtrOutput) BucketPolicyOnly

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.

func (BucketIamConfigurationPtrOutput) Elem

func (BucketIamConfigurationPtrOutput) ElementType

func (BucketIamConfigurationPtrOutput) PublicAccessPrevention

func (o BucketIamConfigurationPtrOutput) PublicAccessPrevention() pulumi.StringPtrOutput

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

func (BucketIamConfigurationPtrOutput) ToBucketIamConfigurationPtrOutput

func (o BucketIamConfigurationPtrOutput) ToBucketIamConfigurationPtrOutput() BucketIamConfigurationPtrOutput

func (BucketIamConfigurationPtrOutput) ToBucketIamConfigurationPtrOutputWithContext

func (o BucketIamConfigurationPtrOutput) ToBucketIamConfigurationPtrOutputWithContext(ctx context.Context) BucketIamConfigurationPtrOutput

func (BucketIamConfigurationPtrOutput) UniformBucketLevelAccess

The bucket's uniform bucket-level access configuration.

type BucketIamConfigurationResponse

type BucketIamConfigurationResponse struct {
	// 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.
	BucketPolicyOnly BucketIamConfigurationBucketPolicyOnlyResponse `pulumi:"bucketPolicyOnly"`
	// The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.
	PublicAccessPrevention string `pulumi:"publicAccessPrevention"`
	// The bucket's uniform bucket-level access configuration.
	UniformBucketLevelAccess BucketIamConfigurationUniformBucketLevelAccessResponse `pulumi:"uniformBucketLevelAccess"`
}

The bucket's IAM configuration.

type BucketIamConfigurationResponseOutput

type BucketIamConfigurationResponseOutput struct{ *pulumi.OutputState }

The bucket's IAM configuration.

func (BucketIamConfigurationResponseOutput) BucketPolicyOnly

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.

func (BucketIamConfigurationResponseOutput) ElementType

func (BucketIamConfigurationResponseOutput) PublicAccessPrevention

func (o BucketIamConfigurationResponseOutput) PublicAccessPrevention() pulumi.StringOutput

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

func (BucketIamConfigurationResponseOutput) ToBucketIamConfigurationResponseOutput

func (o BucketIamConfigurationResponseOutput) ToBucketIamConfigurationResponseOutput() BucketIamConfigurationResponseOutput

func (BucketIamConfigurationResponseOutput) ToBucketIamConfigurationResponseOutputWithContext

func (o BucketIamConfigurationResponseOutput) ToBucketIamConfigurationResponseOutputWithContext(ctx context.Context) BucketIamConfigurationResponseOutput

func (BucketIamConfigurationResponseOutput) UniformBucketLevelAccess

The bucket's uniform bucket-level access configuration.

type BucketIamConfigurationUniformBucketLevelAccess added in v0.4.0

type BucketIamConfigurationUniformBucketLevelAccess struct {
	// If set, access is controlled only by bucket-level or above IAM policies.
	Enabled *bool `pulumi:"enabled"`
	// 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.
	LockedTime *string `pulumi:"lockedTime"`
}

The bucket's uniform bucket-level access configuration.

type BucketIamConfigurationUniformBucketLevelAccessArgs added in v0.4.0

type BucketIamConfigurationUniformBucketLevelAccessArgs struct {
	// If set, access is controlled only by bucket-level or above IAM policies.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// 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.
	LockedTime pulumi.StringPtrInput `pulumi:"lockedTime"`
}

The bucket's uniform bucket-level access configuration.

func (BucketIamConfigurationUniformBucketLevelAccessArgs) ElementType added in v0.4.0

func (BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessOutput added in v0.4.0

func (i BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessOutput() BucketIamConfigurationUniformBucketLevelAccessOutput

func (BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessOutputWithContext added in v0.4.0

func (i BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessOutputWithContext(ctx context.Context) BucketIamConfigurationUniformBucketLevelAccessOutput

func (BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutput added in v0.4.0

func (i BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutput() BucketIamConfigurationUniformBucketLevelAccessPtrOutput

func (BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext added in v0.4.0

func (i BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext(ctx context.Context) BucketIamConfigurationUniformBucketLevelAccessPtrOutput

type BucketIamConfigurationUniformBucketLevelAccessInput added in v0.4.0

type BucketIamConfigurationUniformBucketLevelAccessInput interface {
	pulumi.Input

	ToBucketIamConfigurationUniformBucketLevelAccessOutput() BucketIamConfigurationUniformBucketLevelAccessOutput
	ToBucketIamConfigurationUniformBucketLevelAccessOutputWithContext(context.Context) BucketIamConfigurationUniformBucketLevelAccessOutput
}

BucketIamConfigurationUniformBucketLevelAccessInput is an input type that accepts BucketIamConfigurationUniformBucketLevelAccessArgs and BucketIamConfigurationUniformBucketLevelAccessOutput values. You can construct a concrete instance of `BucketIamConfigurationUniformBucketLevelAccessInput` via:

BucketIamConfigurationUniformBucketLevelAccessArgs{...}

type BucketIamConfigurationUniformBucketLevelAccessOutput added in v0.4.0

type BucketIamConfigurationUniformBucketLevelAccessOutput struct{ *pulumi.OutputState }

The bucket's uniform bucket-level access configuration.

func (BucketIamConfigurationUniformBucketLevelAccessOutput) ElementType added in v0.4.0

func (BucketIamConfigurationUniformBucketLevelAccessOutput) Enabled added in v0.4.0

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

func (BucketIamConfigurationUniformBucketLevelAccessOutput) LockedTime added in v0.4.0

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.

func (BucketIamConfigurationUniformBucketLevelAccessOutput) ToBucketIamConfigurationUniformBucketLevelAccessOutput added in v0.4.0

func (BucketIamConfigurationUniformBucketLevelAccessOutput) ToBucketIamConfigurationUniformBucketLevelAccessOutputWithContext added in v0.4.0

func (o BucketIamConfigurationUniformBucketLevelAccessOutput) ToBucketIamConfigurationUniformBucketLevelAccessOutputWithContext(ctx context.Context) BucketIamConfigurationUniformBucketLevelAccessOutput

func (BucketIamConfigurationUniformBucketLevelAccessOutput) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutput added in v0.4.0

func (o BucketIamConfigurationUniformBucketLevelAccessOutput) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutput() BucketIamConfigurationUniformBucketLevelAccessPtrOutput

func (BucketIamConfigurationUniformBucketLevelAccessOutput) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext added in v0.4.0

func (o BucketIamConfigurationUniformBucketLevelAccessOutput) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext(ctx context.Context) BucketIamConfigurationUniformBucketLevelAccessPtrOutput

type BucketIamConfigurationUniformBucketLevelAccessPtrInput added in v0.4.0

type BucketIamConfigurationUniformBucketLevelAccessPtrInput interface {
	pulumi.Input

	ToBucketIamConfigurationUniformBucketLevelAccessPtrOutput() BucketIamConfigurationUniformBucketLevelAccessPtrOutput
	ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext(context.Context) BucketIamConfigurationUniformBucketLevelAccessPtrOutput
}

BucketIamConfigurationUniformBucketLevelAccessPtrInput is an input type that accepts BucketIamConfigurationUniformBucketLevelAccessArgs, BucketIamConfigurationUniformBucketLevelAccessPtr and BucketIamConfigurationUniformBucketLevelAccessPtrOutput values. You can construct a concrete instance of `BucketIamConfigurationUniformBucketLevelAccessPtrInput` via:

        BucketIamConfigurationUniformBucketLevelAccessArgs{...}

or:

        nil

type BucketIamConfigurationUniformBucketLevelAccessPtrOutput added in v0.4.0

type BucketIamConfigurationUniformBucketLevelAccessPtrOutput struct{ *pulumi.OutputState }

func (BucketIamConfigurationUniformBucketLevelAccessPtrOutput) Elem added in v0.4.0

func (BucketIamConfigurationUniformBucketLevelAccessPtrOutput) ElementType added in v0.4.0

func (BucketIamConfigurationUniformBucketLevelAccessPtrOutput) Enabled added in v0.4.0

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

func (BucketIamConfigurationUniformBucketLevelAccessPtrOutput) LockedTime added in v0.4.0

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.

func (BucketIamConfigurationUniformBucketLevelAccessPtrOutput) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutput added in v0.4.0

func (BucketIamConfigurationUniformBucketLevelAccessPtrOutput) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext added in v0.4.0

func (o BucketIamConfigurationUniformBucketLevelAccessPtrOutput) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext(ctx context.Context) BucketIamConfigurationUniformBucketLevelAccessPtrOutput

type BucketIamConfigurationUniformBucketLevelAccessResponse added in v0.4.0

type BucketIamConfigurationUniformBucketLevelAccessResponse struct {
	// If set, access is controlled only by bucket-level or above IAM policies.
	Enabled bool `pulumi:"enabled"`
	// 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.
	LockedTime string `pulumi:"lockedTime"`
}

The bucket's uniform bucket-level access configuration.

type BucketIamConfigurationUniformBucketLevelAccessResponseOutput added in v0.4.0

type BucketIamConfigurationUniformBucketLevelAccessResponseOutput struct{ *pulumi.OutputState }

The bucket's uniform bucket-level access configuration.

func (BucketIamConfigurationUniformBucketLevelAccessResponseOutput) ElementType added in v0.4.0

func (BucketIamConfigurationUniformBucketLevelAccessResponseOutput) Enabled added in v0.4.0

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

func (BucketIamConfigurationUniformBucketLevelAccessResponseOutput) LockedTime added in v0.4.0

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.

func (BucketIamConfigurationUniformBucketLevelAccessResponseOutput) ToBucketIamConfigurationUniformBucketLevelAccessResponseOutput added in v0.4.0

func (BucketIamConfigurationUniformBucketLevelAccessResponseOutput) ToBucketIamConfigurationUniformBucketLevelAccessResponseOutputWithContext added in v0.4.0

func (o BucketIamConfigurationUniformBucketLevelAccessResponseOutput) ToBucketIamConfigurationUniformBucketLevelAccessResponseOutputWithContext(ctx context.Context) BucketIamConfigurationUniformBucketLevelAccessResponseOutput

type BucketIamMember added in v0.26.0

type BucketIamMember struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Member pulumi.StringOutput `pulumi:"member"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringOutput `pulumi:"role"`
}

Updates an IAM policy for the specified bucket.

func GetBucketIamMember added in v0.26.0

func GetBucketIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketIamMemberState, opts ...pulumi.ResourceOption) (*BucketIamMember, error)

GetBucketIamMember gets an existing BucketIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucketIamMember added in v0.26.0

func NewBucketIamMember(ctx *pulumi.Context,
	name string, args *BucketIamMemberArgs, opts ...pulumi.ResourceOption) (*BucketIamMember, error)

NewBucketIamMember registers a new resource with the given unique name, arguments, and options.

func (*BucketIamMember) ElementType added in v0.26.0

func (*BucketIamMember) ElementType() reflect.Type

func (*BucketIamMember) ToBucketIamMemberOutput added in v0.26.0

func (i *BucketIamMember) ToBucketIamMemberOutput() BucketIamMemberOutput

func (*BucketIamMember) ToBucketIamMemberOutputWithContext added in v0.26.0

func (i *BucketIamMember) ToBucketIamMemberOutputWithContext(ctx context.Context) BucketIamMemberOutput

type BucketIamMemberArgs added in v0.26.0

type BucketIamMemberArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identity that will be granted the privilege in role. The entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Member pulumi.StringInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied.
	Role pulumi.StringInput
}

The set of arguments for constructing a BucketIamMember resource.

func (BucketIamMemberArgs) ElementType added in v0.26.0

func (BucketIamMemberArgs) ElementType() reflect.Type

type BucketIamMemberInput added in v0.26.0

type BucketIamMemberInput interface {
	pulumi.Input

	ToBucketIamMemberOutput() BucketIamMemberOutput
	ToBucketIamMemberOutputWithContext(ctx context.Context) BucketIamMemberOutput
}

type BucketIamMemberOutput added in v0.26.0

type BucketIamMemberOutput struct{ *pulumi.OutputState }

func (BucketIamMemberOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (BucketIamMemberOutput) ElementType added in v0.26.0

func (BucketIamMemberOutput) ElementType() reflect.Type

func (BucketIamMemberOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (BucketIamMemberOutput) Member added in v0.26.0

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (BucketIamMemberOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (BucketIamMemberOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (BucketIamMemberOutput) Role added in v0.26.0

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (BucketIamMemberOutput) ToBucketIamMemberOutput added in v0.26.0

func (o BucketIamMemberOutput) ToBucketIamMemberOutput() BucketIamMemberOutput

func (BucketIamMemberOutput) ToBucketIamMemberOutputWithContext added in v0.26.0

func (o BucketIamMemberOutput) ToBucketIamMemberOutputWithContext(ctx context.Context) BucketIamMemberOutput

type BucketIamMemberState added in v0.26.0

type BucketIamMemberState struct {
}

func (BucketIamMemberState) ElementType added in v0.26.0

func (BucketIamMemberState) ElementType() reflect.Type

type BucketIamPolicy

type BucketIamPolicy struct {
	pulumi.CustomResourceState

	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings BucketIamPolicyBindingsItemResponseArrayOutput `pulumi:"bindings"`
	Bucket   pulumi.StringOutput                            `pulumi:"bucket"`
	// HTTP 1.1  Entity tag for the policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
	// The IAM policy format version.
	Version pulumi.IntOutput `pulumi:"version"`
}

Updates an IAM policy for the specified bucket. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetBucketIamPolicy

func GetBucketIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketIamPolicyState, opts ...pulumi.ResourceOption) (*BucketIamPolicy, error)

GetBucketIamPolicy gets an existing BucketIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucketIamPolicy

func NewBucketIamPolicy(ctx *pulumi.Context,
	name string, args *BucketIamPolicyArgs, opts ...pulumi.ResourceOption) (*BucketIamPolicy, error)

NewBucketIamPolicy registers a new resource with the given unique name, arguments, and options.

func (*BucketIamPolicy) ElementType

func (*BucketIamPolicy) ElementType() reflect.Type

func (*BucketIamPolicy) ToBucketIamPolicyOutput

func (i *BucketIamPolicy) ToBucketIamPolicyOutput() BucketIamPolicyOutput

func (*BucketIamPolicy) ToBucketIamPolicyOutputWithContext

func (i *BucketIamPolicy) ToBucketIamPolicyOutputWithContext(ctx context.Context) BucketIamPolicyOutput

type BucketIamPolicyArgs

type BucketIamPolicyArgs struct {
	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings BucketIamPolicyBindingsItemArrayInput
	Bucket   pulumi.StringInput
	// HTTP 1.1  Entity tag for the policy.
	Etag pulumi.StringPtrInput
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind pulumi.StringPtrInput
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId pulumi.StringPtrInput
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrInput
	// The IAM policy format version.
	Version pulumi.IntPtrInput
}

The set of arguments for constructing a BucketIamPolicy resource.

func (BucketIamPolicyArgs) ElementType

func (BucketIamPolicyArgs) ElementType() reflect.Type

type BucketIamPolicyBindingsItem

type BucketIamPolicyBindingsItem struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition *Expr `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members []string `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role *string `pulumi:"role"`
}

type BucketIamPolicyBindingsItemArgs

type BucketIamPolicyBindingsItemArgs struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition ExprPtrInput `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members pulumi.StringArrayInput `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringPtrInput `pulumi:"role"`
}

func (BucketIamPolicyBindingsItemArgs) ElementType

func (BucketIamPolicyBindingsItemArgs) ToBucketIamPolicyBindingsItemOutput

func (i BucketIamPolicyBindingsItemArgs) ToBucketIamPolicyBindingsItemOutput() BucketIamPolicyBindingsItemOutput

func (BucketIamPolicyBindingsItemArgs) ToBucketIamPolicyBindingsItemOutputWithContext

func (i BucketIamPolicyBindingsItemArgs) ToBucketIamPolicyBindingsItemOutputWithContext(ctx context.Context) BucketIamPolicyBindingsItemOutput

type BucketIamPolicyBindingsItemArray

type BucketIamPolicyBindingsItemArray []BucketIamPolicyBindingsItemInput

func (BucketIamPolicyBindingsItemArray) ElementType

func (BucketIamPolicyBindingsItemArray) ToBucketIamPolicyBindingsItemArrayOutput

func (i BucketIamPolicyBindingsItemArray) ToBucketIamPolicyBindingsItemArrayOutput() BucketIamPolicyBindingsItemArrayOutput

func (BucketIamPolicyBindingsItemArray) ToBucketIamPolicyBindingsItemArrayOutputWithContext

func (i BucketIamPolicyBindingsItemArray) ToBucketIamPolicyBindingsItemArrayOutputWithContext(ctx context.Context) BucketIamPolicyBindingsItemArrayOutput

type BucketIamPolicyBindingsItemArrayInput

type BucketIamPolicyBindingsItemArrayInput interface {
	pulumi.Input

	ToBucketIamPolicyBindingsItemArrayOutput() BucketIamPolicyBindingsItemArrayOutput
	ToBucketIamPolicyBindingsItemArrayOutputWithContext(context.Context) BucketIamPolicyBindingsItemArrayOutput
}

BucketIamPolicyBindingsItemArrayInput is an input type that accepts BucketIamPolicyBindingsItemArray and BucketIamPolicyBindingsItemArrayOutput values. You can construct a concrete instance of `BucketIamPolicyBindingsItemArrayInput` via:

BucketIamPolicyBindingsItemArray{ BucketIamPolicyBindingsItemArgs{...} }

type BucketIamPolicyBindingsItemArrayOutput

type BucketIamPolicyBindingsItemArrayOutput struct{ *pulumi.OutputState }

func (BucketIamPolicyBindingsItemArrayOutput) ElementType

func (BucketIamPolicyBindingsItemArrayOutput) Index

func (BucketIamPolicyBindingsItemArrayOutput) ToBucketIamPolicyBindingsItemArrayOutput

func (o BucketIamPolicyBindingsItemArrayOutput) ToBucketIamPolicyBindingsItemArrayOutput() BucketIamPolicyBindingsItemArrayOutput

func (BucketIamPolicyBindingsItemArrayOutput) ToBucketIamPolicyBindingsItemArrayOutputWithContext

func (o BucketIamPolicyBindingsItemArrayOutput) ToBucketIamPolicyBindingsItemArrayOutputWithContext(ctx context.Context) BucketIamPolicyBindingsItemArrayOutput

type BucketIamPolicyBindingsItemInput

type BucketIamPolicyBindingsItemInput interface {
	pulumi.Input

	ToBucketIamPolicyBindingsItemOutput() BucketIamPolicyBindingsItemOutput
	ToBucketIamPolicyBindingsItemOutputWithContext(context.Context) BucketIamPolicyBindingsItemOutput
}

BucketIamPolicyBindingsItemInput is an input type that accepts BucketIamPolicyBindingsItemArgs and BucketIamPolicyBindingsItemOutput values. You can construct a concrete instance of `BucketIamPolicyBindingsItemInput` via:

BucketIamPolicyBindingsItemArgs{...}

type BucketIamPolicyBindingsItemOutput

type BucketIamPolicyBindingsItemOutput struct{ *pulumi.OutputState }

func (BucketIamPolicyBindingsItemOutput) Condition

The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.

func (BucketIamPolicyBindingsItemOutput) ElementType

func (BucketIamPolicyBindingsItemOutput) Members

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (BucketIamPolicyBindingsItemOutput) Role

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (BucketIamPolicyBindingsItemOutput) ToBucketIamPolicyBindingsItemOutput

func (o BucketIamPolicyBindingsItemOutput) ToBucketIamPolicyBindingsItemOutput() BucketIamPolicyBindingsItemOutput

func (BucketIamPolicyBindingsItemOutput) ToBucketIamPolicyBindingsItemOutputWithContext

func (o BucketIamPolicyBindingsItemOutput) ToBucketIamPolicyBindingsItemOutputWithContext(ctx context.Context) BucketIamPolicyBindingsItemOutput

type BucketIamPolicyBindingsItemResponse

type BucketIamPolicyBindingsItemResponse struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition ExprResponse `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members []string `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role string `pulumi:"role"`
}

type BucketIamPolicyBindingsItemResponseArrayOutput

type BucketIamPolicyBindingsItemResponseArrayOutput struct{ *pulumi.OutputState }

func (BucketIamPolicyBindingsItemResponseArrayOutput) ElementType

func (BucketIamPolicyBindingsItemResponseArrayOutput) Index

func (BucketIamPolicyBindingsItemResponseArrayOutput) ToBucketIamPolicyBindingsItemResponseArrayOutput

func (o BucketIamPolicyBindingsItemResponseArrayOutput) ToBucketIamPolicyBindingsItemResponseArrayOutput() BucketIamPolicyBindingsItemResponseArrayOutput

func (BucketIamPolicyBindingsItemResponseArrayOutput) ToBucketIamPolicyBindingsItemResponseArrayOutputWithContext

func (o BucketIamPolicyBindingsItemResponseArrayOutput) ToBucketIamPolicyBindingsItemResponseArrayOutputWithContext(ctx context.Context) BucketIamPolicyBindingsItemResponseArrayOutput

type BucketIamPolicyBindingsItemResponseOutput

type BucketIamPolicyBindingsItemResponseOutput struct{ *pulumi.OutputState }

func (BucketIamPolicyBindingsItemResponseOutput) Condition

The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.

func (BucketIamPolicyBindingsItemResponseOutput) ElementType

func (BucketIamPolicyBindingsItemResponseOutput) Members

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (BucketIamPolicyBindingsItemResponseOutput) Role

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (BucketIamPolicyBindingsItemResponseOutput) ToBucketIamPolicyBindingsItemResponseOutput

func (o BucketIamPolicyBindingsItemResponseOutput) ToBucketIamPolicyBindingsItemResponseOutput() BucketIamPolicyBindingsItemResponseOutput

func (BucketIamPolicyBindingsItemResponseOutput) ToBucketIamPolicyBindingsItemResponseOutputWithContext

func (o BucketIamPolicyBindingsItemResponseOutput) ToBucketIamPolicyBindingsItemResponseOutputWithContext(ctx context.Context) BucketIamPolicyBindingsItemResponseOutput

type BucketIamPolicyInput

type BucketIamPolicyInput interface {
	pulumi.Input

	ToBucketIamPolicyOutput() BucketIamPolicyOutput
	ToBucketIamPolicyOutputWithContext(ctx context.Context) BucketIamPolicyOutput
}

type BucketIamPolicyOutput

type BucketIamPolicyOutput struct{ *pulumi.OutputState }

func (BucketIamPolicyOutput) Bindings added in v0.19.0

An association between a role, which comes with a set of permissions, and members who may assume that role.

func (BucketIamPolicyOutput) Bucket added in v0.21.0

func (BucketIamPolicyOutput) ElementType

func (BucketIamPolicyOutput) ElementType() reflect.Type

func (BucketIamPolicyOutput) Etag added in v0.19.0

HTTP 1.1 Entity tag for the policy.

func (BucketIamPolicyOutput) Kind added in v0.19.0

The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.

func (BucketIamPolicyOutput) ResourceId added in v0.19.0

func (o BucketIamPolicyOutput) ResourceId() pulumi.StringOutput

The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.

func (BucketIamPolicyOutput) ToBucketIamPolicyOutput

func (o BucketIamPolicyOutput) ToBucketIamPolicyOutput() BucketIamPolicyOutput

func (BucketIamPolicyOutput) ToBucketIamPolicyOutputWithContext

func (o BucketIamPolicyOutput) ToBucketIamPolicyOutputWithContext(ctx context.Context) BucketIamPolicyOutput

func (BucketIamPolicyOutput) UserProject added in v0.21.0

The project to be billed for this request. Required for Requester Pays buckets.

func (BucketIamPolicyOutput) Version added in v0.19.0

The IAM policy format version.

type BucketIamPolicyState

type BucketIamPolicyState struct {
}

func (BucketIamPolicyState) ElementType

func (BucketIamPolicyState) ElementType() reflect.Type

type BucketInput

type BucketInput interface {
	pulumi.Input

	ToBucketOutput() BucketOutput
	ToBucketOutputWithContext(ctx context.Context) BucketOutput
}

type BucketLifecycle

type BucketLifecycle struct {
	// 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 `pulumi:"rule"`
}

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

type BucketLifecycleArgs

type BucketLifecycleArgs struct {
	// A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
	Rule BucketLifecycleRuleItemArrayInput `pulumi:"rule"`
}

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

func (BucketLifecycleArgs) ElementType

func (BucketLifecycleArgs) ElementType() reflect.Type

func (BucketLifecycleArgs) ToBucketLifecycleOutput

func (i BucketLifecycleArgs) ToBucketLifecycleOutput() BucketLifecycleOutput

func (BucketLifecycleArgs) ToBucketLifecycleOutputWithContext

func (i BucketLifecycleArgs) ToBucketLifecycleOutputWithContext(ctx context.Context) BucketLifecycleOutput

func (BucketLifecycleArgs) ToBucketLifecyclePtrOutput

func (i BucketLifecycleArgs) ToBucketLifecyclePtrOutput() BucketLifecyclePtrOutput

func (BucketLifecycleArgs) ToBucketLifecyclePtrOutputWithContext

func (i BucketLifecycleArgs) ToBucketLifecyclePtrOutputWithContext(ctx context.Context) BucketLifecyclePtrOutput

type BucketLifecycleInput

type BucketLifecycleInput interface {
	pulumi.Input

	ToBucketLifecycleOutput() BucketLifecycleOutput
	ToBucketLifecycleOutputWithContext(context.Context) BucketLifecycleOutput
}

BucketLifecycleInput is an input type that accepts BucketLifecycleArgs and BucketLifecycleOutput values. You can construct a concrete instance of `BucketLifecycleInput` via:

BucketLifecycleArgs{...}

type BucketLifecycleOutput

type BucketLifecycleOutput struct{ *pulumi.OutputState }

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

func (BucketLifecycleOutput) ElementType

func (BucketLifecycleOutput) ElementType() reflect.Type

func (BucketLifecycleOutput) Rule

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

func (BucketLifecycleOutput) ToBucketLifecycleOutput

func (o BucketLifecycleOutput) ToBucketLifecycleOutput() BucketLifecycleOutput

func (BucketLifecycleOutput) ToBucketLifecycleOutputWithContext

func (o BucketLifecycleOutput) ToBucketLifecycleOutputWithContext(ctx context.Context) BucketLifecycleOutput

func (BucketLifecycleOutput) ToBucketLifecyclePtrOutput

func (o BucketLifecycleOutput) ToBucketLifecyclePtrOutput() BucketLifecyclePtrOutput

func (BucketLifecycleOutput) ToBucketLifecyclePtrOutputWithContext

func (o BucketLifecycleOutput) ToBucketLifecyclePtrOutputWithContext(ctx context.Context) BucketLifecyclePtrOutput

type BucketLifecyclePtrInput

type BucketLifecyclePtrInput interface {
	pulumi.Input

	ToBucketLifecyclePtrOutput() BucketLifecyclePtrOutput
	ToBucketLifecyclePtrOutputWithContext(context.Context) BucketLifecyclePtrOutput
}

BucketLifecyclePtrInput is an input type that accepts BucketLifecycleArgs, BucketLifecyclePtr and BucketLifecyclePtrOutput values. You can construct a concrete instance of `BucketLifecyclePtrInput` via:

        BucketLifecycleArgs{...}

or:

        nil

type BucketLifecyclePtrOutput

type BucketLifecyclePtrOutput struct{ *pulumi.OutputState }

func (BucketLifecyclePtrOutput) Elem

func (BucketLifecyclePtrOutput) ElementType

func (BucketLifecyclePtrOutput) ElementType() reflect.Type

func (BucketLifecyclePtrOutput) Rule

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

func (BucketLifecyclePtrOutput) ToBucketLifecyclePtrOutput

func (o BucketLifecyclePtrOutput) ToBucketLifecyclePtrOutput() BucketLifecyclePtrOutput

func (BucketLifecyclePtrOutput) ToBucketLifecyclePtrOutputWithContext

func (o BucketLifecyclePtrOutput) ToBucketLifecyclePtrOutputWithContext(ctx context.Context) BucketLifecyclePtrOutput

type BucketLifecycleResponse

type BucketLifecycleResponse struct {
	// 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 `pulumi:"rule"`
}

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

type BucketLifecycleResponseOutput

type BucketLifecycleResponseOutput struct{ *pulumi.OutputState }

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

func (BucketLifecycleResponseOutput) ElementType

func (BucketLifecycleResponseOutput) Rule

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

func (BucketLifecycleResponseOutput) ToBucketLifecycleResponseOutput

func (o BucketLifecycleResponseOutput) ToBucketLifecycleResponseOutput() BucketLifecycleResponseOutput

func (BucketLifecycleResponseOutput) ToBucketLifecycleResponseOutputWithContext

func (o BucketLifecycleResponseOutput) ToBucketLifecycleResponseOutputWithContext(ctx context.Context) BucketLifecycleResponseOutput

type BucketLifecycleRuleItem added in v0.4.0

type BucketLifecycleRuleItem struct {
	// The action to take.
	Action *BucketLifecycleRuleItemAction `pulumi:"action"`
	// The condition(s) under which the action will be taken.
	Condition *BucketLifecycleRuleItemCondition `pulumi:"condition"`
}

type BucketLifecycleRuleItemAction added in v0.4.0

type BucketLifecycleRuleItemAction struct {
	// Target storage class. Required iff the type of the action is SetStorageClass.
	StorageClass *string `pulumi:"storageClass"`
	// Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
	Type *string `pulumi:"type"`
}

The action to take.

type BucketLifecycleRuleItemActionArgs added in v0.4.0

type BucketLifecycleRuleItemActionArgs struct {
	// Target storage class. Required iff the type of the action is SetStorageClass.
	StorageClass pulumi.StringPtrInput `pulumi:"storageClass"`
	// Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

The action to take.

func (BucketLifecycleRuleItemActionArgs) ElementType added in v0.4.0

func (BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionOutput added in v0.4.0

func (i BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionOutput() BucketLifecycleRuleItemActionOutput

func (BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionOutputWithContext added in v0.4.0

func (i BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionOutputWithContext(ctx context.Context) BucketLifecycleRuleItemActionOutput

func (BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionPtrOutput added in v0.4.0

func (i BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionPtrOutput() BucketLifecycleRuleItemActionPtrOutput

func (BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionPtrOutputWithContext added in v0.4.0

func (i BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionPtrOutputWithContext(ctx context.Context) BucketLifecycleRuleItemActionPtrOutput

type BucketLifecycleRuleItemActionInput added in v0.4.0

type BucketLifecycleRuleItemActionInput interface {
	pulumi.Input

	ToBucketLifecycleRuleItemActionOutput() BucketLifecycleRuleItemActionOutput
	ToBucketLifecycleRuleItemActionOutputWithContext(context.Context) BucketLifecycleRuleItemActionOutput
}

BucketLifecycleRuleItemActionInput is an input type that accepts BucketLifecycleRuleItemActionArgs and BucketLifecycleRuleItemActionOutput values. You can construct a concrete instance of `BucketLifecycleRuleItemActionInput` via:

BucketLifecycleRuleItemActionArgs{...}

type BucketLifecycleRuleItemActionOutput added in v0.4.0

type BucketLifecycleRuleItemActionOutput struct{ *pulumi.OutputState }

The action to take.

func (BucketLifecycleRuleItemActionOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemActionOutput) StorageClass added in v0.4.0

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

func (BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionOutput added in v0.4.0

func (o BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionOutput() BucketLifecycleRuleItemActionOutput

func (BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionOutputWithContext(ctx context.Context) BucketLifecycleRuleItemActionOutput

func (BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionPtrOutput added in v0.4.0

func (o BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionPtrOutput() BucketLifecycleRuleItemActionPtrOutput

func (BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionPtrOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionPtrOutputWithContext(ctx context.Context) BucketLifecycleRuleItemActionPtrOutput

func (BucketLifecycleRuleItemActionOutput) Type added in v0.4.0

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

type BucketLifecycleRuleItemActionPtrInput added in v0.4.0

type BucketLifecycleRuleItemActionPtrInput interface {
	pulumi.Input

	ToBucketLifecycleRuleItemActionPtrOutput() BucketLifecycleRuleItemActionPtrOutput
	ToBucketLifecycleRuleItemActionPtrOutputWithContext(context.Context) BucketLifecycleRuleItemActionPtrOutput
}

BucketLifecycleRuleItemActionPtrInput is an input type that accepts BucketLifecycleRuleItemActionArgs, BucketLifecycleRuleItemActionPtr and BucketLifecycleRuleItemActionPtrOutput values. You can construct a concrete instance of `BucketLifecycleRuleItemActionPtrInput` via:

        BucketLifecycleRuleItemActionArgs{...}

or:

        nil

type BucketLifecycleRuleItemActionPtrOutput added in v0.4.0

type BucketLifecycleRuleItemActionPtrOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleItemActionPtrOutput) Elem added in v0.4.0

func (BucketLifecycleRuleItemActionPtrOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemActionPtrOutput) StorageClass added in v0.4.0

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

func (BucketLifecycleRuleItemActionPtrOutput) ToBucketLifecycleRuleItemActionPtrOutput added in v0.4.0

func (o BucketLifecycleRuleItemActionPtrOutput) ToBucketLifecycleRuleItemActionPtrOutput() BucketLifecycleRuleItemActionPtrOutput

func (BucketLifecycleRuleItemActionPtrOutput) ToBucketLifecycleRuleItemActionPtrOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemActionPtrOutput) ToBucketLifecycleRuleItemActionPtrOutputWithContext(ctx context.Context) BucketLifecycleRuleItemActionPtrOutput

func (BucketLifecycleRuleItemActionPtrOutput) Type added in v0.4.0

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

type BucketLifecycleRuleItemActionResponse added in v0.4.0

type BucketLifecycleRuleItemActionResponse struct {
	// Target storage class. Required iff the type of the action is SetStorageClass.
	StorageClass string `pulumi:"storageClass"`
	// Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
	Type string `pulumi:"type"`
}

The action to take.

type BucketLifecycleRuleItemActionResponseOutput added in v0.4.0

type BucketLifecycleRuleItemActionResponseOutput struct{ *pulumi.OutputState }

The action to take.

func (BucketLifecycleRuleItemActionResponseOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemActionResponseOutput) StorageClass added in v0.4.0

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

func (BucketLifecycleRuleItemActionResponseOutput) ToBucketLifecycleRuleItemActionResponseOutput added in v0.4.0

func (o BucketLifecycleRuleItemActionResponseOutput) ToBucketLifecycleRuleItemActionResponseOutput() BucketLifecycleRuleItemActionResponseOutput

func (BucketLifecycleRuleItemActionResponseOutput) ToBucketLifecycleRuleItemActionResponseOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemActionResponseOutput) ToBucketLifecycleRuleItemActionResponseOutputWithContext(ctx context.Context) BucketLifecycleRuleItemActionResponseOutput

func (BucketLifecycleRuleItemActionResponseOutput) Type added in v0.4.0

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

type BucketLifecycleRuleItemArgs added in v0.4.0

type BucketLifecycleRuleItemArgs struct {
	// The action to take.
	Action BucketLifecycleRuleItemActionPtrInput `pulumi:"action"`
	// The condition(s) under which the action will be taken.
	Condition BucketLifecycleRuleItemConditionPtrInput `pulumi:"condition"`
}

func (BucketLifecycleRuleItemArgs) ElementType added in v0.4.0

func (BucketLifecycleRuleItemArgs) ToBucketLifecycleRuleItemOutput added in v0.4.0

func (i BucketLifecycleRuleItemArgs) ToBucketLifecycleRuleItemOutput() BucketLifecycleRuleItemOutput

func (BucketLifecycleRuleItemArgs) ToBucketLifecycleRuleItemOutputWithContext added in v0.4.0

func (i BucketLifecycleRuleItemArgs) ToBucketLifecycleRuleItemOutputWithContext(ctx context.Context) BucketLifecycleRuleItemOutput

type BucketLifecycleRuleItemArray added in v0.4.0

type BucketLifecycleRuleItemArray []BucketLifecycleRuleItemInput

func (BucketLifecycleRuleItemArray) ElementType added in v0.4.0

func (BucketLifecycleRuleItemArray) ToBucketLifecycleRuleItemArrayOutput added in v0.4.0

func (i BucketLifecycleRuleItemArray) ToBucketLifecycleRuleItemArrayOutput() BucketLifecycleRuleItemArrayOutput

func (BucketLifecycleRuleItemArray) ToBucketLifecycleRuleItemArrayOutputWithContext added in v0.4.0

func (i BucketLifecycleRuleItemArray) ToBucketLifecycleRuleItemArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleItemArrayOutput

type BucketLifecycleRuleItemArrayInput added in v0.4.0

type BucketLifecycleRuleItemArrayInput interface {
	pulumi.Input

	ToBucketLifecycleRuleItemArrayOutput() BucketLifecycleRuleItemArrayOutput
	ToBucketLifecycleRuleItemArrayOutputWithContext(context.Context) BucketLifecycleRuleItemArrayOutput
}

BucketLifecycleRuleItemArrayInput is an input type that accepts BucketLifecycleRuleItemArray and BucketLifecycleRuleItemArrayOutput values. You can construct a concrete instance of `BucketLifecycleRuleItemArrayInput` via:

BucketLifecycleRuleItemArray{ BucketLifecycleRuleItemArgs{...} }

type BucketLifecycleRuleItemArrayOutput added in v0.4.0

type BucketLifecycleRuleItemArrayOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleItemArrayOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemArrayOutput) Index added in v0.4.0

func (BucketLifecycleRuleItemArrayOutput) ToBucketLifecycleRuleItemArrayOutput added in v0.4.0

func (o BucketLifecycleRuleItemArrayOutput) ToBucketLifecycleRuleItemArrayOutput() BucketLifecycleRuleItemArrayOutput

func (BucketLifecycleRuleItemArrayOutput) ToBucketLifecycleRuleItemArrayOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemArrayOutput) ToBucketLifecycleRuleItemArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleItemArrayOutput

type BucketLifecycleRuleItemCondition added in v0.4.0

type BucketLifecycleRuleItemCondition struct {
	// Age of an object (in days). This condition is satisfied when an object reaches the specified age.
	Age *int `pulumi:"age"`
	// 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.
	CreatedBefore *string `pulumi:"createdBefore"`
	// 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.
	CustomTimeBefore *string `pulumi:"customTimeBefore"`
	// 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.
	DaysSinceCustomTime *int `pulumi:"daysSinceCustomTime"`
	// 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.
	DaysSinceNoncurrentTime *int `pulumi:"daysSinceNoncurrentTime"`
	// Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
	IsLive *bool `pulumi:"isLive"`
	// 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.
	MatchesPattern *string `pulumi:"matchesPattern"`
	// 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.
	MatchesPrefix []string `pulumi:"matchesPrefix"`
	// 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.
	MatchesStorageClass []string `pulumi:"matchesStorageClass"`
	// 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.
	MatchesSuffix []string `pulumi:"matchesSuffix"`
	// 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.
	NoncurrentTimeBefore *string `pulumi:"noncurrentTimeBefore"`
	// 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.
	NumNewerVersions *int `pulumi:"numNewerVersions"`
}

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

type BucketLifecycleRuleItemConditionArgs added in v0.4.0

type BucketLifecycleRuleItemConditionArgs struct {
	// Age of an object (in days). This condition is satisfied when an object reaches the specified age.
	Age pulumi.IntPtrInput `pulumi:"age"`
	// 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.
	CreatedBefore pulumi.StringPtrInput `pulumi:"createdBefore"`
	// 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.
	CustomTimeBefore pulumi.StringPtrInput `pulumi:"customTimeBefore"`
	// 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.
	DaysSinceCustomTime pulumi.IntPtrInput `pulumi:"daysSinceCustomTime"`
	// 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.
	DaysSinceNoncurrentTime pulumi.IntPtrInput `pulumi:"daysSinceNoncurrentTime"`
	// Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
	IsLive pulumi.BoolPtrInput `pulumi:"isLive"`
	// 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.
	MatchesPattern pulumi.StringPtrInput `pulumi:"matchesPattern"`
	// 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.
	MatchesPrefix pulumi.StringArrayInput `pulumi:"matchesPrefix"`
	// 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.
	MatchesStorageClass pulumi.StringArrayInput `pulumi:"matchesStorageClass"`
	// 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.
	MatchesSuffix pulumi.StringArrayInput `pulumi:"matchesSuffix"`
	// 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.
	NoncurrentTimeBefore pulumi.StringPtrInput `pulumi:"noncurrentTimeBefore"`
	// 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.
	NumNewerVersions pulumi.IntPtrInput `pulumi:"numNewerVersions"`
}

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

func (BucketLifecycleRuleItemConditionArgs) ElementType added in v0.4.0

func (BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionOutput added in v0.4.0

func (i BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionOutput() BucketLifecycleRuleItemConditionOutput

func (BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionOutputWithContext added in v0.4.0

func (i BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionOutputWithContext(ctx context.Context) BucketLifecycleRuleItemConditionOutput

func (BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionPtrOutput added in v0.4.0

func (i BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionPtrOutput() BucketLifecycleRuleItemConditionPtrOutput

func (BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionPtrOutputWithContext added in v0.4.0

func (i BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionPtrOutputWithContext(ctx context.Context) BucketLifecycleRuleItemConditionPtrOutput

type BucketLifecycleRuleItemConditionInput added in v0.4.0

type BucketLifecycleRuleItemConditionInput interface {
	pulumi.Input

	ToBucketLifecycleRuleItemConditionOutput() BucketLifecycleRuleItemConditionOutput
	ToBucketLifecycleRuleItemConditionOutputWithContext(context.Context) BucketLifecycleRuleItemConditionOutput
}

BucketLifecycleRuleItemConditionInput is an input type that accepts BucketLifecycleRuleItemConditionArgs and BucketLifecycleRuleItemConditionOutput values. You can construct a concrete instance of `BucketLifecycleRuleItemConditionInput` via:

BucketLifecycleRuleItemConditionArgs{...}

type BucketLifecycleRuleItemConditionOutput added in v0.4.0

type BucketLifecycleRuleItemConditionOutput struct{ *pulumi.OutputState }

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

func (BucketLifecycleRuleItemConditionOutput) Age added in v0.4.0

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

func (BucketLifecycleRuleItemConditionOutput) CreatedBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionOutput) CustomTimeBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionOutput) DaysSinceCustomTime added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionOutput) DaysSinceNoncurrentTime added in v0.4.0

func (o BucketLifecycleRuleItemConditionOutput) DaysSinceNoncurrentTime() pulumi.IntPtrOutput

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.

func (BucketLifecycleRuleItemConditionOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemConditionOutput) IsLive added in v0.4.0

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

func (BucketLifecycleRuleItemConditionOutput) MatchesPattern added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionOutput) MatchesPrefix added in v0.19.0

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.

func (BucketLifecycleRuleItemConditionOutput) MatchesStorageClass added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionOutput) MatchesSuffix added in v0.19.0

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.

func (BucketLifecycleRuleItemConditionOutput) NoncurrentTimeBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionOutput) NumNewerVersions added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditionOutput added in v0.4.0

func (o BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditionOutput() BucketLifecycleRuleItemConditionOutput

func (BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditionOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditionOutputWithContext(ctx context.Context) BucketLifecycleRuleItemConditionOutput

func (BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditionPtrOutput added in v0.4.0

func (o BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditionPtrOutput() BucketLifecycleRuleItemConditionPtrOutput

func (BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditionPtrOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditionPtrOutputWithContext(ctx context.Context) BucketLifecycleRuleItemConditionPtrOutput

type BucketLifecycleRuleItemConditionPtrInput added in v0.4.0

type BucketLifecycleRuleItemConditionPtrInput interface {
	pulumi.Input

	ToBucketLifecycleRuleItemConditionPtrOutput() BucketLifecycleRuleItemConditionPtrOutput
	ToBucketLifecycleRuleItemConditionPtrOutputWithContext(context.Context) BucketLifecycleRuleItemConditionPtrOutput
}

BucketLifecycleRuleItemConditionPtrInput is an input type that accepts BucketLifecycleRuleItemConditionArgs, BucketLifecycleRuleItemConditionPtr and BucketLifecycleRuleItemConditionPtrOutput values. You can construct a concrete instance of `BucketLifecycleRuleItemConditionPtrInput` via:

        BucketLifecycleRuleItemConditionArgs{...}

or:

        nil

type BucketLifecycleRuleItemConditionPtrOutput added in v0.4.0

type BucketLifecycleRuleItemConditionPtrOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleItemConditionPtrOutput) Age added in v0.4.0

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

func (BucketLifecycleRuleItemConditionPtrOutput) CreatedBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) CustomTimeBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) DaysSinceCustomTime added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) DaysSinceNoncurrentTime added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) Elem added in v0.4.0

func (BucketLifecycleRuleItemConditionPtrOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemConditionPtrOutput) IsLive added in v0.4.0

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

func (BucketLifecycleRuleItemConditionPtrOutput) MatchesPattern added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) MatchesPrefix added in v0.19.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) MatchesStorageClass added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) MatchesSuffix added in v0.19.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) NoncurrentTimeBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) NumNewerVersions added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionPtrOutput) ToBucketLifecycleRuleItemConditionPtrOutput added in v0.4.0

func (o BucketLifecycleRuleItemConditionPtrOutput) ToBucketLifecycleRuleItemConditionPtrOutput() BucketLifecycleRuleItemConditionPtrOutput

func (BucketLifecycleRuleItemConditionPtrOutput) ToBucketLifecycleRuleItemConditionPtrOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemConditionPtrOutput) ToBucketLifecycleRuleItemConditionPtrOutputWithContext(ctx context.Context) BucketLifecycleRuleItemConditionPtrOutput

type BucketLifecycleRuleItemConditionResponse added in v0.4.0

type BucketLifecycleRuleItemConditionResponse struct {
	// Age of an object (in days). This condition is satisfied when an object reaches the specified age.
	Age int `pulumi:"age"`
	// 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.
	CreatedBefore string `pulumi:"createdBefore"`
	// 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.
	CustomTimeBefore string `pulumi:"customTimeBefore"`
	// 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.
	DaysSinceCustomTime int `pulumi:"daysSinceCustomTime"`
	// 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.
	DaysSinceNoncurrentTime int `pulumi:"daysSinceNoncurrentTime"`
	// Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
	IsLive bool `pulumi:"isLive"`
	// 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.
	MatchesPattern string `pulumi:"matchesPattern"`
	// 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.
	MatchesPrefix []string `pulumi:"matchesPrefix"`
	// 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.
	MatchesStorageClass []string `pulumi:"matchesStorageClass"`
	// 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.
	MatchesSuffix []string `pulumi:"matchesSuffix"`
	// 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.
	NoncurrentTimeBefore string `pulumi:"noncurrentTimeBefore"`
	// 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.
	NumNewerVersions int `pulumi:"numNewerVersions"`
}

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

type BucketLifecycleRuleItemConditionResponseOutput added in v0.4.0

type BucketLifecycleRuleItemConditionResponseOutput struct{ *pulumi.OutputState }

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

func (BucketLifecycleRuleItemConditionResponseOutput) Age added in v0.4.0

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

func (BucketLifecycleRuleItemConditionResponseOutput) CreatedBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) CustomTimeBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) DaysSinceCustomTime added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) DaysSinceNoncurrentTime added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemConditionResponseOutput) IsLive added in v0.4.0

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

func (BucketLifecycleRuleItemConditionResponseOutput) MatchesPattern added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) MatchesPrefix added in v0.19.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) MatchesStorageClass added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) MatchesSuffix added in v0.19.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) NoncurrentTimeBefore added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) NumNewerVersions added in v0.4.0

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.

func (BucketLifecycleRuleItemConditionResponseOutput) ToBucketLifecycleRuleItemConditionResponseOutput added in v0.4.0

func (o BucketLifecycleRuleItemConditionResponseOutput) ToBucketLifecycleRuleItemConditionResponseOutput() BucketLifecycleRuleItemConditionResponseOutput

func (BucketLifecycleRuleItemConditionResponseOutput) ToBucketLifecycleRuleItemConditionResponseOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemConditionResponseOutput) ToBucketLifecycleRuleItemConditionResponseOutputWithContext(ctx context.Context) BucketLifecycleRuleItemConditionResponseOutput

type BucketLifecycleRuleItemInput added in v0.4.0

type BucketLifecycleRuleItemInput interface {
	pulumi.Input

	ToBucketLifecycleRuleItemOutput() BucketLifecycleRuleItemOutput
	ToBucketLifecycleRuleItemOutputWithContext(context.Context) BucketLifecycleRuleItemOutput
}

BucketLifecycleRuleItemInput is an input type that accepts BucketLifecycleRuleItemArgs and BucketLifecycleRuleItemOutput values. You can construct a concrete instance of `BucketLifecycleRuleItemInput` via:

BucketLifecycleRuleItemArgs{...}

type BucketLifecycleRuleItemOutput added in v0.4.0

type BucketLifecycleRuleItemOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleItemOutput) Action added in v0.4.0

The action to take.

func (BucketLifecycleRuleItemOutput) Condition added in v0.4.0

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

func (BucketLifecycleRuleItemOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemOutput) ToBucketLifecycleRuleItemOutput added in v0.4.0

func (o BucketLifecycleRuleItemOutput) ToBucketLifecycleRuleItemOutput() BucketLifecycleRuleItemOutput

func (BucketLifecycleRuleItemOutput) ToBucketLifecycleRuleItemOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemOutput) ToBucketLifecycleRuleItemOutputWithContext(ctx context.Context) BucketLifecycleRuleItemOutput

type BucketLifecycleRuleItemResponse added in v0.4.0

type BucketLifecycleRuleItemResponse struct {
	// The action to take.
	Action BucketLifecycleRuleItemActionResponse `pulumi:"action"`
	// The condition(s) under which the action will be taken.
	Condition BucketLifecycleRuleItemConditionResponse `pulumi:"condition"`
}

type BucketLifecycleRuleItemResponseArrayOutput added in v0.4.0

type BucketLifecycleRuleItemResponseArrayOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleItemResponseArrayOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemResponseArrayOutput) Index added in v0.4.0

func (BucketLifecycleRuleItemResponseArrayOutput) ToBucketLifecycleRuleItemResponseArrayOutput added in v0.4.0

func (o BucketLifecycleRuleItemResponseArrayOutput) ToBucketLifecycleRuleItemResponseArrayOutput() BucketLifecycleRuleItemResponseArrayOutput

func (BucketLifecycleRuleItemResponseArrayOutput) ToBucketLifecycleRuleItemResponseArrayOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemResponseArrayOutput) ToBucketLifecycleRuleItemResponseArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleItemResponseArrayOutput

type BucketLifecycleRuleItemResponseOutput added in v0.4.0

type BucketLifecycleRuleItemResponseOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleItemResponseOutput) Action added in v0.4.0

The action to take.

func (BucketLifecycleRuleItemResponseOutput) Condition added in v0.4.0

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

func (BucketLifecycleRuleItemResponseOutput) ElementType added in v0.4.0

func (BucketLifecycleRuleItemResponseOutput) ToBucketLifecycleRuleItemResponseOutput added in v0.4.0

func (o BucketLifecycleRuleItemResponseOutput) ToBucketLifecycleRuleItemResponseOutput() BucketLifecycleRuleItemResponseOutput

func (BucketLifecycleRuleItemResponseOutput) ToBucketLifecycleRuleItemResponseOutputWithContext added in v0.4.0

func (o BucketLifecycleRuleItemResponseOutput) ToBucketLifecycleRuleItemResponseOutputWithContext(ctx context.Context) BucketLifecycleRuleItemResponseOutput

type BucketLogging

type BucketLogging struct {
	// The destination bucket where the current bucket's logs should be placed.
	LogBucket *string `pulumi:"logBucket"`
	// A prefix for log object names.
	LogObjectPrefix *string `pulumi:"logObjectPrefix"`
}

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

type BucketLoggingArgs

type BucketLoggingArgs struct {
	// The destination bucket where the current bucket's logs should be placed.
	LogBucket pulumi.StringPtrInput `pulumi:"logBucket"`
	// A prefix for log object names.
	LogObjectPrefix pulumi.StringPtrInput `pulumi:"logObjectPrefix"`
}

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

func (BucketLoggingArgs) ElementType

func (BucketLoggingArgs) ElementType() reflect.Type

func (BucketLoggingArgs) ToBucketLoggingOutput

func (i BucketLoggingArgs) ToBucketLoggingOutput() BucketLoggingOutput

func (BucketLoggingArgs) ToBucketLoggingOutputWithContext

func (i BucketLoggingArgs) ToBucketLoggingOutputWithContext(ctx context.Context) BucketLoggingOutput

func (BucketLoggingArgs) ToBucketLoggingPtrOutput

func (i BucketLoggingArgs) ToBucketLoggingPtrOutput() BucketLoggingPtrOutput

func (BucketLoggingArgs) ToBucketLoggingPtrOutputWithContext

func (i BucketLoggingArgs) ToBucketLoggingPtrOutputWithContext(ctx context.Context) BucketLoggingPtrOutput

type BucketLoggingInput

type BucketLoggingInput interface {
	pulumi.Input

	ToBucketLoggingOutput() BucketLoggingOutput
	ToBucketLoggingOutputWithContext(context.Context) BucketLoggingOutput
}

BucketLoggingInput is an input type that accepts BucketLoggingArgs and BucketLoggingOutput values. You can construct a concrete instance of `BucketLoggingInput` via:

BucketLoggingArgs{...}

type BucketLoggingOutput

type BucketLoggingOutput struct{ *pulumi.OutputState }

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

func (BucketLoggingOutput) ElementType

func (BucketLoggingOutput) ElementType() reflect.Type

func (BucketLoggingOutput) LogBucket

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

func (BucketLoggingOutput) LogObjectPrefix

func (o BucketLoggingOutput) LogObjectPrefix() pulumi.StringPtrOutput

A prefix for log object names.

func (BucketLoggingOutput) ToBucketLoggingOutput

func (o BucketLoggingOutput) ToBucketLoggingOutput() BucketLoggingOutput

func (BucketLoggingOutput) ToBucketLoggingOutputWithContext

func (o BucketLoggingOutput) ToBucketLoggingOutputWithContext(ctx context.Context) BucketLoggingOutput

func (BucketLoggingOutput) ToBucketLoggingPtrOutput

func (o BucketLoggingOutput) ToBucketLoggingPtrOutput() BucketLoggingPtrOutput

func (BucketLoggingOutput) ToBucketLoggingPtrOutputWithContext

func (o BucketLoggingOutput) ToBucketLoggingPtrOutputWithContext(ctx context.Context) BucketLoggingPtrOutput

type BucketLoggingPtrInput

type BucketLoggingPtrInput interface {
	pulumi.Input

	ToBucketLoggingPtrOutput() BucketLoggingPtrOutput
	ToBucketLoggingPtrOutputWithContext(context.Context) BucketLoggingPtrOutput
}

BucketLoggingPtrInput is an input type that accepts BucketLoggingArgs, BucketLoggingPtr and BucketLoggingPtrOutput values. You can construct a concrete instance of `BucketLoggingPtrInput` via:

        BucketLoggingArgs{...}

or:

        nil

type BucketLoggingPtrOutput

type BucketLoggingPtrOutput struct{ *pulumi.OutputState }

func (BucketLoggingPtrOutput) Elem

func (BucketLoggingPtrOutput) ElementType

func (BucketLoggingPtrOutput) ElementType() reflect.Type

func (BucketLoggingPtrOutput) LogBucket

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

func (BucketLoggingPtrOutput) LogObjectPrefix

func (o BucketLoggingPtrOutput) LogObjectPrefix() pulumi.StringPtrOutput

A prefix for log object names.

func (BucketLoggingPtrOutput) ToBucketLoggingPtrOutput

func (o BucketLoggingPtrOutput) ToBucketLoggingPtrOutput() BucketLoggingPtrOutput

func (BucketLoggingPtrOutput) ToBucketLoggingPtrOutputWithContext

func (o BucketLoggingPtrOutput) ToBucketLoggingPtrOutputWithContext(ctx context.Context) BucketLoggingPtrOutput

type BucketLoggingResponse

type BucketLoggingResponse struct {
	// The destination bucket where the current bucket's logs should be placed.
	LogBucket string `pulumi:"logBucket"`
	// A prefix for log object names.
	LogObjectPrefix string `pulumi:"logObjectPrefix"`
}

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

type BucketLoggingResponseOutput

type BucketLoggingResponseOutput struct{ *pulumi.OutputState }

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

func (BucketLoggingResponseOutput) ElementType

func (BucketLoggingResponseOutput) LogBucket

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

func (BucketLoggingResponseOutput) LogObjectPrefix

func (o BucketLoggingResponseOutput) LogObjectPrefix() pulumi.StringOutput

A prefix for log object names.

func (BucketLoggingResponseOutput) ToBucketLoggingResponseOutput

func (o BucketLoggingResponseOutput) ToBucketLoggingResponseOutput() BucketLoggingResponseOutput

func (BucketLoggingResponseOutput) ToBucketLoggingResponseOutputWithContext

func (o BucketLoggingResponseOutput) ToBucketLoggingResponseOutputWithContext(ctx context.Context) BucketLoggingResponseOutput

type BucketObject

type BucketObject struct {
	pulumi.CustomResourceState

	// Access controls on the object.
	Acl    ObjectAccessControlResponseArrayOutput `pulumi:"acl"`
	Bucket pulumi.StringOutput                    `pulumi:"bucket"`
	// 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.
	CacheControl pulumi.StringOutput `pulumi:"cacheControl"`
	// Number of underlying components that make up this object. Components are accumulated by compose operations.
	ComponentCount pulumi.IntOutput `pulumi:"componentCount"`
	// Content-Disposition of the object data.
	ContentDisposition pulumi.StringOutput `pulumi:"contentDisposition"`
	// If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded.
	ContentEncoding pulumi.StringOutput `pulumi:"contentEncoding"`
	// Content-Language of the object data.
	ContentLanguage pulumi.StringOutput `pulumi:"contentLanguage"`
	// Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
	ContentType pulumi.StringOutput `pulumi:"contentType"`
	// 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.
	Crc32c pulumi.StringOutput `pulumi:"crc32c"`
	// A timestamp in RFC 3339 format specified by the user for an object.
	CustomTime pulumi.StringOutput `pulumi:"customTime"`
	// Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
	CustomerEncryption BucketObjectCustomerEncryptionResponseOutput `pulumi:"customerEncryption"`
	// HTTP 1.1 Entity tag for the object.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// 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.
	EventBasedHold pulumi.BoolOutput `pulumi:"eventBasedHold"`
	// The content generation of this object. Used for object versioning.
	Generation pulumi.StringOutput `pulumi:"generation"`
	// 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.
	HardDeleteTime pulumi.StringOutput `pulumi:"hardDeleteTime"`
	// 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.
	IfGenerationMatch pulumi.StringPtrOutput `pulumi:"ifGenerationMatch"`
	// 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.
	IfGenerationNotMatch pulumi.StringPtrOutput `pulumi:"ifGenerationNotMatch"`
	// Makes the operation conditional on whether the object's current metageneration matches the given value.
	IfMetagenerationMatch pulumi.StringPtrOutput `pulumi:"ifMetagenerationMatch"`
	// Makes the operation conditional on whether the object's current metageneration does not match the given value.
	IfMetagenerationNotMatch pulumi.StringPtrOutput `pulumi:"ifMetagenerationNotMatch"`
	// The kind of item this is. For objects, this is always storage#object.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.
	KmsKeyName pulumi.StringOutput `pulumi:"kmsKeyName"`
	// MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
	Md5Hash pulumi.StringOutput `pulumi:"md5Hash"`
	// Media download link.
	MediaLink pulumi.StringOutput `pulumi:"mediaLink"`
	// User-provided metadata, in key/value pairs.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// 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.
	Metageneration pulumi.StringOutput `pulumi:"metageneration"`
	// Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).
	Name pulumi.StringOutput `pulumi:"name"`
	// The owner of the object. This will always be the uploader of the object.
	Owner BucketObjectOwnerResponseOutput `pulumi:"owner"`
	// Apply a predefined set of access controls to this object.
	PredefinedAcl pulumi.StringPtrOutput `pulumi:"predefinedAcl"`
	// Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
	Projection pulumi.StringPtrOutput `pulumi:"projection"`
	// A collection of object level retention parameters.
	Retention BucketObjectRetentionResponseOutput `pulumi:"retention"`
	// 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).
	RetentionExpirationTime pulumi.StringOutput `pulumi:"retentionExpirationTime"`
	// The link to this object.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// Content-Length of the data in bytes.
	Size pulumi.StringOutput `pulumi:"size"`
	// The time at which the object became soft-deleted in RFC 3339 format.
	SoftDeleteTime pulumi.StringOutput `pulumi:"softDeleteTime"`
	// Storage class of the object.
	StorageClass pulumi.StringOutput `pulumi:"storageClass"`
	// 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.
	TemporaryHold pulumi.BoolOutput `pulumi:"temporaryHold"`
	// The creation time of the object in RFC 3339 format.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// 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.
	TimeDeleted pulumi.StringOutput `pulumi:"timeDeleted"`
	// The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
	TimeStorageClassUpdated pulumi.StringOutput `pulumi:"timeStorageClassUpdated"`
	// 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.
	Updated pulumi.StringOutput `pulumi:"updated"`
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
}

Stores a new object and metadata.

func GetBucketObject

func GetBucketObject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketObjectState, opts ...pulumi.ResourceOption) (*BucketObject, error)

GetBucketObject gets an existing BucketObject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucketObject

func NewBucketObject(ctx *pulumi.Context,
	name string, args *BucketObjectArgs, opts ...pulumi.ResourceOption) (*BucketObject, error)

NewBucketObject registers a new resource with the given unique name, arguments, and options.

func (*BucketObject) ElementType

func (*BucketObject) ElementType() reflect.Type

func (*BucketObject) ToBucketObjectOutput

func (i *BucketObject) ToBucketObjectOutput() BucketObjectOutput

func (*BucketObject) ToBucketObjectOutputWithContext

func (i *BucketObject) ToBucketObjectOutputWithContext(ctx context.Context) BucketObjectOutput

type BucketObjectArgs

type BucketObjectArgs struct {
	// Access controls on the object.
	Acl ObjectAccessControlTypeArrayInput
	// The name of the bucket containing this object.
	Bucket pulumi.StringInput
	// 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.
	CacheControl pulumi.StringPtrInput
	// Number of underlying components that make up this object. Components are accumulated by compose operations.
	ComponentCount pulumi.IntPtrInput
	// Content-Disposition of the object data.
	ContentDisposition pulumi.StringPtrInput
	// Content-Encoding of the object data.
	ContentEncoding pulumi.StringPtrInput
	// Content-Language of the object data.
	ContentLanguage pulumi.StringPtrInput
	// Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
	ContentType pulumi.StringPtrInput
	// 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.
	Crc32c pulumi.StringPtrInput
	// A timestamp in RFC 3339 format specified by the user for an object.
	CustomTime pulumi.StringPtrInput
	// Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
	CustomerEncryption BucketObjectCustomerEncryptionPtrInput
	// HTTP 1.1 Entity tag for the object.
	Etag pulumi.StringPtrInput
	// 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.
	EventBasedHold pulumi.BoolPtrInput
	// The content generation of this object. Used for object versioning.
	Generation pulumi.StringPtrInput
	// 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.
	HardDeleteTime pulumi.StringPtrInput
	// The ID of the object, including the bucket name, object name, and generation number.
	Id pulumi.StringPtrInput
	// 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.
	IfGenerationMatch pulumi.StringPtrInput
	// 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.
	IfGenerationNotMatch pulumi.StringPtrInput
	// Makes the operation conditional on whether the object's current metageneration matches the given value.
	IfMetagenerationMatch pulumi.StringPtrInput
	// Makes the operation conditional on whether the object's current metageneration does not match the given value.
	IfMetagenerationNotMatch pulumi.StringPtrInput
	// The kind of item this is. For objects, this is always storage#object.
	Kind pulumi.StringPtrInput
	// Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
	KmsKeyName pulumi.StringPtrInput
	// MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
	Md5Hash pulumi.StringPtrInput
	// Media download link.
	MediaLink pulumi.StringPtrInput
	// User-provided metadata, in key/value pairs.
	Metadata pulumi.StringMapInput
	// 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.
	Metageneration pulumi.StringPtrInput
	// The name of the object. Required if not specified by URL parameter.
	Name pulumi.StringPtrInput
	// The owner of the object. This will always be the uploader of the object.
	Owner BucketObjectOwnerPtrInput
	// Apply a predefined set of access controls to this object.
	PredefinedAcl pulumi.StringPtrInput
	// Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
	Projection pulumi.StringPtrInput
	// A collection of object level retention parameters.
	Retention BucketObjectRetentionPtrInput
	// 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).
	RetentionExpirationTime pulumi.StringPtrInput
	// The link to this object.
	SelfLink pulumi.StringPtrInput
	// Content-Length of the data in bytes.
	Size pulumi.StringPtrInput
	// The time at which the object became soft-deleted in RFC 3339 format.
	SoftDeleteTime pulumi.StringPtrInput
	Source         pulumi.AssetOrArchiveInput
	// Storage class of the object.
	StorageClass pulumi.StringPtrInput
	// 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.
	TemporaryHold pulumi.BoolPtrInput
	// The creation time of the object in RFC 3339 format.
	TimeCreated pulumi.StringPtrInput
	// 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.
	TimeDeleted pulumi.StringPtrInput
	// The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
	TimeStorageClassUpdated pulumi.StringPtrInput
	// 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.
	Updated pulumi.StringPtrInput
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrInput
}

The set of arguments for constructing a BucketObject resource.

func (BucketObjectArgs) ElementType

func (BucketObjectArgs) ElementType() reflect.Type

type BucketObjectCustomerEncryption added in v0.5.0

type BucketObjectCustomerEncryption struct {
	// The encryption algorithm.
	EncryptionAlgorithm *string `pulumi:"encryptionAlgorithm"`
	// SHA256 hash value of the encryption key.
	KeySha256 *string `pulumi:"keySha256"`
}

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

type BucketObjectCustomerEncryptionArgs added in v0.5.0

type BucketObjectCustomerEncryptionArgs struct {
	// The encryption algorithm.
	EncryptionAlgorithm pulumi.StringPtrInput `pulumi:"encryptionAlgorithm"`
	// SHA256 hash value of the encryption key.
	KeySha256 pulumi.StringPtrInput `pulumi:"keySha256"`
}

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

func (BucketObjectCustomerEncryptionArgs) ElementType added in v0.5.0

func (BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionOutput added in v0.5.0

func (i BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionOutput() BucketObjectCustomerEncryptionOutput

func (BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionOutputWithContext added in v0.5.0

func (i BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionOutputWithContext(ctx context.Context) BucketObjectCustomerEncryptionOutput

func (BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionPtrOutput added in v0.5.0

func (i BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionPtrOutput() BucketObjectCustomerEncryptionPtrOutput

func (BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionPtrOutputWithContext added in v0.5.0

func (i BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionPtrOutputWithContext(ctx context.Context) BucketObjectCustomerEncryptionPtrOutput

type BucketObjectCustomerEncryptionInput added in v0.5.0

type BucketObjectCustomerEncryptionInput interface {
	pulumi.Input

	ToBucketObjectCustomerEncryptionOutput() BucketObjectCustomerEncryptionOutput
	ToBucketObjectCustomerEncryptionOutputWithContext(context.Context) BucketObjectCustomerEncryptionOutput
}

BucketObjectCustomerEncryptionInput is an input type that accepts BucketObjectCustomerEncryptionArgs and BucketObjectCustomerEncryptionOutput values. You can construct a concrete instance of `BucketObjectCustomerEncryptionInput` via:

BucketObjectCustomerEncryptionArgs{...}

type BucketObjectCustomerEncryptionOutput added in v0.5.0

type BucketObjectCustomerEncryptionOutput struct{ *pulumi.OutputState }

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

func (BucketObjectCustomerEncryptionOutput) ElementType added in v0.5.0

func (BucketObjectCustomerEncryptionOutput) EncryptionAlgorithm added in v0.5.0

The encryption algorithm.

func (BucketObjectCustomerEncryptionOutput) KeySha256 added in v0.5.0

SHA256 hash value of the encryption key.

func (BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionOutput added in v0.5.0

func (o BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionOutput() BucketObjectCustomerEncryptionOutput

func (BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionOutputWithContext added in v0.5.0

func (o BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionOutputWithContext(ctx context.Context) BucketObjectCustomerEncryptionOutput

func (BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionPtrOutput added in v0.5.0

func (o BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionPtrOutput() BucketObjectCustomerEncryptionPtrOutput

func (BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionPtrOutputWithContext added in v0.5.0

func (o BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionPtrOutputWithContext(ctx context.Context) BucketObjectCustomerEncryptionPtrOutput

type BucketObjectCustomerEncryptionPtrInput added in v0.5.0

type BucketObjectCustomerEncryptionPtrInput interface {
	pulumi.Input

	ToBucketObjectCustomerEncryptionPtrOutput() BucketObjectCustomerEncryptionPtrOutput
	ToBucketObjectCustomerEncryptionPtrOutputWithContext(context.Context) BucketObjectCustomerEncryptionPtrOutput
}

BucketObjectCustomerEncryptionPtrInput is an input type that accepts BucketObjectCustomerEncryptionArgs, BucketObjectCustomerEncryptionPtr and BucketObjectCustomerEncryptionPtrOutput values. You can construct a concrete instance of `BucketObjectCustomerEncryptionPtrInput` via:

        BucketObjectCustomerEncryptionArgs{...}

or:

        nil

type BucketObjectCustomerEncryptionPtrOutput added in v0.5.0

type BucketObjectCustomerEncryptionPtrOutput struct{ *pulumi.OutputState }

func (BucketObjectCustomerEncryptionPtrOutput) Elem added in v0.5.0

func (BucketObjectCustomerEncryptionPtrOutput) ElementType added in v0.5.0

func (BucketObjectCustomerEncryptionPtrOutput) EncryptionAlgorithm added in v0.5.0

The encryption algorithm.

func (BucketObjectCustomerEncryptionPtrOutput) KeySha256 added in v0.5.0

SHA256 hash value of the encryption key.

func (BucketObjectCustomerEncryptionPtrOutput) ToBucketObjectCustomerEncryptionPtrOutput added in v0.5.0

func (o BucketObjectCustomerEncryptionPtrOutput) ToBucketObjectCustomerEncryptionPtrOutput() BucketObjectCustomerEncryptionPtrOutput

func (BucketObjectCustomerEncryptionPtrOutput) ToBucketObjectCustomerEncryptionPtrOutputWithContext added in v0.5.0

func (o BucketObjectCustomerEncryptionPtrOutput) ToBucketObjectCustomerEncryptionPtrOutputWithContext(ctx context.Context) BucketObjectCustomerEncryptionPtrOutput

type BucketObjectCustomerEncryptionResponse added in v0.5.0

type BucketObjectCustomerEncryptionResponse struct {
	// The encryption algorithm.
	EncryptionAlgorithm string `pulumi:"encryptionAlgorithm"`
	// SHA256 hash value of the encryption key.
	KeySha256 string `pulumi:"keySha256"`
}

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

type BucketObjectCustomerEncryptionResponseOutput added in v0.5.0

type BucketObjectCustomerEncryptionResponseOutput struct{ *pulumi.OutputState }

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

func (BucketObjectCustomerEncryptionResponseOutput) ElementType added in v0.5.0

func (BucketObjectCustomerEncryptionResponseOutput) EncryptionAlgorithm added in v0.5.0

The encryption algorithm.

func (BucketObjectCustomerEncryptionResponseOutput) KeySha256 added in v0.5.0

SHA256 hash value of the encryption key.

func (BucketObjectCustomerEncryptionResponseOutput) ToBucketObjectCustomerEncryptionResponseOutput added in v0.5.0

func (o BucketObjectCustomerEncryptionResponseOutput) ToBucketObjectCustomerEncryptionResponseOutput() BucketObjectCustomerEncryptionResponseOutput

func (BucketObjectCustomerEncryptionResponseOutput) ToBucketObjectCustomerEncryptionResponseOutputWithContext added in v0.5.0

func (o BucketObjectCustomerEncryptionResponseOutput) ToBucketObjectCustomerEncryptionResponseOutputWithContext(ctx context.Context) BucketObjectCustomerEncryptionResponseOutput

type BucketObjectInput

type BucketObjectInput interface {
	pulumi.Input

	ToBucketObjectOutput() BucketObjectOutput
	ToBucketObjectOutputWithContext(ctx context.Context) BucketObjectOutput
}

type BucketObjectOutput

type BucketObjectOutput struct{ *pulumi.OutputState }

func (BucketObjectOutput) Acl added in v0.19.0

Access controls on the object.

func (BucketObjectOutput) Bucket added in v0.19.0

func (BucketObjectOutput) CacheControl added in v0.19.0

func (o BucketObjectOutput) CacheControl() pulumi.StringOutput

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.

func (BucketObjectOutput) ComponentCount added in v0.19.0

func (o BucketObjectOutput) ComponentCount() pulumi.IntOutput

Number of underlying components that make up this object. Components are accumulated by compose operations.

func (BucketObjectOutput) ContentDisposition added in v0.19.0

func (o BucketObjectOutput) ContentDisposition() pulumi.StringOutput

Content-Disposition of the object data.

func (BucketObjectOutput) ContentEncoding added in v0.19.0

func (o BucketObjectOutput) ContentEncoding() pulumi.StringOutput

If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded.

func (BucketObjectOutput) ContentLanguage added in v0.19.0

func (o BucketObjectOutput) ContentLanguage() pulumi.StringOutput

Content-Language of the object data.

func (BucketObjectOutput) ContentType added in v0.19.0

func (o BucketObjectOutput) ContentType() pulumi.StringOutput

Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.

func (BucketObjectOutput) Crc32c added in v0.19.0

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.

func (BucketObjectOutput) CustomTime added in v0.19.0

func (o BucketObjectOutput) CustomTime() pulumi.StringOutput

A timestamp in RFC 3339 format specified by the user for an object.

func (BucketObjectOutput) CustomerEncryption added in v0.19.0

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

func (BucketObjectOutput) ElementType

func (BucketObjectOutput) ElementType() reflect.Type

func (BucketObjectOutput) Etag added in v0.19.0

HTTP 1.1 Entity tag for the object.

func (BucketObjectOutput) EventBasedHold added in v0.19.0

func (o BucketObjectOutput) EventBasedHold() pulumi.BoolOutput

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.

func (BucketObjectOutput) Generation added in v0.19.0

func (o BucketObjectOutput) Generation() pulumi.StringOutput

The content generation of this object. Used for object versioning.

func (BucketObjectOutput) HardDeleteTime added in v0.32.0

func (o BucketObjectOutput) HardDeleteTime() pulumi.StringOutput

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.

func (BucketObjectOutput) IfGenerationMatch added in v0.21.0

func (o BucketObjectOutput) IfGenerationMatch() pulumi.StringPtrOutput

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.

func (BucketObjectOutput) IfGenerationNotMatch added in v0.21.0

func (o BucketObjectOutput) IfGenerationNotMatch() pulumi.StringPtrOutput

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.

func (BucketObjectOutput) IfMetagenerationMatch added in v0.21.0

func (o BucketObjectOutput) IfMetagenerationMatch() pulumi.StringPtrOutput

Makes the operation conditional on whether the object's current metageneration matches the given value.

func (BucketObjectOutput) IfMetagenerationNotMatch added in v0.21.0

func (o BucketObjectOutput) IfMetagenerationNotMatch() pulumi.StringPtrOutput

Makes the operation conditional on whether the object's current metageneration does not match the given value.

func (BucketObjectOutput) Kind added in v0.19.0

The kind of item this is. For objects, this is always storage#object.

func (BucketObjectOutput) KmsKeyName added in v0.19.0

func (o BucketObjectOutput) KmsKeyName() pulumi.StringOutput

Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.

func (BucketObjectOutput) Md5Hash added in v0.19.0

MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.

func (o BucketObjectOutput) MediaLink() pulumi.StringOutput

Media download link.

func (BucketObjectOutput) Metadata added in v0.19.0

User-provided metadata, in key/value pairs.

func (BucketObjectOutput) Metageneration added in v0.19.0

func (o BucketObjectOutput) Metageneration() pulumi.StringOutput

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.

func (BucketObjectOutput) Name added in v0.19.0

Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).

func (BucketObjectOutput) Owner added in v0.19.0

The owner of the object. This will always be the uploader of the object.

func (BucketObjectOutput) PredefinedAcl added in v0.21.0

func (o BucketObjectOutput) PredefinedAcl() pulumi.StringPtrOutput

Apply a predefined set of access controls to this object.

func (BucketObjectOutput) Projection added in v0.21.0

func (o BucketObjectOutput) Projection() pulumi.StringPtrOutput

Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.

func (BucketObjectOutput) Retention added in v0.32.0

A collection of object level retention parameters.

func (BucketObjectOutput) RetentionExpirationTime added in v0.19.0

func (o BucketObjectOutput) RetentionExpirationTime() pulumi.StringOutput

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).

func (o BucketObjectOutput) SelfLink() pulumi.StringOutput

The link to this object.

func (BucketObjectOutput) Size added in v0.19.0

Content-Length of the data in bytes.

func (BucketObjectOutput) SoftDeleteTime added in v0.32.0

func (o BucketObjectOutput) SoftDeleteTime() pulumi.StringOutput

The time at which the object became soft-deleted in RFC 3339 format.

func (BucketObjectOutput) StorageClass added in v0.19.0

func (o BucketObjectOutput) StorageClass() pulumi.StringOutput

Storage class of the object.

func (BucketObjectOutput) TemporaryHold added in v0.19.0

func (o BucketObjectOutput) TemporaryHold() pulumi.BoolOutput

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.

func (BucketObjectOutput) TimeCreated added in v0.19.0

func (o BucketObjectOutput) TimeCreated() pulumi.StringOutput

The creation time of the object in RFC 3339 format.

func (BucketObjectOutput) TimeDeleted added in v0.19.0

func (o BucketObjectOutput) TimeDeleted() pulumi.StringOutput

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.

func (BucketObjectOutput) TimeStorageClassUpdated added in v0.19.0

func (o BucketObjectOutput) TimeStorageClassUpdated() pulumi.StringOutput

The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.

func (BucketObjectOutput) ToBucketObjectOutput

func (o BucketObjectOutput) ToBucketObjectOutput() BucketObjectOutput

func (BucketObjectOutput) ToBucketObjectOutputWithContext

func (o BucketObjectOutput) ToBucketObjectOutputWithContext(ctx context.Context) BucketObjectOutput

func (BucketObjectOutput) Updated added in v0.19.0

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.

func (BucketObjectOutput) UserProject added in v0.21.0

func (o BucketObjectOutput) UserProject() pulumi.StringPtrOutput

The project to be billed for this request. Required for Requester Pays buckets.

type BucketObjectOwner added in v0.5.0

type BucketObjectOwner struct {
	// The entity, in the form user-userId.
	Entity *string `pulumi:"entity"`
	// The ID for the entity.
	EntityId *string `pulumi:"entityId"`
}

The owner of the object. This will always be the uploader of the object.

type BucketObjectOwnerArgs added in v0.5.0

type BucketObjectOwnerArgs struct {
	// The entity, in the form user-userId.
	Entity pulumi.StringPtrInput `pulumi:"entity"`
	// The ID for the entity.
	EntityId pulumi.StringPtrInput `pulumi:"entityId"`
}

The owner of the object. This will always be the uploader of the object.

func (BucketObjectOwnerArgs) ElementType added in v0.5.0

func (BucketObjectOwnerArgs) ElementType() reflect.Type

func (BucketObjectOwnerArgs) ToBucketObjectOwnerOutput added in v0.5.0

func (i BucketObjectOwnerArgs) ToBucketObjectOwnerOutput() BucketObjectOwnerOutput

func (BucketObjectOwnerArgs) ToBucketObjectOwnerOutputWithContext added in v0.5.0

func (i BucketObjectOwnerArgs) ToBucketObjectOwnerOutputWithContext(ctx context.Context) BucketObjectOwnerOutput

func (BucketObjectOwnerArgs) ToBucketObjectOwnerPtrOutput added in v0.5.0

func (i BucketObjectOwnerArgs) ToBucketObjectOwnerPtrOutput() BucketObjectOwnerPtrOutput

func (BucketObjectOwnerArgs) ToBucketObjectOwnerPtrOutputWithContext added in v0.5.0

func (i BucketObjectOwnerArgs) ToBucketObjectOwnerPtrOutputWithContext(ctx context.Context) BucketObjectOwnerPtrOutput

type BucketObjectOwnerInput added in v0.5.0

type BucketObjectOwnerInput interface {
	pulumi.Input

	ToBucketObjectOwnerOutput() BucketObjectOwnerOutput
	ToBucketObjectOwnerOutputWithContext(context.Context) BucketObjectOwnerOutput
}

BucketObjectOwnerInput is an input type that accepts BucketObjectOwnerArgs and BucketObjectOwnerOutput values. You can construct a concrete instance of `BucketObjectOwnerInput` via:

BucketObjectOwnerArgs{...}

type BucketObjectOwnerOutput added in v0.5.0

type BucketObjectOwnerOutput struct{ *pulumi.OutputState }

The owner of the object. This will always be the uploader of the object.

func (BucketObjectOwnerOutput) ElementType added in v0.5.0

func (BucketObjectOwnerOutput) ElementType() reflect.Type

func (BucketObjectOwnerOutput) Entity added in v0.5.0

The entity, in the form user-userId.

func (BucketObjectOwnerOutput) EntityId added in v0.5.0

The ID for the entity.

func (BucketObjectOwnerOutput) ToBucketObjectOwnerOutput added in v0.5.0

func (o BucketObjectOwnerOutput) ToBucketObjectOwnerOutput() BucketObjectOwnerOutput

func (BucketObjectOwnerOutput) ToBucketObjectOwnerOutputWithContext added in v0.5.0

func (o BucketObjectOwnerOutput) ToBucketObjectOwnerOutputWithContext(ctx context.Context) BucketObjectOwnerOutput

func (BucketObjectOwnerOutput) ToBucketObjectOwnerPtrOutput added in v0.5.0

func (o BucketObjectOwnerOutput) ToBucketObjectOwnerPtrOutput() BucketObjectOwnerPtrOutput

func (BucketObjectOwnerOutput) ToBucketObjectOwnerPtrOutputWithContext added in v0.5.0

func (o BucketObjectOwnerOutput) ToBucketObjectOwnerPtrOutputWithContext(ctx context.Context) BucketObjectOwnerPtrOutput

type BucketObjectOwnerPtrInput added in v0.5.0

type BucketObjectOwnerPtrInput interface {
	pulumi.Input

	ToBucketObjectOwnerPtrOutput() BucketObjectOwnerPtrOutput
	ToBucketObjectOwnerPtrOutputWithContext(context.Context) BucketObjectOwnerPtrOutput
}

BucketObjectOwnerPtrInput is an input type that accepts BucketObjectOwnerArgs, BucketObjectOwnerPtr and BucketObjectOwnerPtrOutput values. You can construct a concrete instance of `BucketObjectOwnerPtrInput` via:

        BucketObjectOwnerArgs{...}

or:

        nil

func BucketObjectOwnerPtr added in v0.5.0

func BucketObjectOwnerPtr(v *BucketObjectOwnerArgs) BucketObjectOwnerPtrInput

type BucketObjectOwnerPtrOutput added in v0.5.0

type BucketObjectOwnerPtrOutput struct{ *pulumi.OutputState }

func (BucketObjectOwnerPtrOutput) Elem added in v0.5.0

func (BucketObjectOwnerPtrOutput) ElementType added in v0.5.0

func (BucketObjectOwnerPtrOutput) ElementType() reflect.Type

func (BucketObjectOwnerPtrOutput) Entity added in v0.5.0

The entity, in the form user-userId.

func (BucketObjectOwnerPtrOutput) EntityId added in v0.5.0

The ID for the entity.

func (BucketObjectOwnerPtrOutput) ToBucketObjectOwnerPtrOutput added in v0.5.0

func (o BucketObjectOwnerPtrOutput) ToBucketObjectOwnerPtrOutput() BucketObjectOwnerPtrOutput

func (BucketObjectOwnerPtrOutput) ToBucketObjectOwnerPtrOutputWithContext added in v0.5.0

func (o BucketObjectOwnerPtrOutput) ToBucketObjectOwnerPtrOutputWithContext(ctx context.Context) BucketObjectOwnerPtrOutput

type BucketObjectOwnerResponse added in v0.5.0

type BucketObjectOwnerResponse struct {
	// The entity, in the form user-userId.
	Entity string `pulumi:"entity"`
	// The ID for the entity.
	EntityId string `pulumi:"entityId"`
}

The owner of the object. This will always be the uploader of the object.

type BucketObjectOwnerResponseOutput added in v0.5.0

type BucketObjectOwnerResponseOutput struct{ *pulumi.OutputState }

The owner of the object. This will always be the uploader of the object.

func (BucketObjectOwnerResponseOutput) ElementType added in v0.5.0

func (BucketObjectOwnerResponseOutput) Entity added in v0.5.0

The entity, in the form user-userId.

func (BucketObjectOwnerResponseOutput) EntityId added in v0.5.0

The ID for the entity.

func (BucketObjectOwnerResponseOutput) ToBucketObjectOwnerResponseOutput added in v0.5.0

func (o BucketObjectOwnerResponseOutput) ToBucketObjectOwnerResponseOutput() BucketObjectOwnerResponseOutput

func (BucketObjectOwnerResponseOutput) ToBucketObjectOwnerResponseOutputWithContext added in v0.5.0

func (o BucketObjectOwnerResponseOutput) ToBucketObjectOwnerResponseOutputWithContext(ctx context.Context) BucketObjectOwnerResponseOutput

type BucketObjectRetention added in v0.32.0

type BucketObjectRetention struct {
	// The bucket's object retention mode, can only be Unlocked or Locked.
	Mode *string `pulumi:"mode"`
	// A time in RFC 3339 format until which object retention protects this object.
	RetainUntilTime *string `pulumi:"retainUntilTime"`
}

A collection of object level retention parameters.

type BucketObjectRetentionArgs added in v0.32.0

type BucketObjectRetentionArgs struct {
	// The bucket's object retention mode, can only be Unlocked or Locked.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// A time in RFC 3339 format until which object retention protects this object.
	RetainUntilTime pulumi.StringPtrInput `pulumi:"retainUntilTime"`
}

A collection of object level retention parameters.

func (BucketObjectRetentionArgs) ElementType added in v0.32.0

func (BucketObjectRetentionArgs) ElementType() reflect.Type

func (BucketObjectRetentionArgs) ToBucketObjectRetentionOutput added in v0.32.0

func (i BucketObjectRetentionArgs) ToBucketObjectRetentionOutput() BucketObjectRetentionOutput

func (BucketObjectRetentionArgs) ToBucketObjectRetentionOutputWithContext added in v0.32.0

func (i BucketObjectRetentionArgs) ToBucketObjectRetentionOutputWithContext(ctx context.Context) BucketObjectRetentionOutput

func (BucketObjectRetentionArgs) ToBucketObjectRetentionPtrOutput added in v0.32.0

func (i BucketObjectRetentionArgs) ToBucketObjectRetentionPtrOutput() BucketObjectRetentionPtrOutput

func (BucketObjectRetentionArgs) ToBucketObjectRetentionPtrOutputWithContext added in v0.32.0

func (i BucketObjectRetentionArgs) ToBucketObjectRetentionPtrOutputWithContext(ctx context.Context) BucketObjectRetentionPtrOutput

type BucketObjectRetentionInput added in v0.32.0

type BucketObjectRetentionInput interface {
	pulumi.Input

	ToBucketObjectRetentionOutput() BucketObjectRetentionOutput
	ToBucketObjectRetentionOutputWithContext(context.Context) BucketObjectRetentionOutput
}

BucketObjectRetentionInput is an input type that accepts BucketObjectRetentionArgs and BucketObjectRetentionOutput values. You can construct a concrete instance of `BucketObjectRetentionInput` via:

BucketObjectRetentionArgs{...}

type BucketObjectRetentionOutput added in v0.32.0

type BucketObjectRetentionOutput struct{ *pulumi.OutputState }

A collection of object level retention parameters.

func (BucketObjectRetentionOutput) ElementType added in v0.32.0

func (BucketObjectRetentionOutput) Mode added in v0.32.0

The bucket's object retention mode, can only be Unlocked or Locked.

func (BucketObjectRetentionOutput) RetainUntilTime added in v0.32.0

A time in RFC 3339 format until which object retention protects this object.

func (BucketObjectRetentionOutput) ToBucketObjectRetentionOutput added in v0.32.0

func (o BucketObjectRetentionOutput) ToBucketObjectRetentionOutput() BucketObjectRetentionOutput

func (BucketObjectRetentionOutput) ToBucketObjectRetentionOutputWithContext added in v0.32.0

func (o BucketObjectRetentionOutput) ToBucketObjectRetentionOutputWithContext(ctx context.Context) BucketObjectRetentionOutput

func (BucketObjectRetentionOutput) ToBucketObjectRetentionPtrOutput added in v0.32.0

func (o BucketObjectRetentionOutput) ToBucketObjectRetentionPtrOutput() BucketObjectRetentionPtrOutput

func (BucketObjectRetentionOutput) ToBucketObjectRetentionPtrOutputWithContext added in v0.32.0

func (o BucketObjectRetentionOutput) ToBucketObjectRetentionPtrOutputWithContext(ctx context.Context) BucketObjectRetentionPtrOutput

type BucketObjectRetentionPtrInput added in v0.32.0

type BucketObjectRetentionPtrInput interface {
	pulumi.Input

	ToBucketObjectRetentionPtrOutput() BucketObjectRetentionPtrOutput
	ToBucketObjectRetentionPtrOutputWithContext(context.Context) BucketObjectRetentionPtrOutput
}

BucketObjectRetentionPtrInput is an input type that accepts BucketObjectRetentionArgs, BucketObjectRetentionPtr and BucketObjectRetentionPtrOutput values. You can construct a concrete instance of `BucketObjectRetentionPtrInput` via:

        BucketObjectRetentionArgs{...}

or:

        nil

func BucketObjectRetentionPtr added in v0.32.0

func BucketObjectRetentionPtr(v *BucketObjectRetentionArgs) BucketObjectRetentionPtrInput

type BucketObjectRetentionPtrOutput added in v0.32.0

type BucketObjectRetentionPtrOutput struct{ *pulumi.OutputState }

func (BucketObjectRetentionPtrOutput) Elem added in v0.32.0

func (BucketObjectRetentionPtrOutput) ElementType added in v0.32.0

func (BucketObjectRetentionPtrOutput) Mode added in v0.32.0

The bucket's object retention mode, can only be Unlocked or Locked.

func (BucketObjectRetentionPtrOutput) RetainUntilTime added in v0.32.0

A time in RFC 3339 format until which object retention protects this object.

func (BucketObjectRetentionPtrOutput) ToBucketObjectRetentionPtrOutput added in v0.32.0

func (o BucketObjectRetentionPtrOutput) ToBucketObjectRetentionPtrOutput() BucketObjectRetentionPtrOutput

func (BucketObjectRetentionPtrOutput) ToBucketObjectRetentionPtrOutputWithContext added in v0.32.0

func (o BucketObjectRetentionPtrOutput) ToBucketObjectRetentionPtrOutputWithContext(ctx context.Context) BucketObjectRetentionPtrOutput

type BucketObjectRetentionResponse added in v0.32.0

type BucketObjectRetentionResponse struct {
	// The bucket's object retention mode, can only be Unlocked or Locked.
	Mode string `pulumi:"mode"`
	// A time in RFC 3339 format until which object retention protects this object.
	RetainUntilTime string `pulumi:"retainUntilTime"`
}

A collection of object level retention parameters.

type BucketObjectRetentionResponseOutput added in v0.32.0

type BucketObjectRetentionResponseOutput struct{ *pulumi.OutputState }

A collection of object level retention parameters.

func (BucketObjectRetentionResponseOutput) ElementType added in v0.32.0

func (BucketObjectRetentionResponseOutput) Mode added in v0.32.0

The bucket's object retention mode, can only be Unlocked or Locked.

func (BucketObjectRetentionResponseOutput) RetainUntilTime added in v0.32.0

A time in RFC 3339 format until which object retention protects this object.

func (BucketObjectRetentionResponseOutput) ToBucketObjectRetentionResponseOutput added in v0.32.0

func (o BucketObjectRetentionResponseOutput) ToBucketObjectRetentionResponseOutput() BucketObjectRetentionResponseOutput

func (BucketObjectRetentionResponseOutput) ToBucketObjectRetentionResponseOutputWithContext added in v0.32.0

func (o BucketObjectRetentionResponseOutput) ToBucketObjectRetentionResponseOutputWithContext(ctx context.Context) BucketObjectRetentionResponseOutput

type BucketObjectState

type BucketObjectState struct {
}

func (BucketObjectState) ElementType

func (BucketObjectState) ElementType() reflect.Type

type BucketOutput

type BucketOutput struct{ *pulumi.OutputState }

func (BucketOutput) Acl added in v0.19.0

Access controls on the bucket.

func (BucketOutput) Autoclass added in v0.19.0

The bucket's Autoclass configuration.

func (BucketOutput) Billing added in v0.19.0

The bucket's billing configuration.

func (BucketOutput) Cors added in v0.19.0

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

func (BucketOutput) CustomPlacementConfig added in v0.21.0

func (o BucketOutput) CustomPlacementConfig() BucketCustomPlacementConfigResponseOutput

The bucket's custom placement configuration for Custom Dual Regions.

func (BucketOutput) DefaultEventBasedHold added in v0.19.0

func (o BucketOutput) DefaultEventBasedHold() pulumi.BoolOutput

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.

func (BucketOutput) DefaultObjectAcl added in v0.19.0

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

func (BucketOutput) ElementType

func (BucketOutput) ElementType() reflect.Type

func (BucketOutput) EnableObjectRetention added in v0.32.0

func (o BucketOutput) EnableObjectRetention() pulumi.BoolPtrOutput

When set to true, object retention is enabled for this bucket.

func (BucketOutput) Encryption added in v0.19.0

Encryption configuration for a bucket.

func (BucketOutput) Etag added in v0.19.0

func (o BucketOutput) Etag() pulumi.StringOutput

HTTP 1.1 Entity tag for the bucket.

func (BucketOutput) IamConfiguration added in v0.19.0

The bucket's IAM configuration.

func (BucketOutput) Kind added in v0.19.0

func (o BucketOutput) Kind() pulumi.StringOutput

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

func (BucketOutput) Labels added in v0.19.0

func (o BucketOutput) Labels() pulumi.StringMapOutput

User-provided labels, in key/value pairs.

func (BucketOutput) Lifecycle added in v0.19.0

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

func (BucketOutput) Location added in v0.19.0

func (o BucketOutput) Location() pulumi.StringOutput

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.

func (BucketOutput) LocationType added in v0.19.0

func (o BucketOutput) LocationType() pulumi.StringOutput

The type of the bucket location.

func (BucketOutput) Logging added in v0.19.0

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

func (BucketOutput) Metageneration added in v0.19.0

func (o BucketOutput) Metageneration() pulumi.StringOutput

The metadata generation of this bucket.

func (BucketOutput) Name added in v0.19.0

func (o BucketOutput) Name() pulumi.StringOutput

The name of the bucket.

func (BucketOutput) ObjectRetention added in v0.32.0

The bucket's object retention config.

func (BucketOutput) Owner added in v0.19.0

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

func (BucketOutput) PredefinedAcl added in v0.21.0

func (o BucketOutput) PredefinedAcl() pulumi.StringPtrOutput

Apply a predefined set of access controls to this bucket.

func (BucketOutput) PredefinedDefaultObjectAcl added in v0.21.0

func (o BucketOutput) PredefinedDefaultObjectAcl() pulumi.StringPtrOutput

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

func (BucketOutput) Project added in v0.21.0

func (o BucketOutput) Project() pulumi.StringOutput

A valid API project identifier.

func (BucketOutput) ProjectNumber added in v0.19.0

func (o BucketOutput) ProjectNumber() pulumi.StringOutput

The project number of the project the bucket belongs to.

func (BucketOutput) Projection added in v0.21.0

func (o BucketOutput) Projection() pulumi.StringPtrOutput

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

func (BucketOutput) RetentionPolicy added in v0.19.0

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.

func (BucketOutput) Rpo added in v0.19.0

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

func (BucketOutput) SatisfiesPZS added in v0.19.0

func (o BucketOutput) SatisfiesPZS() pulumi.BoolOutput

Reserved for future use.

func (o BucketOutput) SelfLink() pulumi.StringOutput

The URI of this bucket.

func (BucketOutput) SoftDeletePolicy added in v0.32.0

The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

func (BucketOutput) StorageClass added in v0.19.0

func (o BucketOutput) StorageClass() pulumi.StringOutput

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.

func (BucketOutput) TimeCreated added in v0.19.0

func (o BucketOutput) TimeCreated() pulumi.StringOutput

The creation time of the bucket in RFC 3339 format.

func (BucketOutput) ToBucketOutput

func (o BucketOutput) ToBucketOutput() BucketOutput

func (BucketOutput) ToBucketOutputWithContext

func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput

func (BucketOutput) Updated added in v0.19.0

func (o BucketOutput) Updated() pulumi.StringOutput

The modification time of the bucket in RFC 3339 format.

func (BucketOutput) UserProject added in v0.21.0

func (o BucketOutput) UserProject() pulumi.StringPtrOutput

The project to be billed for this request.

func (BucketOutput) Versioning added in v0.19.0

The bucket's versioning configuration.

func (BucketOutput) Website added in v0.19.0

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.

type BucketOwner

type BucketOwner struct {
	// The entity, in the form project-owner-projectId.
	Entity *string `pulumi:"entity"`
	// The ID for the entity.
	EntityId *string `pulumi:"entityId"`
}

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

type BucketOwnerArgs

type BucketOwnerArgs struct {
	// The entity, in the form project-owner-projectId.
	Entity pulumi.StringPtrInput `pulumi:"entity"`
	// The ID for the entity.
	EntityId pulumi.StringPtrInput `pulumi:"entityId"`
}

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

func (BucketOwnerArgs) ElementType

func (BucketOwnerArgs) ElementType() reflect.Type

func (BucketOwnerArgs) ToBucketOwnerOutput

func (i BucketOwnerArgs) ToBucketOwnerOutput() BucketOwnerOutput

func (BucketOwnerArgs) ToBucketOwnerOutputWithContext

func (i BucketOwnerArgs) ToBucketOwnerOutputWithContext(ctx context.Context) BucketOwnerOutput

func (BucketOwnerArgs) ToBucketOwnerPtrOutput

func (i BucketOwnerArgs) ToBucketOwnerPtrOutput() BucketOwnerPtrOutput

func (BucketOwnerArgs) ToBucketOwnerPtrOutputWithContext

func (i BucketOwnerArgs) ToBucketOwnerPtrOutputWithContext(ctx context.Context) BucketOwnerPtrOutput

type BucketOwnerInput

type BucketOwnerInput interface {
	pulumi.Input

	ToBucketOwnerOutput() BucketOwnerOutput
	ToBucketOwnerOutputWithContext(context.Context) BucketOwnerOutput
}

BucketOwnerInput is an input type that accepts BucketOwnerArgs and BucketOwnerOutput values. You can construct a concrete instance of `BucketOwnerInput` via:

BucketOwnerArgs{...}

type BucketOwnerOutput

type BucketOwnerOutput struct{ *pulumi.OutputState }

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

func (BucketOwnerOutput) ElementType

func (BucketOwnerOutput) ElementType() reflect.Type

func (BucketOwnerOutput) Entity

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

func (BucketOwnerOutput) EntityId

The ID for the entity.

func (BucketOwnerOutput) ToBucketOwnerOutput

func (o BucketOwnerOutput) ToBucketOwnerOutput() BucketOwnerOutput

func (BucketOwnerOutput) ToBucketOwnerOutputWithContext

func (o BucketOwnerOutput) ToBucketOwnerOutputWithContext(ctx context.Context) BucketOwnerOutput

func (BucketOwnerOutput) ToBucketOwnerPtrOutput

func (o BucketOwnerOutput) ToBucketOwnerPtrOutput() BucketOwnerPtrOutput

func (BucketOwnerOutput) ToBucketOwnerPtrOutputWithContext

func (o BucketOwnerOutput) ToBucketOwnerPtrOutputWithContext(ctx context.Context) BucketOwnerPtrOutput

type BucketOwnerPtrInput

type BucketOwnerPtrInput interface {
	pulumi.Input

	ToBucketOwnerPtrOutput() BucketOwnerPtrOutput
	ToBucketOwnerPtrOutputWithContext(context.Context) BucketOwnerPtrOutput
}

BucketOwnerPtrInput is an input type that accepts BucketOwnerArgs, BucketOwnerPtr and BucketOwnerPtrOutput values. You can construct a concrete instance of `BucketOwnerPtrInput` via:

        BucketOwnerArgs{...}

or:

        nil

func BucketOwnerPtr

func BucketOwnerPtr(v *BucketOwnerArgs) BucketOwnerPtrInput

type BucketOwnerPtrOutput

type BucketOwnerPtrOutput struct{ *pulumi.OutputState }

func (BucketOwnerPtrOutput) Elem

func (BucketOwnerPtrOutput) ElementType

func (BucketOwnerPtrOutput) ElementType() reflect.Type

func (BucketOwnerPtrOutput) Entity

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

func (BucketOwnerPtrOutput) EntityId

The ID for the entity.

func (BucketOwnerPtrOutput) ToBucketOwnerPtrOutput

func (o BucketOwnerPtrOutput) ToBucketOwnerPtrOutput() BucketOwnerPtrOutput

func (BucketOwnerPtrOutput) ToBucketOwnerPtrOutputWithContext

func (o BucketOwnerPtrOutput) ToBucketOwnerPtrOutputWithContext(ctx context.Context) BucketOwnerPtrOutput

type BucketOwnerResponse

type BucketOwnerResponse struct {
	// The entity, in the form project-owner-projectId.
	Entity string `pulumi:"entity"`
	// The ID for the entity.
	EntityId string `pulumi:"entityId"`
}

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

type BucketOwnerResponseOutput

type BucketOwnerResponseOutput struct{ *pulumi.OutputState }

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

func (BucketOwnerResponseOutput) ElementType

func (BucketOwnerResponseOutput) ElementType() reflect.Type

func (BucketOwnerResponseOutput) Entity

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

func (BucketOwnerResponseOutput) EntityId

The ID for the entity.

func (BucketOwnerResponseOutput) ToBucketOwnerResponseOutput

func (o BucketOwnerResponseOutput) ToBucketOwnerResponseOutput() BucketOwnerResponseOutput

func (BucketOwnerResponseOutput) ToBucketOwnerResponseOutputWithContext

func (o BucketOwnerResponseOutput) ToBucketOwnerResponseOutputWithContext(ctx context.Context) BucketOwnerResponseOutput

type BucketRetentionPolicy

type BucketRetentionPolicy struct {
	// Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.
	EffectiveTime *string `pulumi:"effectiveTime"`
	// Once locked, an object retention policy cannot be modified.
	IsLocked *bool `pulumi:"isLocked"`
	// 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.
	RetentionPeriod *string `pulumi:"retentionPeriod"`
}

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.

type BucketRetentionPolicyArgs

type BucketRetentionPolicyArgs struct {
	// Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.
	EffectiveTime pulumi.StringPtrInput `pulumi:"effectiveTime"`
	// Once locked, an object retention policy cannot be modified.
	IsLocked pulumi.BoolPtrInput `pulumi:"isLocked"`
	// 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.
	RetentionPeriod pulumi.StringPtrInput `pulumi:"retentionPeriod"`
}

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.

func (BucketRetentionPolicyArgs) ElementType

func (BucketRetentionPolicyArgs) ElementType() reflect.Type

func (BucketRetentionPolicyArgs) ToBucketRetentionPolicyOutput

func (i BucketRetentionPolicyArgs) ToBucketRetentionPolicyOutput() BucketRetentionPolicyOutput

func (BucketRetentionPolicyArgs) ToBucketRetentionPolicyOutputWithContext

func (i BucketRetentionPolicyArgs) ToBucketRetentionPolicyOutputWithContext(ctx context.Context) BucketRetentionPolicyOutput

func (BucketRetentionPolicyArgs) ToBucketRetentionPolicyPtrOutput

func (i BucketRetentionPolicyArgs) ToBucketRetentionPolicyPtrOutput() BucketRetentionPolicyPtrOutput

func (BucketRetentionPolicyArgs) ToBucketRetentionPolicyPtrOutputWithContext

func (i BucketRetentionPolicyArgs) ToBucketRetentionPolicyPtrOutputWithContext(ctx context.Context) BucketRetentionPolicyPtrOutput

type BucketRetentionPolicyInput

type BucketRetentionPolicyInput interface {
	pulumi.Input

	ToBucketRetentionPolicyOutput() BucketRetentionPolicyOutput
	ToBucketRetentionPolicyOutputWithContext(context.Context) BucketRetentionPolicyOutput
}

BucketRetentionPolicyInput is an input type that accepts BucketRetentionPolicyArgs and BucketRetentionPolicyOutput values. You can construct a concrete instance of `BucketRetentionPolicyInput` via:

BucketRetentionPolicyArgs{...}

type BucketRetentionPolicyOutput

type BucketRetentionPolicyOutput struct{ *pulumi.OutputState }

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.

func (BucketRetentionPolicyOutput) EffectiveTime

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

func (BucketRetentionPolicyOutput) ElementType

func (BucketRetentionPolicyOutput) IsLocked

Once locked, an object retention policy cannot be modified.

func (BucketRetentionPolicyOutput) RetentionPeriod

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.

func (BucketRetentionPolicyOutput) ToBucketRetentionPolicyOutput

func (o BucketRetentionPolicyOutput) ToBucketRetentionPolicyOutput() BucketRetentionPolicyOutput

func (BucketRetentionPolicyOutput) ToBucketRetentionPolicyOutputWithContext

func (o BucketRetentionPolicyOutput) ToBucketRetentionPolicyOutputWithContext(ctx context.Context) BucketRetentionPolicyOutput

func (BucketRetentionPolicyOutput) ToBucketRetentionPolicyPtrOutput

func (o BucketRetentionPolicyOutput) ToBucketRetentionPolicyPtrOutput() BucketRetentionPolicyPtrOutput

func (BucketRetentionPolicyOutput) ToBucketRetentionPolicyPtrOutputWithContext

func (o BucketRetentionPolicyOutput) ToBucketRetentionPolicyPtrOutputWithContext(ctx context.Context) BucketRetentionPolicyPtrOutput

type BucketRetentionPolicyPtrInput

type BucketRetentionPolicyPtrInput interface {
	pulumi.Input

	ToBucketRetentionPolicyPtrOutput() BucketRetentionPolicyPtrOutput
	ToBucketRetentionPolicyPtrOutputWithContext(context.Context) BucketRetentionPolicyPtrOutput
}

BucketRetentionPolicyPtrInput is an input type that accepts BucketRetentionPolicyArgs, BucketRetentionPolicyPtr and BucketRetentionPolicyPtrOutput values. You can construct a concrete instance of `BucketRetentionPolicyPtrInput` via:

        BucketRetentionPolicyArgs{...}

or:

        nil

type BucketRetentionPolicyPtrOutput

type BucketRetentionPolicyPtrOutput struct{ *pulumi.OutputState }

func (BucketRetentionPolicyPtrOutput) EffectiveTime

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

func (BucketRetentionPolicyPtrOutput) Elem

func (BucketRetentionPolicyPtrOutput) ElementType

func (BucketRetentionPolicyPtrOutput) IsLocked

Once locked, an object retention policy cannot be modified.

func (BucketRetentionPolicyPtrOutput) RetentionPeriod

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.

func (BucketRetentionPolicyPtrOutput) ToBucketRetentionPolicyPtrOutput

func (o BucketRetentionPolicyPtrOutput) ToBucketRetentionPolicyPtrOutput() BucketRetentionPolicyPtrOutput

func (BucketRetentionPolicyPtrOutput) ToBucketRetentionPolicyPtrOutputWithContext

func (o BucketRetentionPolicyPtrOutput) ToBucketRetentionPolicyPtrOutputWithContext(ctx context.Context) BucketRetentionPolicyPtrOutput

type BucketRetentionPolicyResponse

type BucketRetentionPolicyResponse struct {
	// Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.
	EffectiveTime string `pulumi:"effectiveTime"`
	// Once locked, an object retention policy cannot be modified.
	IsLocked bool `pulumi:"isLocked"`
	// 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.
	RetentionPeriod string `pulumi:"retentionPeriod"`
}

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.

type BucketRetentionPolicyResponseOutput

type BucketRetentionPolicyResponseOutput struct{ *pulumi.OutputState }

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.

func (BucketRetentionPolicyResponseOutput) EffectiveTime

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

func (BucketRetentionPolicyResponseOutput) ElementType

func (BucketRetentionPolicyResponseOutput) IsLocked

Once locked, an object retention policy cannot be modified.

func (BucketRetentionPolicyResponseOutput) RetentionPeriod

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.

func (BucketRetentionPolicyResponseOutput) ToBucketRetentionPolicyResponseOutput

func (o BucketRetentionPolicyResponseOutput) ToBucketRetentionPolicyResponseOutput() BucketRetentionPolicyResponseOutput

func (BucketRetentionPolicyResponseOutput) ToBucketRetentionPolicyResponseOutputWithContext

func (o BucketRetentionPolicyResponseOutput) ToBucketRetentionPolicyResponseOutputWithContext(ctx context.Context) BucketRetentionPolicyResponseOutput

type BucketSoftDeletePolicy added in v0.32.0

type BucketSoftDeletePolicy struct {
	// Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
	EffectiveTime *string `pulumi:"effectiveTime"`
	// The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.
	RetentionDurationSeconds *string `pulumi:"retentionDurationSeconds"`
}

The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

type BucketSoftDeletePolicyArgs added in v0.32.0

type BucketSoftDeletePolicyArgs struct {
	// Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
	EffectiveTime pulumi.StringPtrInput `pulumi:"effectiveTime"`
	// The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.
	RetentionDurationSeconds pulumi.StringPtrInput `pulumi:"retentionDurationSeconds"`
}

The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

func (BucketSoftDeletePolicyArgs) ElementType added in v0.32.0

func (BucketSoftDeletePolicyArgs) ElementType() reflect.Type

func (BucketSoftDeletePolicyArgs) ToBucketSoftDeletePolicyOutput added in v0.32.0

func (i BucketSoftDeletePolicyArgs) ToBucketSoftDeletePolicyOutput() BucketSoftDeletePolicyOutput

func (BucketSoftDeletePolicyArgs) ToBucketSoftDeletePolicyOutputWithContext added in v0.32.0

func (i BucketSoftDeletePolicyArgs) ToBucketSoftDeletePolicyOutputWithContext(ctx context.Context) BucketSoftDeletePolicyOutput

func (BucketSoftDeletePolicyArgs) ToBucketSoftDeletePolicyPtrOutput added in v0.32.0

func (i BucketSoftDeletePolicyArgs) ToBucketSoftDeletePolicyPtrOutput() BucketSoftDeletePolicyPtrOutput

func (BucketSoftDeletePolicyArgs) ToBucketSoftDeletePolicyPtrOutputWithContext added in v0.32.0

func (i BucketSoftDeletePolicyArgs) ToBucketSoftDeletePolicyPtrOutputWithContext(ctx context.Context) BucketSoftDeletePolicyPtrOutput

type BucketSoftDeletePolicyInput added in v0.32.0

type BucketSoftDeletePolicyInput interface {
	pulumi.Input

	ToBucketSoftDeletePolicyOutput() BucketSoftDeletePolicyOutput
	ToBucketSoftDeletePolicyOutputWithContext(context.Context) BucketSoftDeletePolicyOutput
}

BucketSoftDeletePolicyInput is an input type that accepts BucketSoftDeletePolicyArgs and BucketSoftDeletePolicyOutput values. You can construct a concrete instance of `BucketSoftDeletePolicyInput` via:

BucketSoftDeletePolicyArgs{...}

type BucketSoftDeletePolicyOutput added in v0.32.0

type BucketSoftDeletePolicyOutput struct{ *pulumi.OutputState }

The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

func (BucketSoftDeletePolicyOutput) EffectiveTime added in v0.32.0

Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.

func (BucketSoftDeletePolicyOutput) ElementType added in v0.32.0

func (BucketSoftDeletePolicyOutput) RetentionDurationSeconds added in v0.32.0

func (o BucketSoftDeletePolicyOutput) RetentionDurationSeconds() pulumi.StringPtrOutput

The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.

func (BucketSoftDeletePolicyOutput) ToBucketSoftDeletePolicyOutput added in v0.32.0

func (o BucketSoftDeletePolicyOutput) ToBucketSoftDeletePolicyOutput() BucketSoftDeletePolicyOutput

func (BucketSoftDeletePolicyOutput) ToBucketSoftDeletePolicyOutputWithContext added in v0.32.0

func (o BucketSoftDeletePolicyOutput) ToBucketSoftDeletePolicyOutputWithContext(ctx context.Context) BucketSoftDeletePolicyOutput

func (BucketSoftDeletePolicyOutput) ToBucketSoftDeletePolicyPtrOutput added in v0.32.0

func (o BucketSoftDeletePolicyOutput) ToBucketSoftDeletePolicyPtrOutput() BucketSoftDeletePolicyPtrOutput

func (BucketSoftDeletePolicyOutput) ToBucketSoftDeletePolicyPtrOutputWithContext added in v0.32.0

func (o BucketSoftDeletePolicyOutput) ToBucketSoftDeletePolicyPtrOutputWithContext(ctx context.Context) BucketSoftDeletePolicyPtrOutput

type BucketSoftDeletePolicyPtrInput added in v0.32.0

type BucketSoftDeletePolicyPtrInput interface {
	pulumi.Input

	ToBucketSoftDeletePolicyPtrOutput() BucketSoftDeletePolicyPtrOutput
	ToBucketSoftDeletePolicyPtrOutputWithContext(context.Context) BucketSoftDeletePolicyPtrOutput
}

BucketSoftDeletePolicyPtrInput is an input type that accepts BucketSoftDeletePolicyArgs, BucketSoftDeletePolicyPtr and BucketSoftDeletePolicyPtrOutput values. You can construct a concrete instance of `BucketSoftDeletePolicyPtrInput` via:

        BucketSoftDeletePolicyArgs{...}

or:

        nil

func BucketSoftDeletePolicyPtr added in v0.32.0

func BucketSoftDeletePolicyPtr(v *BucketSoftDeletePolicyArgs) BucketSoftDeletePolicyPtrInput

type BucketSoftDeletePolicyPtrOutput added in v0.32.0

type BucketSoftDeletePolicyPtrOutput struct{ *pulumi.OutputState }

func (BucketSoftDeletePolicyPtrOutput) EffectiveTime added in v0.32.0

Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.

func (BucketSoftDeletePolicyPtrOutput) Elem added in v0.32.0

func (BucketSoftDeletePolicyPtrOutput) ElementType added in v0.32.0

func (BucketSoftDeletePolicyPtrOutput) RetentionDurationSeconds added in v0.32.0

func (o BucketSoftDeletePolicyPtrOutput) RetentionDurationSeconds() pulumi.StringPtrOutput

The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.

func (BucketSoftDeletePolicyPtrOutput) ToBucketSoftDeletePolicyPtrOutput added in v0.32.0

func (o BucketSoftDeletePolicyPtrOutput) ToBucketSoftDeletePolicyPtrOutput() BucketSoftDeletePolicyPtrOutput

func (BucketSoftDeletePolicyPtrOutput) ToBucketSoftDeletePolicyPtrOutputWithContext added in v0.32.0

func (o BucketSoftDeletePolicyPtrOutput) ToBucketSoftDeletePolicyPtrOutputWithContext(ctx context.Context) BucketSoftDeletePolicyPtrOutput

type BucketSoftDeletePolicyResponse added in v0.32.0

type BucketSoftDeletePolicyResponse struct {
	// Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
	EffectiveTime string `pulumi:"effectiveTime"`
	// The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.
	RetentionDurationSeconds string `pulumi:"retentionDurationSeconds"`
}

The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

type BucketSoftDeletePolicyResponseOutput added in v0.32.0

type BucketSoftDeletePolicyResponseOutput struct{ *pulumi.OutputState }

The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

func (BucketSoftDeletePolicyResponseOutput) EffectiveTime added in v0.32.0

Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.

func (BucketSoftDeletePolicyResponseOutput) ElementType added in v0.32.0

func (BucketSoftDeletePolicyResponseOutput) RetentionDurationSeconds added in v0.32.0

func (o BucketSoftDeletePolicyResponseOutput) RetentionDurationSeconds() pulumi.StringOutput

The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.

func (BucketSoftDeletePolicyResponseOutput) ToBucketSoftDeletePolicyResponseOutput added in v0.32.0

func (o BucketSoftDeletePolicyResponseOutput) ToBucketSoftDeletePolicyResponseOutput() BucketSoftDeletePolicyResponseOutput

func (BucketSoftDeletePolicyResponseOutput) ToBucketSoftDeletePolicyResponseOutputWithContext added in v0.32.0

func (o BucketSoftDeletePolicyResponseOutput) ToBucketSoftDeletePolicyResponseOutputWithContext(ctx context.Context) BucketSoftDeletePolicyResponseOutput

type BucketState

type BucketState struct {
}

func (BucketState) ElementType

func (BucketState) ElementType() reflect.Type

type BucketVersioning

type BucketVersioning struct {
	// While set to true, versioning is fully enabled for this bucket.
	Enabled *bool `pulumi:"enabled"`
}

The bucket's versioning configuration.

type BucketVersioningArgs

type BucketVersioningArgs struct {
	// While set to true, versioning is fully enabled for this bucket.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

The bucket's versioning configuration.

func (BucketVersioningArgs) ElementType

func (BucketVersioningArgs) ElementType() reflect.Type

func (BucketVersioningArgs) ToBucketVersioningOutput

func (i BucketVersioningArgs) ToBucketVersioningOutput() BucketVersioningOutput

func (BucketVersioningArgs) ToBucketVersioningOutputWithContext

func (i BucketVersioningArgs) ToBucketVersioningOutputWithContext(ctx context.Context) BucketVersioningOutput

func (BucketVersioningArgs) ToBucketVersioningPtrOutput

func (i BucketVersioningArgs) ToBucketVersioningPtrOutput() BucketVersioningPtrOutput

func (BucketVersioningArgs) ToBucketVersioningPtrOutputWithContext

func (i BucketVersioningArgs) ToBucketVersioningPtrOutputWithContext(ctx context.Context) BucketVersioningPtrOutput

type BucketVersioningInput

type BucketVersioningInput interface {
	pulumi.Input

	ToBucketVersioningOutput() BucketVersioningOutput
	ToBucketVersioningOutputWithContext(context.Context) BucketVersioningOutput
}

BucketVersioningInput is an input type that accepts BucketVersioningArgs and BucketVersioningOutput values. You can construct a concrete instance of `BucketVersioningInput` via:

BucketVersioningArgs{...}

type BucketVersioningOutput

type BucketVersioningOutput struct{ *pulumi.OutputState }

The bucket's versioning configuration.

func (BucketVersioningOutput) ElementType

func (BucketVersioningOutput) ElementType() reflect.Type

func (BucketVersioningOutput) Enabled

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

func (BucketVersioningOutput) ToBucketVersioningOutput

func (o BucketVersioningOutput) ToBucketVersioningOutput() BucketVersioningOutput

func (BucketVersioningOutput) ToBucketVersioningOutputWithContext

func (o BucketVersioningOutput) ToBucketVersioningOutputWithContext(ctx context.Context) BucketVersioningOutput

func (BucketVersioningOutput) ToBucketVersioningPtrOutput

func (o BucketVersioningOutput) ToBucketVersioningPtrOutput() BucketVersioningPtrOutput

func (BucketVersioningOutput) ToBucketVersioningPtrOutputWithContext

func (o BucketVersioningOutput) ToBucketVersioningPtrOutputWithContext(ctx context.Context) BucketVersioningPtrOutput

type BucketVersioningPtrInput

type BucketVersioningPtrInput interface {
	pulumi.Input

	ToBucketVersioningPtrOutput() BucketVersioningPtrOutput
	ToBucketVersioningPtrOutputWithContext(context.Context) BucketVersioningPtrOutput
}

BucketVersioningPtrInput is an input type that accepts BucketVersioningArgs, BucketVersioningPtr and BucketVersioningPtrOutput values. You can construct a concrete instance of `BucketVersioningPtrInput` via:

        BucketVersioningArgs{...}

or:

        nil

type BucketVersioningPtrOutput

type BucketVersioningPtrOutput struct{ *pulumi.OutputState }

func (BucketVersioningPtrOutput) Elem

func (BucketVersioningPtrOutput) ElementType

func (BucketVersioningPtrOutput) ElementType() reflect.Type

func (BucketVersioningPtrOutput) Enabled

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

func (BucketVersioningPtrOutput) ToBucketVersioningPtrOutput

func (o BucketVersioningPtrOutput) ToBucketVersioningPtrOutput() BucketVersioningPtrOutput

func (BucketVersioningPtrOutput) ToBucketVersioningPtrOutputWithContext

func (o BucketVersioningPtrOutput) ToBucketVersioningPtrOutputWithContext(ctx context.Context) BucketVersioningPtrOutput

type BucketVersioningResponse

type BucketVersioningResponse struct {
	// While set to true, versioning is fully enabled for this bucket.
	Enabled bool `pulumi:"enabled"`
}

The bucket's versioning configuration.

type BucketVersioningResponseOutput

type BucketVersioningResponseOutput struct{ *pulumi.OutputState }

The bucket's versioning configuration.

func (BucketVersioningResponseOutput) ElementType

func (BucketVersioningResponseOutput) Enabled

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

func (BucketVersioningResponseOutput) ToBucketVersioningResponseOutput

func (o BucketVersioningResponseOutput) ToBucketVersioningResponseOutput() BucketVersioningResponseOutput

func (BucketVersioningResponseOutput) ToBucketVersioningResponseOutputWithContext

func (o BucketVersioningResponseOutput) ToBucketVersioningResponseOutputWithContext(ctx context.Context) BucketVersioningResponseOutput

type BucketWebsite

type BucketWebsite struct {
	// 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.
	MainPageSuffix *string `pulumi:"mainPageSuffix"`
	// 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.
	NotFoundPage *string `pulumi:"notFoundPage"`
}

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.

type BucketWebsiteArgs

type BucketWebsiteArgs struct {
	// 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.
	MainPageSuffix pulumi.StringPtrInput `pulumi:"mainPageSuffix"`
	// 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.
	NotFoundPage pulumi.StringPtrInput `pulumi:"notFoundPage"`
}

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.

func (BucketWebsiteArgs) ElementType

func (BucketWebsiteArgs) ElementType() reflect.Type

func (BucketWebsiteArgs) ToBucketWebsiteOutput

func (i BucketWebsiteArgs) ToBucketWebsiteOutput() BucketWebsiteOutput

func (BucketWebsiteArgs) ToBucketWebsiteOutputWithContext

func (i BucketWebsiteArgs) ToBucketWebsiteOutputWithContext(ctx context.Context) BucketWebsiteOutput

func (BucketWebsiteArgs) ToBucketWebsitePtrOutput

func (i BucketWebsiteArgs) ToBucketWebsitePtrOutput() BucketWebsitePtrOutput

func (BucketWebsiteArgs) ToBucketWebsitePtrOutputWithContext

func (i BucketWebsiteArgs) ToBucketWebsitePtrOutputWithContext(ctx context.Context) BucketWebsitePtrOutput

type BucketWebsiteInput

type BucketWebsiteInput interface {
	pulumi.Input

	ToBucketWebsiteOutput() BucketWebsiteOutput
	ToBucketWebsiteOutputWithContext(context.Context) BucketWebsiteOutput
}

BucketWebsiteInput is an input type that accepts BucketWebsiteArgs and BucketWebsiteOutput values. You can construct a concrete instance of `BucketWebsiteInput` via:

BucketWebsiteArgs{...}

type BucketWebsiteOutput

type BucketWebsiteOutput struct{ *pulumi.OutputState }

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.

func (BucketWebsiteOutput) ElementType

func (BucketWebsiteOutput) ElementType() reflect.Type

func (BucketWebsiteOutput) MainPageSuffix

func (o BucketWebsiteOutput) MainPageSuffix() pulumi.StringPtrOutput

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.

func (BucketWebsiteOutput) NotFoundPage

func (o BucketWebsiteOutput) NotFoundPage() pulumi.StringPtrOutput

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.

func (BucketWebsiteOutput) ToBucketWebsiteOutput

func (o BucketWebsiteOutput) ToBucketWebsiteOutput() BucketWebsiteOutput

func (BucketWebsiteOutput) ToBucketWebsiteOutputWithContext

func (o BucketWebsiteOutput) ToBucketWebsiteOutputWithContext(ctx context.Context) BucketWebsiteOutput

func (BucketWebsiteOutput) ToBucketWebsitePtrOutput

func (o BucketWebsiteOutput) ToBucketWebsitePtrOutput() BucketWebsitePtrOutput

func (BucketWebsiteOutput) ToBucketWebsitePtrOutputWithContext

func (o BucketWebsiteOutput) ToBucketWebsitePtrOutputWithContext(ctx context.Context) BucketWebsitePtrOutput

type BucketWebsitePtrInput

type BucketWebsitePtrInput interface {
	pulumi.Input

	ToBucketWebsitePtrOutput() BucketWebsitePtrOutput
	ToBucketWebsitePtrOutputWithContext(context.Context) BucketWebsitePtrOutput
}

BucketWebsitePtrInput is an input type that accepts BucketWebsiteArgs, BucketWebsitePtr and BucketWebsitePtrOutput values. You can construct a concrete instance of `BucketWebsitePtrInput` via:

        BucketWebsiteArgs{...}

or:

        nil

type BucketWebsitePtrOutput

type BucketWebsitePtrOutput struct{ *pulumi.OutputState }

func (BucketWebsitePtrOutput) Elem

func (BucketWebsitePtrOutput) ElementType

func (BucketWebsitePtrOutput) ElementType() reflect.Type

func (BucketWebsitePtrOutput) MainPageSuffix

func (o BucketWebsitePtrOutput) MainPageSuffix() pulumi.StringPtrOutput

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.

func (BucketWebsitePtrOutput) NotFoundPage

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.

func (BucketWebsitePtrOutput) ToBucketWebsitePtrOutput

func (o BucketWebsitePtrOutput) ToBucketWebsitePtrOutput() BucketWebsitePtrOutput

func (BucketWebsitePtrOutput) ToBucketWebsitePtrOutputWithContext

func (o BucketWebsitePtrOutput) ToBucketWebsitePtrOutputWithContext(ctx context.Context) BucketWebsitePtrOutput

type BucketWebsiteResponse

type BucketWebsiteResponse struct {
	// 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.
	MainPageSuffix string `pulumi:"mainPageSuffix"`
	// 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.
	NotFoundPage string `pulumi:"notFoundPage"`
}

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.

type BucketWebsiteResponseOutput

type BucketWebsiteResponseOutput struct{ *pulumi.OutputState }

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.

func (BucketWebsiteResponseOutput) ElementType

func (BucketWebsiteResponseOutput) MainPageSuffix

func (o BucketWebsiteResponseOutput) MainPageSuffix() pulumi.StringOutput

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.

func (BucketWebsiteResponseOutput) NotFoundPage

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.

func (BucketWebsiteResponseOutput) ToBucketWebsiteResponseOutput

func (o BucketWebsiteResponseOutput) ToBucketWebsiteResponseOutput() BucketWebsiteResponseOutput

func (BucketWebsiteResponseOutput) ToBucketWebsiteResponseOutputWithContext

func (o BucketWebsiteResponseOutput) ToBucketWebsiteResponseOutputWithContext(ctx context.Context) BucketWebsiteResponseOutput

type DefaultObjectAccessControl

type DefaultObjectAccessControl struct {
	pulumi.CustomResourceState

	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email pulumi.StringOutput `pulumi:"email"`
	// 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 pulumi.StringOutput `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId pulumi.StringOutput `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The content generation of the object, if applied to an object.
	Generation pulumi.StringOutput `pulumi:"generation"`
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The name of the object, if applied to an object.
	Object pulumi.StringOutput `pulumi:"object"`
	// The project team associated with the entity, if any.
	ProjectTeam DefaultObjectAccessControlProjectTeamResponseOutput `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role pulumi.StringOutput `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
}

Creates a new default object ACL entry on the specified bucket. Auto-naming is currently not supported for this resource.

func GetDefaultObjectAccessControl

func GetDefaultObjectAccessControl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultObjectAccessControlState, opts ...pulumi.ResourceOption) (*DefaultObjectAccessControl, error)

GetDefaultObjectAccessControl gets an existing DefaultObjectAccessControl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDefaultObjectAccessControl

func NewDefaultObjectAccessControl(ctx *pulumi.Context,
	name string, args *DefaultObjectAccessControlArgs, opts ...pulumi.ResourceOption) (*DefaultObjectAccessControl, error)

NewDefaultObjectAccessControl registers a new resource with the given unique name, arguments, and options.

func (*DefaultObjectAccessControl) ElementType

func (*DefaultObjectAccessControl) ElementType() reflect.Type

func (*DefaultObjectAccessControl) ToDefaultObjectAccessControlOutput

func (i *DefaultObjectAccessControl) ToDefaultObjectAccessControlOutput() DefaultObjectAccessControlOutput

func (*DefaultObjectAccessControl) ToDefaultObjectAccessControlOutputWithContext

func (i *DefaultObjectAccessControl) ToDefaultObjectAccessControlOutputWithContext(ctx context.Context) DefaultObjectAccessControlOutput

type DefaultObjectAccessControlArgs

type DefaultObjectAccessControlArgs struct {
	// The name of the bucket.
	Bucket pulumi.StringInput
	// The domain associated with the entity, if any.
	Domain pulumi.StringPtrInput
	// The email address associated with the entity, if any.
	Email pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// The ID for the entity, if any.
	EntityId pulumi.StringPtrInput
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag pulumi.StringPtrInput
	// The content generation of the object, if applied to an object.
	Generation pulumi.StringPtrInput
	// The ID of the access-control entry.
	Id pulumi.StringPtrInput
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind pulumi.StringPtrInput
	// The name of the object, if applied to an object.
	Object pulumi.StringPtrInput
	// The project team associated with the entity, if any.
	ProjectTeam DefaultObjectAccessControlProjectTeamPtrInput
	// The access permission for the entity.
	Role pulumi.StringPtrInput
	// The link to this access-control entry.
	SelfLink pulumi.StringPtrInput
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrInput
}

The set of arguments for constructing a DefaultObjectAccessControl resource.

func (DefaultObjectAccessControlArgs) ElementType

type DefaultObjectAccessControlInput

type DefaultObjectAccessControlInput interface {
	pulumi.Input

	ToDefaultObjectAccessControlOutput() DefaultObjectAccessControlOutput
	ToDefaultObjectAccessControlOutputWithContext(ctx context.Context) DefaultObjectAccessControlOutput
}

type DefaultObjectAccessControlOutput

type DefaultObjectAccessControlOutput struct{ *pulumi.OutputState }

func (DefaultObjectAccessControlOutput) Bucket added in v0.19.0

func (DefaultObjectAccessControlOutput) Domain added in v0.19.0

The domain associated with the entity, if any.

func (DefaultObjectAccessControlOutput) ElementType

func (DefaultObjectAccessControlOutput) Email added in v0.19.0

The email address associated with the entity, if any.

func (DefaultObjectAccessControlOutput) Entity added in v0.19.0

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.

func (DefaultObjectAccessControlOutput) EntityId added in v0.19.0

The ID for the entity, if any.

func (DefaultObjectAccessControlOutput) Etag added in v0.19.0

HTTP 1.1 Entity tag for the access-control entry.

func (DefaultObjectAccessControlOutput) Generation added in v0.19.0

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

func (DefaultObjectAccessControlOutput) Kind added in v0.19.0

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

func (DefaultObjectAccessControlOutput) Object added in v0.19.0

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

func (DefaultObjectAccessControlOutput) ProjectTeam added in v0.19.0

The project team associated with the entity, if any.

func (DefaultObjectAccessControlOutput) Role added in v0.19.0

The access permission for the entity.

The link to this access-control entry.

func (DefaultObjectAccessControlOutput) ToDefaultObjectAccessControlOutput

func (o DefaultObjectAccessControlOutput) ToDefaultObjectAccessControlOutput() DefaultObjectAccessControlOutput

func (DefaultObjectAccessControlOutput) ToDefaultObjectAccessControlOutputWithContext

func (o DefaultObjectAccessControlOutput) ToDefaultObjectAccessControlOutputWithContext(ctx context.Context) DefaultObjectAccessControlOutput

func (DefaultObjectAccessControlOutput) UserProject added in v0.21.0

The project to be billed for this request. Required for Requester Pays buckets.

type DefaultObjectAccessControlProjectTeam

type DefaultObjectAccessControlProjectTeam struct {
	// The project number.
	ProjectNumber *string `pulumi:"projectNumber"`
	// The team.
	Team *string `pulumi:"team"`
}

The project team associated with the entity, if any.

type DefaultObjectAccessControlProjectTeamArgs

type DefaultObjectAccessControlProjectTeamArgs struct {
	// The project number.
	ProjectNumber pulumi.StringPtrInput `pulumi:"projectNumber"`
	// The team.
	Team pulumi.StringPtrInput `pulumi:"team"`
}

The project team associated with the entity, if any.

func (DefaultObjectAccessControlProjectTeamArgs) ElementType

func (DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamOutput

func (i DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamOutput() DefaultObjectAccessControlProjectTeamOutput

func (DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamOutputWithContext

func (i DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamOutputWithContext(ctx context.Context) DefaultObjectAccessControlProjectTeamOutput

func (DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamPtrOutput

func (i DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamPtrOutput() DefaultObjectAccessControlProjectTeamPtrOutput

func (DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext

func (i DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) DefaultObjectAccessControlProjectTeamPtrOutput

type DefaultObjectAccessControlProjectTeamInput

type DefaultObjectAccessControlProjectTeamInput interface {
	pulumi.Input

	ToDefaultObjectAccessControlProjectTeamOutput() DefaultObjectAccessControlProjectTeamOutput
	ToDefaultObjectAccessControlProjectTeamOutputWithContext(context.Context) DefaultObjectAccessControlProjectTeamOutput
}

DefaultObjectAccessControlProjectTeamInput is an input type that accepts DefaultObjectAccessControlProjectTeamArgs and DefaultObjectAccessControlProjectTeamOutput values. You can construct a concrete instance of `DefaultObjectAccessControlProjectTeamInput` via:

DefaultObjectAccessControlProjectTeamArgs{...}

type DefaultObjectAccessControlProjectTeamOutput

type DefaultObjectAccessControlProjectTeamOutput struct{ *pulumi.OutputState }

The project team associated with the entity, if any.

func (DefaultObjectAccessControlProjectTeamOutput) ElementType

func (DefaultObjectAccessControlProjectTeamOutput) ProjectNumber

The project number.

func (DefaultObjectAccessControlProjectTeamOutput) Team

The team.

func (DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessControlProjectTeamOutput

func (o DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessControlProjectTeamOutput() DefaultObjectAccessControlProjectTeamOutput

func (DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessControlProjectTeamOutputWithContext

func (o DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessControlProjectTeamOutputWithContext(ctx context.Context) DefaultObjectAccessControlProjectTeamOutput

func (DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessControlProjectTeamPtrOutput

func (o DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessControlProjectTeamPtrOutput() DefaultObjectAccessControlProjectTeamPtrOutput

func (DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext

func (o DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) DefaultObjectAccessControlProjectTeamPtrOutput

type DefaultObjectAccessControlProjectTeamPtrInput

type DefaultObjectAccessControlProjectTeamPtrInput interface {
	pulumi.Input

	ToDefaultObjectAccessControlProjectTeamPtrOutput() DefaultObjectAccessControlProjectTeamPtrOutput
	ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext(context.Context) DefaultObjectAccessControlProjectTeamPtrOutput
}

DefaultObjectAccessControlProjectTeamPtrInput is an input type that accepts DefaultObjectAccessControlProjectTeamArgs, DefaultObjectAccessControlProjectTeamPtr and DefaultObjectAccessControlProjectTeamPtrOutput values. You can construct a concrete instance of `DefaultObjectAccessControlProjectTeamPtrInput` via:

        DefaultObjectAccessControlProjectTeamArgs{...}

or:

        nil

type DefaultObjectAccessControlProjectTeamPtrOutput

type DefaultObjectAccessControlProjectTeamPtrOutput struct{ *pulumi.OutputState }

func (DefaultObjectAccessControlProjectTeamPtrOutput) Elem

func (DefaultObjectAccessControlProjectTeamPtrOutput) ElementType

func (DefaultObjectAccessControlProjectTeamPtrOutput) ProjectNumber

The project number.

func (DefaultObjectAccessControlProjectTeamPtrOutput) Team

The team.

func (DefaultObjectAccessControlProjectTeamPtrOutput) ToDefaultObjectAccessControlProjectTeamPtrOutput

func (o DefaultObjectAccessControlProjectTeamPtrOutput) ToDefaultObjectAccessControlProjectTeamPtrOutput() DefaultObjectAccessControlProjectTeamPtrOutput

func (DefaultObjectAccessControlProjectTeamPtrOutput) ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext

func (o DefaultObjectAccessControlProjectTeamPtrOutput) ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) DefaultObjectAccessControlProjectTeamPtrOutput

type DefaultObjectAccessControlProjectTeamResponse

type DefaultObjectAccessControlProjectTeamResponse struct {
	// The project number.
	ProjectNumber string `pulumi:"projectNumber"`
	// The team.
	Team string `pulumi:"team"`
}

The project team associated with the entity, if any.

type DefaultObjectAccessControlProjectTeamResponseOutput

type DefaultObjectAccessControlProjectTeamResponseOutput struct{ *pulumi.OutputState }

The project team associated with the entity, if any.

func (DefaultObjectAccessControlProjectTeamResponseOutput) ElementType

func (DefaultObjectAccessControlProjectTeamResponseOutput) ProjectNumber

The project number.

func (DefaultObjectAccessControlProjectTeamResponseOutput) Team

The team.

func (DefaultObjectAccessControlProjectTeamResponseOutput) ToDefaultObjectAccessControlProjectTeamResponseOutput

func (o DefaultObjectAccessControlProjectTeamResponseOutput) ToDefaultObjectAccessControlProjectTeamResponseOutput() DefaultObjectAccessControlProjectTeamResponseOutput

func (DefaultObjectAccessControlProjectTeamResponseOutput) ToDefaultObjectAccessControlProjectTeamResponseOutputWithContext

func (o DefaultObjectAccessControlProjectTeamResponseOutput) ToDefaultObjectAccessControlProjectTeamResponseOutputWithContext(ctx context.Context) DefaultObjectAccessControlProjectTeamResponseOutput

type DefaultObjectAccessControlState

type DefaultObjectAccessControlState struct {
}

func (DefaultObjectAccessControlState) ElementType

type Expr

type Expr struct {
	// An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description *string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
	Expression *string `pulumi:"expression"`
	// An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location *string `pulumi:"location"`
	// An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title *string `pulumi:"title"`
}

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"

type ExprArgs

type ExprArgs struct {
	// An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title pulumi.StringPtrInput `pulumi:"title"`
}

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"

func (ExprArgs) ElementType

func (ExprArgs) ElementType() reflect.Type

func (ExprArgs) ToExprOutput

func (i ExprArgs) ToExprOutput() ExprOutput

func (ExprArgs) ToExprOutputWithContext

func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput

func (ExprArgs) ToExprPtrOutput

func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput

func (ExprArgs) ToExprPtrOutputWithContext

func (i ExprArgs) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprInput

type ExprInput interface {
	pulumi.Input

	ToExprOutput() ExprOutput
	ToExprOutputWithContext(context.Context) ExprOutput
}

ExprInput is an input type that accepts ExprArgs and ExprOutput values. You can construct a concrete instance of `ExprInput` via:

ExprArgs{...}

type ExprOutput

type ExprOutput struct{ *pulumi.OutputState }

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"

func (ExprOutput) Description

func (o ExprOutput) Description() pulumi.StringPtrOutput

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprOutput) ElementType

func (ExprOutput) ElementType() reflect.Type

func (ExprOutput) Expression

func (o ExprOutput) Expression() pulumi.StringPtrOutput

Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.

func (ExprOutput) Location

func (o ExprOutput) Location() pulumi.StringPtrOutput

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprOutput) Title

func (o ExprOutput) Title() pulumi.StringPtrOutput

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprOutput) ToExprOutput

func (o ExprOutput) ToExprOutput() ExprOutput

func (ExprOutput) ToExprOutputWithContext

func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput

func (ExprOutput) ToExprPtrOutput

func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput

func (ExprOutput) ToExprPtrOutputWithContext

func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprPtrInput

type ExprPtrInput interface {
	pulumi.Input

	ToExprPtrOutput() ExprPtrOutput
	ToExprPtrOutputWithContext(context.Context) ExprPtrOutput
}

ExprPtrInput is an input type that accepts ExprArgs, ExprPtr and ExprPtrOutput values. You can construct a concrete instance of `ExprPtrInput` via:

        ExprArgs{...}

or:

        nil

func ExprPtr

func ExprPtr(v *ExprArgs) ExprPtrInput

type ExprPtrOutput

type ExprPtrOutput struct{ *pulumi.OutputState }

func (ExprPtrOutput) Description

func (o ExprPtrOutput) Description() pulumi.StringPtrOutput

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprPtrOutput) Elem

func (o ExprPtrOutput) Elem() ExprOutput

func (ExprPtrOutput) ElementType

func (ExprPtrOutput) ElementType() reflect.Type

func (ExprPtrOutput) Expression

func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput

Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.

func (ExprPtrOutput) Location

func (o ExprPtrOutput) Location() pulumi.StringPtrOutput

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprPtrOutput) Title

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprPtrOutput) ToExprPtrOutput

func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput

func (ExprPtrOutput) ToExprPtrOutputWithContext

func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprResponse

type ExprResponse struct {
	// An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
	Expression string `pulumi:"expression"`
	// An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location string `pulumi:"location"`
	// An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title string `pulumi:"title"`
}

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"

type ExprResponseOutput

type ExprResponseOutput struct{ *pulumi.OutputState }

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"

func (ExprResponseOutput) Description

func (o ExprResponseOutput) Description() pulumi.StringOutput

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprResponseOutput) ElementType

func (ExprResponseOutput) ElementType() reflect.Type

func (ExprResponseOutput) Expression

func (o ExprResponseOutput) Expression() pulumi.StringOutput

Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.

func (ExprResponseOutput) Location

func (o ExprResponseOutput) Location() pulumi.StringOutput

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprResponseOutput) Title

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprResponseOutput) ToExprResponseOutput

func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput

func (ExprResponseOutput) ToExprResponseOutputWithContext

func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput

type HmacKey

type HmacKey struct {
	pulumi.CustomResourceState

	// The ID of the HMAC Key.
	AccessId pulumi.StringOutput `pulumi:"accessId"`
	// HTTP 1.1 Entity tag for the HMAC key.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.
	Kind    pulumi.StringOutput `pulumi:"kind"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The link to this resource.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// Email address of the service account.
	ServiceAccountEmail pulumi.StringOutput `pulumi:"serviceAccountEmail"`
	// The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.
	State pulumi.StringOutput `pulumi:"state"`
	// The creation time of the HMAC key in RFC 3339 format.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The last modification time of the HMAC key metadata in RFC 3339 format.
	Updated pulumi.StringOutput `pulumi:"updated"`
	// The project to be billed for this request.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
}

Creates a new HMAC key for the specified service account. Auto-naming is currently not supported for this resource.

func GetHmacKey

func GetHmacKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HmacKeyState, opts ...pulumi.ResourceOption) (*HmacKey, error)

GetHmacKey gets an existing HmacKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHmacKey

func NewHmacKey(ctx *pulumi.Context,
	name string, args *HmacKeyArgs, opts ...pulumi.ResourceOption) (*HmacKey, error)

NewHmacKey registers a new resource with the given unique name, arguments, and options.

func (*HmacKey) ElementType

func (*HmacKey) ElementType() reflect.Type

func (*HmacKey) ToHmacKeyOutput

func (i *HmacKey) ToHmacKeyOutput() HmacKeyOutput

func (*HmacKey) ToHmacKeyOutputWithContext

func (i *HmacKey) ToHmacKeyOutputWithContext(ctx context.Context) HmacKeyOutput

type HmacKeyArgs

type HmacKeyArgs struct {
	Project pulumi.StringPtrInput
	// Email address of the service account.
	ServiceAccountEmail pulumi.StringInput
	// The project to be billed for this request.
	UserProject pulumi.StringPtrInput
}

The set of arguments for constructing a HmacKey resource.

func (HmacKeyArgs) ElementType

func (HmacKeyArgs) ElementType() reflect.Type

type HmacKeyInput

type HmacKeyInput interface {
	pulumi.Input

	ToHmacKeyOutput() HmacKeyOutput
	ToHmacKeyOutputWithContext(ctx context.Context) HmacKeyOutput
}

type HmacKeyOutput

type HmacKeyOutput struct{ *pulumi.OutputState }

func (HmacKeyOutput) AccessId added in v0.19.0

func (o HmacKeyOutput) AccessId() pulumi.StringOutput

The ID of the HMAC Key.

func (HmacKeyOutput) ElementType

func (HmacKeyOutput) ElementType() reflect.Type

func (HmacKeyOutput) Etag added in v0.19.0

HTTP 1.1 Entity tag for the HMAC key.

func (HmacKeyOutput) Kind added in v0.19.0

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

func (HmacKeyOutput) Project added in v0.19.0

func (o HmacKeyOutput) Project() pulumi.StringOutput
func (o HmacKeyOutput) SelfLink() pulumi.StringOutput

The link to this resource.

func (HmacKeyOutput) ServiceAccountEmail added in v0.19.0

func (o HmacKeyOutput) ServiceAccountEmail() pulumi.StringOutput

Email address of the service account.

func (HmacKeyOutput) State added in v0.19.0

func (o HmacKeyOutput) State() pulumi.StringOutput

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

func (HmacKeyOutput) TimeCreated added in v0.19.0

func (o HmacKeyOutput) TimeCreated() pulumi.StringOutput

The creation time of the HMAC key in RFC 3339 format.

func (HmacKeyOutput) ToHmacKeyOutput

func (o HmacKeyOutput) ToHmacKeyOutput() HmacKeyOutput

func (HmacKeyOutput) ToHmacKeyOutputWithContext

func (o HmacKeyOutput) ToHmacKeyOutputWithContext(ctx context.Context) HmacKeyOutput

func (HmacKeyOutput) Updated added in v0.19.0

func (o HmacKeyOutput) Updated() pulumi.StringOutput

The last modification time of the HMAC key metadata in RFC 3339 format.

func (HmacKeyOutput) UserProject added in v0.21.0

func (o HmacKeyOutput) UserProject() pulumi.StringPtrOutput

The project to be billed for this request.

type HmacKeyState

type HmacKeyState struct {
}

func (HmacKeyState) ElementType

func (HmacKeyState) ElementType() reflect.Type

type LookupBucketAccessControlArgs added in v0.4.0

type LookupBucketAccessControlArgs struct {
	Bucket      string  `pulumi:"bucket"`
	Entity      string  `pulumi:"entity"`
	UserProject *string `pulumi:"userProject"`
}

type LookupBucketAccessControlOutputArgs added in v0.8.0

type LookupBucketAccessControlOutputArgs struct {
	Bucket      pulumi.StringInput    `pulumi:"bucket"`
	Entity      pulumi.StringInput    `pulumi:"entity"`
	UserProject pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupBucketAccessControlOutputArgs) ElementType added in v0.8.0

type LookupBucketAccessControlResult added in v0.4.0

type LookupBucketAccessControlResult struct {
	// The name of the bucket.
	Bucket string `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain string `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email string `pulumi:"email"`
	// 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 string `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId string `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag string `pulumi:"etag"`
	// The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
	Kind string `pulumi:"kind"`
	// The project team associated with the entity, if any.
	ProjectTeam BucketAccessControlProjectTeamResponse `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role string `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink string `pulumi:"selfLink"`
}

func LookupBucketAccessControl added in v0.4.0

func LookupBucketAccessControl(ctx *pulumi.Context, args *LookupBucketAccessControlArgs, opts ...pulumi.InvokeOption) (*LookupBucketAccessControlResult, error)

Returns the ACL entry for the specified entity on the specified bucket.

type LookupBucketAccessControlResultOutput added in v0.8.0

type LookupBucketAccessControlResultOutput struct{ *pulumi.OutputState }

func (LookupBucketAccessControlResultOutput) Bucket added in v0.8.0

The name of the bucket.

func (LookupBucketAccessControlResultOutput) Domain added in v0.8.0

The domain associated with the entity, if any.

func (LookupBucketAccessControlResultOutput) ElementType added in v0.8.0

func (LookupBucketAccessControlResultOutput) Email added in v0.8.0

The email address associated with the entity, if any.

func (LookupBucketAccessControlResultOutput) Entity added in v0.8.0

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.

func (LookupBucketAccessControlResultOutput) EntityId added in v0.8.0

The ID for the entity, if any.

func (LookupBucketAccessControlResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for the access-control entry.

func (LookupBucketAccessControlResultOutput) Kind added in v0.8.0

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

func (LookupBucketAccessControlResultOutput) ProjectTeam added in v0.8.0

The project team associated with the entity, if any.

func (LookupBucketAccessControlResultOutput) Role added in v0.8.0

The access permission for the entity.

The link to this access-control entry.

func (LookupBucketAccessControlResultOutput) ToLookupBucketAccessControlResultOutput added in v0.8.0

func (o LookupBucketAccessControlResultOutput) ToLookupBucketAccessControlResultOutput() LookupBucketAccessControlResultOutput

func (LookupBucketAccessControlResultOutput) ToLookupBucketAccessControlResultOutputWithContext added in v0.8.0

func (o LookupBucketAccessControlResultOutput) ToLookupBucketAccessControlResultOutputWithContext(ctx context.Context) LookupBucketAccessControlResultOutput

type LookupBucketArgs added in v0.4.0

type LookupBucketArgs struct {
	Bucket                   string  `pulumi:"bucket"`
	IfMetagenerationMatch    *string `pulumi:"ifMetagenerationMatch"`
	IfMetagenerationNotMatch *string `pulumi:"ifMetagenerationNotMatch"`
	Projection               *string `pulumi:"projection"`
	UserProject              *string `pulumi:"userProject"`
}

type LookupBucketIamPolicyArgs added in v0.4.0

type LookupBucketIamPolicyArgs struct {
	Bucket                        string  `pulumi:"bucket"`
	OptionsRequestedPolicyVersion *int    `pulumi:"optionsRequestedPolicyVersion"`
	UserProject                   *string `pulumi:"userProject"`
}

type LookupBucketIamPolicyOutputArgs added in v0.8.0

type LookupBucketIamPolicyOutputArgs struct {
	Bucket                        pulumi.StringInput    `pulumi:"bucket"`
	OptionsRequestedPolicyVersion pulumi.IntPtrInput    `pulumi:"optionsRequestedPolicyVersion"`
	UserProject                   pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupBucketIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupBucketIamPolicyResult added in v0.4.0

type LookupBucketIamPolicyResult struct {
	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings []BucketIamPolicyBindingsItemResponse `pulumi:"bindings"`
	// HTTP 1.1  Entity tag for the policy.
	Etag string `pulumi:"etag"`
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind string `pulumi:"kind"`
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId string `pulumi:"resourceId"`
	// The IAM policy format version.
	Version int `pulumi:"version"`
}

func LookupBucketIamPolicy added in v0.4.0

func LookupBucketIamPolicy(ctx *pulumi.Context, args *LookupBucketIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupBucketIamPolicyResult, error)

Returns an IAM policy for the specified bucket.

type LookupBucketIamPolicyResultOutput added in v0.8.0

type LookupBucketIamPolicyResultOutput struct{ *pulumi.OutputState }

func LookupBucketIamPolicyOutput added in v0.8.0

func (LookupBucketIamPolicyResultOutput) Bindings added in v0.8.0

An association between a role, which comes with a set of permissions, and members who may assume that role.

func (LookupBucketIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupBucketIamPolicyResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for the policy.

func (LookupBucketIamPolicyResultOutput) Kind added in v0.8.0

The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.

func (LookupBucketIamPolicyResultOutput) ResourceId added in v0.8.0

The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.

func (LookupBucketIamPolicyResultOutput) ToLookupBucketIamPolicyResultOutput added in v0.8.0

func (o LookupBucketIamPolicyResultOutput) ToLookupBucketIamPolicyResultOutput() LookupBucketIamPolicyResultOutput

func (LookupBucketIamPolicyResultOutput) ToLookupBucketIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupBucketIamPolicyResultOutput) ToLookupBucketIamPolicyResultOutputWithContext(ctx context.Context) LookupBucketIamPolicyResultOutput

func (LookupBucketIamPolicyResultOutput) Version added in v0.8.0

The IAM policy format version.

type LookupBucketObjectArgs added in v0.5.0

type LookupBucketObjectArgs struct {
	Bucket                   string  `pulumi:"bucket"`
	Generation               *string `pulumi:"generation"`
	IfGenerationMatch        *string `pulumi:"ifGenerationMatch"`
	IfGenerationNotMatch     *string `pulumi:"ifGenerationNotMatch"`
	IfMetagenerationMatch    *string `pulumi:"ifMetagenerationMatch"`
	IfMetagenerationNotMatch *string `pulumi:"ifMetagenerationNotMatch"`
	Object                   string  `pulumi:"object"`
	Projection               *string `pulumi:"projection"`
	SoftDeleted              *bool   `pulumi:"softDeleted"`
	UserProject              *string `pulumi:"userProject"`
}

type LookupBucketObjectOutputArgs added in v0.8.0

type LookupBucketObjectOutputArgs struct {
	Bucket                   pulumi.StringInput    `pulumi:"bucket"`
	Generation               pulumi.StringPtrInput `pulumi:"generation"`
	IfGenerationMatch        pulumi.StringPtrInput `pulumi:"ifGenerationMatch"`
	IfGenerationNotMatch     pulumi.StringPtrInput `pulumi:"ifGenerationNotMatch"`
	IfMetagenerationMatch    pulumi.StringPtrInput `pulumi:"ifMetagenerationMatch"`
	IfMetagenerationNotMatch pulumi.StringPtrInput `pulumi:"ifMetagenerationNotMatch"`
	Object                   pulumi.StringInput    `pulumi:"object"`
	Projection               pulumi.StringPtrInput `pulumi:"projection"`
	SoftDeleted              pulumi.BoolPtrInput   `pulumi:"softDeleted"`
	UserProject              pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupBucketObjectOutputArgs) ElementType added in v0.8.0

type LookupBucketObjectResult added in v0.5.0

type LookupBucketObjectResult struct {
	// Access controls on the object.
	Acl []ObjectAccessControlResponse `pulumi:"acl"`
	// The name of the bucket containing this object.
	Bucket string `pulumi:"bucket"`
	// 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.
	CacheControl string `pulumi:"cacheControl"`
	// Number of underlying components that make up this object. Components are accumulated by compose operations.
	ComponentCount int `pulumi:"componentCount"`
	// Content-Disposition of the object data.
	ContentDisposition string `pulumi:"contentDisposition"`
	// Content-Encoding of the object data.
	ContentEncoding string `pulumi:"contentEncoding"`
	// Content-Language of the object data.
	ContentLanguage string `pulumi:"contentLanguage"`
	// Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
	ContentType string `pulumi:"contentType"`
	// 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.
	Crc32c string `pulumi:"crc32c"`
	// A timestamp in RFC 3339 format specified by the user for an object.
	CustomTime string `pulumi:"customTime"`
	// Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
	CustomerEncryption BucketObjectCustomerEncryptionResponse `pulumi:"customerEncryption"`
	// HTTP 1.1 Entity tag for the object.
	Etag string `pulumi:"etag"`
	// 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.
	EventBasedHold bool `pulumi:"eventBasedHold"`
	// The content generation of this object. Used for object versioning.
	Generation string `pulumi:"generation"`
	// 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.
	HardDeleteTime string `pulumi:"hardDeleteTime"`
	// The kind of item this is. For objects, this is always storage#object.
	Kind string `pulumi:"kind"`
	// Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
	Md5Hash string `pulumi:"md5Hash"`
	// Media download link.
	MediaLink string `pulumi:"mediaLink"`
	// User-provided metadata, in key/value pairs.
	Metadata map[string]string `pulumi:"metadata"`
	// 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.
	Metageneration string `pulumi:"metageneration"`
	// The name of the object. Required if not specified by URL parameter.
	Name string `pulumi:"name"`
	// The owner of the object. This will always be the uploader of the object.
	Owner BucketObjectOwnerResponse `pulumi:"owner"`
	// A collection of object level retention parameters.
	Retention BucketObjectRetentionResponse `pulumi:"retention"`
	// 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).
	RetentionExpirationTime string `pulumi:"retentionExpirationTime"`
	// The link to this object.
	SelfLink string `pulumi:"selfLink"`
	// Content-Length of the data in bytes.
	Size string `pulumi:"size"`
	// The time at which the object became soft-deleted in RFC 3339 format.
	SoftDeleteTime string `pulumi:"softDeleteTime"`
	// Storage class of the object.
	StorageClass string `pulumi:"storageClass"`
	// 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.
	TemporaryHold bool `pulumi:"temporaryHold"`
	// The creation time of the object in RFC 3339 format.
	TimeCreated string `pulumi:"timeCreated"`
	// 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.
	TimeDeleted string `pulumi:"timeDeleted"`
	// The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
	TimeStorageClassUpdated string `pulumi:"timeStorageClassUpdated"`
	// 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.
	Updated string `pulumi:"updated"`
}

func LookupBucketObject added in v0.5.0

func LookupBucketObject(ctx *pulumi.Context, args *LookupBucketObjectArgs, opts ...pulumi.InvokeOption) (*LookupBucketObjectResult, error)

Retrieves an object or its metadata.

type LookupBucketObjectResultOutput added in v0.8.0

type LookupBucketObjectResultOutput struct{ *pulumi.OutputState }

func LookupBucketObjectOutput added in v0.8.0

func (LookupBucketObjectResultOutput) Acl added in v0.8.0

Access controls on the object.

func (LookupBucketObjectResultOutput) Bucket added in v0.8.0

The name of the bucket containing this object.

func (LookupBucketObjectResultOutput) CacheControl added in v0.8.0

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.

func (LookupBucketObjectResultOutput) ComponentCount added in v0.8.0

func (o LookupBucketObjectResultOutput) ComponentCount() pulumi.IntOutput

Number of underlying components that make up this object. Components are accumulated by compose operations.

func (LookupBucketObjectResultOutput) ContentDisposition added in v0.8.0

func (o LookupBucketObjectResultOutput) ContentDisposition() pulumi.StringOutput

Content-Disposition of the object data.

func (LookupBucketObjectResultOutput) ContentEncoding added in v0.8.0

Content-Encoding of the object data.

func (LookupBucketObjectResultOutput) ContentLanguage added in v0.8.0

Content-Language of the object data.

func (LookupBucketObjectResultOutput) ContentType added in v0.8.0

Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.

func (LookupBucketObjectResultOutput) Crc32c added in v0.8.0

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.

func (LookupBucketObjectResultOutput) CustomTime added in v0.8.0

A timestamp in RFC 3339 format specified by the user for an object.

func (LookupBucketObjectResultOutput) CustomerEncryption added in v0.8.0

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

func (LookupBucketObjectResultOutput) ElementType added in v0.8.0

func (LookupBucketObjectResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for the object.

func (LookupBucketObjectResultOutput) EventBasedHold added in v0.8.0

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.

func (LookupBucketObjectResultOutput) Generation added in v0.8.0

The content generation of this object. Used for object versioning.

func (LookupBucketObjectResultOutput) HardDeleteTime added in v0.32.0

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.

func (LookupBucketObjectResultOutput) Kind added in v0.8.0

The kind of item this is. For objects, this is always storage#object.

func (LookupBucketObjectResultOutput) KmsKeyName added in v0.8.0

Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.

func (LookupBucketObjectResultOutput) Md5Hash added in v0.8.0

MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.

Media download link.

func (LookupBucketObjectResultOutput) Metadata added in v0.8.0

User-provided metadata, in key/value pairs.

func (LookupBucketObjectResultOutput) Metageneration added in v0.8.0

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.

func (LookupBucketObjectResultOutput) Name added in v0.8.0

The name of the object. Required if not specified by URL parameter.

func (LookupBucketObjectResultOutput) Owner added in v0.8.0

The owner of the object. This will always be the uploader of the object.

func (LookupBucketObjectResultOutput) Retention added in v0.32.0

A collection of object level retention parameters.

func (LookupBucketObjectResultOutput) RetentionExpirationTime added in v0.8.0

func (o LookupBucketObjectResultOutput) RetentionExpirationTime() pulumi.StringOutput

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).

The link to this object.

func (LookupBucketObjectResultOutput) Size added in v0.8.0

Content-Length of the data in bytes.

func (LookupBucketObjectResultOutput) SoftDeleteTime added in v0.32.0

The time at which the object became soft-deleted in RFC 3339 format.

func (LookupBucketObjectResultOutput) StorageClass added in v0.8.0

Storage class of the object.

func (LookupBucketObjectResultOutput) TemporaryHold added in v0.8.0

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.

func (LookupBucketObjectResultOutput) TimeCreated added in v0.8.0

The creation time of the object in RFC 3339 format.

func (LookupBucketObjectResultOutput) TimeDeleted added in v0.8.0

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.

func (LookupBucketObjectResultOutput) TimeStorageClassUpdated added in v0.8.0

func (o LookupBucketObjectResultOutput) TimeStorageClassUpdated() pulumi.StringOutput

The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.

func (LookupBucketObjectResultOutput) ToLookupBucketObjectResultOutput added in v0.8.0

func (o LookupBucketObjectResultOutput) ToLookupBucketObjectResultOutput() LookupBucketObjectResultOutput

func (LookupBucketObjectResultOutput) ToLookupBucketObjectResultOutputWithContext added in v0.8.0

func (o LookupBucketObjectResultOutput) ToLookupBucketObjectResultOutputWithContext(ctx context.Context) LookupBucketObjectResultOutput

func (LookupBucketObjectResultOutput) Updated added in v0.8.0

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.

type LookupBucketOutputArgs added in v0.8.0

type LookupBucketOutputArgs struct {
	Bucket                   pulumi.StringInput    `pulumi:"bucket"`
	IfMetagenerationMatch    pulumi.StringPtrInput `pulumi:"ifMetagenerationMatch"`
	IfMetagenerationNotMatch pulumi.StringPtrInput `pulumi:"ifMetagenerationNotMatch"`
	Projection               pulumi.StringPtrInput `pulumi:"projection"`
	UserProject              pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupBucketOutputArgs) ElementType added in v0.8.0

func (LookupBucketOutputArgs) ElementType() reflect.Type

type LookupBucketResult added in v0.4.0

type LookupBucketResult struct {
	// Access controls on the bucket.
	Acl []BucketAccessControlResponse `pulumi:"acl"`
	// The bucket's Autoclass configuration.
	Autoclass BucketAutoclassResponse `pulumi:"autoclass"`
	// The bucket's billing configuration.
	Billing BucketBillingResponse `pulumi:"billing"`
	// The bucket's Cross-Origin Resource Sharing (CORS) configuration.
	Cors []BucketCorsItemResponse `pulumi:"cors"`
	// The bucket's custom placement configuration for Custom Dual Regions.
	CustomPlacementConfig BucketCustomPlacementConfigResponse `pulumi:"customPlacementConfig"`
	// 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.
	DefaultEventBasedHold bool `pulumi:"defaultEventBasedHold"`
	// Default access controls to apply to new objects when no ACL is provided.
	DefaultObjectAcl []ObjectAccessControlResponse `pulumi:"defaultObjectAcl"`
	// Encryption configuration for a bucket.
	Encryption BucketEncryptionResponse `pulumi:"encryption"`
	// HTTP 1.1 Entity tag for the bucket.
	Etag string `pulumi:"etag"`
	// The bucket's IAM configuration.
	IamConfiguration BucketIamConfigurationResponse `pulumi:"iamConfiguration"`
	// The kind of item this is. For buckets, this is always storage#bucket.
	Kind string `pulumi:"kind"`
	// User-provided labels, in key/value pairs.
	Labels map[string]string `pulumi:"labels"`
	// The bucket's lifecycle configuration. See lifecycle management for more information.
	Lifecycle BucketLifecycleResponse `pulumi:"lifecycle"`
	// 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 string `pulumi:"location"`
	// The type of the bucket location.
	LocationType string `pulumi:"locationType"`
	// The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
	Logging BucketLoggingResponse `pulumi:"logging"`
	// The metadata generation of this bucket.
	Metageneration string `pulumi:"metageneration"`
	// The name of the bucket.
	Name string `pulumi:"name"`
	// The bucket's object retention config.
	ObjectRetention BucketObjectRetentionResponse `pulumi:"objectRetention"`
	// The owner of the bucket. This is always the project team's owner group.
	Owner BucketOwnerResponse `pulumi:"owner"`
	// The project number of the project the bucket belongs to.
	ProjectNumber string `pulumi:"projectNumber"`
	// 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.
	RetentionPolicy BucketRetentionPolicyResponse `pulumi:"retentionPolicy"`
	// The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.
	Rpo string `pulumi:"rpo"`
	// Reserved for future use.
	SatisfiesPZS bool `pulumi:"satisfiesPZS"`
	// The URI of this bucket.
	SelfLink string `pulumi:"selfLink"`
	// The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.
	SoftDeletePolicy BucketSoftDeletePolicyResponse `pulumi:"softDeletePolicy"`
	// 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.
	StorageClass string `pulumi:"storageClass"`
	// The creation time of the bucket in RFC 3339 format.
	TimeCreated string `pulumi:"timeCreated"`
	// The modification time of the bucket in RFC 3339 format.
	Updated string `pulumi:"updated"`
	// The bucket's versioning configuration.
	Versioning BucketVersioningResponse `pulumi:"versioning"`
	// 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.
	Website BucketWebsiteResponse `pulumi:"website"`
}

func LookupBucket added in v0.4.0

func LookupBucket(ctx *pulumi.Context, args *LookupBucketArgs, opts ...pulumi.InvokeOption) (*LookupBucketResult, error)

Returns metadata for the specified bucket.

type LookupBucketResultOutput added in v0.8.0

type LookupBucketResultOutput struct{ *pulumi.OutputState }

func LookupBucketOutput added in v0.8.0

func LookupBucketOutput(ctx *pulumi.Context, args LookupBucketOutputArgs, opts ...pulumi.InvokeOption) LookupBucketResultOutput

func (LookupBucketResultOutput) Acl added in v0.8.0

Access controls on the bucket.

func (LookupBucketResultOutput) Autoclass added in v0.9.0

The bucket's Autoclass configuration.

func (LookupBucketResultOutput) Billing added in v0.8.0

The bucket's billing configuration.

func (LookupBucketResultOutput) Cors added in v0.8.0

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

func (LookupBucketResultOutput) CustomPlacementConfig added in v0.8.0

The bucket's custom placement configuration for Custom Dual Regions.

func (LookupBucketResultOutput) DefaultEventBasedHold added in v0.8.0

func (o LookupBucketResultOutput) DefaultEventBasedHold() pulumi.BoolOutput

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.

func (LookupBucketResultOutput) DefaultObjectAcl added in v0.8.0

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

func (LookupBucketResultOutput) ElementType added in v0.8.0

func (LookupBucketResultOutput) ElementType() reflect.Type

func (LookupBucketResultOutput) Encryption added in v0.8.0

Encryption configuration for a bucket.

func (LookupBucketResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for the bucket.

func (LookupBucketResultOutput) IamConfiguration added in v0.8.0

The bucket's IAM configuration.

func (LookupBucketResultOutput) Kind added in v0.8.0

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

func (LookupBucketResultOutput) Labels added in v0.8.0

User-provided labels, in key/value pairs.

func (LookupBucketResultOutput) Lifecycle added in v0.8.0

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

func (LookupBucketResultOutput) Location added in v0.8.0

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.

func (LookupBucketResultOutput) LocationType added in v0.8.0

func (o LookupBucketResultOutput) LocationType() pulumi.StringOutput

The type of the bucket location.

func (LookupBucketResultOutput) Logging added in v0.8.0

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

func (LookupBucketResultOutput) Metageneration added in v0.8.0

func (o LookupBucketResultOutput) Metageneration() pulumi.StringOutput

The metadata generation of this bucket.

func (LookupBucketResultOutput) Name added in v0.8.0

The name of the bucket.

func (LookupBucketResultOutput) ObjectRetention added in v0.32.0

The bucket's object retention config.

func (LookupBucketResultOutput) Owner added in v0.8.0

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

func (LookupBucketResultOutput) ProjectNumber added in v0.8.0

func (o LookupBucketResultOutput) ProjectNumber() pulumi.StringOutput

The project number of the project the bucket belongs to.

func (LookupBucketResultOutput) RetentionPolicy added in v0.8.0

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.

func (LookupBucketResultOutput) Rpo added in v0.8.0

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

func (LookupBucketResultOutput) SatisfiesPZS added in v0.8.0

func (o LookupBucketResultOutput) SatisfiesPZS() pulumi.BoolOutput

Reserved for future use.

The URI of this bucket.

func (LookupBucketResultOutput) SoftDeletePolicy added in v0.32.0

The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

func (LookupBucketResultOutput) StorageClass added in v0.8.0

func (o LookupBucketResultOutput) StorageClass() pulumi.StringOutput

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.

func (LookupBucketResultOutput) TimeCreated added in v0.8.0

The creation time of the bucket in RFC 3339 format.

func (LookupBucketResultOutput) ToLookupBucketResultOutput added in v0.8.0

func (o LookupBucketResultOutput) ToLookupBucketResultOutput() LookupBucketResultOutput

func (LookupBucketResultOutput) ToLookupBucketResultOutputWithContext added in v0.8.0

func (o LookupBucketResultOutput) ToLookupBucketResultOutputWithContext(ctx context.Context) LookupBucketResultOutput

func (LookupBucketResultOutput) Updated added in v0.8.0

The modification time of the bucket in RFC 3339 format.

func (LookupBucketResultOutput) Versioning added in v0.8.0

The bucket's versioning configuration.

func (LookupBucketResultOutput) Website added in v0.8.0

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.

type LookupDefaultObjectAccessControlArgs added in v0.4.0

type LookupDefaultObjectAccessControlArgs struct {
	Bucket      string  `pulumi:"bucket"`
	Entity      string  `pulumi:"entity"`
	UserProject *string `pulumi:"userProject"`
}

type LookupDefaultObjectAccessControlOutputArgs added in v0.8.0

type LookupDefaultObjectAccessControlOutputArgs struct {
	Bucket      pulumi.StringInput    `pulumi:"bucket"`
	Entity      pulumi.StringInput    `pulumi:"entity"`
	UserProject pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupDefaultObjectAccessControlOutputArgs) ElementType added in v0.8.0

type LookupDefaultObjectAccessControlResult added in v0.4.0

type LookupDefaultObjectAccessControlResult struct {
	// The name of the bucket.
	Bucket string `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain string `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email string `pulumi:"email"`
	// 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 string `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId string `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag string `pulumi:"etag"`
	// The content generation of the object, if applied to an object.
	Generation string `pulumi:"generation"`
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind string `pulumi:"kind"`
	// The name of the object, if applied to an object.
	Object string `pulumi:"object"`
	// The project team associated with the entity, if any.
	ProjectTeam DefaultObjectAccessControlProjectTeamResponse `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role string `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink string `pulumi:"selfLink"`
}

func LookupDefaultObjectAccessControl added in v0.4.0

Returns the default object ACL entry for the specified entity on the specified bucket.

type LookupDefaultObjectAccessControlResultOutput added in v0.8.0

type LookupDefaultObjectAccessControlResultOutput struct{ *pulumi.OutputState }

func (LookupDefaultObjectAccessControlResultOutput) Bucket added in v0.8.0

The name of the bucket.

func (LookupDefaultObjectAccessControlResultOutput) Domain added in v0.8.0

The domain associated with the entity, if any.

func (LookupDefaultObjectAccessControlResultOutput) ElementType added in v0.8.0

func (LookupDefaultObjectAccessControlResultOutput) Email added in v0.8.0

The email address associated with the entity, if any.

func (LookupDefaultObjectAccessControlResultOutput) Entity added in v0.8.0

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.

func (LookupDefaultObjectAccessControlResultOutput) EntityId added in v0.8.0

The ID for the entity, if any.

func (LookupDefaultObjectAccessControlResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for the access-control entry.

func (LookupDefaultObjectAccessControlResultOutput) Generation added in v0.8.0

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

func (LookupDefaultObjectAccessControlResultOutput) Kind added in v0.8.0

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

func (LookupDefaultObjectAccessControlResultOutput) Object added in v0.8.0

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

func (LookupDefaultObjectAccessControlResultOutput) ProjectTeam added in v0.8.0

The project team associated with the entity, if any.

func (LookupDefaultObjectAccessControlResultOutput) Role added in v0.8.0

The access permission for the entity.

The link to this access-control entry.

func (LookupDefaultObjectAccessControlResultOutput) ToLookupDefaultObjectAccessControlResultOutput added in v0.8.0

func (o LookupDefaultObjectAccessControlResultOutput) ToLookupDefaultObjectAccessControlResultOutput() LookupDefaultObjectAccessControlResultOutput

func (LookupDefaultObjectAccessControlResultOutput) ToLookupDefaultObjectAccessControlResultOutputWithContext added in v0.8.0

func (o LookupDefaultObjectAccessControlResultOutput) ToLookupDefaultObjectAccessControlResultOutputWithContext(ctx context.Context) LookupDefaultObjectAccessControlResultOutput

type LookupHmacKeyArgs added in v0.4.0

type LookupHmacKeyArgs struct {
	AccessId    string  `pulumi:"accessId"`
	Project     *string `pulumi:"project"`
	UserProject *string `pulumi:"userProject"`
}

type LookupHmacKeyOutputArgs added in v0.8.0

type LookupHmacKeyOutputArgs struct {
	AccessId    pulumi.StringInput    `pulumi:"accessId"`
	Project     pulumi.StringPtrInput `pulumi:"project"`
	UserProject pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupHmacKeyOutputArgs) ElementType added in v0.8.0

func (LookupHmacKeyOutputArgs) ElementType() reflect.Type

type LookupHmacKeyResult added in v0.4.0

type LookupHmacKeyResult struct {
	// The ID of the HMAC Key.
	AccessId string `pulumi:"accessId"`
	// HTTP 1.1 Entity tag for the HMAC key.
	Etag string `pulumi:"etag"`
	// The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.
	Kind string `pulumi:"kind"`
	// Project ID owning the service account to which the key authenticates.
	Project string `pulumi:"project"`
	// The link to this resource.
	SelfLink string `pulumi:"selfLink"`
	// The email address of the key's associated service account.
	ServiceAccountEmail string `pulumi:"serviceAccountEmail"`
	// The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.
	State string `pulumi:"state"`
	// The creation time of the HMAC key in RFC 3339 format.
	TimeCreated string `pulumi:"timeCreated"`
	// The last modification time of the HMAC key metadata in RFC 3339 format.
	Updated string `pulumi:"updated"`
}

func LookupHmacKey added in v0.4.0

func LookupHmacKey(ctx *pulumi.Context, args *LookupHmacKeyArgs, opts ...pulumi.InvokeOption) (*LookupHmacKeyResult, error)

Retrieves an HMAC key's metadata

type LookupHmacKeyResultOutput added in v0.8.0

type LookupHmacKeyResultOutput struct{ *pulumi.OutputState }

func LookupHmacKeyOutput added in v0.8.0

func LookupHmacKeyOutput(ctx *pulumi.Context, args LookupHmacKeyOutputArgs, opts ...pulumi.InvokeOption) LookupHmacKeyResultOutput

func (LookupHmacKeyResultOutput) AccessId added in v0.8.0

The ID of the HMAC Key.

func (LookupHmacKeyResultOutput) ElementType added in v0.8.0

func (LookupHmacKeyResultOutput) ElementType() reflect.Type

func (LookupHmacKeyResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for the HMAC key.

func (LookupHmacKeyResultOutput) Kind added in v0.8.0

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

func (LookupHmacKeyResultOutput) Project added in v0.8.0

Project ID owning the service account to which the key authenticates.

The link to this resource.

func (LookupHmacKeyResultOutput) ServiceAccountEmail added in v0.8.0

func (o LookupHmacKeyResultOutput) ServiceAccountEmail() pulumi.StringOutput

The email address of the key's associated service account.

func (LookupHmacKeyResultOutput) State added in v0.8.0

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

func (LookupHmacKeyResultOutput) TimeCreated added in v0.8.0

The creation time of the HMAC key in RFC 3339 format.

func (LookupHmacKeyResultOutput) ToLookupHmacKeyResultOutput added in v0.8.0

func (o LookupHmacKeyResultOutput) ToLookupHmacKeyResultOutput() LookupHmacKeyResultOutput

func (LookupHmacKeyResultOutput) ToLookupHmacKeyResultOutputWithContext added in v0.8.0

func (o LookupHmacKeyResultOutput) ToLookupHmacKeyResultOutputWithContext(ctx context.Context) LookupHmacKeyResultOutput

func (LookupHmacKeyResultOutput) Updated added in v0.8.0

The last modification time of the HMAC key metadata in RFC 3339 format.

type LookupManagedFolderArgs added in v0.32.0

type LookupManagedFolderArgs struct {
	Bucket                   string  `pulumi:"bucket"`
	IfMetagenerationMatch    *string `pulumi:"ifMetagenerationMatch"`
	IfMetagenerationNotMatch *string `pulumi:"ifMetagenerationNotMatch"`
	ManagedFolder            string  `pulumi:"managedFolder"`
}

type LookupManagedFolderIamPolicyArgs added in v0.32.0

type LookupManagedFolderIamPolicyArgs struct {
	Bucket                        string  `pulumi:"bucket"`
	ManagedFolder                 string  `pulumi:"managedFolder"`
	OptionsRequestedPolicyVersion *int    `pulumi:"optionsRequestedPolicyVersion"`
	UserProject                   *string `pulumi:"userProject"`
}

type LookupManagedFolderIamPolicyOutputArgs added in v0.32.0

type LookupManagedFolderIamPolicyOutputArgs struct {
	Bucket                        pulumi.StringInput    `pulumi:"bucket"`
	ManagedFolder                 pulumi.StringInput    `pulumi:"managedFolder"`
	OptionsRequestedPolicyVersion pulumi.IntPtrInput    `pulumi:"optionsRequestedPolicyVersion"`
	UserProject                   pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupManagedFolderIamPolicyOutputArgs) ElementType added in v0.32.0

type LookupManagedFolderIamPolicyResult added in v0.32.0

type LookupManagedFolderIamPolicyResult struct {
	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings []ManagedFolderIamPolicyBindingsItemResponse `pulumi:"bindings"`
	// HTTP 1.1  Entity tag for the policy.
	Etag string `pulumi:"etag"`
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind string `pulumi:"kind"`
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId string `pulumi:"resourceId"`
	// The IAM policy format version.
	Version int `pulumi:"version"`
}

func LookupManagedFolderIamPolicy added in v0.32.0

func LookupManagedFolderIamPolicy(ctx *pulumi.Context, args *LookupManagedFolderIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupManagedFolderIamPolicyResult, error)

Returns an IAM policy for the specified managed folder.

type LookupManagedFolderIamPolicyResultOutput added in v0.32.0

type LookupManagedFolderIamPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupManagedFolderIamPolicyResultOutput) Bindings added in v0.32.0

An association between a role, which comes with a set of permissions, and members who may assume that role.

func (LookupManagedFolderIamPolicyResultOutput) ElementType added in v0.32.0

func (LookupManagedFolderIamPolicyResultOutput) Etag added in v0.32.0

HTTP 1.1 Entity tag for the policy.

func (LookupManagedFolderIamPolicyResultOutput) Kind added in v0.32.0

The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.

func (LookupManagedFolderIamPolicyResultOutput) ResourceId added in v0.32.0

The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.

func (LookupManagedFolderIamPolicyResultOutput) ToLookupManagedFolderIamPolicyResultOutput added in v0.32.0

func (o LookupManagedFolderIamPolicyResultOutput) ToLookupManagedFolderIamPolicyResultOutput() LookupManagedFolderIamPolicyResultOutput

func (LookupManagedFolderIamPolicyResultOutput) ToLookupManagedFolderIamPolicyResultOutputWithContext added in v0.32.0

func (o LookupManagedFolderIamPolicyResultOutput) ToLookupManagedFolderIamPolicyResultOutputWithContext(ctx context.Context) LookupManagedFolderIamPolicyResultOutput

func (LookupManagedFolderIamPolicyResultOutput) Version added in v0.32.0

The IAM policy format version.

type LookupManagedFolderOutputArgs added in v0.32.0

type LookupManagedFolderOutputArgs struct {
	Bucket                   pulumi.StringInput    `pulumi:"bucket"`
	IfMetagenerationMatch    pulumi.StringPtrInput `pulumi:"ifMetagenerationMatch"`
	IfMetagenerationNotMatch pulumi.StringPtrInput `pulumi:"ifMetagenerationNotMatch"`
	ManagedFolder            pulumi.StringInput    `pulumi:"managedFolder"`
}

func (LookupManagedFolderOutputArgs) ElementType added in v0.32.0

type LookupManagedFolderResult added in v0.32.0

type LookupManagedFolderResult struct {
	// The name of the bucket containing this managed folder.
	Bucket string `pulumi:"bucket"`
	// The creation time of the managed folder in RFC 3339 format.
	CreateTime string `pulumi:"createTime"`
	// The kind of item this is. For managed folders, this is always storage#managedFolder.
	Kind string `pulumi:"kind"`
	// The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
	Metageneration string `pulumi:"metageneration"`
	// The name of the managed folder. Required if not specified by URL parameter.
	Name string `pulumi:"name"`
	// The link to this managed folder.
	SelfLink string `pulumi:"selfLink"`
	// The last update time of the managed folder metadata in RFC 3339 format.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupManagedFolder added in v0.32.0

func LookupManagedFolder(ctx *pulumi.Context, args *LookupManagedFolderArgs, opts ...pulumi.InvokeOption) (*LookupManagedFolderResult, error)

Returns metadata of the specified managed folder.

type LookupManagedFolderResultOutput added in v0.32.0

type LookupManagedFolderResultOutput struct{ *pulumi.OutputState }

func LookupManagedFolderOutput added in v0.32.0

func (LookupManagedFolderResultOutput) Bucket added in v0.32.0

The name of the bucket containing this managed folder.

func (LookupManagedFolderResultOutput) CreateTime added in v0.32.0

The creation time of the managed folder in RFC 3339 format.

func (LookupManagedFolderResultOutput) ElementType added in v0.32.0

func (LookupManagedFolderResultOutput) Kind added in v0.32.0

The kind of item this is. For managed folders, this is always storage#managedFolder.

func (LookupManagedFolderResultOutput) Metageneration added in v0.32.0

The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.

func (LookupManagedFolderResultOutput) Name added in v0.32.0

The name of the managed folder. Required if not specified by URL parameter.

The link to this managed folder.

func (LookupManagedFolderResultOutput) ToLookupManagedFolderResultOutput added in v0.32.0

func (o LookupManagedFolderResultOutput) ToLookupManagedFolderResultOutput() LookupManagedFolderResultOutput

func (LookupManagedFolderResultOutput) ToLookupManagedFolderResultOutputWithContext added in v0.32.0

func (o LookupManagedFolderResultOutput) ToLookupManagedFolderResultOutputWithContext(ctx context.Context) LookupManagedFolderResultOutput

func (LookupManagedFolderResultOutput) UpdateTime added in v0.32.0

The last update time of the managed folder metadata in RFC 3339 format.

type LookupNotificationArgs added in v0.4.0

type LookupNotificationArgs struct {
	Bucket       string  `pulumi:"bucket"`
	Notification string  `pulumi:"notification"`
	UserProject  *string `pulumi:"userProject"`
}

type LookupNotificationOutputArgs added in v0.8.0

type LookupNotificationOutputArgs struct {
	Bucket       pulumi.StringInput    `pulumi:"bucket"`
	Notification pulumi.StringInput    `pulumi:"notification"`
	UserProject  pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupNotificationOutputArgs) ElementType added in v0.8.0

type LookupNotificationResult added in v0.4.0

type LookupNotificationResult struct {
	// An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
	CustomAttributes map[string]string `pulumi:"customAttributes"`
	// HTTP 1.1 Entity tag for this subscription notification.
	Etag string `pulumi:"etag"`
	// If present, only send notifications about listed event types. If empty, sent notifications for all event types.
	EventTypes []string `pulumi:"eventTypes"`
	// The kind of item this is. For notifications, this is always storage#notification.
	Kind string `pulumi:"kind"`
	// If present, only apply this notification configuration to object names that begin with this prefix.
	ObjectNamePrefix string `pulumi:"objectNamePrefix"`
	// The desired content of the Payload.
	PayloadFormat string `pulumi:"payloadFormat"`
	// The canonical URL of this notification.
	SelfLink string `pulumi:"selfLink"`
	// The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
	Topic string `pulumi:"topic"`
}

func LookupNotification added in v0.4.0

func LookupNotification(ctx *pulumi.Context, args *LookupNotificationArgs, opts ...pulumi.InvokeOption) (*LookupNotificationResult, error)

View a notification configuration.

type LookupNotificationResultOutput added in v0.8.0

type LookupNotificationResultOutput struct{ *pulumi.OutputState }

func LookupNotificationOutput added in v0.8.0

func (LookupNotificationResultOutput) CustomAttributes added in v0.8.0

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

func (LookupNotificationResultOutput) ElementType added in v0.8.0

func (LookupNotificationResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for this subscription notification.

func (LookupNotificationResultOutput) EventTypes added in v0.8.0

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

func (LookupNotificationResultOutput) Kind added in v0.8.0

The kind of item this is. For notifications, this is always storage#notification.

func (LookupNotificationResultOutput) ObjectNamePrefix added in v0.8.0

func (o LookupNotificationResultOutput) ObjectNamePrefix() pulumi.StringOutput

If present, only apply this notification configuration to object names that begin with this prefix.

func (LookupNotificationResultOutput) PayloadFormat added in v0.8.0

The desired content of the Payload.

The canonical URL of this notification.

func (LookupNotificationResultOutput) ToLookupNotificationResultOutput added in v0.8.0

func (o LookupNotificationResultOutput) ToLookupNotificationResultOutput() LookupNotificationResultOutput

func (LookupNotificationResultOutput) ToLookupNotificationResultOutputWithContext added in v0.8.0

func (o LookupNotificationResultOutput) ToLookupNotificationResultOutputWithContext(ctx context.Context) LookupNotificationResultOutput

func (LookupNotificationResultOutput) Topic added in v0.8.0

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

type LookupObjectAccessControlArgs added in v0.4.0

type LookupObjectAccessControlArgs struct {
	Bucket      string  `pulumi:"bucket"`
	Entity      string  `pulumi:"entity"`
	Generation  *string `pulumi:"generation"`
	Object      string  `pulumi:"object"`
	UserProject *string `pulumi:"userProject"`
}

type LookupObjectAccessControlOutputArgs added in v0.8.0

type LookupObjectAccessControlOutputArgs struct {
	Bucket      pulumi.StringInput    `pulumi:"bucket"`
	Entity      pulumi.StringInput    `pulumi:"entity"`
	Generation  pulumi.StringPtrInput `pulumi:"generation"`
	Object      pulumi.StringInput    `pulumi:"object"`
	UserProject pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupObjectAccessControlOutputArgs) ElementType added in v0.8.0

type LookupObjectAccessControlResult added in v0.4.0

type LookupObjectAccessControlResult struct {
	// The name of the bucket.
	Bucket string `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain string `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email string `pulumi:"email"`
	// 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 string `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId string `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag string `pulumi:"etag"`
	// The content generation of the object, if applied to an object.
	Generation string `pulumi:"generation"`
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind string `pulumi:"kind"`
	// The name of the object, if applied to an object.
	Object string `pulumi:"object"`
	// The project team associated with the entity, if any.
	ProjectTeam ObjectAccessControlProjectTeamResponse `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role string `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink string `pulumi:"selfLink"`
}

func LookupObjectAccessControl added in v0.4.0

func LookupObjectAccessControl(ctx *pulumi.Context, args *LookupObjectAccessControlArgs, opts ...pulumi.InvokeOption) (*LookupObjectAccessControlResult, error)

Returns the ACL entry for the specified entity on the specified object.

type LookupObjectAccessControlResultOutput added in v0.8.0

type LookupObjectAccessControlResultOutput struct{ *pulumi.OutputState }

func (LookupObjectAccessControlResultOutput) Bucket added in v0.8.0

The name of the bucket.

func (LookupObjectAccessControlResultOutput) Domain added in v0.8.0

The domain associated with the entity, if any.

func (LookupObjectAccessControlResultOutput) ElementType added in v0.8.0

func (LookupObjectAccessControlResultOutput) Email added in v0.8.0

The email address associated with the entity, if any.

func (LookupObjectAccessControlResultOutput) Entity added in v0.8.0

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.

func (LookupObjectAccessControlResultOutput) EntityId added in v0.8.0

The ID for the entity, if any.

func (LookupObjectAccessControlResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for the access-control entry.

func (LookupObjectAccessControlResultOutput) Generation added in v0.8.0

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

func (LookupObjectAccessControlResultOutput) Kind added in v0.8.0

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

func (LookupObjectAccessControlResultOutput) Object added in v0.8.0

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

func (LookupObjectAccessControlResultOutput) ProjectTeam added in v0.8.0

The project team associated with the entity, if any.

func (LookupObjectAccessControlResultOutput) Role added in v0.8.0

The access permission for the entity.

The link to this access-control entry.

func (LookupObjectAccessControlResultOutput) ToLookupObjectAccessControlResultOutput added in v0.8.0

func (o LookupObjectAccessControlResultOutput) ToLookupObjectAccessControlResultOutput() LookupObjectAccessControlResultOutput

func (LookupObjectAccessControlResultOutput) ToLookupObjectAccessControlResultOutputWithContext added in v0.8.0

func (o LookupObjectAccessControlResultOutput) ToLookupObjectAccessControlResultOutputWithContext(ctx context.Context) LookupObjectAccessControlResultOutput

type LookupObjectIamPolicyArgs added in v0.4.0

type LookupObjectIamPolicyArgs struct {
	Bucket      string  `pulumi:"bucket"`
	Generation  *string `pulumi:"generation"`
	Object      string  `pulumi:"object"`
	UserProject *string `pulumi:"userProject"`
}

type LookupObjectIamPolicyOutputArgs added in v0.8.0

type LookupObjectIamPolicyOutputArgs struct {
	Bucket      pulumi.StringInput    `pulumi:"bucket"`
	Generation  pulumi.StringPtrInput `pulumi:"generation"`
	Object      pulumi.StringInput    `pulumi:"object"`
	UserProject pulumi.StringPtrInput `pulumi:"userProject"`
}

func (LookupObjectIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupObjectIamPolicyResult added in v0.4.0

type LookupObjectIamPolicyResult struct {
	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings []ObjectIamPolicyBindingsItemResponse `pulumi:"bindings"`
	// HTTP 1.1  Entity tag for the policy.
	Etag string `pulumi:"etag"`
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind string `pulumi:"kind"`
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId string `pulumi:"resourceId"`
	// The IAM policy format version.
	Version int `pulumi:"version"`
}

func LookupObjectIamPolicy added in v0.4.0

func LookupObjectIamPolicy(ctx *pulumi.Context, args *LookupObjectIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupObjectIamPolicyResult, error)

Returns an IAM policy for the specified object.

type LookupObjectIamPolicyResultOutput added in v0.8.0

type LookupObjectIamPolicyResultOutput struct{ *pulumi.OutputState }

func LookupObjectIamPolicyOutput added in v0.8.0

func (LookupObjectIamPolicyResultOutput) Bindings added in v0.8.0

An association between a role, which comes with a set of permissions, and members who may assume that role.

func (LookupObjectIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupObjectIamPolicyResultOutput) Etag added in v0.8.0

HTTP 1.1 Entity tag for the policy.

func (LookupObjectIamPolicyResultOutput) Kind added in v0.8.0

The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.

func (LookupObjectIamPolicyResultOutput) ResourceId added in v0.8.0

The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.

func (LookupObjectIamPolicyResultOutput) ToLookupObjectIamPolicyResultOutput added in v0.8.0

func (o LookupObjectIamPolicyResultOutput) ToLookupObjectIamPolicyResultOutput() LookupObjectIamPolicyResultOutput

func (LookupObjectIamPolicyResultOutput) ToLookupObjectIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupObjectIamPolicyResultOutput) ToLookupObjectIamPolicyResultOutputWithContext(ctx context.Context) LookupObjectIamPolicyResultOutput

func (LookupObjectIamPolicyResultOutput) Version added in v0.8.0

The IAM policy format version.

type ManagedFolder added in v0.32.0

type ManagedFolder struct {
	pulumi.CustomResourceState

	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// The creation time of the managed folder in RFC 3339 format.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The kind of item this is. For managed folders, this is always storage#managedFolder.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
	Metageneration pulumi.StringOutput `pulumi:"metageneration"`
	// The name of the managed folder. Required if not specified by URL parameter.
	Name pulumi.StringOutput `pulumi:"name"`
	// The link to this managed folder.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The last update time of the managed folder metadata in RFC 3339 format.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new managed folder.

func GetManagedFolder added in v0.32.0

func GetManagedFolder(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagedFolderState, opts ...pulumi.ResourceOption) (*ManagedFolder, error)

GetManagedFolder gets an existing ManagedFolder resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewManagedFolder added in v0.32.0

func NewManagedFolder(ctx *pulumi.Context,
	name string, args *ManagedFolderArgs, opts ...pulumi.ResourceOption) (*ManagedFolder, error)

NewManagedFolder registers a new resource with the given unique name, arguments, and options.

func (*ManagedFolder) ElementType added in v0.32.0

func (*ManagedFolder) ElementType() reflect.Type

func (*ManagedFolder) ToManagedFolderOutput added in v0.32.0

func (i *ManagedFolder) ToManagedFolderOutput() ManagedFolderOutput

func (*ManagedFolder) ToManagedFolderOutputWithContext added in v0.32.0

func (i *ManagedFolder) ToManagedFolderOutputWithContext(ctx context.Context) ManagedFolderOutput

type ManagedFolderArgs added in v0.32.0

type ManagedFolderArgs struct {
	// The name of the bucket containing this managed folder.
	Bucket pulumi.StringInput
	// The creation time of the managed folder in RFC 3339 format.
	CreateTime pulumi.StringPtrInput
	// The ID of the managed folder, including the bucket name and managed folder name.
	Id pulumi.StringPtrInput
	// The kind of item this is. For managed folders, this is always storage#managedFolder.
	Kind pulumi.StringPtrInput
	// The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
	Metageneration pulumi.StringPtrInput
	// The name of the managed folder. Required if not specified by URL parameter.
	Name pulumi.StringPtrInput
	// The link to this managed folder.
	SelfLink pulumi.StringPtrInput
	// The last update time of the managed folder metadata in RFC 3339 format.
	UpdateTime pulumi.StringPtrInput
}

The set of arguments for constructing a ManagedFolder resource.

func (ManagedFolderArgs) ElementType added in v0.32.0

func (ManagedFolderArgs) ElementType() reflect.Type

type ManagedFolderIamBinding added in v0.32.0

type ManagedFolderIamBinding struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringOutput `pulumi:"role"`
}

Updates an IAM policy for the specified managed folder.

func GetManagedFolderIamBinding added in v0.32.0

func GetManagedFolderIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagedFolderIamBindingState, opts ...pulumi.ResourceOption) (*ManagedFolderIamBinding, error)

GetManagedFolderIamBinding gets an existing ManagedFolderIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewManagedFolderIamBinding added in v0.32.0

func NewManagedFolderIamBinding(ctx *pulumi.Context,
	name string, args *ManagedFolderIamBindingArgs, opts ...pulumi.ResourceOption) (*ManagedFolderIamBinding, error)

NewManagedFolderIamBinding registers a new resource with the given unique name, arguments, and options.

func (*ManagedFolderIamBinding) ElementType added in v0.32.0

func (*ManagedFolderIamBinding) ElementType() reflect.Type

func (*ManagedFolderIamBinding) ToManagedFolderIamBindingOutput added in v0.32.0

func (i *ManagedFolderIamBinding) ToManagedFolderIamBindingOutput() ManagedFolderIamBindingOutput

func (*ManagedFolderIamBinding) ToManagedFolderIamBindingOutputWithContext added in v0.32.0

func (i *ManagedFolderIamBinding) ToManagedFolderIamBindingOutputWithContext(ctx context.Context) ManagedFolderIamBindingOutput

type ManagedFolderIamBindingArgs added in v0.32.0

type ManagedFolderIamBindingArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identities that will be granted the privilege in role. Each entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Members pulumi.StringArrayInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied. Only one `IamBinding` can be used per role.
	Role pulumi.StringInput
}

The set of arguments for constructing a ManagedFolderIamBinding resource.

func (ManagedFolderIamBindingArgs) ElementType added in v0.32.0

type ManagedFolderIamBindingInput added in v0.32.0

type ManagedFolderIamBindingInput interface {
	pulumi.Input

	ToManagedFolderIamBindingOutput() ManagedFolderIamBindingOutput
	ToManagedFolderIamBindingOutputWithContext(ctx context.Context) ManagedFolderIamBindingOutput
}

type ManagedFolderIamBindingOutput added in v0.32.0

type ManagedFolderIamBindingOutput struct{ *pulumi.OutputState }

func (ManagedFolderIamBindingOutput) Condition added in v0.32.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (ManagedFolderIamBindingOutput) ElementType added in v0.32.0

func (ManagedFolderIamBindingOutput) Etag added in v0.32.0

The etag of the resource's IAM policy.

func (ManagedFolderIamBindingOutput) Members added in v0.32.0

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (ManagedFolderIamBindingOutput) Name added in v0.32.0

The name of the resource to manage IAM policies for.

func (ManagedFolderIamBindingOutput) Project added in v0.32.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (ManagedFolderIamBindingOutput) Role added in v0.32.0

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (ManagedFolderIamBindingOutput) ToManagedFolderIamBindingOutput added in v0.32.0

func (o ManagedFolderIamBindingOutput) ToManagedFolderIamBindingOutput() ManagedFolderIamBindingOutput

func (ManagedFolderIamBindingOutput) ToManagedFolderIamBindingOutputWithContext added in v0.32.0

func (o ManagedFolderIamBindingOutput) ToManagedFolderIamBindingOutputWithContext(ctx context.Context) ManagedFolderIamBindingOutput

type ManagedFolderIamBindingState added in v0.32.0

type ManagedFolderIamBindingState struct {
}

func (ManagedFolderIamBindingState) ElementType added in v0.32.0

type ManagedFolderIamMember added in v0.32.0

type ManagedFolderIamMember struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Member pulumi.StringOutput `pulumi:"member"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringOutput `pulumi:"role"`
}

Updates an IAM policy for the specified managed folder.

func GetManagedFolderIamMember added in v0.32.0

func GetManagedFolderIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagedFolderIamMemberState, opts ...pulumi.ResourceOption) (*ManagedFolderIamMember, error)

GetManagedFolderIamMember gets an existing ManagedFolderIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewManagedFolderIamMember added in v0.32.0

func NewManagedFolderIamMember(ctx *pulumi.Context,
	name string, args *ManagedFolderIamMemberArgs, opts ...pulumi.ResourceOption) (*ManagedFolderIamMember, error)

NewManagedFolderIamMember registers a new resource with the given unique name, arguments, and options.

func (*ManagedFolderIamMember) ElementType added in v0.32.0

func (*ManagedFolderIamMember) ElementType() reflect.Type

func (*ManagedFolderIamMember) ToManagedFolderIamMemberOutput added in v0.32.0

func (i *ManagedFolderIamMember) ToManagedFolderIamMemberOutput() ManagedFolderIamMemberOutput

func (*ManagedFolderIamMember) ToManagedFolderIamMemberOutputWithContext added in v0.32.0

func (i *ManagedFolderIamMember) ToManagedFolderIamMemberOutputWithContext(ctx context.Context) ManagedFolderIamMemberOutput

type ManagedFolderIamMemberArgs added in v0.32.0

type ManagedFolderIamMemberArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identity that will be granted the privilege in role. The entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Member pulumi.StringInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied.
	Role pulumi.StringInput
}

The set of arguments for constructing a ManagedFolderIamMember resource.

func (ManagedFolderIamMemberArgs) ElementType added in v0.32.0

func (ManagedFolderIamMemberArgs) ElementType() reflect.Type

type ManagedFolderIamMemberInput added in v0.32.0

type ManagedFolderIamMemberInput interface {
	pulumi.Input

	ToManagedFolderIamMemberOutput() ManagedFolderIamMemberOutput
	ToManagedFolderIamMemberOutputWithContext(ctx context.Context) ManagedFolderIamMemberOutput
}

type ManagedFolderIamMemberOutput added in v0.32.0

type ManagedFolderIamMemberOutput struct{ *pulumi.OutputState }

func (ManagedFolderIamMemberOutput) Condition added in v0.32.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (ManagedFolderIamMemberOutput) ElementType added in v0.32.0

func (ManagedFolderIamMemberOutput) Etag added in v0.32.0

The etag of the resource's IAM policy.

func (ManagedFolderIamMemberOutput) Member added in v0.32.0

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (ManagedFolderIamMemberOutput) Name added in v0.32.0

The name of the resource to manage IAM policies for.

func (ManagedFolderIamMemberOutput) Project added in v0.32.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (ManagedFolderIamMemberOutput) Role added in v0.32.0

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (ManagedFolderIamMemberOutput) ToManagedFolderIamMemberOutput added in v0.32.0

func (o ManagedFolderIamMemberOutput) ToManagedFolderIamMemberOutput() ManagedFolderIamMemberOutput

func (ManagedFolderIamMemberOutput) ToManagedFolderIamMemberOutputWithContext added in v0.32.0

func (o ManagedFolderIamMemberOutput) ToManagedFolderIamMemberOutputWithContext(ctx context.Context) ManagedFolderIamMemberOutput

type ManagedFolderIamMemberState added in v0.32.0

type ManagedFolderIamMemberState struct {
}

func (ManagedFolderIamMemberState) ElementType added in v0.32.0

type ManagedFolderIamPolicy added in v0.32.0

type ManagedFolderIamPolicy struct {
	pulumi.CustomResourceState

	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings ManagedFolderIamPolicyBindingsItemResponseArrayOutput `pulumi:"bindings"`
	Bucket   pulumi.StringOutput                                   `pulumi:"bucket"`
	// HTTP 1.1  Entity tag for the policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind          pulumi.StringOutput `pulumi:"kind"`
	ManagedFolder pulumi.StringOutput `pulumi:"managedFolder"`
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
	// The IAM policy format version.
	Version pulumi.IntOutput `pulumi:"version"`
}

Updates an IAM policy for the specified managed folder. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetManagedFolderIamPolicy added in v0.32.0

func GetManagedFolderIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagedFolderIamPolicyState, opts ...pulumi.ResourceOption) (*ManagedFolderIamPolicy, error)

GetManagedFolderIamPolicy gets an existing ManagedFolderIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewManagedFolderIamPolicy added in v0.32.0

func NewManagedFolderIamPolicy(ctx *pulumi.Context,
	name string, args *ManagedFolderIamPolicyArgs, opts ...pulumi.ResourceOption) (*ManagedFolderIamPolicy, error)

NewManagedFolderIamPolicy registers a new resource with the given unique name, arguments, and options.

func (*ManagedFolderIamPolicy) ElementType added in v0.32.0

func (*ManagedFolderIamPolicy) ElementType() reflect.Type

func (*ManagedFolderIamPolicy) ToManagedFolderIamPolicyOutput added in v0.32.0

func (i *ManagedFolderIamPolicy) ToManagedFolderIamPolicyOutput() ManagedFolderIamPolicyOutput

func (*ManagedFolderIamPolicy) ToManagedFolderIamPolicyOutputWithContext added in v0.32.0

func (i *ManagedFolderIamPolicy) ToManagedFolderIamPolicyOutputWithContext(ctx context.Context) ManagedFolderIamPolicyOutput

type ManagedFolderIamPolicyArgs added in v0.32.0

type ManagedFolderIamPolicyArgs struct {
	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings ManagedFolderIamPolicyBindingsItemArrayInput
	Bucket   pulumi.StringInput
	// HTTP 1.1  Entity tag for the policy.
	Etag pulumi.StringPtrInput
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind          pulumi.StringPtrInput
	ManagedFolder pulumi.StringInput
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId pulumi.StringPtrInput
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrInput
	// The IAM policy format version.
	Version pulumi.IntPtrInput
}

The set of arguments for constructing a ManagedFolderIamPolicy resource.

func (ManagedFolderIamPolicyArgs) ElementType added in v0.32.0

func (ManagedFolderIamPolicyArgs) ElementType() reflect.Type

type ManagedFolderIamPolicyBindingsItem added in v0.32.0

type ManagedFolderIamPolicyBindingsItem struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition *Expr `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members []string `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role *string `pulumi:"role"`
}

type ManagedFolderIamPolicyBindingsItemArgs added in v0.32.0

type ManagedFolderIamPolicyBindingsItemArgs struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition ExprPtrInput `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members pulumi.StringArrayInput `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringPtrInput `pulumi:"role"`
}

func (ManagedFolderIamPolicyBindingsItemArgs) ElementType added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemArgs) ToManagedFolderIamPolicyBindingsItemOutput added in v0.32.0

func (i ManagedFolderIamPolicyBindingsItemArgs) ToManagedFolderIamPolicyBindingsItemOutput() ManagedFolderIamPolicyBindingsItemOutput

func (ManagedFolderIamPolicyBindingsItemArgs) ToManagedFolderIamPolicyBindingsItemOutputWithContext added in v0.32.0

func (i ManagedFolderIamPolicyBindingsItemArgs) ToManagedFolderIamPolicyBindingsItemOutputWithContext(ctx context.Context) ManagedFolderIamPolicyBindingsItemOutput

type ManagedFolderIamPolicyBindingsItemArray added in v0.32.0

type ManagedFolderIamPolicyBindingsItemArray []ManagedFolderIamPolicyBindingsItemInput

func (ManagedFolderIamPolicyBindingsItemArray) ElementType added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemArray) ToManagedFolderIamPolicyBindingsItemArrayOutput added in v0.32.0

func (i ManagedFolderIamPolicyBindingsItemArray) ToManagedFolderIamPolicyBindingsItemArrayOutput() ManagedFolderIamPolicyBindingsItemArrayOutput

func (ManagedFolderIamPolicyBindingsItemArray) ToManagedFolderIamPolicyBindingsItemArrayOutputWithContext added in v0.32.0

func (i ManagedFolderIamPolicyBindingsItemArray) ToManagedFolderIamPolicyBindingsItemArrayOutputWithContext(ctx context.Context) ManagedFolderIamPolicyBindingsItemArrayOutput

type ManagedFolderIamPolicyBindingsItemArrayInput added in v0.32.0

type ManagedFolderIamPolicyBindingsItemArrayInput interface {
	pulumi.Input

	ToManagedFolderIamPolicyBindingsItemArrayOutput() ManagedFolderIamPolicyBindingsItemArrayOutput
	ToManagedFolderIamPolicyBindingsItemArrayOutputWithContext(context.Context) ManagedFolderIamPolicyBindingsItemArrayOutput
}

ManagedFolderIamPolicyBindingsItemArrayInput is an input type that accepts ManagedFolderIamPolicyBindingsItemArray and ManagedFolderIamPolicyBindingsItemArrayOutput values. You can construct a concrete instance of `ManagedFolderIamPolicyBindingsItemArrayInput` via:

ManagedFolderIamPolicyBindingsItemArray{ ManagedFolderIamPolicyBindingsItemArgs{...} }

type ManagedFolderIamPolicyBindingsItemArrayOutput added in v0.32.0

type ManagedFolderIamPolicyBindingsItemArrayOutput struct{ *pulumi.OutputState }

func (ManagedFolderIamPolicyBindingsItemArrayOutput) ElementType added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemArrayOutput) Index added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemArrayOutput) ToManagedFolderIamPolicyBindingsItemArrayOutput added in v0.32.0

func (o ManagedFolderIamPolicyBindingsItemArrayOutput) ToManagedFolderIamPolicyBindingsItemArrayOutput() ManagedFolderIamPolicyBindingsItemArrayOutput

func (ManagedFolderIamPolicyBindingsItemArrayOutput) ToManagedFolderIamPolicyBindingsItemArrayOutputWithContext added in v0.32.0

func (o ManagedFolderIamPolicyBindingsItemArrayOutput) ToManagedFolderIamPolicyBindingsItemArrayOutputWithContext(ctx context.Context) ManagedFolderIamPolicyBindingsItemArrayOutput

type ManagedFolderIamPolicyBindingsItemInput added in v0.32.0

type ManagedFolderIamPolicyBindingsItemInput interface {
	pulumi.Input

	ToManagedFolderIamPolicyBindingsItemOutput() ManagedFolderIamPolicyBindingsItemOutput
	ToManagedFolderIamPolicyBindingsItemOutputWithContext(context.Context) ManagedFolderIamPolicyBindingsItemOutput
}

ManagedFolderIamPolicyBindingsItemInput is an input type that accepts ManagedFolderIamPolicyBindingsItemArgs and ManagedFolderIamPolicyBindingsItemOutput values. You can construct a concrete instance of `ManagedFolderIamPolicyBindingsItemInput` via:

ManagedFolderIamPolicyBindingsItemArgs{...}

type ManagedFolderIamPolicyBindingsItemOutput added in v0.32.0

type ManagedFolderIamPolicyBindingsItemOutput struct{ *pulumi.OutputState }

func (ManagedFolderIamPolicyBindingsItemOutput) Condition added in v0.32.0

The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.

func (ManagedFolderIamPolicyBindingsItemOutput) ElementType added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemOutput) Members added in v0.32.0

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (ManagedFolderIamPolicyBindingsItemOutput) Role added in v0.32.0

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (ManagedFolderIamPolicyBindingsItemOutput) ToManagedFolderIamPolicyBindingsItemOutput added in v0.32.0

func (o ManagedFolderIamPolicyBindingsItemOutput) ToManagedFolderIamPolicyBindingsItemOutput() ManagedFolderIamPolicyBindingsItemOutput

func (ManagedFolderIamPolicyBindingsItemOutput) ToManagedFolderIamPolicyBindingsItemOutputWithContext added in v0.32.0

func (o ManagedFolderIamPolicyBindingsItemOutput) ToManagedFolderIamPolicyBindingsItemOutputWithContext(ctx context.Context) ManagedFolderIamPolicyBindingsItemOutput

type ManagedFolderIamPolicyBindingsItemResponse added in v0.32.0

type ManagedFolderIamPolicyBindingsItemResponse struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition ExprResponse `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members []string `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role string `pulumi:"role"`
}

type ManagedFolderIamPolicyBindingsItemResponseArrayOutput added in v0.32.0

type ManagedFolderIamPolicyBindingsItemResponseArrayOutput struct{ *pulumi.OutputState }

func (ManagedFolderIamPolicyBindingsItemResponseArrayOutput) ElementType added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemResponseArrayOutput) Index added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemResponseArrayOutput) ToManagedFolderIamPolicyBindingsItemResponseArrayOutput added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemResponseArrayOutput) ToManagedFolderIamPolicyBindingsItemResponseArrayOutputWithContext added in v0.32.0

func (o ManagedFolderIamPolicyBindingsItemResponseArrayOutput) ToManagedFolderIamPolicyBindingsItemResponseArrayOutputWithContext(ctx context.Context) ManagedFolderIamPolicyBindingsItemResponseArrayOutput

type ManagedFolderIamPolicyBindingsItemResponseOutput added in v0.32.0

type ManagedFolderIamPolicyBindingsItemResponseOutput struct{ *pulumi.OutputState }

func (ManagedFolderIamPolicyBindingsItemResponseOutput) Condition added in v0.32.0

The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.

func (ManagedFolderIamPolicyBindingsItemResponseOutput) ElementType added in v0.32.0

func (ManagedFolderIamPolicyBindingsItemResponseOutput) Members added in v0.32.0

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (ManagedFolderIamPolicyBindingsItemResponseOutput) Role added in v0.32.0

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (ManagedFolderIamPolicyBindingsItemResponseOutput) ToManagedFolderIamPolicyBindingsItemResponseOutput added in v0.32.0

func (o ManagedFolderIamPolicyBindingsItemResponseOutput) ToManagedFolderIamPolicyBindingsItemResponseOutput() ManagedFolderIamPolicyBindingsItemResponseOutput

func (ManagedFolderIamPolicyBindingsItemResponseOutput) ToManagedFolderIamPolicyBindingsItemResponseOutputWithContext added in v0.32.0

func (o ManagedFolderIamPolicyBindingsItemResponseOutput) ToManagedFolderIamPolicyBindingsItemResponseOutputWithContext(ctx context.Context) ManagedFolderIamPolicyBindingsItemResponseOutput

type ManagedFolderIamPolicyInput added in v0.32.0

type ManagedFolderIamPolicyInput interface {
	pulumi.Input

	ToManagedFolderIamPolicyOutput() ManagedFolderIamPolicyOutput
	ToManagedFolderIamPolicyOutputWithContext(ctx context.Context) ManagedFolderIamPolicyOutput
}

type ManagedFolderIamPolicyOutput added in v0.32.0

type ManagedFolderIamPolicyOutput struct{ *pulumi.OutputState }

func (ManagedFolderIamPolicyOutput) Bindings added in v0.32.0

An association between a role, which comes with a set of permissions, and members who may assume that role.

func (ManagedFolderIamPolicyOutput) Bucket added in v0.32.0

func (ManagedFolderIamPolicyOutput) ElementType added in v0.32.0

func (ManagedFolderIamPolicyOutput) Etag added in v0.32.0

HTTP 1.1 Entity tag for the policy.

func (ManagedFolderIamPolicyOutput) Kind added in v0.32.0

The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.

func (ManagedFolderIamPolicyOutput) ManagedFolder added in v0.32.0

func (ManagedFolderIamPolicyOutput) ResourceId added in v0.32.0

The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.

func (ManagedFolderIamPolicyOutput) ToManagedFolderIamPolicyOutput added in v0.32.0

func (o ManagedFolderIamPolicyOutput) ToManagedFolderIamPolicyOutput() ManagedFolderIamPolicyOutput

func (ManagedFolderIamPolicyOutput) ToManagedFolderIamPolicyOutputWithContext added in v0.32.0

func (o ManagedFolderIamPolicyOutput) ToManagedFolderIamPolicyOutputWithContext(ctx context.Context) ManagedFolderIamPolicyOutput

func (ManagedFolderIamPolicyOutput) UserProject added in v0.32.0

The project to be billed for this request. Required for Requester Pays buckets.

func (ManagedFolderIamPolicyOutput) Version added in v0.32.0

The IAM policy format version.

type ManagedFolderIamPolicyState added in v0.32.0

type ManagedFolderIamPolicyState struct {
}

func (ManagedFolderIamPolicyState) ElementType added in v0.32.0

type ManagedFolderInput added in v0.32.0

type ManagedFolderInput interface {
	pulumi.Input

	ToManagedFolderOutput() ManagedFolderOutput
	ToManagedFolderOutputWithContext(ctx context.Context) ManagedFolderOutput
}

type ManagedFolderOutput added in v0.32.0

type ManagedFolderOutput struct{ *pulumi.OutputState }

func (ManagedFolderOutput) Bucket added in v0.32.0

func (ManagedFolderOutput) CreateTime added in v0.32.0

func (o ManagedFolderOutput) CreateTime() pulumi.StringOutput

The creation time of the managed folder in RFC 3339 format.

func (ManagedFolderOutput) ElementType added in v0.32.0

func (ManagedFolderOutput) ElementType() reflect.Type

func (ManagedFolderOutput) Kind added in v0.32.0

The kind of item this is. For managed folders, this is always storage#managedFolder.

func (ManagedFolderOutput) Metageneration added in v0.32.0

func (o ManagedFolderOutput) Metageneration() pulumi.StringOutput

The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.

func (ManagedFolderOutput) Name added in v0.32.0

The name of the managed folder. Required if not specified by URL parameter.

The link to this managed folder.

func (ManagedFolderOutput) ToManagedFolderOutput added in v0.32.0

func (o ManagedFolderOutput) ToManagedFolderOutput() ManagedFolderOutput

func (ManagedFolderOutput) ToManagedFolderOutputWithContext added in v0.32.0

func (o ManagedFolderOutput) ToManagedFolderOutputWithContext(ctx context.Context) ManagedFolderOutput

func (ManagedFolderOutput) UpdateTime added in v0.32.0

func (o ManagedFolderOutput) UpdateTime() pulumi.StringOutput

The last update time of the managed folder metadata in RFC 3339 format.

type ManagedFolderState added in v0.32.0

type ManagedFolderState struct {
}

func (ManagedFolderState) ElementType added in v0.32.0

func (ManagedFolderState) ElementType() reflect.Type

type Notification

type Notification struct {
	pulumi.CustomResourceState

	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
	CustomAttributes pulumi.StringMapOutput `pulumi:"customAttributes"`
	// HTTP 1.1 Entity tag for this subscription notification.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// If present, only send notifications about listed event types. If empty, sent notifications for all event types.
	EventTypes pulumi.StringArrayOutput `pulumi:"eventTypes"`
	// The kind of item this is. For notifications, this is always storage#notification.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// If present, only apply this notification configuration to object names that begin with this prefix.
	ObjectNamePrefix pulumi.StringOutput `pulumi:"objectNamePrefix"`
	// The desired content of the Payload.
	PayloadFormat pulumi.StringOutput `pulumi:"payloadFormat"`
	// The canonical URL of this notification.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
	Topic pulumi.StringOutput `pulumi:"topic"`
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
}

Creates a notification subscription for a given bucket. Auto-naming is currently not supported for this resource.

func GetNotification

func GetNotification(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotificationState, opts ...pulumi.ResourceOption) (*Notification, error)

GetNotification gets an existing Notification resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNotification

func NewNotification(ctx *pulumi.Context,
	name string, args *NotificationArgs, opts ...pulumi.ResourceOption) (*Notification, error)

NewNotification registers a new resource with the given unique name, arguments, and options.

func (*Notification) ElementType

func (*Notification) ElementType() reflect.Type

func (*Notification) ToNotificationOutput

func (i *Notification) ToNotificationOutput() NotificationOutput

func (*Notification) ToNotificationOutputWithContext

func (i *Notification) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput

type NotificationArgs

type NotificationArgs struct {
	Bucket pulumi.StringInput
	// An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
	CustomAttributes pulumi.StringMapInput
	// HTTP 1.1 Entity tag for this subscription notification.
	Etag pulumi.StringPtrInput
	// If present, only send notifications about listed event types. If empty, sent notifications for all event types.
	EventTypes pulumi.StringArrayInput
	// The ID of the notification.
	Id pulumi.StringPtrInput
	// The kind of item this is. For notifications, this is always storage#notification.
	Kind pulumi.StringPtrInput
	// If present, only apply this notification configuration to object names that begin with this prefix.
	ObjectNamePrefix pulumi.StringPtrInput
	// The desired content of the Payload.
	PayloadFormat pulumi.StringPtrInput
	// The canonical URL of this notification.
	SelfLink pulumi.StringPtrInput
	// The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
	Topic pulumi.StringPtrInput
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrInput
}

The set of arguments for constructing a Notification resource.

func (NotificationArgs) ElementType

func (NotificationArgs) ElementType() reflect.Type

type NotificationInput

type NotificationInput interface {
	pulumi.Input

	ToNotificationOutput() NotificationOutput
	ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
}

type NotificationOutput

type NotificationOutput struct{ *pulumi.OutputState }

func (NotificationOutput) Bucket added in v0.21.0

func (NotificationOutput) CustomAttributes added in v0.19.0

func (o NotificationOutput) CustomAttributes() pulumi.StringMapOutput

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

func (NotificationOutput) ElementType

func (NotificationOutput) ElementType() reflect.Type

func (NotificationOutput) Etag added in v0.19.0

HTTP 1.1 Entity tag for this subscription notification.

func (NotificationOutput) EventTypes added in v0.19.0

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

func (NotificationOutput) Kind added in v0.19.0

The kind of item this is. For notifications, this is always storage#notification.

func (NotificationOutput) ObjectNamePrefix added in v0.19.0

func (o NotificationOutput) ObjectNamePrefix() pulumi.StringOutput

If present, only apply this notification configuration to object names that begin with this prefix.

func (NotificationOutput) PayloadFormat added in v0.19.0

func (o NotificationOutput) PayloadFormat() pulumi.StringOutput

The desired content of the Payload.

func (o NotificationOutput) SelfLink() pulumi.StringOutput

The canonical URL of this notification.

func (NotificationOutput) ToNotificationOutput

func (o NotificationOutput) ToNotificationOutput() NotificationOutput

func (NotificationOutput) ToNotificationOutputWithContext

func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput

func (NotificationOutput) Topic added in v0.19.0

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

func (NotificationOutput) UserProject added in v0.21.0

func (o NotificationOutput) UserProject() pulumi.StringPtrOutput

The project to be billed for this request. Required for Requester Pays buckets.

type NotificationState

type NotificationState struct {
}

func (NotificationState) ElementType

func (NotificationState) ElementType() reflect.Type

type ObjectAccessControl

type ObjectAccessControl struct {
	pulumi.CustomResourceState

	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email pulumi.StringOutput `pulumi:"email"`
	// 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 pulumi.StringOutput `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId pulumi.StringOutput `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// If present, selects a specific revision of this object (as opposed to the latest version, the default).
	Generation pulumi.StringOutput `pulumi:"generation"`
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind   pulumi.StringOutput `pulumi:"kind"`
	Object pulumi.StringOutput `pulumi:"object"`
	// The project team associated with the entity, if any.
	ProjectTeam ObjectAccessControlProjectTeamResponseOutput `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role pulumi.StringOutput `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
}

Creates a new ACL entry on the specified object. Auto-naming is currently not supported for this resource.

func GetObjectAccessControl

func GetObjectAccessControl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectAccessControlState, opts ...pulumi.ResourceOption) (*ObjectAccessControl, error)

GetObjectAccessControl gets an existing ObjectAccessControl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewObjectAccessControl

func NewObjectAccessControl(ctx *pulumi.Context,
	name string, args *ObjectAccessControlArgs, opts ...pulumi.ResourceOption) (*ObjectAccessControl, error)

NewObjectAccessControl registers a new resource with the given unique name, arguments, and options.

func (*ObjectAccessControl) ElementType

func (*ObjectAccessControl) ElementType() reflect.Type

func (*ObjectAccessControl) ToObjectAccessControlOutput

func (i *ObjectAccessControl) ToObjectAccessControlOutput() ObjectAccessControlOutput

func (*ObjectAccessControl) ToObjectAccessControlOutputWithContext

func (i *ObjectAccessControl) ToObjectAccessControlOutputWithContext(ctx context.Context) ObjectAccessControlOutput

type ObjectAccessControlArgs

type ObjectAccessControlArgs struct {
	// The name of the bucket.
	Bucket pulumi.StringInput
	// The domain associated with the entity, if any.
	Domain pulumi.StringPtrInput
	// The email address associated with the entity, if any.
	Email pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// The ID for the entity, if any.
	EntityId pulumi.StringPtrInput
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag pulumi.StringPtrInput
	// The content generation of the object, if applied to an object.
	Generation pulumi.StringPtrInput
	// The ID of the access-control entry.
	Id pulumi.StringPtrInput
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind pulumi.StringPtrInput
	// The name of the object, if applied to an object.
	Object pulumi.StringInput
	// The project team associated with the entity, if any.
	ProjectTeam ObjectAccessControlProjectTeamPtrInput
	// The access permission for the entity.
	Role pulumi.StringPtrInput
	// The link to this access-control entry.
	SelfLink pulumi.StringPtrInput
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrInput
}

The set of arguments for constructing a ObjectAccessControl resource.

func (ObjectAccessControlArgs) ElementType

func (ObjectAccessControlArgs) ElementType() reflect.Type

type ObjectAccessControlInput

type ObjectAccessControlInput interface {
	pulumi.Input

	ToObjectAccessControlOutput() ObjectAccessControlOutput
	ToObjectAccessControlOutputWithContext(ctx context.Context) ObjectAccessControlOutput
}

type ObjectAccessControlOutput

type ObjectAccessControlOutput struct{ *pulumi.OutputState }

func (ObjectAccessControlOutput) Bucket added in v0.19.0

func (ObjectAccessControlOutput) Domain added in v0.19.0

The domain associated with the entity, if any.

func (ObjectAccessControlOutput) ElementType

func (ObjectAccessControlOutput) ElementType() reflect.Type

func (ObjectAccessControlOutput) Email added in v0.19.0

The email address associated with the entity, if any.

func (ObjectAccessControlOutput) Entity added in v0.19.0

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.

func (ObjectAccessControlOutput) EntityId added in v0.19.0

The ID for the entity, if any.

func (ObjectAccessControlOutput) Etag added in v0.19.0

HTTP 1.1 Entity tag for the access-control entry.

func (ObjectAccessControlOutput) Generation added in v0.19.0

If present, selects a specific revision of this object (as opposed to the latest version, the default).

func (ObjectAccessControlOutput) Kind added in v0.19.0

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

func (ObjectAccessControlOutput) Object added in v0.19.0

func (ObjectAccessControlOutput) ProjectTeam added in v0.19.0

The project team associated with the entity, if any.

func (ObjectAccessControlOutput) Role added in v0.19.0

The access permission for the entity.

The link to this access-control entry.

func (ObjectAccessControlOutput) ToObjectAccessControlOutput

func (o ObjectAccessControlOutput) ToObjectAccessControlOutput() ObjectAccessControlOutput

func (ObjectAccessControlOutput) ToObjectAccessControlOutputWithContext

func (o ObjectAccessControlOutput) ToObjectAccessControlOutputWithContext(ctx context.Context) ObjectAccessControlOutput

func (ObjectAccessControlOutput) UserProject added in v0.21.0

The project to be billed for this request. Required for Requester Pays buckets.

type ObjectAccessControlProjectTeam

type ObjectAccessControlProjectTeam struct {
	// The project number.
	ProjectNumber *string `pulumi:"projectNumber"`
	// The team.
	Team *string `pulumi:"team"`
}

The project team associated with the entity, if any.

type ObjectAccessControlProjectTeamArgs

type ObjectAccessControlProjectTeamArgs struct {
	// The project number.
	ProjectNumber pulumi.StringPtrInput `pulumi:"projectNumber"`
	// The team.
	Team pulumi.StringPtrInput `pulumi:"team"`
}

The project team associated with the entity, if any.

func (ObjectAccessControlProjectTeamArgs) ElementType

func (ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamOutput

func (i ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamOutput() ObjectAccessControlProjectTeamOutput

func (ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamOutputWithContext

func (i ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamOutputWithContext(ctx context.Context) ObjectAccessControlProjectTeamOutput

func (ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamPtrOutput

func (i ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamPtrOutput() ObjectAccessControlProjectTeamPtrOutput

func (ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamPtrOutputWithContext

func (i ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) ObjectAccessControlProjectTeamPtrOutput

type ObjectAccessControlProjectTeamInput

type ObjectAccessControlProjectTeamInput interface {
	pulumi.Input

	ToObjectAccessControlProjectTeamOutput() ObjectAccessControlProjectTeamOutput
	ToObjectAccessControlProjectTeamOutputWithContext(context.Context) ObjectAccessControlProjectTeamOutput
}

ObjectAccessControlProjectTeamInput is an input type that accepts ObjectAccessControlProjectTeamArgs and ObjectAccessControlProjectTeamOutput values. You can construct a concrete instance of `ObjectAccessControlProjectTeamInput` via:

ObjectAccessControlProjectTeamArgs{...}

type ObjectAccessControlProjectTeamOutput

type ObjectAccessControlProjectTeamOutput struct{ *pulumi.OutputState }

The project team associated with the entity, if any.

func (ObjectAccessControlProjectTeamOutput) ElementType

func (ObjectAccessControlProjectTeamOutput) ProjectNumber

The project number.

func (ObjectAccessControlProjectTeamOutput) Team

The team.

func (ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamOutput

func (o ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamOutput() ObjectAccessControlProjectTeamOutput

func (ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamOutputWithContext

func (o ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamOutputWithContext(ctx context.Context) ObjectAccessControlProjectTeamOutput

func (ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamPtrOutput

func (o ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamPtrOutput() ObjectAccessControlProjectTeamPtrOutput

func (ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamPtrOutputWithContext

func (o ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) ObjectAccessControlProjectTeamPtrOutput

type ObjectAccessControlProjectTeamPtrInput

type ObjectAccessControlProjectTeamPtrInput interface {
	pulumi.Input

	ToObjectAccessControlProjectTeamPtrOutput() ObjectAccessControlProjectTeamPtrOutput
	ToObjectAccessControlProjectTeamPtrOutputWithContext(context.Context) ObjectAccessControlProjectTeamPtrOutput
}

ObjectAccessControlProjectTeamPtrInput is an input type that accepts ObjectAccessControlProjectTeamArgs, ObjectAccessControlProjectTeamPtr and ObjectAccessControlProjectTeamPtrOutput values. You can construct a concrete instance of `ObjectAccessControlProjectTeamPtrInput` via:

        ObjectAccessControlProjectTeamArgs{...}

or:

        nil

type ObjectAccessControlProjectTeamPtrOutput

type ObjectAccessControlProjectTeamPtrOutput struct{ *pulumi.OutputState }

func (ObjectAccessControlProjectTeamPtrOutput) Elem

func (ObjectAccessControlProjectTeamPtrOutput) ElementType

func (ObjectAccessControlProjectTeamPtrOutput) ProjectNumber

The project number.

func (ObjectAccessControlProjectTeamPtrOutput) Team

The team.

func (ObjectAccessControlProjectTeamPtrOutput) ToObjectAccessControlProjectTeamPtrOutput

func (o ObjectAccessControlProjectTeamPtrOutput) ToObjectAccessControlProjectTeamPtrOutput() ObjectAccessControlProjectTeamPtrOutput

func (ObjectAccessControlProjectTeamPtrOutput) ToObjectAccessControlProjectTeamPtrOutputWithContext

func (o ObjectAccessControlProjectTeamPtrOutput) ToObjectAccessControlProjectTeamPtrOutputWithContext(ctx context.Context) ObjectAccessControlProjectTeamPtrOutput

type ObjectAccessControlProjectTeamResponse

type ObjectAccessControlProjectTeamResponse struct {
	// The project number.
	ProjectNumber string `pulumi:"projectNumber"`
	// The team.
	Team string `pulumi:"team"`
}

The project team associated with the entity, if any.

type ObjectAccessControlProjectTeamResponseOutput

type ObjectAccessControlProjectTeamResponseOutput struct{ *pulumi.OutputState }

The project team associated with the entity, if any.

func (ObjectAccessControlProjectTeamResponseOutput) ElementType

func (ObjectAccessControlProjectTeamResponseOutput) ProjectNumber

The project number.

func (ObjectAccessControlProjectTeamResponseOutput) Team

The team.

func (ObjectAccessControlProjectTeamResponseOutput) ToObjectAccessControlProjectTeamResponseOutput

func (o ObjectAccessControlProjectTeamResponseOutput) ToObjectAccessControlProjectTeamResponseOutput() ObjectAccessControlProjectTeamResponseOutput

func (ObjectAccessControlProjectTeamResponseOutput) ToObjectAccessControlProjectTeamResponseOutputWithContext

func (o ObjectAccessControlProjectTeamResponseOutput) ToObjectAccessControlProjectTeamResponseOutputWithContext(ctx context.Context) ObjectAccessControlProjectTeamResponseOutput

type ObjectAccessControlResponse

type ObjectAccessControlResponse struct {
	// The name of the bucket.
	Bucket string `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain string `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email string `pulumi:"email"`
	// 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 string `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId string `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag string `pulumi:"etag"`
	// The content generation of the object, if applied to an object.
	Generation string `pulumi:"generation"`
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind string `pulumi:"kind"`
	// The name of the object, if applied to an object.
	Object string `pulumi:"object"`
	// The project team associated with the entity, if any.
	ProjectTeam ObjectAccessControlProjectTeamResponse `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role string `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink string `pulumi:"selfLink"`
}

An access-control entry.

type ObjectAccessControlResponseArrayOutput

type ObjectAccessControlResponseArrayOutput struct{ *pulumi.OutputState }

func (ObjectAccessControlResponseArrayOutput) ElementType

func (ObjectAccessControlResponseArrayOutput) Index

func (ObjectAccessControlResponseArrayOutput) ToObjectAccessControlResponseArrayOutput

func (o ObjectAccessControlResponseArrayOutput) ToObjectAccessControlResponseArrayOutput() ObjectAccessControlResponseArrayOutput

func (ObjectAccessControlResponseArrayOutput) ToObjectAccessControlResponseArrayOutputWithContext

func (o ObjectAccessControlResponseArrayOutput) ToObjectAccessControlResponseArrayOutputWithContext(ctx context.Context) ObjectAccessControlResponseArrayOutput

type ObjectAccessControlResponseOutput

type ObjectAccessControlResponseOutput struct{ *pulumi.OutputState }

An access-control entry.

func (ObjectAccessControlResponseOutput) Bucket

The name of the bucket.

func (ObjectAccessControlResponseOutput) Domain

The domain associated with the entity, if any.

func (ObjectAccessControlResponseOutput) ElementType

func (ObjectAccessControlResponseOutput) Email

The email address associated with the entity, if any.

func (ObjectAccessControlResponseOutput) Entity

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.

func (ObjectAccessControlResponseOutput) EntityId

The ID for the entity, if any.

func (ObjectAccessControlResponseOutput) Etag

HTTP 1.1 Entity tag for the access-control entry.

func (ObjectAccessControlResponseOutput) Generation

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

func (ObjectAccessControlResponseOutput) Kind

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

func (ObjectAccessControlResponseOutput) Object

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

func (ObjectAccessControlResponseOutput) ProjectTeam

The project team associated with the entity, if any.

func (ObjectAccessControlResponseOutput) Role

The access permission for the entity.

The link to this access-control entry.

func (ObjectAccessControlResponseOutput) ToObjectAccessControlResponseOutput

func (o ObjectAccessControlResponseOutput) ToObjectAccessControlResponseOutput() ObjectAccessControlResponseOutput

func (ObjectAccessControlResponseOutput) ToObjectAccessControlResponseOutputWithContext

func (o ObjectAccessControlResponseOutput) ToObjectAccessControlResponseOutputWithContext(ctx context.Context) ObjectAccessControlResponseOutput

type ObjectAccessControlState

type ObjectAccessControlState struct {
}

func (ObjectAccessControlState) ElementType

func (ObjectAccessControlState) ElementType() reflect.Type

type ObjectAccessControlType

type ObjectAccessControlType struct {
	// The name of the bucket.
	Bucket *string `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain *string `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email *string `pulumi:"email"`
	// 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 *string `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId *string `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag *string `pulumi:"etag"`
	// The content generation of the object, if applied to an object.
	Generation *string `pulumi:"generation"`
	// The ID of the access-control entry.
	Id *string `pulumi:"id"`
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind *string `pulumi:"kind"`
	// The name of the object, if applied to an object.
	Object *string `pulumi:"object"`
	// The project team associated with the entity, if any.
	ProjectTeam *ObjectAccessControlProjectTeam `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role *string `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink *string `pulumi:"selfLink"`
}

An access-control entry.

type ObjectAccessControlTypeArgs

type ObjectAccessControlTypeArgs struct {
	// The name of the bucket.
	Bucket pulumi.StringPtrInput `pulumi:"bucket"`
	// The domain associated with the entity, if any.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// The email address associated with the entity, if any.
	Email pulumi.StringPtrInput `pulumi:"email"`
	// 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 pulumi.StringPtrInput `pulumi:"entity"`
	// The ID for the entity, if any.
	EntityId pulumi.StringPtrInput `pulumi:"entityId"`
	// HTTP 1.1 Entity tag for the access-control entry.
	Etag pulumi.StringPtrInput `pulumi:"etag"`
	// The content generation of the object, if applied to an object.
	Generation pulumi.StringPtrInput `pulumi:"generation"`
	// The ID of the access-control entry.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// The name of the object, if applied to an object.
	Object pulumi.StringPtrInput `pulumi:"object"`
	// The project team associated with the entity, if any.
	ProjectTeam ObjectAccessControlProjectTeamPtrInput `pulumi:"projectTeam"`
	// The access permission for the entity.
	Role pulumi.StringPtrInput `pulumi:"role"`
	// The link to this access-control entry.
	SelfLink pulumi.StringPtrInput `pulumi:"selfLink"`
}

An access-control entry.

func (ObjectAccessControlTypeArgs) ElementType

func (ObjectAccessControlTypeArgs) ToObjectAccessControlTypeOutput

func (i ObjectAccessControlTypeArgs) ToObjectAccessControlTypeOutput() ObjectAccessControlTypeOutput

func (ObjectAccessControlTypeArgs) ToObjectAccessControlTypeOutputWithContext

func (i ObjectAccessControlTypeArgs) ToObjectAccessControlTypeOutputWithContext(ctx context.Context) ObjectAccessControlTypeOutput

type ObjectAccessControlTypeArray

type ObjectAccessControlTypeArray []ObjectAccessControlTypeInput

func (ObjectAccessControlTypeArray) ElementType

func (ObjectAccessControlTypeArray) ToObjectAccessControlTypeArrayOutput

func (i ObjectAccessControlTypeArray) ToObjectAccessControlTypeArrayOutput() ObjectAccessControlTypeArrayOutput

func (ObjectAccessControlTypeArray) ToObjectAccessControlTypeArrayOutputWithContext

func (i ObjectAccessControlTypeArray) ToObjectAccessControlTypeArrayOutputWithContext(ctx context.Context) ObjectAccessControlTypeArrayOutput

type ObjectAccessControlTypeArrayInput

type ObjectAccessControlTypeArrayInput interface {
	pulumi.Input

	ToObjectAccessControlTypeArrayOutput() ObjectAccessControlTypeArrayOutput
	ToObjectAccessControlTypeArrayOutputWithContext(context.Context) ObjectAccessControlTypeArrayOutput
}

ObjectAccessControlTypeArrayInput is an input type that accepts ObjectAccessControlTypeArray and ObjectAccessControlTypeArrayOutput values. You can construct a concrete instance of `ObjectAccessControlTypeArrayInput` via:

ObjectAccessControlTypeArray{ ObjectAccessControlTypeArgs{...} }

type ObjectAccessControlTypeArrayOutput

type ObjectAccessControlTypeArrayOutput struct{ *pulumi.OutputState }

func (ObjectAccessControlTypeArrayOutput) ElementType

func (ObjectAccessControlTypeArrayOutput) Index

func (ObjectAccessControlTypeArrayOutput) ToObjectAccessControlTypeArrayOutput

func (o ObjectAccessControlTypeArrayOutput) ToObjectAccessControlTypeArrayOutput() ObjectAccessControlTypeArrayOutput

func (ObjectAccessControlTypeArrayOutput) ToObjectAccessControlTypeArrayOutputWithContext

func (o ObjectAccessControlTypeArrayOutput) ToObjectAccessControlTypeArrayOutputWithContext(ctx context.Context) ObjectAccessControlTypeArrayOutput

type ObjectAccessControlTypeInput

type ObjectAccessControlTypeInput interface {
	pulumi.Input

	ToObjectAccessControlTypeOutput() ObjectAccessControlTypeOutput
	ToObjectAccessControlTypeOutputWithContext(context.Context) ObjectAccessControlTypeOutput
}

ObjectAccessControlTypeInput is an input type that accepts ObjectAccessControlTypeArgs and ObjectAccessControlTypeOutput values. You can construct a concrete instance of `ObjectAccessControlTypeInput` via:

ObjectAccessControlTypeArgs{...}

type ObjectAccessControlTypeOutput

type ObjectAccessControlTypeOutput struct{ *pulumi.OutputState }

An access-control entry.

func (ObjectAccessControlTypeOutput) Bucket

The name of the bucket.

func (ObjectAccessControlTypeOutput) Domain

The domain associated with the entity, if any.

func (ObjectAccessControlTypeOutput) ElementType

func (ObjectAccessControlTypeOutput) Email

The email address associated with the entity, if any.

func (ObjectAccessControlTypeOutput) Entity

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.

func (ObjectAccessControlTypeOutput) EntityId

The ID for the entity, if any.

func (ObjectAccessControlTypeOutput) Etag

HTTP 1.1 Entity tag for the access-control entry.

func (ObjectAccessControlTypeOutput) Generation

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

func (ObjectAccessControlTypeOutput) Id

The ID of the access-control entry.

func (ObjectAccessControlTypeOutput) Kind

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

func (ObjectAccessControlTypeOutput) Object

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

func (ObjectAccessControlTypeOutput) ProjectTeam

The project team associated with the entity, if any.

func (ObjectAccessControlTypeOutput) Role

The access permission for the entity.

The link to this access-control entry.

func (ObjectAccessControlTypeOutput) ToObjectAccessControlTypeOutput

func (o ObjectAccessControlTypeOutput) ToObjectAccessControlTypeOutput() ObjectAccessControlTypeOutput

func (ObjectAccessControlTypeOutput) ToObjectAccessControlTypeOutputWithContext

func (o ObjectAccessControlTypeOutput) ToObjectAccessControlTypeOutputWithContext(ctx context.Context) ObjectAccessControlTypeOutput

type ObjectIamBinding added in v0.26.0

type ObjectIamBinding struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringOutput `pulumi:"role"`
}

Updates an IAM policy for the specified object.

func GetObjectIamBinding added in v0.26.0

func GetObjectIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectIamBindingState, opts ...pulumi.ResourceOption) (*ObjectIamBinding, error)

GetObjectIamBinding gets an existing ObjectIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewObjectIamBinding added in v0.26.0

func NewObjectIamBinding(ctx *pulumi.Context,
	name string, args *ObjectIamBindingArgs, opts ...pulumi.ResourceOption) (*ObjectIamBinding, error)

NewObjectIamBinding registers a new resource with the given unique name, arguments, and options.

func (*ObjectIamBinding) ElementType added in v0.26.0

func (*ObjectIamBinding) ElementType() reflect.Type

func (*ObjectIamBinding) ToObjectIamBindingOutput added in v0.26.0

func (i *ObjectIamBinding) ToObjectIamBindingOutput() ObjectIamBindingOutput

func (*ObjectIamBinding) ToObjectIamBindingOutputWithContext added in v0.26.0

func (i *ObjectIamBinding) ToObjectIamBindingOutputWithContext(ctx context.Context) ObjectIamBindingOutput

type ObjectIamBindingArgs added in v0.26.0

type ObjectIamBindingArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identities that will be granted the privilege in role. Each entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Members pulumi.StringArrayInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied. Only one `IamBinding` can be used per role.
	Role pulumi.StringInput
}

The set of arguments for constructing a ObjectIamBinding resource.

func (ObjectIamBindingArgs) ElementType added in v0.26.0

func (ObjectIamBindingArgs) ElementType() reflect.Type

type ObjectIamBindingInput added in v0.26.0

type ObjectIamBindingInput interface {
	pulumi.Input

	ToObjectIamBindingOutput() ObjectIamBindingOutput
	ToObjectIamBindingOutputWithContext(ctx context.Context) ObjectIamBindingOutput
}

type ObjectIamBindingOutput added in v0.26.0

type ObjectIamBindingOutput struct{ *pulumi.OutputState }

func (ObjectIamBindingOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (ObjectIamBindingOutput) ElementType added in v0.26.0

func (ObjectIamBindingOutput) ElementType() reflect.Type

func (ObjectIamBindingOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (ObjectIamBindingOutput) Members added in v0.26.0

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (ObjectIamBindingOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (ObjectIamBindingOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (ObjectIamBindingOutput) Role added in v0.26.0

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (ObjectIamBindingOutput) ToObjectIamBindingOutput added in v0.26.0

func (o ObjectIamBindingOutput) ToObjectIamBindingOutput() ObjectIamBindingOutput

func (ObjectIamBindingOutput) ToObjectIamBindingOutputWithContext added in v0.26.0

func (o ObjectIamBindingOutput) ToObjectIamBindingOutputWithContext(ctx context.Context) ObjectIamBindingOutput

type ObjectIamBindingState added in v0.26.0

type ObjectIamBindingState struct {
}

func (ObjectIamBindingState) ElementType added in v0.26.0

func (ObjectIamBindingState) ElementType() reflect.Type

type ObjectIamMember added in v0.26.0

type ObjectIamMember struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Member pulumi.StringOutput `pulumi:"member"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringOutput `pulumi:"role"`
}

Updates an IAM policy for the specified object.

func GetObjectIamMember added in v0.26.0

func GetObjectIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectIamMemberState, opts ...pulumi.ResourceOption) (*ObjectIamMember, error)

GetObjectIamMember gets an existing ObjectIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewObjectIamMember added in v0.26.0

func NewObjectIamMember(ctx *pulumi.Context,
	name string, args *ObjectIamMemberArgs, opts ...pulumi.ResourceOption) (*ObjectIamMember, error)

NewObjectIamMember registers a new resource with the given unique name, arguments, and options.

func (*ObjectIamMember) ElementType added in v0.26.0

func (*ObjectIamMember) ElementType() reflect.Type

func (*ObjectIamMember) ToObjectIamMemberOutput added in v0.26.0

func (i *ObjectIamMember) ToObjectIamMemberOutput() ObjectIamMemberOutput

func (*ObjectIamMember) ToObjectIamMemberOutputWithContext added in v0.26.0

func (i *ObjectIamMember) ToObjectIamMemberOutputWithContext(ctx context.Context) ObjectIamMemberOutput

type ObjectIamMemberArgs added in v0.26.0

type ObjectIamMemberArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identity that will be granted the privilege in role. The entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Member pulumi.StringInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied.
	Role pulumi.StringInput
}

The set of arguments for constructing a ObjectIamMember resource.

func (ObjectIamMemberArgs) ElementType added in v0.26.0

func (ObjectIamMemberArgs) ElementType() reflect.Type

type ObjectIamMemberInput added in v0.26.0

type ObjectIamMemberInput interface {
	pulumi.Input

	ToObjectIamMemberOutput() ObjectIamMemberOutput
	ToObjectIamMemberOutputWithContext(ctx context.Context) ObjectIamMemberOutput
}

type ObjectIamMemberOutput added in v0.26.0

type ObjectIamMemberOutput struct{ *pulumi.OutputState }

func (ObjectIamMemberOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (ObjectIamMemberOutput) ElementType added in v0.26.0

func (ObjectIamMemberOutput) ElementType() reflect.Type

func (ObjectIamMemberOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (ObjectIamMemberOutput) Member added in v0.26.0

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (ObjectIamMemberOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (ObjectIamMemberOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (ObjectIamMemberOutput) Role added in v0.26.0

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (ObjectIamMemberOutput) ToObjectIamMemberOutput added in v0.26.0

func (o ObjectIamMemberOutput) ToObjectIamMemberOutput() ObjectIamMemberOutput

func (ObjectIamMemberOutput) ToObjectIamMemberOutputWithContext added in v0.26.0

func (o ObjectIamMemberOutput) ToObjectIamMemberOutputWithContext(ctx context.Context) ObjectIamMemberOutput

type ObjectIamMemberState added in v0.26.0

type ObjectIamMemberState struct {
}

func (ObjectIamMemberState) ElementType added in v0.26.0

func (ObjectIamMemberState) ElementType() reflect.Type

type ObjectIamPolicy

type ObjectIamPolicy struct {
	pulumi.CustomResourceState

	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings ObjectIamPolicyBindingsItemResponseArrayOutput `pulumi:"bindings"`
	Bucket   pulumi.StringOutput                            `pulumi:"bucket"`
	// HTTP 1.1  Entity tag for the policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// If present, selects a specific revision of this object (as opposed to the latest version, the default).
	Generation pulumi.StringPtrOutput `pulumi:"generation"`
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind   pulumi.StringOutput `pulumi:"kind"`
	Object pulumi.StringOutput `pulumi:"object"`
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrOutput `pulumi:"userProject"`
	// The IAM policy format version.
	Version pulumi.IntOutput `pulumi:"version"`
}

Updates an IAM policy for the specified object. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetObjectIamPolicy

func GetObjectIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectIamPolicyState, opts ...pulumi.ResourceOption) (*ObjectIamPolicy, error)

GetObjectIamPolicy gets an existing ObjectIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewObjectIamPolicy

func NewObjectIamPolicy(ctx *pulumi.Context,
	name string, args *ObjectIamPolicyArgs, opts ...pulumi.ResourceOption) (*ObjectIamPolicy, error)

NewObjectIamPolicy registers a new resource with the given unique name, arguments, and options.

func (*ObjectIamPolicy) ElementType

func (*ObjectIamPolicy) ElementType() reflect.Type

func (*ObjectIamPolicy) ToObjectIamPolicyOutput

func (i *ObjectIamPolicy) ToObjectIamPolicyOutput() ObjectIamPolicyOutput

func (*ObjectIamPolicy) ToObjectIamPolicyOutputWithContext

func (i *ObjectIamPolicy) ToObjectIamPolicyOutputWithContext(ctx context.Context) ObjectIamPolicyOutput

type ObjectIamPolicyArgs

type ObjectIamPolicyArgs struct {
	// An association between a role, which comes with a set of permissions, and members who may assume that role.
	Bindings ObjectIamPolicyBindingsItemArrayInput
	Bucket   pulumi.StringInput
	// HTTP 1.1  Entity tag for the policy.
	Etag pulumi.StringPtrInput
	// If present, selects a specific revision of this object (as opposed to the latest version, the default).
	Generation pulumi.StringPtrInput
	// The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
	Kind   pulumi.StringPtrInput
	Object pulumi.StringInput
	// The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
	ResourceId pulumi.StringPtrInput
	// The project to be billed for this request. Required for Requester Pays buckets.
	UserProject pulumi.StringPtrInput
	// The IAM policy format version.
	Version pulumi.IntPtrInput
}

The set of arguments for constructing a ObjectIamPolicy resource.

func (ObjectIamPolicyArgs) ElementType

func (ObjectIamPolicyArgs) ElementType() reflect.Type

type ObjectIamPolicyBindingsItem

type ObjectIamPolicyBindingsItem struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition *Expr `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members []string `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role *string `pulumi:"role"`
}

type ObjectIamPolicyBindingsItemArgs

type ObjectIamPolicyBindingsItemArgs struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition ExprPtrInput `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members pulumi.StringArrayInput `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role pulumi.StringPtrInput `pulumi:"role"`
}

func (ObjectIamPolicyBindingsItemArgs) ElementType

func (ObjectIamPolicyBindingsItemArgs) ToObjectIamPolicyBindingsItemOutput

func (i ObjectIamPolicyBindingsItemArgs) ToObjectIamPolicyBindingsItemOutput() ObjectIamPolicyBindingsItemOutput

func (ObjectIamPolicyBindingsItemArgs) ToObjectIamPolicyBindingsItemOutputWithContext

func (i ObjectIamPolicyBindingsItemArgs) ToObjectIamPolicyBindingsItemOutputWithContext(ctx context.Context) ObjectIamPolicyBindingsItemOutput

type ObjectIamPolicyBindingsItemArray

type ObjectIamPolicyBindingsItemArray []ObjectIamPolicyBindingsItemInput

func (ObjectIamPolicyBindingsItemArray) ElementType

func (ObjectIamPolicyBindingsItemArray) ToObjectIamPolicyBindingsItemArrayOutput

func (i ObjectIamPolicyBindingsItemArray) ToObjectIamPolicyBindingsItemArrayOutput() ObjectIamPolicyBindingsItemArrayOutput

func (ObjectIamPolicyBindingsItemArray) ToObjectIamPolicyBindingsItemArrayOutputWithContext

func (i ObjectIamPolicyBindingsItemArray) ToObjectIamPolicyBindingsItemArrayOutputWithContext(ctx context.Context) ObjectIamPolicyBindingsItemArrayOutput

type ObjectIamPolicyBindingsItemArrayInput

type ObjectIamPolicyBindingsItemArrayInput interface {
	pulumi.Input

	ToObjectIamPolicyBindingsItemArrayOutput() ObjectIamPolicyBindingsItemArrayOutput
	ToObjectIamPolicyBindingsItemArrayOutputWithContext(context.Context) ObjectIamPolicyBindingsItemArrayOutput
}

ObjectIamPolicyBindingsItemArrayInput is an input type that accepts ObjectIamPolicyBindingsItemArray and ObjectIamPolicyBindingsItemArrayOutput values. You can construct a concrete instance of `ObjectIamPolicyBindingsItemArrayInput` via:

ObjectIamPolicyBindingsItemArray{ ObjectIamPolicyBindingsItemArgs{...} }

type ObjectIamPolicyBindingsItemArrayOutput

type ObjectIamPolicyBindingsItemArrayOutput struct{ *pulumi.OutputState }

func (ObjectIamPolicyBindingsItemArrayOutput) ElementType

func (ObjectIamPolicyBindingsItemArrayOutput) Index

func (ObjectIamPolicyBindingsItemArrayOutput) ToObjectIamPolicyBindingsItemArrayOutput

func (o ObjectIamPolicyBindingsItemArrayOutput) ToObjectIamPolicyBindingsItemArrayOutput() ObjectIamPolicyBindingsItemArrayOutput

func (ObjectIamPolicyBindingsItemArrayOutput) ToObjectIamPolicyBindingsItemArrayOutputWithContext

func (o ObjectIamPolicyBindingsItemArrayOutput) ToObjectIamPolicyBindingsItemArrayOutputWithContext(ctx context.Context) ObjectIamPolicyBindingsItemArrayOutput

type ObjectIamPolicyBindingsItemInput

type ObjectIamPolicyBindingsItemInput interface {
	pulumi.Input

	ToObjectIamPolicyBindingsItemOutput() ObjectIamPolicyBindingsItemOutput
	ToObjectIamPolicyBindingsItemOutputWithContext(context.Context) ObjectIamPolicyBindingsItemOutput
}

ObjectIamPolicyBindingsItemInput is an input type that accepts ObjectIamPolicyBindingsItemArgs and ObjectIamPolicyBindingsItemOutput values. You can construct a concrete instance of `ObjectIamPolicyBindingsItemInput` via:

ObjectIamPolicyBindingsItemArgs{...}

type ObjectIamPolicyBindingsItemOutput

type ObjectIamPolicyBindingsItemOutput struct{ *pulumi.OutputState }

func (ObjectIamPolicyBindingsItemOutput) Condition

The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.

func (ObjectIamPolicyBindingsItemOutput) ElementType

func (ObjectIamPolicyBindingsItemOutput) Members

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (ObjectIamPolicyBindingsItemOutput) Role

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (ObjectIamPolicyBindingsItemOutput) ToObjectIamPolicyBindingsItemOutput

func (o ObjectIamPolicyBindingsItemOutput) ToObjectIamPolicyBindingsItemOutput() ObjectIamPolicyBindingsItemOutput

func (ObjectIamPolicyBindingsItemOutput) ToObjectIamPolicyBindingsItemOutputWithContext

func (o ObjectIamPolicyBindingsItemOutput) ToObjectIamPolicyBindingsItemOutputWithContext(ctx context.Context) ObjectIamPolicyBindingsItemOutput

type ObjectIamPolicyBindingsItemResponse

type ObjectIamPolicyBindingsItemResponse struct {
	// The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
	Condition ExprResponse `pulumi:"condition"`
	// A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
	// - allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
	// - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
	// - serviceAccount:emailid — An email address that represents a service account. For example,  serviceAccount:my-other-app@appspot.gserviceaccount.com .
	// - group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
	// - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
	// - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
	// - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
	// - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
	Members []string `pulumi:"members"`
	// The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.
	// The new IAM roles are:
	// - roles/storage.admin — Full control of Google Cloud Storage resources.
	// - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
	// - roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
	// - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.   The legacy IAM roles are:
	// - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
	// - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
	// - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
	// - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
	// - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.
	Role string `pulumi:"role"`
}

type ObjectIamPolicyBindingsItemResponseArrayOutput

type ObjectIamPolicyBindingsItemResponseArrayOutput struct{ *pulumi.OutputState }

func (ObjectIamPolicyBindingsItemResponseArrayOutput) ElementType

func (ObjectIamPolicyBindingsItemResponseArrayOutput) Index

func (ObjectIamPolicyBindingsItemResponseArrayOutput) ToObjectIamPolicyBindingsItemResponseArrayOutput

func (o ObjectIamPolicyBindingsItemResponseArrayOutput) ToObjectIamPolicyBindingsItemResponseArrayOutput() ObjectIamPolicyBindingsItemResponseArrayOutput

func (ObjectIamPolicyBindingsItemResponseArrayOutput) ToObjectIamPolicyBindingsItemResponseArrayOutputWithContext

func (o ObjectIamPolicyBindingsItemResponseArrayOutput) ToObjectIamPolicyBindingsItemResponseArrayOutputWithContext(ctx context.Context) ObjectIamPolicyBindingsItemResponseArrayOutput

type ObjectIamPolicyBindingsItemResponseOutput

type ObjectIamPolicyBindingsItemResponseOutput struct{ *pulumi.OutputState }

func (ObjectIamPolicyBindingsItemResponseOutput) Condition

The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.

func (ObjectIamPolicyBindingsItemResponseOutput) ElementType

func (ObjectIamPolicyBindingsItemResponseOutput) Members

A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project

func (ObjectIamPolicyBindingsItemResponseOutput) Role

The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. The new IAM roles are: - roles/storage.admin — Full control of Google Cloud Storage resources. - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.

func (ObjectIamPolicyBindingsItemResponseOutput) ToObjectIamPolicyBindingsItemResponseOutput

func (o ObjectIamPolicyBindingsItemResponseOutput) ToObjectIamPolicyBindingsItemResponseOutput() ObjectIamPolicyBindingsItemResponseOutput

func (ObjectIamPolicyBindingsItemResponseOutput) ToObjectIamPolicyBindingsItemResponseOutputWithContext

func (o ObjectIamPolicyBindingsItemResponseOutput) ToObjectIamPolicyBindingsItemResponseOutputWithContext(ctx context.Context) ObjectIamPolicyBindingsItemResponseOutput

type ObjectIamPolicyInput

type ObjectIamPolicyInput interface {
	pulumi.Input

	ToObjectIamPolicyOutput() ObjectIamPolicyOutput
	ToObjectIamPolicyOutputWithContext(ctx context.Context) ObjectIamPolicyOutput
}

type ObjectIamPolicyOutput

type ObjectIamPolicyOutput struct{ *pulumi.OutputState }

func (ObjectIamPolicyOutput) Bindings added in v0.19.0

An association between a role, which comes with a set of permissions, and members who may assume that role.

func (ObjectIamPolicyOutput) Bucket added in v0.21.0

func (ObjectIamPolicyOutput) ElementType

func (ObjectIamPolicyOutput) ElementType() reflect.Type

func (ObjectIamPolicyOutput) Etag added in v0.19.0

HTTP 1.1 Entity tag for the policy.

func (ObjectIamPolicyOutput) Generation added in v0.21.0

If present, selects a specific revision of this object (as opposed to the latest version, the default).

func (ObjectIamPolicyOutput) Kind added in v0.19.0

The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.

func (ObjectIamPolicyOutput) Object added in v0.21.0

func (ObjectIamPolicyOutput) ResourceId added in v0.19.0

func (o ObjectIamPolicyOutput) ResourceId() pulumi.StringOutput

The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.

func (ObjectIamPolicyOutput) ToObjectIamPolicyOutput

func (o ObjectIamPolicyOutput) ToObjectIamPolicyOutput() ObjectIamPolicyOutput

func (ObjectIamPolicyOutput) ToObjectIamPolicyOutputWithContext

func (o ObjectIamPolicyOutput) ToObjectIamPolicyOutputWithContext(ctx context.Context) ObjectIamPolicyOutput

func (ObjectIamPolicyOutput) UserProject added in v0.21.0

The project to be billed for this request. Required for Requester Pays buckets.

func (ObjectIamPolicyOutput) Version added in v0.19.0

The IAM policy format version.

type ObjectIamPolicyState

type ObjectIamPolicyState struct {
}

func (ObjectIamPolicyState) ElementType

func (ObjectIamPolicyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL