
src.spanner.v1.GetSessionArgs.scala Maven / Gradle / Ivy
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