- Resource: Report
- Type
- State
- ReportSummary
- AssetAggregateStats
- UtilizationChartData
- ChartData
- DataPoint
- HistogramChartData
- Bucket
- GroupFinding
- GroupPreferenceSetFinding
- Money
- ComputeEngineFinding
- MachineSeriesAllocation
- PersistentDiskType
- Methods
Resource: Report
Report represents a point-in-time rendering of the ReportConfig results.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "displayName": string, "description": string, "type": enum ( |
Fields | |
---|---|
name |
Output only. Name of resource. |
createTime |
Output only. Creation timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Last update timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
displayName |
User-friendly display name. Maximum length is 63 characters. |
description |
Free-text description. |
type |
Report type. |
state |
Report creation state. |
summary |
Output only. Summary view of the Report. |
Type
Report type.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Default Report type. |
TOTAL_COST_OF_OWNERSHIP |
Total cost of ownership Report type. |
State
Report creation state.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default Report creation state. |
PENDING |
Creating Report. |
SUCCEEDED |
Successfully created Report. |
FAILED |
Failed to create Report. |
ReportSummary
Describes the Summary view of a Report, which contains aggregated values for all the groups and preference sets included in this Report.
JSON representation |
---|
{ "allAssetsStats": { object ( |
Fields | |
---|---|
allAssetsStats |
Aggregate statistics for all the assets across all the groups. |
groupFindings[] |
Findings for each Group included in this report. |
AssetAggregateStats
Aggregate statistics for a collection of assets.
JSON representation |
---|
{ "totalMemoryBytes": string, "totalStorageBytes": string, "totalCores": string, "totalAssets": string, "memoryUtilizationChart": { object ( |
Fields | |
---|---|
totalMemoryBytes |
Sum of the memory in bytes of all the assets in this collection. |
totalStorageBytes |
Sum of persistent storage in bytes of all the assets in this collection. |
totalCores |
Sum of the CPU core count of all the assets in this collection. |
totalAssets |
Count of the number of unique assets in this collection. |
memoryUtilizationChart |
Total memory split into Used/Free buckets. |
storageUtilizationChart |
Total memory split into Used/Free buckets. |
operatingSystem |
Count of assets grouped by Operating System families. |
coreCountHistogram |
Histogram showing a distribution of CPU core counts. |
memoryBytesHistogram |
Histogram showing a distribution of memory sizes. |
storageBytesHistogram |
Histogram showing a distribution of memory sizes. |
UtilizationChartData
Utilization Chart is a specific type of visualization which displays a metric classified into "Used" and "Free" buckets.
JSON representation |
---|
{ "used": string, "free": string } |
Fields | |
---|---|
used |
Aggregate value which falls into the "Used" bucket. |
free |
Aggregate value which falls into the "Free" bucket. |
ChartData
Describes a collection of data points rendered as a Chart.
JSON representation |
---|
{
"dataPoints": [
{
object ( |
Fields | |
---|---|
dataPoints[] |
Each data point in the chart is represented as a name-value pair with the name being the x-axis label, and the value being the y-axis value. |
DataPoint
Describes a single data point in the Chart.
JSON representation |
---|
{ "label": string, "value": number } |
Fields | |
---|---|
label |
The X-axis label for this data point. |
value |
The Y-axis value for this data point. |
HistogramChartData
A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket.
JSON representation |
---|
{
"buckets": [
{
object ( |
Fields | |
---|---|
buckets[] |
Buckets in the histogram. There will be |
Bucket
A histogram bucket with a lower and upper bound, and a count of items with a field value between those bounds. The lower bound is inclusive and the upper bound is exclusive. Lower bound may be -infinity and upper bound may be infinity.
JSON representation |
---|
{ "lowerBound": string, "upperBound": string, "count": string } |
Fields | |
---|---|
lowerBound |
Lower bound - inclusive. |
upperBound |
Upper bound - exclusive. |
count |
Count of items in the bucket. |
GroupFinding
Summary Findings for a specific Group.
JSON representation |
---|
{ "displayName": string, "description": string, "assetAggregateStats": { object ( |
Fields | |
---|---|
displayName |
Display Name for the Group. |
description |
Description for the Group. |
assetAggregateStats |
Summary statistics for all the assets in this group. |
overlappingAssetCount |
Count of the number of assets in this group which are also included in another group within the same report. |
preferenceSetFindings[] |
Findings for each of the PreferenceSets for this group. |
GroupPreferenceSetFinding
Summary Findings for a specific Group/PreferenceSet combination.
JSON representation |
---|
{ "displayName": string, "description": string, "machinePreferences": { object ( |
Fields | |
---|---|
displayName |
Display Name of the Preference Set |
description |
Description for the Preference Set. |
machinePreferences |
A set of preferences that applies to all machines in the context. |
monthlyCostTotal |
Total monthly cost for this preference set. |
monthlyCostCompute |
Compute monthly cost for this preference set. |
monthlyCostOsLicense |
Licensing monthly cost for this preference set. |
monthlyCostNetworkEgress |
Network Egress monthly cost for this preference set. |
monthlyCostStorage |
Storage monthly cost for this preference set. |
monthlyCostOther |
Miscellaneous monthly cost for this preference set. |
computeEngineFinding |
A set of findings that applies to Compute Engine machines in the input. |
Money
Represents an amount of money with its currency type.
JSON representation |
---|
{ "currencyCode": string, "units": string, "nanos": integer } |
Fields | |
---|---|
currencyCode |
The three-letter currency code defined in ISO 4217. |
units |
The whole units of the amount. For example if |
nanos |
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If |
ComputeEngineFinding
A set of findings that applies to assets destined for Compute Engine.
JSON representation |
---|
{ "allocatedRegions": [ string ], "allocatedAssetCount": string, "machineSeriesAllocations": [ { object ( |
Fields | |
---|---|
allocatedRegions[] |
Set of regions in which the assets were allocated. |
allocatedAssetCount |
Count of assets which were allocated. |
machineSeriesAllocations[] |
Distribution of assets based on the Machine Series. |
allocatedDiskTypes[] |
Set of disk types allocated to assets. |
MachineSeriesAllocation
Represents a data point tracking the count of assets allocated for a specific Machine Series.
JSON representation |
---|
{
"machineSeries": {
object ( |
Fields | |
---|---|
machineSeries |
The Machine Series (e.g. "E2", "N2") |
allocatedAssetCount |
Count of assets allocated to this machine series. |
PersistentDiskType
The persistent disk (PD) types of Compute Engine virtual machines.
Enums | |
---|---|
PERSISTENT_DISK_TYPE_UNSPECIFIED |
Unspecified (default value). Selecting this value allows the system to use any disk type according to reported usage. This a good value to start with. |
PERSISTENT_DISK_TYPE_STANDARD |
Standard HDD Persistent Disk. |
PERSISTENT_DISK_TYPE_BALANCED |
Balanced Persistent Disk. |
PERSISTENT_DISK_TYPE_SSD |
SSD Persistent Disk. |
Methods |
|
---|---|
|
Creates a report. |
|
Deletes a Report. |
|
Gets details of a single Report. |
|
Lists Reports in a given ReportConfig. |