
src.compute.beta.GetDiskArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.compute.beta
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