
src.pubsub.v1.TopicIamPolicyArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.pubsub.v1
final case class TopicIamPolicyArgs private(
bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.pubsub.v1.inputs.BindingArgs]]],
etag: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
topicId: besom.types.Output[String],
version: besom.types.Output[scala.Option[Int]]
)
object TopicIamPolicyArgs:
def apply(
bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.pubsub.v1.inputs.BindingArgs]]] = scala.None,
etag: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
topicId: besom.types.Input[String],
version: besom.types.Input.Optional[Int] = scala.None
)(using besom.types.Context): TopicIamPolicyArgs =
new TopicIamPolicyArgs(
bindings = bindings.asOptionOutput(isSecret = false),
etag = etag.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
topicId = topicId.asOutput(isSecret = false),
version = version.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[TopicIamPolicyArgs] =
besom.internal.Encoder.derived[TopicIamPolicyArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[TopicIamPolicyArgs] =
besom.internal.ArgsEncoder.derived[TopicIamPolicyArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy