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

src.compute.v1.GetDiskArgs.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 GetDiskArgs private(
  disk: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  zone: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy