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

src.compute.v1.GetSnapshotArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
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