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

src.compute.v1.SslPolicyArgs.scala Maven / Gradle / Ivy

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

final case class SslPolicyArgs private(
  customFeatures: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  description: besom.types.Output[scala.Option[String]],
  minTlsVersion: besom.types.Output[scala.Option[besom.api.googlenative.compute.v1.enums.SslPolicyMinTlsVersion]],
  name: besom.types.Output[scala.Option[String]],
  profile: besom.types.Output[scala.Option[besom.api.googlenative.compute.v1.enums.SslPolicyProfile]],
  project: besom.types.Output[scala.Option[String]],
  requestId: besom.types.Output[scala.Option[String]]
)

object SslPolicyArgs:
  def apply(
    customFeatures: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    minTlsVersion: besom.types.Input.Optional[besom.api.googlenative.compute.v1.enums.SslPolicyMinTlsVersion] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    profile: besom.types.Input.Optional[besom.api.googlenative.compute.v1.enums.SslPolicyProfile] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): SslPolicyArgs =
    new SslPolicyArgs(
      customFeatures = customFeatures.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      minTlsVersion = minTlsVersion.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      profile = profile.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy