All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.bigquery.v2.Dataset.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.bigquery.v2

final case class Dataset private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  access: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.bigquery.v2.outputs.DatasetAccessItemResponse]],
  creationTime: besom.types.Output[String],
  datasetReference: besom.types.Output[besom.api.googlenative.bigquery.v2.outputs.DatasetReferenceResponse],
  defaultCollation: besom.types.Output[String],
  defaultEncryptionConfiguration: besom.types.Output[besom.api.googlenative.bigquery.v2.outputs.EncryptionConfigurationResponse],
  defaultPartitionExpirationMs: besom.types.Output[String],
  defaultRoundingMode: besom.types.Output[String],
  defaultTableExpirationMs: besom.types.Output[String],
  description: besom.types.Output[String],
  etag: besom.types.Output[String],
  externalDatasetReference: besom.types.Output[besom.api.googlenative.bigquery.v2.outputs.ExternalDatasetReferenceResponse],
  friendlyName: besom.types.Output[String],
  isCaseInsensitive: besom.types.Output[Boolean],
  kind: besom.types.Output[String],
  labels: besom.types.Output[scala.Predef.Map[String, String]],
  lastModifiedTime: besom.types.Output[String],
  location: besom.types.Output[String],
  maxTimeTravelHours: besom.types.Output[String],
  project: besom.types.Output[String],
  satisfiesPzs: besom.types.Output[Boolean],
  selfLink: besom.types.Output[String],
  storageBillingModel: besom.types.Output[String],
  tags: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.bigquery.v2.outputs.DatasetTagsItemResponse]]
) extends besom.CustomResource

object Dataset extends besom.ResourceCompanion[Dataset]:
  /** Resource constructor for Dataset. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[DatasetArgs]] The configuration to use to create this resource. This resource has a default configuration.
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = Dataset(
    *          "my-resource",
    *          DatasetArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: DatasetArgs = DatasetArgs(),
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[Dataset] =
    ctx.readOrRegisterResource[Dataset, DatasetArgs]("google-native:bigquery/v2:Dataset", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:bigquery/v2:Dataset"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Dataset] =
    besom.internal.ResourceDecoder.derived[Dataset]

  given decoder(using besom.types.Context): besom.types.Decoder[Dataset] =
    besom.internal.Decoder.customResourceDecoder[Dataset]


  given outputOps: {} with
    extension(output: besom.types.Output[Dataset])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def access : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.bigquery.v2.outputs.DatasetAccessItemResponse]] = output.flatMap(_.access)
      def creationTime : besom.types.Output[String] = output.flatMap(_.creationTime)
      def datasetReference : besom.types.Output[besom.api.googlenative.bigquery.v2.outputs.DatasetReferenceResponse] = output.flatMap(_.datasetReference)
      def defaultCollation : besom.types.Output[String] = output.flatMap(_.defaultCollation)
      def defaultEncryptionConfiguration : besom.types.Output[besom.api.googlenative.bigquery.v2.outputs.EncryptionConfigurationResponse] = output.flatMap(_.defaultEncryptionConfiguration)
      def defaultPartitionExpirationMs : besom.types.Output[String] = output.flatMap(_.defaultPartitionExpirationMs)
      def defaultRoundingMode : besom.types.Output[String] = output.flatMap(_.defaultRoundingMode)
      def defaultTableExpirationMs : besom.types.Output[String] = output.flatMap(_.defaultTableExpirationMs)
      def description : besom.types.Output[String] = output.flatMap(_.description)
      def etag : besom.types.Output[String] = output.flatMap(_.etag)
      def externalDatasetReference : besom.types.Output[besom.api.googlenative.bigquery.v2.outputs.ExternalDatasetReferenceResponse] = output.flatMap(_.externalDatasetReference)
      def friendlyName : besom.types.Output[String] = output.flatMap(_.friendlyName)
      def isCaseInsensitive : besom.types.Output[Boolean] = output.flatMap(_.isCaseInsensitive)
      def kind : besom.types.Output[String] = output.flatMap(_.kind)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
      def lastModifiedTime : besom.types.Output[String] = output.flatMap(_.lastModifiedTime)
      def location : besom.types.Output[String] = output.flatMap(_.location)
      def maxTimeTravelHours : besom.types.Output[String] = output.flatMap(_.maxTimeTravelHours)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def satisfiesPzs : besom.types.Output[Boolean] = output.flatMap(_.satisfiesPzs)
      def selfLink : besom.types.Output[String] = output.flatMap(_.selfLink)
      def storageBillingModel : besom.types.Output[String] = output.flatMap(_.storageBillingModel)
      def tags : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.bigquery.v2.outputs.DatasetTagsItemResponse]] = output.flatMap(_.tags)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy