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

src.certificatemanager.v1.TrustConfigArgs.scala Maven / Gradle / Ivy

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

final case class TrustConfigArgs private(
  description: besom.types.Output[scala.Option[String]],
  etag: besom.types.Output[scala.Option[String]],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  trustConfigId: besom.types.Output[String],
  trustStores: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.certificatemanager.v1.inputs.TrustStoreArgs]]]
)

object TrustConfigArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    etag: besom.types.Input.Optional[String] = scala.None,
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    trustConfigId: besom.types.Input[String],
    trustStores: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.certificatemanager.v1.inputs.TrustStoreArgs]]] = scala.None
  )(using besom.types.Context): TrustConfigArgs =
    new TrustConfigArgs(
      description = description.asOptionOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      trustConfigId = trustConfigId.asOutput(isSecret = false),
      trustStores = trustStores.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy