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