
src.compute.v1.GetSnapshotArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.compute.v1
final case class GetSnapshotArgs private(
project: besom.types.Output[scala.Option[String]],
snapshot: besom.types.Output[String]
)
object GetSnapshotArgs:
def apply(
project: besom.types.Input.Optional[String] = scala.None,
snapshot: besom.types.Input[String]
)(using besom.types.Context): GetSnapshotArgs =
new GetSnapshotArgs(
project = project.asOptionOutput(isSecret = false),
snapshot = snapshot.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetSnapshotArgs] =
besom.internal.Encoder.derived[GetSnapshotArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetSnapshotArgs] =
besom.internal.ArgsEncoder.derived[GetSnapshotArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy