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

src.run.v2.JobIamPolicyArgs.scala Maven / Gradle / Ivy

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

final case class JobIamPolicyArgs private(
  auditConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.run.v2.inputs.GoogleIamV1AuditConfigArgs]]],
  bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.run.v2.inputs.GoogleIamV1BindingArgs]]],
  etag: besom.types.Output[scala.Option[String]],
  jobId: besom.types.Output[String],
  location: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  updateMask: besom.types.Output[scala.Option[String]],
  version: besom.types.Output[scala.Option[Int]]
)

object JobIamPolicyArgs:
  def apply(
    auditConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.run.v2.inputs.GoogleIamV1AuditConfigArgs]]] = scala.None,
    bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.run.v2.inputs.GoogleIamV1BindingArgs]]] = scala.None,
    etag: besom.types.Input.Optional[String] = scala.None,
    jobId: besom.types.Input[String],
    location: besom.types.Input.Optional[String] = scala.None,
    project: 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): JobIamPolicyArgs =
    new JobIamPolicyArgs(
      auditConfigs = auditConfigs.asOptionOutput(isSecret = false),
      bindings = bindings.asOptionOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      jobId = jobId.asOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      updateMask = updateMask.asOptionOutput(isSecret = false),
      version = version.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy