
src.appengine.v1beta.IngressRuleArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.appengine.v1beta
final case class IngressRuleArgs private(
action: besom.types.Output[scala.Option[besom.api.googlenative.appengine.v1beta.enums.IngressRuleAction]],
appId: besom.types.Output[String],
description: besom.types.Output[scala.Option[String]],
priority: besom.types.Output[scala.Option[Int]],
sourceRange: besom.types.Output[scala.Option[String]]
)
object IngressRuleArgs:
def apply(
action: besom.types.Input.Optional[besom.api.googlenative.appengine.v1beta.enums.IngressRuleAction] = scala.None,
appId: besom.types.Input[String],
description: besom.types.Input.Optional[String] = scala.None,
priority: besom.types.Input.Optional[Int] = scala.None,
sourceRange: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): IngressRuleArgs =
new IngressRuleArgs(
action = action.asOptionOutput(isSecret = false),
appId = appId.asOutput(isSecret = false),
description = description.asOptionOutput(isSecret = false),
priority = priority.asOptionOutput(isSecret = false),
sourceRange = sourceRange.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[IngressRuleArgs] =
besom.internal.Encoder.derived[IngressRuleArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[IngressRuleArgs] =
besom.internal.ArgsEncoder.derived[IngressRuleArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy