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

src.iam.v1.RoleArgs.scala Maven / Gradle / Ivy

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

final case class RoleArgs private(
  deleted: besom.types.Output[scala.Option[Boolean]],
  description: besom.types.Output[scala.Option[String]],
  etag: besom.types.Output[scala.Option[String]],
  includedPermissions: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  roleId: besom.types.Output[scala.Option[String]],
  stage: besom.types.Output[scala.Option[besom.api.googlenative.iam.v1.enums.RoleStage]],
  title: besom.types.Output[scala.Option[String]]
)

object RoleArgs:
  def apply(
    deleted: besom.types.Input.Optional[Boolean] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    etag: besom.types.Input.Optional[String] = scala.None,
    includedPermissions: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    roleId: besom.types.Input.Optional[String] = scala.None,
    stage: besom.types.Input.Optional[besom.api.googlenative.iam.v1.enums.RoleStage] = scala.None,
    title: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): RoleArgs =
    new RoleArgs(
      deleted = deleted.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      includedPermissions = includedPermissions.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      roleId = roleId.asOptionOutput(isSecret = false),
      stage = stage.asOptionOutput(isSecret = false),
      title = title.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy