
src.pubsub.v1beta2.TopicArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.pubsub.v1beta2
final case class TopicArgs private(
name: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
topicId: besom.types.Output[String]
)
object TopicArgs:
def apply(
name: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
topicId: besom.types.Input[String]
)(using besom.types.Context): TopicArgs =
new TopicArgs(
name = name.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
topicId = topicId.asOutput(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