src.file.v1beta1.SnapshotArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.googlenative.file.v1beta1
final case class SnapshotArgs private(
description: besom.types.Output[scala.Option[String]],
instanceId: besom.types.Output[String],
labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
location: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
snapshotId: besom.types.Output[String]
)
object SnapshotArgs:
def apply(
description: besom.types.Input.Optional[String] = scala.None,
instanceId: besom.types.Input[String],
labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
snapshotId: besom.types.Input[String]
)(using besom.types.Context): SnapshotArgs =
new SnapshotArgs(
description = description.asOptionOutput(isSecret = false),
instanceId = instanceId.asOutput(isSecret = false),
labels = labels.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
snapshotId = snapshotId.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[SnapshotArgs] =
besom.internal.Encoder.derived[SnapshotArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[SnapshotArgs] =
besom.internal.ArgsEncoder.derived[SnapshotArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy