Class BillingAccountBucketConfigState


  • public final class BillingAccountBucketConfigState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • billingAccount

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> billingAccount()
        Returns:
        The parent resource that contains the logging bucket.
      • bucketId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bucketId()
        Returns:
        The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
      • cmekSettings

        public java.util.Optional<com.pulumi.core.Output<BillingAccountBucketConfigCmekSettingsArgs>> cmekSettings()
        Returns:
        The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Describes this bucket.
      • indexConfigs

        public java.util.Optional<com.pulumi.core.Output<java.util.List<BillingAccountBucketConfigIndexConfigArgs>>> indexConfigs()
        Returns:
        A list of indexed fields and related configuration data. Structure is documented below.
      • lifecycleState

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lifecycleState()
        Returns:
        The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
      • location

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()
        Returns:
        The location of the bucket.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id"
      • retentionDays

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> retentionDays()
        Returns:
        Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used. Bucket retention can not be increased on buckets outside of projects.