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

src.pubsub.v1.GetSchemaArgs.scala Maven / Gradle / Ivy

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

final case class GetSchemaArgs private(
  project: besom.types.Output[scala.Option[String]],
  schemaId: besom.types.Output[String],
  view: besom.types.Output[scala.Option[String]]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy