All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.notebooks.v1.RuntimeArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.notebooks.v1

final case class RuntimeArgs private(
  accessConfig: besom.types.Output[scala.Option[besom.api.googlenative.notebooks.v1.inputs.RuntimeAccessConfigArgs]],
  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]],
  requestId: besom.types.Output[scala.Option[String]],
  runtimeId: besom.types.Output[String],
  softwareConfig: besom.types.Output[scala.Option[besom.api.googlenative.notebooks.v1.inputs.RuntimeSoftwareConfigArgs]],
  virtualMachine: besom.types.Output[scala.Option[besom.api.googlenative.notebooks.v1.inputs.VirtualMachineArgs]]
)

object RuntimeArgs:
  def apply(
    accessConfig: besom.types.Input.Optional[besom.api.googlenative.notebooks.v1.inputs.RuntimeAccessConfigArgs] = scala.None,
    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,
    requestId: besom.types.Input.Optional[String] = scala.None,
    runtimeId: besom.types.Input[String],
    softwareConfig: besom.types.Input.Optional[besom.api.googlenative.notebooks.v1.inputs.RuntimeSoftwareConfigArgs] = scala.None,
    virtualMachine: besom.types.Input.Optional[besom.api.googlenative.notebooks.v1.inputs.VirtualMachineArgs] = scala.None
  )(using besom.types.Context): RuntimeArgs =
    new RuntimeArgs(
      accessConfig = accessConfig.asOptionOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      runtimeId = runtimeId.asOutput(isSecret = false),
      softwareConfig = softwareConfig.asOptionOutput(isSecret = false),
      virtualMachine = virtualMachine.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[RuntimeArgs] =
    besom.internal.Encoder.derived[RuntimeArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[RuntimeArgs] =
    besom.internal.ArgsEncoder.derived[RuntimeArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy