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

src.cloudkms.v1.KeyRingArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.cloudkms.v1

final case class KeyRingArgs private(
  keyRingId: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]]
)

object KeyRingArgs:
  def apply(
    keyRingId: besom.types.Input.Optional[String] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): KeyRingArgs =
    new KeyRingArgs(
      keyRingId = keyRingId.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy