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

src.run.v1.GetJobIamPolicyArgs.scala Maven / Gradle / Ivy

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

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy