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

src.pubsub.v1.GetTopicResult.scala Maven / Gradle / Ivy

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


final case class GetTopicResult private(
  kmsKeyName: String,
  labels: scala.Predef.Map[String, String],
  messageRetentionDuration: String,
  messageStoragePolicy: besom.api.googlenative.pubsub.v1.outputs.MessageStoragePolicyResponse,
  name: String,
  satisfiesPzs: Boolean,
  schemaSettings: besom.api.googlenative.pubsub.v1.outputs.SchemaSettingsResponse
)
object GetTopicResult :

  given decoder(using besom.types.Context): besom.types.Decoder[GetTopicResult] =
    besom.internal.Decoder.derived[GetTopicResult]



  given outputOps: {} with
    extension(output: besom.types.Output[GetTopicResult])
      def kmsKeyName : besom.types.Output[String] = output.map(_.kmsKeyName)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.map(_.labels)
      def messageRetentionDuration : besom.types.Output[String] = output.map(_.messageRetentionDuration)
      def messageStoragePolicy : besom.types.Output[besom.api.googlenative.pubsub.v1.outputs.MessageStoragePolicyResponse] = output.map(_.messageStoragePolicy)
      def name : besom.types.Output[String] = output.map(_.name)
      def satisfiesPzs : besom.types.Output[Boolean] = output.map(_.satisfiesPzs)
      def schemaSettings : besom.types.Output[besom.api.googlenative.pubsub.v1.outputs.SchemaSettingsResponse] = output.map(_.schemaSettings)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetTopicResult]])
      def kmsKeyName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.kmsKeyName))
      def labels : besom.types.Output[scala.Option[scala.Predef.Map[String, String]]] = output.map(_.map(_.labels))
      def messageRetentionDuration : besom.types.Output[scala.Option[String]] = output.map(_.map(_.messageRetentionDuration))
      def messageStoragePolicy : besom.types.Output[scala.Option[besom.api.googlenative.pubsub.v1.outputs.MessageStoragePolicyResponse]] = output.map(_.map(_.messageStoragePolicy))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def satisfiesPzs : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.satisfiesPzs))
      def schemaSettings : besom.types.Output[scala.Option[besom.api.googlenative.pubsub.v1.outputs.SchemaSettingsResponse]] = output.map(_.map(_.schemaSettings))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy