src.apigateway.v1.GatewayArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.googlenative.apigateway.v1
final case class GatewayArgs private(
apiConfig: besom.types.Output[String],
displayName: besom.types.Output[scala.Option[String]],
gatewayId: besom.types.Output[String],
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]]
)
object GatewayArgs:
def apply(
apiConfig: besom.types.Input[String],
displayName: besom.types.Input.Optional[String] = scala.None,
gatewayId: besom.types.Input[String],
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
)(using besom.types.Context): GatewayArgs =
new GatewayArgs(
apiConfig = apiConfig.asOutput(isSecret = false),
displayName = displayName.asOptionOutput(isSecret = false),
gatewayId = gatewayId.asOutput(isSecret = false),
labels = labels.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GatewayArgs] =
besom.internal.Encoder.derived[GatewayArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GatewayArgs] =
besom.internal.ArgsEncoder.derived[GatewayArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy