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

src.datamigration.v1.GetMigrationJobIamPolicyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.datamigration.v1

final case class GetMigrationJobIamPolicyArgs private(
  location: besom.types.Output[String],
  migrationJobId: besom.types.Output[String],
  optionsRequestedPolicyVersion: besom.types.Output[scala.Option[Int]],
  project: besom.types.Output[scala.Option[String]]
)

object GetMigrationJobIamPolicyArgs:
  def apply(
    location: besom.types.Input[String],
    migrationJobId: besom.types.Input[String],
    optionsRequestedPolicyVersion: besom.types.Input.Optional[Int] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetMigrationJobIamPolicyArgs =
    new GetMigrationJobIamPolicyArgs(
      location = location.asOutput(isSecret = false),
      migrationJobId = migrationJobId.asOutput(isSecret = false),
      optionsRequestedPolicyVersion = optionsRequestedPolicyVersion.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy