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

src.compute.alpha.GetDiskIamPolicyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.compute.alpha

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy