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

src.logging.v2.GetMetricArgs.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 GetMetricArgs private(
  metricId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy