
src.pubsub.v1beta2.GetSubscriptionIamPolicyArgs.scala Maven / Gradle / Ivy
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