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

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

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

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy