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

src.compute.alpha.DiskIamPolicyArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.compute.alpha

final case class DiskIamPolicyArgs private(
  auditConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.inputs.AuditConfigArgs]]],
  bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.inputs.BindingArgs]]],
  etag: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  resource: besom.types.Output[String],
  rules: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.inputs.RuleArgs]]],
  version: besom.types.Output[scala.Option[Int]],
  zone: besom.types.Output[scala.Option[String]]
)

object DiskIamPolicyArgs:
  def apply(
    auditConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.inputs.AuditConfigArgs]]] = scala.None,
    bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.inputs.BindingArgs]]] = scala.None,
    etag: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    resource: besom.types.Input[String],
    rules: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.inputs.RuleArgs]]] = scala.None,
    version: besom.types.Input.Optional[Int] = scala.None,
    zone: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): DiskIamPolicyArgs =
    new DiskIamPolicyArgs(
      auditConfigs = auditConfigs.asOptionOutput(isSecret = false),
      bindings = bindings.asOptionOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      resource = resource.asOutput(isSecret = false),
      rules = rules.asOptionOutput(isSecret = false),
      version = version.asOptionOutput(isSecret = false),
      zone = zone.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy