- 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. |
create |
Output only. Creation timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. Last update timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
display |
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 | |
---|---|
all |
Aggregate statistics for unique assets across all the groups. |
virtual |
Output only. Aggregate statistics for unique virtual machine assets across all the groups. |
database |
Output only. Aggregate statistics for unique database assets across all the groups. |
group |
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 | |
---|---|
total |
Sum of the memory in bytes of all the assets in this collection. |
total |
Sum of persistent storage in bytes of all the assets in this collection. |
total |
Sum of the CPU core count of all the assets in this collection. |
total |
Count of the number of unique assets in this collection. |
memoryUtilization |
Total memory split into Used/Free buckets. |
memory |
Total memory split into Used/Free buckets. |
storageUtilization |
Total storage split into Used/Free buckets. |
storage |
Total memory split into Used/Free buckets. |
assetAge |
Count of assets grouped by age. |
operating |
Count of assets grouped by Operating System families. Only present for virtual machines. |
core |
Histogram showing a distribution of logical CPU core counts. |
memory |
Histogram showing a distribution of memory sizes. |
storage |
Histogram showing a distribution of storage sizes. |
database |
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 | |
---|---|
data |
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 | |
---|---|
lower |
Lower bound - inclusive. |
upper |
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. |
display |
Display Name for this group finding. |
description |
Description for this group finding. |
asset |
Summary statistics for all the assets in this group. |
asset |
Output only. Asset type for the group finding. |
database |
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. |
preference |
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 |
PostgreSQL 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 | |
---|---|
display |
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 |
machine |
A set of preferences that applies to all machines in the context. |
preference |
Output only. A copy of the preference set used for this finding. |
monthly |
Output only. Total monthly cost for this preference set. |
monthly |
Output only. Compute monthly cost for this preference set. |
monthly |
Output only. All operating systems licensing monthly cost for this preference set. Only present for virtual machines. |
monthly |
Output only. Network Egress monthly cost for this preference set. Only present for virtual machines. |
monthly |
Output only. Storage monthly cost for this preference set. |
monthly |
Output only. GCVE Protected nodes cost for this preference set. |
monthly |
Output only. Backup monthly cost for this preference set. Only present for databases. |
monthly |
Output only. Database licensing monthly cost for this preference set. Only present for databases. |
monthly |
Output only. Miscellaneous monthly cost for this preference set. |
monthly |
Output only. VMware portable license monthly cost for this preference set. Only present for VMware target with portable license service type. This cost is not paid to google, but is an estimate of license costs paid to VMware. |
machine |
Output only. A set of findings that applies to all virtual machines in the input. Only present for virtual machines. |
vmware |
A set of findings that applies to VMWare machines in the input. Only present for virtual machines. |
sole |
A set of findings that applies to Stole-Tenant machines in the input. Only present for virtual machines. |
database |
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 | |
---|---|
currency |
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 | |
---|---|
allocated |
Set of regions in which the assets were allocated. |
allocated |
Count of assets which were allocated. |
machine |
Distribution of assets based on the Machine Series. |
allocated |
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 | |
---|---|
machine |
The Machine Series (e.g. "E2", "N2") |
allocated |
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 | |
---|---|
allocated |
Set of regions in which the assets were allocated |
allocated |
Count of assets which are allocated |
node |
Set of per-nodetype allocation records |
VMWareNodeAllocation
Represents assets allocated to a specific VMWare Node type.
JSON representation |
---|
{
"vmwareNode": {
object ( |
Fields | |
---|---|
vmware |
VMWare node type, e.g. "ve1-standard-72" |
node |
Count of this node type to be provisioned |
allocated |
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 | |
---|---|
allocated |
Set of regions in which the assets are allocated |
allocated |
Count of assets which are allocated |
node |
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" |
node |
Count of this node type to be provisioned |
allocated |
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 | |
---|---|
allocated |
Output only. Number of database assets which were successfully assigned in this finding. |
total |
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. |