Class BillingAccountSinkState


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

      • bigqueryOptions

        public java.util.Optional<com.pulumi.core.Output<BillingAccountSinkBigqueryOptionsArgs>> bigqueryOptions()
        Returns:
        Options that affect sinks exporting data to BigQuery. Structure documented below.
      • billingAccount

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> billingAccount()
        Returns:
        The billing account exported to the sink.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A description of this sink. The maximum length of the description is 8000 characters.
      • destination

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> destination()
        Returns:
        The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket. Examples: - `storage.googleapis.com/[GCS_BUCKET]` - `bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]` - `pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]` - `logging.googleapis.com/projects/[PROJECT_ID]]/locations/global/buckets/[BUCKET_ID]` The writer associated with the sink must have access to write to the above resource.
      • disabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disabled()
        Returns:
        If set to True, then this sink is disabled and it does not export any log entries.
      • exclusions

        public java.util.Optional<com.pulumi.core.Output<java.util.List<BillingAccountSinkExclusionArgs>>> exclusions()
        Returns:
        Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both `filter` and one of `exclusions.filter`, it will not be exported. Can be repeated multiple times for multiple exclusions. Structure is documented below.
      • filter

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> filter()
        Returns:
        The filter to apply when exporting logs. Only log entries that match the filter are exported. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to write a filter.
      • name

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> writerIdentity()
        Returns:
        The identity associated with this sink. This identity must be granted write access to the configured `destination`.