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

src.pubsub.v1.GetSnapshotIamPolicyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.pubsub.v1

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy