![JAR search and dependency download from the Maven repository](/logo.png)
scala.googleapis.bigquery.MetadataCacheStatistics.scala Maven / Gradle / Ivy
package googleapis.bigquery
import io.circe._
import io.circe.syntax._
final case class MetadataCacheStatistics(
/** Set for the Metadata caching eligible tables referenced in the query.
*/
tableMetadataCacheUsage: Option[List[TableMetadataCacheUsage]] = None
)
object MetadataCacheStatistics {
implicit val encoder: Encoder[
MetadataCacheStatistics
] = Encoder.instance { x =>
Json.obj("tableMetadataCacheUsage" := x.tableMetadataCacheUsage)
}
implicit val decoder: Decoder[
MetadataCacheStatistics
] = Decoder.instance { c =>
for {
v0 <- c.get[Option[List[TableMetadataCacheUsage]]]("tableMetadataCacheUsage")
} yield MetadataCacheStatistics(v0)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy