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

src.ids.v1.EndpointIamBindingArgs.scala Maven / Gradle / Ivy

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

final case class EndpointIamBindingArgs 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 EndpointIamBindingArgs:
  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): EndpointIamBindingArgs =
    new EndpointIamBindingArgs(
      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[EndpointIamBindingArgs] =
    besom.internal.Encoder.derived[EndpointIamBindingArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointIamBindingArgs] =
    besom.internal.ArgsEncoder.derived[EndpointIamBindingArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy