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

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

package besom.api.googlenative.cloudkms.v1

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy