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

src.compute.v1.BackendServiceIamPolicyArgs.scala Maven / Gradle / Ivy

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

final case class BackendServiceIamPolicyArgs private(
  auditConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.v1.inputs.AuditConfigArgs]]],
  bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.v1.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.v1.inputs.RuleArgs]]],
  version: besom.types.Output[scala.Option[Int]]
)

object BackendServiceIamPolicyArgs:
  def apply(
    auditConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.v1.inputs.AuditConfigArgs]]] = scala.None,
    bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.v1.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.v1.inputs.RuleArgs]]] = scala.None,
    version: besom.types.Input.Optional[Int] = scala.None
  )(using besom.types.Context): BackendServiceIamPolicyArgs =
    new BackendServiceIamPolicyArgs(
      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)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy