
src.runtimeconfig.v1beta1.WaiterArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.runtimeconfig.v1beta1
final case class WaiterArgs private(
configId: besom.types.Output[String],
failure: besom.types.Output[scala.Option[besom.api.googlenative.runtimeconfig.v1beta1.inputs.EndConditionArgs]],
name: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
requestId: besom.types.Output[scala.Option[String]],
success: besom.types.Output[scala.Option[besom.api.googlenative.runtimeconfig.v1beta1.inputs.EndConditionArgs]],
timeout: besom.types.Output[scala.Option[String]]
)
object WaiterArgs:
def apply(
configId: besom.types.Input[String],
failure: besom.types.Input.Optional[besom.api.googlenative.runtimeconfig.v1beta1.inputs.EndConditionArgs] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
requestId: besom.types.Input.Optional[String] = scala.None,
success: besom.types.Input.Optional[besom.api.googlenative.runtimeconfig.v1beta1.inputs.EndConditionArgs] = scala.None,
timeout: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): WaiterArgs =
new WaiterArgs(
configId = configId.asOutput(isSecret = false),
failure = failure.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
requestId = requestId.asOptionOutput(isSecret = false),
success = success.asOptionOutput(isSecret = false),
timeout = timeout.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[WaiterArgs] =
besom.internal.Encoder.derived[WaiterArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[WaiterArgs] =
besom.internal.ArgsEncoder.derived[WaiterArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy