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

src.sourcerepo.v1.GetRepoIamPolicyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.sourcerepo.v1

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy