src.spanner.v1.BackupArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.googlenative.spanner.v1
final case class BackupArgs private(
backupId: besom.types.Output[String],
database: besom.types.Output[scala.Option[String]],
encryptionConfigEncryptionType: besom.types.Output[String],
encryptionConfigKmsKeyName: besom.types.Output[scala.Option[String]],
expireTime: besom.types.Output[scala.Option[String]],
instanceId: besom.types.Output[String],
name: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
versionTime: besom.types.Output[scala.Option[String]]
)
object BackupArgs:
def apply(
backupId: besom.types.Input[String],
database: besom.types.Input.Optional[String] = scala.None,
encryptionConfigEncryptionType: besom.types.Input[String],
encryptionConfigKmsKeyName: besom.types.Input.Optional[String] = scala.None,
expireTime: besom.types.Input.Optional[String] = scala.None,
instanceId: besom.types.Input[String],
name: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
versionTime: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): BackupArgs =
new BackupArgs(
backupId = backupId.asOutput(isSecret = false),
database = database.asOptionOutput(isSecret = false),
encryptionConfigEncryptionType = encryptionConfigEncryptionType.asOutput(isSecret = false),
encryptionConfigKmsKeyName = encryptionConfigKmsKeyName.asOptionOutput(isSecret = false),
expireTime = expireTime.asOptionOutput(isSecret = false),
instanceId = instanceId.asOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
versionTime = versionTime.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[BackupArgs] =
besom.internal.Encoder.derived[BackupArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[BackupArgs] =
besom.internal.ArgsEncoder.derived[BackupArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy