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

src.spanner.v1.GetSessionArgs.scala Maven / Gradle / Ivy

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

final case class GetSessionArgs private(
  databaseId: besom.types.Output[String],
  instanceId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  sessionId: besom.types.Output[String]
)

object GetSessionArgs:
  def apply(
    databaseId: besom.types.Input[String],
    instanceId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    sessionId: besom.types.Input[String]
  )(using besom.types.Context): GetSessionArgs =
    new GetSessionArgs(
      databaseId = databaseId.asOutput(isSecret = false),
      instanceId = instanceId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      sessionId = sessionId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy