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

src.compute.beta.GetInstanceIamPolicyArgs.scala Maven / Gradle / Ivy

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

final case class GetInstanceIamPolicyArgs 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 GetInstanceIamPolicyArgs:
  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): GetInstanceIamPolicyArgs =
    new GetInstanceIamPolicyArgs(
      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[GetInstanceIamPolicyArgs] =
    besom.internal.Encoder.derived[GetInstanceIamPolicyArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetInstanceIamPolicyArgs] =
    besom.internal.ArgsEncoder.derived[GetInstanceIamPolicyArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy