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

src.pubsub.v1beta2.GetSubscriptionIamPolicyArgs.scala Maven / Gradle / Ivy

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

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy