1 | import { Monitor } from '@neo-one/monitor-esnext-esm';
|
2 | import { Environment } from '../types';
|
3 | import { Provider } from './Provider';
|
4 | export interface Options {
|
5 | readonly projectID: string;
|
6 | readonly bucket: string;
|
7 | readonly prefix: string;
|
8 | readonly keepBackupCount?: number;
|
9 | readonly maxSizeBytes?: number;
|
10 | }
|
11 | export declare class GCloudProvider extends Provider {
|
12 | private readonly environment;
|
13 | private readonly options;
|
14 | constructor({ environment, options }: {
|
15 | readonly environment: Environment;
|
16 | readonly options: Options;
|
17 | });
|
18 | canRestore(): Promise<boolean>;
|
19 | restore(monitorIn: Monitor): Promise<void>;
|
20 | backup(monitorIn: Monitor): Promise<void>;
|
21 | private getLatestTime;
|
22 | private getStorage;
|
23 | }
|