
src.pubsub.v1beta1a.TopicArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.pubsub.v1beta1a
final case class TopicArgs private(
name: besom.types.Output[scala.Option[String]]
)
object TopicArgs:
def apply(
name: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): TopicArgs =
new TopicArgs(
name = name.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[TopicArgs] =
besom.internal.Encoder.derived[TopicArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[TopicArgs] =
besom.internal.ArgsEncoder.derived[TopicArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy