ReportDetail

Represents an inventory report generated by a ReportConfig.

For general information about inventory reports in Cloud Storage, see the Storage Insights inventory reports documentation.

{
  "name": string,
  "snapshot_time": "datetime",
  "status": google.rpc.Status,
  "target_datetime": "datetime",
  "report_metrics": {
    "processed_records_count": integer
  },
  "report_path_prefix": string,
  "shards_count": integer
}
Property name Value Description Notes
name string The name of the inventory report, which follows the format projects/project/locations/location/reportConfigs/report-config-id/reportDetails/report-detail-id, where:
  • report-config-id is the UUID of the inventory report configuration that generated the inventory report.
  • report-detail-id is the UUID of the inventory report.
snapshot_time datetime The UTC time at which the data snapshot occurs. All the data in an inventory report is captured at the snapshot.
status google.rpc.Status Any error that the inventory report run generated.
target_datetime datetime The UTC date on which the inventory report is generated.
report_metrics object Different metrics associated with the generated inventory report.
report_metrics.processed_records_count integer The number of objects for which the inventory report was generated.
report_path_prefix string The full report path prefix, in the naming convention gs://DESTINATION_BUCKET/DESTINATION_PATH/REPORT_CONFIG_ID_SNAPSHOT_TIME_.
shards_count integer The total number of shards that the inventory report comprises.

Methods

get
Retrieves an inventory report.
list
Lists all the inventory reports that have been generated from a given inventory report configuration.