import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets information associated with a ReferenceImage. Possible errors: * Returns NOT_FOUND if the specified image does not exist. */ export declare function getReferenceImage(args: GetReferenceImageArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetReferenceImageArgs { location: string; productId: string; project?: string; referenceImageId: string; } export interface GetReferenceImageResult { /** * Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not). */ readonly boundingPolys: outputs.vision.v1.BoundingPolyResponse[]; /** * The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image. */ readonly name: string; /** * The Google Cloud Storage URI of the reference image. The URI must start with `gs://`. */ readonly uri: string; } /** * Gets information associated with a ReferenceImage. Possible errors: * Returns NOT_FOUND if the specified image does not exist. */ export declare function getReferenceImageOutput(args: GetReferenceImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetReferenceImageOutputArgs { location: pulumi.Input; productId: pulumi.Input; project?: pulumi.Input; referenceImageId: pulumi.Input; }