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

src.logging.v2.GetSinkArgs.scala Maven / Gradle / Ivy

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

final case class GetSinkArgs private(
  project: besom.types.Output[scala.Option[String]],
  sinkId: besom.types.Output[String]
)

object GetSinkArgs:
  def apply(
    project: besom.types.Input.Optional[String] = scala.None,
    sinkId: besom.types.Input[String]
  )(using besom.types.Context): GetSinkArgs =
    new GetSinkArgs(
      project = project.asOptionOutput(isSecret = false),
      sinkId = sinkId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy