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

src.compute.beta.LicenseArgs.scala Maven / Gradle / Ivy

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

final case class LicenseArgs private(
  description: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  requestId: besom.types.Output[scala.Option[String]],
  resourceRequirements: besom.types.Output[scala.Option[besom.api.googlenative.compute.beta.inputs.LicenseResourceRequirementsArgs]],
  transferable: besom.types.Output[scala.Option[Boolean]]
)

object LicenseArgs:
  def apply(
    description: besom.types.Input.Optional[String] = 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,
    resourceRequirements: besom.types.Input.Optional[besom.api.googlenative.compute.beta.inputs.LicenseResourceRequirementsArgs] = scala.None,
    transferable: besom.types.Input.Optional[Boolean] = scala.None
  )(using besom.types.Context): LicenseArgs =
    new LicenseArgs(
      description = description.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      resourceRequirements = resourceRequirements.asOptionOutput(isSecret = false),
      transferable = transferable.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy