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

src.iap.v1.V1IamBindingArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.iap.v1

final case class V1IamBindingArgs private(
  condition: besom.types.Output[scala.Option[besom.api.googlenative.iam.v1.inputs.ConditionArgs]],
  members: besom.types.Output[scala.collection.immutable.List[String]],
  name: besom.types.Output[String],
  role: besom.types.Output[String]
)

object V1IamBindingArgs:
  def apply(
    condition: besom.types.Input.Optional[besom.api.googlenative.iam.v1.inputs.ConditionArgs] = scala.None,
    members: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
    name: besom.types.Input[String],
    role: besom.types.Input[String]
  )(using besom.types.Context): V1IamBindingArgs =
    new V1IamBindingArgs(
      condition = condition.asOptionOutput(isSecret = false),
      members = members.asOutput(isSecret = false),
      name = name.asOutput(isSecret = false),
      role = role.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy