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

src.cloudfunctions.v2alpha.GetFunctionIamPolicyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.cloudfunctions.v2alpha

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

object GetFunctionIamPolicyArgs:
  def apply(
    functionId: 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): GetFunctionIamPolicyArgs =
    new GetFunctionIamPolicyArgs(
      functionId = functionId.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[GetFunctionIamPolicyArgs] =
    besom.internal.Encoder.derived[GetFunctionIamPolicyArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetFunctionIamPolicyArgs] =
    besom.internal.ArgsEncoder.derived[GetFunctionIamPolicyArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy