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

src.cloudasset.v1.SavedQueryArgs.scala Maven / Gradle / Ivy

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

final case class SavedQueryArgs private(
  content: besom.types.Output[scala.Option[besom.api.googlenative.cloudasset.v1.inputs.QueryContentArgs]],
  description: besom.types.Output[scala.Option[String]],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  name: besom.types.Output[scala.Option[String]],
  savedQueryId: besom.types.Output[String],
  v1Id: besom.types.Output[String],
  v1Id1: besom.types.Output[String]
)

object SavedQueryArgs:
  def apply(
    content: besom.types.Input.Optional[besom.api.googlenative.cloudasset.v1.inputs.QueryContentArgs] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    savedQueryId: besom.types.Input[String],
    v1Id: besom.types.Input[String],
    v1Id1: besom.types.Input[String]
  )(using besom.types.Context): SavedQueryArgs =
    new SavedQueryArgs(
      content = content.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      savedQueryId = savedQueryId.asOutput(isSecret = false),
      v1Id = v1Id.asOutput(isSecret = false),
      v1Id1 = v1Id1.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[SavedQueryArgs] =
    besom.internal.Encoder.derived[SavedQueryArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[SavedQueryArgs] =
    besom.internal.ArgsEncoder.derived[SavedQueryArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy