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

src.servicemanagement.v1.ServiceArgs.scala Maven / Gradle / Ivy

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

final case class ServiceArgs private(
  producerProjectId: besom.types.Output[scala.Option[String]],
  serviceName: besom.types.Output[scala.Option[String]]
)

object ServiceArgs:
  def apply(
    producerProjectId: besom.types.Input.Optional[String] = scala.None,
    serviceName: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): ServiceArgs =
    new ServiceArgs(
      producerProjectId = producerProjectId.asOptionOutput(isSecret = false),
      serviceName = serviceName.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