import * as pulumi from "@pulumi/pulumi"; /** * Gets the configuration of a topic. */ export declare function getTopic(args: GetTopicArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetTopicArgs { project?: string; topicId: string; } export interface GetTopicResult { /** * The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. */ readonly name: string; } /** * Gets the configuration of a topic. */ export declare function getTopicOutput(args: GetTopicOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetTopicOutputArgs { project?: pulumi.Input; topicId: pulumi.Input; }