Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class ReportDetail.
Message describing ReportDetail object. ReportDetail represents metadata of generated reports for a ReportConfig.
Next ID: 10
Generated from protobuf message google.cloud.storageinsights.v1.ReportDetail
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of resource. It will be of form projects/
↳ snapshot_time
Google\Protobuf\Timestamp
The snapshot time. All the report data is referenced at this point of time.
↳ report_path_prefix
string
Prefix of the object name of each report's shard. This will have full prefix except the "extension" and "shard_id". For example, if the destination_path
is {{report-config-id}}/dt={{datetime}}
, the shard object name would be gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_5.csv
and the value of report_path_prefix
field would be gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_
.
↳ shards_count
int|string
Total shards generated for the report.
↳ status
↳ labels
↳ target_datetime
Google\Type\DateTime
The date for which report is generated. The time part of target_datetime will be zero till we support multiple reports per day.
↳ report_metrics
getName
Name of resource. It will be of form projects/
string
setName
Name of resource. It will be of form projects/
var
string
$this
getSnapshotTime
The snapshot time.
All the report data is referenced at this point of time.
hasSnapshotTime
clearSnapshotTime
setSnapshotTime
The snapshot time.
All the report data is referenced at this point of time.
$this
getReportPathPrefix
Prefix of the object name of each report's shard. This will have full prefix except the "extension" and "shard_id".
For example, if the destination_path
is {{report-config-id}}/dt={{datetime}}
, the shard object name would be gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_5.csv
and the value of report_path_prefix
field would be gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_
.
string
setReportPathPrefix
Prefix of the object name of each report's shard. This will have full prefix except the "extension" and "shard_id".
For example, if the destination_path
is {{report-config-id}}/dt={{datetime}}
, the shard object name would be gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_5.csv
and the value of report_path_prefix
field would be gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_
.
var
string
$this
getShardsCount
Total shards generated for the report.
int|string
setShardsCount
Total shards generated for the report.
var
int|string
$this
getStatus
Status of the ReportDetail.
hasStatus
clearStatus
setStatus
Status of the ReportDetail.
$this
getLabels
Labels as key value pairs
setLabels
Labels as key value pairs
$this
getTargetDatetime
The date for which report is generated. The time part of target_datetime will be zero till we support multiple reports per day.
hasTargetDatetime
clearTargetDatetime
setTargetDatetime
The date for which report is generated. The time part of target_datetime will be zero till we support multiple reports per day.
$this
getReportMetrics
Metrics of the report.
hasReportMetrics
clearReportMetrics
setReportMetrics
Metrics of the report.
$this