- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Frames
- AssetFrame
- PerformanceSample
- MemoryUsageSample
- CpuUsageSample
- NetworkUsageSample
- DiskUsageSample
Reports a set of frames.
HTTP request
POST https://migrationcenter.googleapis.com/v1alpha1/{parent=projects/*/locations/*}/assets:reportAssetFrames
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Parent of the resource. |
Query parameters
Parameters | |
---|---|
source |
Required. Reference to a source. |
Request body
The request body contains an instance of Frames
.
Response body
If successful, the response body is empty.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Frames
Collection of frame data.
JSON representation |
---|
{
"framesData": [
{
object ( |
Fields | |
---|---|
framesData[] |
A repeated field of asset data. |
AssetFrame
Contains data reported from an inventory source on an asset.
JSON representation |
---|
{ "reportTime": string, "labels": { string: string, ... }, "attributes": { string: string, ... }, "performanceSamples": [ { object ( |
Fields | |
---|---|
reportTime |
The time the data was reported. 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 |
performanceSamples[] |
Asset performance data samples. |
traceToken |
Optional. Trace token is optionally provided to assist with debugging and traceability. |
Union field FrameData . The internal data of the frame is a oneof field depending on the type of asset information in the frame. FrameData can be only one of the following: |
|
virtualMachineDetails |
Asset information specific for virtual machines. |
PerformanceSample
Performance data sample.
JSON representation |
---|
{ "sampleTime": string, "memory": { object ( |
Fields | |
---|---|
sampleTime |
Time the sample was collected. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
memory |
Memory usage sample. |
cpu |
CPU usage sample. |
network |
Network usage sample. |
disk |
Disk usage sample. |
MemoryUsageSample
Memory usage sample.
JSON representation |
---|
{ "utilizedPercentage": number } |
Fields | |
---|---|
utilizedPercentage |
Percentage of system memory utilized. Must be in the interval [0, 100]. |
CpuUsageSample
CPU usage sample.
JSON representation |
---|
{ "utilizedPercentage": number } |
Fields | |
---|---|
utilizedPercentage |
Percentage of total CPU capacity utilized. Must be in the interval [0, 100]. On most systems can be calculated using 100 - idle percentage. |
NetworkUsageSample
Network usage sample. Values are across all network interfaces.
JSON representation |
---|
{ "averageIngressBps": number, "averageEgressBps": number } |
Fields | |
---|---|
averageIngressBps |
Average network ingress in B/s sampled over a short window. Must be non-negative. |
averageEgressBps |
Average network egress in B/s sampled over a short window. Must be non-negative. |
DiskUsageSample
Disk usage sample. Values are across all disks.
JSON representation |
---|
{ "averageIops": number } |
Fields | |
---|---|
averageIops |
Average IOPS sampled over a short window. Must be non-negative. |