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

src.pubsublite.v1.GetTopicArgs.scala Maven / Gradle / Ivy

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

final case class GetTopicArgs private(
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  topicId: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy