- Resource: Asset
- InsightList
- Insight
- MigrationInsight
- FitDescriptor
- FitLevel
- ComputeEngineMigrationTarget
- ComputeEngineShapeDescriptor
- ComputeStorageDescriptor
- GenericInsight
- AssetPerformanceData
- DailyResourceUsageAggregation
- CPU
- Stats
- Memory
- Network
- Disk
- Methods
Resource: Asset
An asset represents a resource in your environment. Asset types include virtual machines and databases.
| JSON representation |
|---|
{ "name": string, "title": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "attributes": { string: string, ... }, "insightList": { object ( |
| Fields | |
|---|---|
name |
Output only. The full name of the asset. |
title |
Output only. Server generated human readable name of the asset. |
create |
Output only. The timestamp when the asset was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The timestamp when the asset was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Labels as key value pairs. An object containing a list of |
attributes |
Generic asset attributes. An object containing a list of |
insight |
Output only. The list of insights associated with the asset. |
performance |
Output only. Performance data for the asset. |
sources[] |
Output only. The list of sources contributing to the asset. |
assigned |
Output only. The list of groups that the asset is assigned to. |
Union field AssetDetails. The internal information of an asset. Only one field can be specified with different attributes based on the type of the asset. AssetDetails can be only one of the following: |
|
machine |
Output only. Asset information specific for virtual and physical machines. |
database |
Output only. Asset information specific for database deployments. |
database |
Output only. Asset information specific for logical databases. |
InsightList
Message containing insights list.
| JSON representation |
|---|
{
"insights": [
{
object ( |
| Fields | |
|---|---|
insights[] |
Output only. Insights of the list. |
update |
Output only. Update timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Insight
An insight about an asset.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
migration |
Output only. An insight about potential migrations for an asset. |
generic |
Output only. A generic insight about an asset. |
MigrationInsight
An insight about potential migrations for an asset.
| JSON representation |
|---|
{ "fit": { object ( |
| Fields | |
|---|---|
fit |
Output only. Description of how well the asset this insight is associated with fits the proposed migration. |
Union field migration_target. A target for the migration. migration_target can be only one of the following: |
|
compute |
Output only. A Google Compute Engine target. |
FitDescriptor
Describes the fit level of an asset for migration to a specific target.
| JSON representation |
|---|
{
"fitLevel": enum ( |
| Fields | |
|---|---|
fit |
Output only. Fit level. |
FitLevel
Fit level.
| Enums | |
|---|---|
FIT_LEVEL_UNSPECIFIED |
Not enough information. |
FIT |
Fit. |
NO_FIT |
No Fit. |
REQUIRES_EFFORT |
Fit with effort. |
ComputeEngineMigrationTarget
Compute engine migration target.
| JSON representation |
|---|
{
"shape": {
object ( |
| Fields | |
|---|---|
shape |
Description of the suggested shape for the migration target. |
ComputeEngineShapeDescriptor
Compute Engine target shape descriptor.
| JSON representation |
|---|
{
"memoryMb": integer,
"physicalCoreCount": integer,
"logicalCoreCount": integer,
"series": string,
"machineType": string,
"storage": [
{
object ( |
| Fields | |
|---|---|
memory |
Memory in mebibytes. |
physical |
Number of physical cores. |
logical |
Output only. Number of logical cores. |
series |
Output only. Compute Engine machine series. |
machine |
Output only. Compute Engine machine type. |
storage[] |
Output only. Compute Engine storage. Never empty. |
ComputeStorageDescriptor
Compute Engine storage option descriptor.
| JSON representation |
|---|
{
"type": enum ( |
| Fields | |
|---|---|
type |
Output only. Disk type backing the storage. |
size |
Output only. Disk size in GiB. |
GenericInsight
A generic insight about an asset.
| JSON representation |
|---|
{ "messageId": string, "defaultMessage": string, "additionalInformation": [ string ] } |
| Fields | |
|---|---|
message |
Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use defaultMessage instead. |
default |
Output only. In case message_code is not yet known by the client defaultMessage will be the message to be used instead. |
additional |
Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links. |
AssetPerformanceData
Performance data for an asset.
| JSON representation |
|---|
{
"dailyResourceUsageAggregations": [
{
object ( |
| Fields | |
|---|---|
daily |
Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent. |
DailyResourceUsageAggregation
Usage data aggregation for a single day.
| JSON representation |
|---|
{ "date": { object ( |
| Fields | |
|---|---|
date |
Aggregation date. Day boundaries are at midnight UTC. |
cpu |
CPU usage. |
memory |
Memory usage. |
network |
Network usage. |
disk |
Disk usage. |
CPU
Statistical aggregation of CPU usage.
| JSON representation |
|---|
{
"utilizationPercentage": {
object ( |
| Fields | |
|---|---|
utilization |
CPU utilization percentage. |
Stats
Statistical aggregation of samples for a single resource usage.
| JSON representation |
|---|
{ "average": number, "median": number, "ninteyFifthPercentile": number, "peak": number } |
| Fields | |
|---|---|
average |
Average usage value. |
median |
Median usage value. |
nintey |
95th percentile usage value. |
peak |
Peak usage value. |
Memory
Statistical aggregation of memory usage.
| JSON representation |
|---|
{
"utilizationPercentage": {
object ( |
| Fields | |
|---|---|
utilization |
Memory utilization percentage. |
Network
Statistical aggregation of network usage.
| JSON representation |
|---|
{ "ingressBps": { object ( |
| Fields | |
|---|---|
ingress |
Network ingress in B/s. |
egress |
Network egress in B/s. |
Disk
Statistical aggregation of disk usage.
| JSON representation |
|---|
{ "iops": { object ( |
| Fields | |
|---|---|
iops |
Optional. Disk I/O operations per second. |
read |
Optional. Disk read I/O operations per second. |
write |
Optional. Disk write I/O operations per second. |
Methods |
|
|---|---|
|
Aggregates the requested fields based on provided function. |
|
Deletes list of Assets. |
|
Updates the parameters of a list of assets. |
|
Deletes an asset. |
|
Gets the details of an asset. |
|
Lists all the assets in a given project and location. |
|
Updates the parameters of an asset. |
|
Reports a set of frames. |