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

src.containeranalysis.v1.OccurrenceIamMemberArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.containeranalysis.v1

final case class OccurrenceIamMemberArgs private(
  condition: besom.types.Output[scala.Option[besom.api.googlenative.iam.v1.inputs.ConditionArgs]],
  member: besom.types.Output[String],
  name: besom.types.Output[String],
  role: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy