
src.pubsublite.v1.GetTopicArgs.scala Maven / Gradle / Ivy
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