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

src.compute.beta.TargetGrpcProxyArgs.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 TargetGrpcProxyArgs 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]],
  urlMap: besom.types.Output[scala.Option[String]],
  validateForProxyless: besom.types.Output[scala.Option[Boolean]]
)

object TargetGrpcProxyArgs:
  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,
    urlMap: besom.types.Input.Optional[String] = scala.None,
    validateForProxyless: besom.types.Input.Optional[Boolean] = scala.None
  )(using besom.types.Context): TargetGrpcProxyArgs =
    new TargetGrpcProxyArgs(
      description = description.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      urlMap = urlMap.asOptionOutput(isSecret = false),
      validateForProxyless = validateForProxyless.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy