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

src.iam.v1.GetKeyArgs.scala Maven / Gradle / Ivy

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

final case class GetKeyArgs private(
  keyId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  publicKeyType: besom.types.Output[scala.Option[String]],
  serviceAccountId: besom.types.Output[String]
)

object GetKeyArgs:
  def apply(
    keyId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    publicKeyType: besom.types.Input.Optional[String] = scala.None,
    serviceAccountId: besom.types.Input[String]
  )(using besom.types.Context): GetKeyArgs =
    new GetKeyArgs(
      keyId = keyId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      publicKeyType = publicKeyType.asOptionOutput(isSecret = false),
      serviceAccountId = serviceAccountId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy