@cloud-carbon-footprint/gcp
Version:
The core logic to get cloud usage data and estimate energy and carbon emissions from Google Cloud Platform.
12 lines (9 loc) • 455 B
text/typescript
import { google } from '@google-cloud/compute/build/protos/protos'
import InstancesScopedList = google.cloud.compute.v1.IInstancesScopedList
import DisksScopedList = google.cloud.compute.v1.IDisksScopedList
import AddressesScopedList = google.cloud.compute.v1.AddressesScopedList
export type IterableScopedList = AsyncIterable<ScopedListResult>
export type ScopedListResult = [
string,
InstancesScopedList | DisksScopedList | AddressesScopedList,
]