/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ProjectStorageLocationUsage } from './ProjectStorageLocationUsage'; /** * This upload destination contains information to start an upload to an external Google Cloud Storage bucket connected with synapse. The destination is mapped from an ExternalGoogleCloudStorageLocationSetting. * @export * @interface ExternalGoogleCloudUploadDestination */ export interface ExternalGoogleCloudUploadDestination { /** * Indicates which implementation this object represents. * @type {string} * @memberof ExternalGoogleCloudUploadDestination */ concreteType: ExternalGoogleCloudUploadDestinationConcreteTypeEnum; /** * the unique id for the storage location, that points to the StorageLocationSetting * @type {number} * @memberof ExternalGoogleCloudUploadDestination */ storageLocationId?: number; /** * The enumeration of possible upload types. * @type {string} * @memberof ExternalGoogleCloudUploadDestination */ uploadType?: ExternalGoogleCloudUploadDestinationUploadTypeEnum; /** * If set, the client should show this banner every time an upload is initiated * @type {string} * @memberof ExternalGoogleCloudUploadDestination */ banner?: string; /** * The ID of the project where this file will be uploaded. * @type {string} * @memberof ExternalGoogleCloudUploadDestination */ destinationProjectId?: string; /** * * @type {ProjectStorageLocationUsage} * @memberof ExternalGoogleCloudUploadDestination */ projectStorageLocationUsage?: ProjectStorageLocationUsage; /** * the optional base key, which acts as a prefix or a base folder * @type {string} * @memberof ExternalGoogleCloudUploadDestination */ baseKey?: string; /** * the bucket to use * @type {string} * @memberof ExternalGoogleCloudUploadDestination */ bucket?: string; } /** * @export */ export declare const ExternalGoogleCloudUploadDestinationConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_file_ExternalGoogleCloudUploadDestination: "org.sagebionetworks.repo.model.file.ExternalGoogleCloudUploadDestination"; }; export type ExternalGoogleCloudUploadDestinationConcreteTypeEnum = typeof ExternalGoogleCloudUploadDestinationConcreteTypeEnum[keyof typeof ExternalGoogleCloudUploadDestinationConcreteTypeEnum]; /** * @export */ export declare const ExternalGoogleCloudUploadDestinationUploadTypeEnum: { readonly S3: "S3"; readonly GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE"; readonly SFTP: "SFTP"; readonly HTTPS: "HTTPS"; readonly PROXYLOCAL: "PROXYLOCAL"; readonly NONE: "NONE"; }; export type ExternalGoogleCloudUploadDestinationUploadTypeEnum = typeof ExternalGoogleCloudUploadDestinationUploadTypeEnum[keyof typeof ExternalGoogleCloudUploadDestinationUploadTypeEnum]; /** * Check if a given object implements the ExternalGoogleCloudUploadDestination interface. */ export declare function instanceOfExternalGoogleCloudUploadDestination(value: object): value is ExternalGoogleCloudUploadDestination; export declare function ExternalGoogleCloudUploadDestinationFromJSON(json: any): ExternalGoogleCloudUploadDestination; export declare function ExternalGoogleCloudUploadDestinationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalGoogleCloudUploadDestination; export declare function ExternalGoogleCloudUploadDestinationToJSON(json: any): ExternalGoogleCloudUploadDestination; export declare function ExternalGoogleCloudUploadDestinationToJSONTyped(value?: ExternalGoogleCloudUploadDestination | null, ignoreDiscriminator?: boolean): any;