- Resource: Asset
- InsightList
- Insight
- MigrationInsight
- FitDescriptor
- FitLevel
- ComputeEngineMigrationTarget
- ComputeEngineShapeDescriptor
- ComputeStorageDescriptor
- VmwareEngineMigrationTarget
- GoogleKubernetesEngineMigrationTarget
- CloudDatabaseMigrationTarget
- CloudSqlForSqlServerShape
- SqlServerVersion
- CloudSqlForMySqlShape
- MySqlVersion
- CloudSqlForPostgreSqlShape
- PostgreSqlVersion
- ComputeEngineSoleTenantMigrationTarget
- Issue
- CompatibilityIssue
- Category
- ObjectType
- GenericInsight
- SoftwareInsight
- DetectedSoftware
- 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. |
createTime |
Output only. The timestamp when the asset was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The timestamp when the asset was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Labels as key value pairs. An object containing a list of |
attributes |
Generic asset attributes. An object containing a list of |
insightList |
Output only. The list of insights associated with the asset. |
performanceData |
Performance data for the asset. |
sources[] |
Output only. The list of sources contributing to the asset. |
assignedGroups[] |
Output only. The list of groups that the asset is assigned to. |
hideReason |
Optional. An optional reason for marking this asset as hidden. |
hideTime |
Output only. The timestamp when the asset was marked as hidden. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field AssetInfo. The internal information of an asset. Only one field can be specified with different attributes based on the type of the asset. AssetInfo can be only one of the following: |
|
virtualMachineDetails |
Output only. Asset information specific for virtual machines. |
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: |
|
machineDetails |
Output only. Asset information specific for virtual machines. |
databaseDeploymentDetails |
Output only. Asset information specific for database deployments. |
databaseDetails |
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. |
updateTime |
Output only. Update timestamp. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Insight
An insight about an asset.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
migrationInsight |
Output only. An insight about potential migrations for an asset. |
genericInsight |
Output only. A generic insight about an asset. |
softwareInsight |
Output only. An insight regarding software detected on 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. |
issues[] |
Output only. Issues associated with this migration. |
Union field migration_target. A target for the migration. migration_target can be only one of the following: |
|
computeEngineTarget |
Output only. A Google Compute Engine target. |
vmwareEngineTarget |
Output only. A VMWare Engine target. |
gkeTarget |
Output only. A Google Kubernetes Engine target. |
cloudDatabaseTarget |
Output only. A Cloud database migration target. |
computeEngineSoleTenantTarget |
Output only. A Google Compute Engine Sole Tenant target. |
FitDescriptor
Describes the fit level of an asset for migration to a specific target.
| JSON representation |
|---|
{
"fitLevel": enum ( |
| Fields | |
|---|---|
fitLevel |
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 | |
|---|---|
memoryMb |
Output only. Memory in mebibytes. |
physicalCoreCount |
Output only. Number of physical cores. |
logicalCoreCount |
Output only. Number of logical cores. |
series |
Output only. Compute Engine machine series. |
machineType |
Output only. Compute Engine machine type. |
storage[] |
Output only. Compute Engine storage. Never empty. |
smtEnabled |
Output only. Whether simultaneous multithreading is enabled (see https://cloud.google.com/compute/docs/instances/set-threads-per-core). |
ComputeStorageDescriptor
Compute Engine storage option descriptor.
| JSON representation |
|---|
{
"type": enum ( |
| Fields | |
|---|---|
type |
Output only. Disk type backing the storage. |
sizeGb |
Disk size in GiB. |
VmwareEngineMigrationTarget
This type has no fields.
VMWare engine migration target.
GoogleKubernetesEngineMigrationTarget
This type has no fields.
GKE migration target.
CloudDatabaseMigrationTarget
Cloud database migration target.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field shape. Proposed shape of the database after migration. An empty shape represents the migration target on insights when there is no suggested shape. shape can be only one of the following: |
|
cloudSqlShape |
Cloud SQL for SQL Server database shape. |
cloudSqlForMysqlShape |
Cloud SQL for MySQL database shape. |
cloudSqlForPostgresqlShape |
Cloud SQL for PostgreSQL database shape. |
CloudSqlForSqlServerShape
Cloud SQL for SQL Server database shape.
| JSON representation |
|---|
{ "logicalCoreCount": integer, "memoryMb": integer, "storage": { object ( |
| Fields | |
|---|---|
logicalCoreCount |
Output only. Number of logical cores. |
memoryMb |
Output only. Predicted amount of memory in MiB. |
storage |
Output only. Predicted storage shape. |
backupStorageGb |
Output only. Predicted backup storage size in GiB. |
egressGbPerMonth |
Output only. Predicted Network Out traffic GiB per month. |
version |
Output only. Microsoft SQL Server version to be used on the Cloud SQL for SQL server instance. |
zoneAvailability |
Output only. Cloud SQL zone availability. |
edition |
Output only. Cloud SQL edition. |
smtEnabled |
Output only. Whether simultaneous multithreading is enabled (see https://cloud.google.com/sql/docs/sqlserver/create-instance#smt-create-instance). |
SqlServerVersion
Microsoft SQL Server version that is used on a Cloud SQL for SQL server instance.
| Enums | |
|---|---|
SQL_SERVER_VERSION_UNSPECIFIED |
Unspecified SQL Server version. |
SQL_SERVER_VERSION_2017_EXPRESS |
The database version is SQL Server 2017 Express. |
SQL_SERVER_VERSION_2017_WEB |
The database version is SQL Server 2017 Web. |
SQL_SERVER_VERSION_2017_STANDARD |
The database version is SQL Server 2017 Standard. |
SQL_SERVER_VERSION_2017_ENTERPRISE |
The database version is SQL Server 2017 Enterprise. |
SQL_SERVER_VERSION_2019_EXPRESS |
The database version is SQL Server 2019 Express. |
SQL_SERVER_VERSION_2019_WEB |
The database version is SQL Server 2019 Web. |
SQL_SERVER_VERSION_2019_STANDARD |
The database version is SQL Server 2019 Standard. |
SQL_SERVER_VERSION_2019_ENTERPRISE |
The database version is SQL Server 2019 Enterprise. |
SQL_SERVER_VERSION_2022_EXPRESS |
The database version is SQL Server 2022 Express. |
SQL_SERVER_VERSION_2022_WEB |
The database version is SQL Server 2022 Web. |
SQL_SERVER_VERSION_2022_STANDARD |
The database version is SQL Server 2022 Standard. |
SQL_SERVER_VERSION_2022_ENTERPRISE |
The database version is SQL Server 2022 Enterprise. |
CloudSqlForMySqlShape
Cloud SQL for MySQL database shape.
| JSON representation |
|---|
{ "logicalCoreCount": integer, "memoryMb": integer, "storage": { object ( |
| Fields | |
|---|---|
logicalCoreCount |
Output only. Number of logical cores. |
memoryMb |
Output only. Predicted amount of memory in MiB. |
storage |
Output only. Predicted storage shape. |
backupStorageGb |
Output only. Predicted backup storage size in GiB. |
egressGbPerMonth |
Output only. Predicted Network Out traffic GiB per month. |
zoneAvailability |
Output only. Cloud SQL zone availability. |
edition |
Output only. Cloud SQL edition. |
version |
Output only. MySQL version to be used on the Cloud SQL for MySQL instance. |
MySqlVersion
MySQL version that is used on a Cloud SQL for MySQL instance.
| Enums | |
|---|---|
MY_SQL_VERSION_UNSPECIFIED |
Unspecified MySQL version. |
MY_SQL_VERSION_5_6 |
MySQL 5.6. |
MY_SQL_VERSION_5_7 |
MySQL 5.7. |
MY_SQL_VERSION_8_0 |
MySQL 8.0. |
CloudSqlForPostgreSqlShape
Cloud SQL for PostgreSQL database shape.
| JSON representation |
|---|
{ "logicalCoreCount": integer, "memoryMb": integer, "storage": { object ( |
| Fields | |
|---|---|
logicalCoreCount |
Output only. Number of logical cores. |
memoryMb |
Output only. Predicted amount of memory in MiB. |
storage |
Output only. Predicted storage shape. |
backupStorageGb |
Output only. Predicted backup storage size in GiB. |
egressGbPerMonth |
Output only. Predicted Network Out traffic GiB per month. |
zoneAvailability |
Output only. Cloud SQL zone availability. |
edition |
Output only. Cloud SQL edition. |
version |
Output only. PostgreSql version to be used on the Cloud SQL for PostgreSql instance. |
PostgreSqlVersion
PostgreSql version that is used on a Cloud SQL for PostgreSQL instance.
| Enums | |
|---|---|
POSTGRESQL_VERSION_UNSPECIFIED |
Unspecified PostgreSQL version. |
POSTGRESQL_VERSION_9_6 |
PostgreSQL 9.6. |
POSTGRESQL_VERSION_10 |
PostgreSQL 10 |
POSTGRESQL_VERSION_11 |
PostgreSQL 11 |
POSTGRESQL_VERSION_12 |
PostgreSQL 12 |
POSTGRESQL_VERSION_13 |
PostgreSQL 13 |
POSTGRESQL_VERSION_14 |
PostgreSQL 14 |
POSTGRESQL_VERSION_15 |
PostgreSQL 15 |
ComputeEngineSoleTenantMigrationTarget
This type has no fields.
Compute engine sole tenant migration target.
Issue
An issue associated with a migration.
| JSON representation |
|---|
{ "issueCode": string, "description": string, // Union field |
| Fields | |
|---|---|
issueCode |
Output only. Unique identifier for this issue type. |
description |
Output only. English description of the issue. |
Union field details. Details about the issue. details can be only one of the following: |
|
compatibilityIssue |
Output only. Details about a compatibility issue. |
CompatibilityIssue
Details about a compatibility issue.
| JSON representation |
|---|
{ "category": enum ( |
| Fields | |
|---|---|
category |
Output only. Category of this compatibility issue. |
associatedObjectType |
Output only. Type of object associated with this migration compatibility issue. |
associatedObject |
Output only. Name of the object associated with this compatibility issue relative to the relevant asset. Does not represent a fully qualified resource name and is not intended for programmatic use. |
associatedValue |
Output only. A string representation of actual value associated with this issue. Some values may contain aggregated information, such as a flag name and the actual value assigned to it. |
Category
Categories of migration compatibility issues. This enum is expected to be expanded as needed.
| Enums | |
|---|---|
CATEGORY_UNSPECIFIED |
An unspecified compatibility category. |
DATABASE_FLAG |
Database flag compatibility category. |
DATABASE_FEATURE |
Database feature compatibility category. |
ObjectType
Types of objects that can be associated with migration compatibility issues. This enum is expected to be expanded as needed.
| Enums | |
|---|---|
OBJECT_TYPE_UNSPECIFIED |
An unspecified object type. |
DATABASE_DEPLOYMENT |
A database deployment object type. |
DATABASE |
A logical database object type. |
SCHEMA |
A schema object type. |
GenericInsight
A generic insight about an asset.
| JSON representation |
|---|
{ "messageId": string, "defaultMessage": string, "additionalInformation": [ string ] } |
| Fields | |
|---|---|
messageId |
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. |
defaultMessage |
Output only. In case message_code is not yet known by the client defaultMessage will be the message to be used instead. Text can contain md file style links. |
additionalInformation[] |
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. |
SoftwareInsight
An insight regarding software detected on an asset.
| JSON representation |
|---|
{
"detectedSoftware": {
object ( |
| Fields | |
|---|---|
detectedSoftware |
Output only. Information about the detected software. |
DetectedSoftware
Information about software detected on an asset.
| JSON representation |
|---|
{ "softwareName": string, "softwareFamily": string } |
| Fields | |
|---|---|
softwareName |
Output only. Software's name. |
softwareFamily |
Output only. Software family of the detected software, e.g. Database, SAP family. |
AssetPerformanceData
Performance data for an asset.
| JSON representation |
|---|
{
"dailyResourceUsageAggregations": [
{
object ( |
| Fields | |
|---|---|
dailyResourceUsageAggregations[] |
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 | |
|---|---|
utilizationPercentage |
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. |
ninteyFifthPercentile |
95th percentile usage value. |
peak |
Peak usage value. |
Memory
Statistical aggregation of memory usage.
| JSON representation |
|---|
{
"utilizationPercentage": {
object ( |
| Fields | |
|---|---|
utilizationPercentage |
Memory utilization percentage. |
Network
Statistical aggregation of network usage.
| JSON representation |
|---|
{ "ingressBps": { object ( |
| Fields | |
|---|---|
ingressBps |
Network ingress in B/s. |
egressBps |
Network egress in B/s. |
Disk
Statistical aggregation of disk usage.
| JSON representation |
|---|
{ "iops": { object ( |
| Fields | |
|---|---|
iops |
Disk I/O operations per second. |
readIops |
Disk read I/O operations per second. |
writeIops |
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. |