
src.file.v1beta1.GetSnapshotArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.file.v1beta1
final case class GetSnapshotArgs private(
instanceId: besom.types.Output[String],
location: besom.types.Output[String],
project: besom.types.Output[scala.Option[String]],
snapshotId: besom.types.Output[String]
)
object GetSnapshotArgs:
def apply(
instanceId: besom.types.Input[String],
location: besom.types.Input[String],
project: besom.types.Input.Optional[String] = scala.None,
snapshotId: besom.types.Input[String]
)(using besom.types.Context): GetSnapshotArgs =
new GetSnapshotArgs(
instanceId = instanceId.asOutput(isSecret = false),
location = location.asOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
snapshotId = snapshotId.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