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

src.cloudtasks.v2.QueueIamPolicyArgs.scala Maven / Gradle / Ivy

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

final case class QueueIamPolicyArgs private(
  bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudtasks.v2.inputs.BindingArgs]]],
  etag: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  queueId: besom.types.Output[String],
  version: besom.types.Output[scala.Option[Int]]
)

object QueueIamPolicyArgs:
  def apply(
    bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.cloudtasks.v2.inputs.BindingArgs]]] = scala.None,
    etag: besom.types.Input.Optional[String] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    queueId: besom.types.Input[String],
    version: besom.types.Input.Optional[Int] = scala.None
  )(using besom.types.Context): QueueIamPolicyArgs =
    new QueueIamPolicyArgs(
      bindings = bindings.asOptionOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      queueId = queueId.asOutput(isSecret = false),
      version = version.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy