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

src.alloydb.v1beta.GetClusterArgs.scala Maven / Gradle / Ivy

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

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy