
src.run.v2.ServiceArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.run.v2
final case class ServiceArgs private(
annotations: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
binaryAuthorization: besom.types.Output[scala.Option[besom.api.googlenative.run.v2.inputs.GoogleCloudRunV2BinaryAuthorizationArgs]],
client: besom.types.Output[scala.Option[String]],
clientVersion: besom.types.Output[scala.Option[String]],
customAudiences: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
description: besom.types.Output[scala.Option[String]],
ingress: besom.types.Output[scala.Option[besom.api.googlenative.run.v2.enums.ServiceIngress]],
labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
launchStage: besom.types.Output[scala.Option[besom.api.googlenative.run.v2.enums.ServiceLaunchStage]],
location: besom.types.Output[scala.Option[String]],
name: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
scaling: besom.types.Output[scala.Option[besom.api.googlenative.run.v2.inputs.GoogleCloudRunV2ServiceScalingArgs]],
serviceId: besom.types.Output[String],
template: besom.types.Output[besom.api.googlenative.run.v2.inputs.GoogleCloudRunV2RevisionTemplateArgs],
traffic: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.run.v2.inputs.GoogleCloudRunV2TrafficTargetArgs]]]
)
object ServiceArgs:
def apply(
annotations: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
binaryAuthorization: besom.types.Input.Optional[besom.api.googlenative.run.v2.inputs.GoogleCloudRunV2BinaryAuthorizationArgs] = scala.None,
client: besom.types.Input.Optional[String] = scala.None,
clientVersion: besom.types.Input.Optional[String] = scala.None,
customAudiences: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
description: besom.types.Input.Optional[String] = scala.None,
ingress: besom.types.Input.Optional[besom.api.googlenative.run.v2.enums.ServiceIngress] = scala.None,
labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
launchStage: besom.types.Input.Optional[besom.api.googlenative.run.v2.enums.ServiceLaunchStage] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
scaling: besom.types.Input.Optional[besom.api.googlenative.run.v2.inputs.GoogleCloudRunV2ServiceScalingArgs] = scala.None,
serviceId: besom.types.Input[String],
template: besom.types.Input[besom.api.googlenative.run.v2.inputs.GoogleCloudRunV2RevisionTemplateArgs],
traffic: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.run.v2.inputs.GoogleCloudRunV2TrafficTargetArgs]]] = scala.None
)(using besom.types.Context): ServiceArgs =
new ServiceArgs(
annotations = annotations.asOptionOutput(isSecret = false),
binaryAuthorization = binaryAuthorization.asOptionOutput(isSecret = false),
client = client.asOptionOutput(isSecret = false),
clientVersion = clientVersion.asOptionOutput(isSecret = false),
customAudiences = customAudiences.asOptionOutput(isSecret = false),
description = description.asOptionOutput(isSecret = false),
ingress = ingress.asOptionOutput(isSecret = false),
labels = labels.asOptionOutput(isSecret = false),
launchStage = launchStage.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
scaling = scaling.asOptionOutput(isSecret = false),
serviceId = serviceId.asOutput(isSecret = false),
template = template.asOutput(isSecret = false),
traffic = traffic.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[ServiceArgs] =
besom.internal.Encoder.derived[ServiceArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ServiceArgs] =
besom.internal.ArgsEncoder.derived[ServiceArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy