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

src.cloudresourcemanager.v1.ProjectIamPolicyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.cloudresourcemanager.v1

final case class ProjectIamPolicyArgs private(
  auditConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudresourcemanager.v1.inputs.AuditConfigArgs]]],
  bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudresourcemanager.v1.inputs.BindingArgs]]],
  etag: besom.types.Output[scala.Option[String]],
  resource: besom.types.Output[String],
  updateMask: besom.types.Output[scala.Option[String]],
  version: besom.types.Output[scala.Option[Int]]
)

object ProjectIamPolicyArgs:
  def apply(
    auditConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.cloudresourcemanager.v1.inputs.AuditConfigArgs]]] = scala.None,
    bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.cloudresourcemanager.v1.inputs.BindingArgs]]] = scala.None,
    etag: besom.types.Input.Optional[String] = scala.None,
    resource: besom.types.Input[String],
    updateMask: besom.types.Input.Optional[String] = scala.None,
    version: besom.types.Input.Optional[Int] = scala.None
  )(using besom.types.Context): ProjectIamPolicyArgs =
    new ProjectIamPolicyArgs(
      auditConfigs = auditConfigs.asOptionOutput(isSecret = false),
      bindings = bindings.asOptionOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      resource = resource.asOutput(isSecret = false),
      updateMask = updateMask.asOptionOutput(isSecret = false),
      version = version.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy