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

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

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

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy