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

src.compute.beta.GetResourcePolicyIamPolicyArgs.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 GetResourcePolicyIamPolicyArgs private(
  optionsRequestedPolicyVersion: besom.types.Output[scala.Option[Int]],
  project: besom.types.Output[scala.Option[String]],
  region: besom.types.Output[String],
  resource: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy