- Resource: Report
- Type
- State
- ReportSummary
- AssetAggregateStats
- ChartData
- DataPoint
- UtilizationChartData
- HistogramChartData
- Bucket
- GroupFinding
- AssetType
- DatabaseType
- GroupPreferenceSetFinding
- Money
- MachineFinding
- MachineSeriesAllocation
- VMWareEngineFinding
- VMWareNodeAllocation
- VMWareNode
- SoleTenantFinding
- SoleTenantNodeAllocation
- DatabaseFinding
- 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 unique assets across all the groups. |
virtualMachineStats |
Output only. Aggregate statistics for unique virtual machine assets across all the groups. |
databaseStats |
Output only. Aggregate statistics for unique database 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, "memoryUtilization": { 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. |
memoryUtilization |
Total memory split into Used/Free buckets. |
memoryUtilizationChart |
Total memory split into Used/Free buckets. |
storageUtilization |
Total storage split into Used/Free buckets. |
storageUtilizationChart |
Total memory split into Used/Free buckets. |
assetAge |
Count of assets grouped by age. |
operatingSystem |
Count of assets grouped by Operating System families. Only present for virtual machines. |
coreCountHistogram |
Histogram showing a distribution of CPU core counts. |
memoryBytesHistogram |
Histogram showing a distribution of memory sizes. |
storageBytesHistogram |
Histogram showing a distribution of storage sizes. |
databaseTypes |
Output only. Count of assets grouped by database type. Keys here are taken from DatabaseType enum. Only present for databases. |
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. |
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. |
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 |
---|
{ "group": string, "displayName": string, "description": string, "assetAggregateStats": { object ( |
Fields | |
---|---|
group |
Output only. Full name of the group. |
displayName |
Display Name for this group finding. |
description |
Description for this group finding. |
assetAggregateStats |
Summary statistics for all the assets in this group. |
assetType |
Output only. Asset type for the group finding. |
databaseType |
Output only. Source asset database type for the group finding. Only present for databases. |
overlappingAssetCount |
This field is deprecated, do not rely on it having a value. |
preferenceSetFindings[] |
Findings for each of the PreferenceSets for this group. |
AssetType
Supported asset types.
Enums | |
---|---|
ASSET_TYPE_UNSPECIFIED |
Unknown asset type. |
VIRTUAL_MACHINE |
Virtual Machine asset type |
DATABASE |
Database asset type |
DatabaseType
Supported database types.
Enums | |
---|---|
DATABASE_TYPE_UNSPECIFIED |
Unknown database type. |
SQL_SERVER |
SQL Server database. |
MYSQL |
MySQL database. |
POSTGRES |
Postgres database. |
GroupPreferenceSetFinding
Summary Findings for a specific Group/PreferenceSet combination.
JSON representation |
---|
{ "displayName": string, "description": string, "preferredRegion": string, "pricingTrack": string, "topPriority": string, "machinePreferences": { object ( |
Fields | |
---|---|
displayName |
Display Name of the Preference Set |
description |
Description for the Preference Set. |
preferredRegion |
Target region for this Preference Set |
pricingTrack |
Text describing the pricing track specified for this Preference Set |
topPriority |
Text describing the business priority specified for this Preference Set |
machinePreferences |
A set of preferences that applies to all machines in the context. |
preferenceSet |
Output only. A copy of the preference set used for this finding. |
monthlyCostTotal |
Total monthly cost for this preference set. |
monthlyCostCompute |
Compute monthly cost for this preference set. |
monthlyCostOsLicense |
Operating system licensing monthly cost for this preference set. Only present for virtual machines. |
monthlyCostNetworkEgress |
Network Egress monthly cost for this preference set. Only present for virtual machines. |
monthlyCostStorage |
Storage monthly cost for this preference set. |
monthlyCostDatabaseBackup |
Output only. Backup monthly cost for this preference set. Only present for databases. |
monthlyCostDatabaseLicensing |
Output only. Database licensing monthly cost for this preference set. For virtual machines denotes the cost of licenses for hosted databases. |
monthlyCostOther |
Miscellaneous monthly cost for this preference set. |
machineFinding |
Output only. A set of findings that applies to all virtual machines in the input. Only present for virtual machines. |
vmwareEngineFinding |
A set of findings that applies to VMWare machines in the input. Only present for virtual machines. |
soleTenantFinding |
A set of findings that applies to Stole-Tenant machines in the input. Only present for virtual machines. |
databaseFinding |
Output only. Details about databases in this finding. Only present for databases. |
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 |
MachineFinding
A set of findings that applies to assets of type Virtual/Physical Machine.
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. |
VMWareEngineFinding
A set of findings that applies to assets destined for VMWare Engine.
JSON representation |
---|
{
"allocatedRegions": [
string
],
"allocatedAssetCount": string,
"nodeAllocations": [
{
object ( |
Fields | |
---|---|
allocatedRegions[] |
Set of regions in which the assets were allocated |
allocatedAssetCount |
Count of assets which are allocated |
nodeAllocations[] |
Set of per-nodetype allocation records |
VMWareNodeAllocation
Represents assets allocated to a specific VMWare Node type.
JSON representation |
---|
{
"vmwareNode": {
object ( |
Fields | |
---|---|
vmwareNode |
VMWare node type, e.g. "ve1-standard-72" |
nodeCount |
Count of this node type to be provisioned |
allocatedAssetCount |
Count of assets allocated to these nodes |
VMWareNode
A VMWare Engine Node
JSON representation |
---|
{ "code": string } |
Fields | |
---|---|
code |
Code to identify VMware Engine node series, e.g. "ve1-standard-72". Based on the displayName of cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes |
SoleTenantFinding
A set of findings that applies to assets destined for Sole-Tenant nodes.
JSON representation |
---|
{
"allocatedRegions": [
string
],
"allocatedAssetCount": string,
"nodeAllocations": [
{
object ( |
Fields | |
---|---|
allocatedRegions[] |
Set of regions in which the assets are allocated |
allocatedAssetCount |
Count of assets which are allocated |
nodeAllocations[] |
Set of per-nodetype allocation records |
SoleTenantNodeAllocation
Represents the assets allocated to a specific Sole-Tenant node type.
JSON representation |
---|
{
"node": {
object ( |
Fields | |
---|---|
node |
Sole Tenant node type, e.g. "m3-node-128-3904" |
nodeCount |
Count of this node type to be provisioned |
allocatedAssetCount |
Count of assets allocated to these nodes |
DatabaseFinding
DatabaseFinding contains an aggregate costs and shapes for a single database type.
JSON representation |
---|
{ "allocatedAssetCount": string, "totalAssets": string } |
Fields | |
---|---|
allocatedAssetCount |
Output only. Number of database assets which were successfully assigned in this finding. |
totalAssets |
Output only. Number of database assets in this finding. |
Methods |
|
---|---|
|
Creates a report. |
|
Deletes a Report. |
|
Gets details of a single Report. |
|
Lists Reports in a given ReportConfig. |