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

src.compute.alpha.GetInstantSnapshotArgs.scala Maven / Gradle / Ivy

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

final case class GetInstantSnapshotArgs private(
  instantSnapshot: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  zone: besom.types.Output[String]
)

object GetInstantSnapshotArgs:
  def apply(
    instantSnapshot: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    zone: besom.types.Input[String]
  )(using besom.types.Context): GetInstantSnapshotArgs =
    new GetInstantSnapshotArgs(
      instantSnapshot = instantSnapshot.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      zone = zone.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy