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

src.dataplex.v1.ZoneArgs.scala Maven / Gradle / Ivy

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

final case class ZoneArgs private(
  description: besom.types.Output[scala.Option[String]],
  discoverySpec: besom.types.Output[scala.Option[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1ZoneDiscoverySpecArgs]],
  displayName: besom.types.Output[scala.Option[String]],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  lakeId: besom.types.Output[String],
  location: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  resourceSpec: besom.types.Output[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1ZoneResourceSpecArgs],
  `type`: besom.types.Output[besom.api.googlenative.dataplex.v1.enums.ZoneType],
  zoneId: besom.types.Output[String]
)

object ZoneArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    discoverySpec: besom.types.Input.Optional[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1ZoneDiscoverySpecArgs] = scala.None,
    displayName: besom.types.Input.Optional[String] = scala.None,
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    lakeId: besom.types.Input[String],
    location: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    resourceSpec: besom.types.Input[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1ZoneResourceSpecArgs],
    `type`: besom.types.Input[besom.api.googlenative.dataplex.v1.enums.ZoneType],
    zoneId: besom.types.Input[String]
  )(using besom.types.Context): ZoneArgs =
    new ZoneArgs(
      description = description.asOptionOutput(isSecret = false),
      discoverySpec = discoverySpec.asOptionOutput(isSecret = false),
      displayName = displayName.asOptionOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      lakeId = lakeId.asOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      resourceSpec = resourceSpec.asOutput(isSecret = false),
      `type` = `type`.asOutput(isSecret = false),
      zoneId = zoneId.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[ZoneArgs] =
    besom.internal.Encoder.derived[ZoneArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ZoneArgs] =
    besom.internal.ArgsEncoder.derived[ZoneArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy