destination

@JvmName(name = "hmoekwvwypuyolto")
suspend fun destination(value: Output<String>)
@JvmName(name = "yiaqcpvijqvncqgk")
suspend fun destination(value: String?)

Parameters

value

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, a Cloud Logging bucket, or a Google Cloud project. 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]

  • logging.googleapis.com/projects/[PROJECT_ID] The writer associated with the sink must have access to write to the above resource.