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

src.alloydb.v1.GetUserArgs.scala Maven / Gradle / Ivy

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

final case class GetUserArgs private(
  clusterId: besom.types.Output[String],
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  userId: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy