import * as pulumi from "@pulumi/pulumi"; /** * Gets details of a single Api. */ export declare function getApi(args: GetApiArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetApiArgs { apiId: string; location: string; project?: string; } export interface GetApiResult { /** * Created time. */ readonly createTime: string; /** * Optional. Display name. */ readonly displayName: string; /** * Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */ readonly labels: { [key: string]: string; }; /** * Optional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API. */ readonly managedService: string; /** * Resource name of the API. Format: projects/{project}/locations/global/apis/{api} */ readonly name: string; /** * State of the API. */ readonly state: string; /** * Updated time. */ readonly updateTime: string; } /** * Gets details of a single Api. */ export declare function getApiOutput(args: GetApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetApiOutputArgs { apiId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }