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

src.cloudbilling.v1.BillingAccountIamPolicyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.cloudbilling.v1

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy