View Source GoogleApi.MigrationCenter.V1.Model.AssetFrame (google_api_migration_center v0.5.1)

Contains data reported from an inventory source on an asset.

Attributes

  • attributes (type: map(), default: nil) - Generic asset attributes.
  • collectionType (type: String.t, default: nil) - Optional. Frame collection type, if not specified the collection type will be based on the source type of the source the frame was reported on.
  • labels (type: map(), default: nil) - Labels as key value pairs.
  • machineDetails (type: GoogleApi.MigrationCenter.V1.Model.MachineDetails.t, default: nil) - Asset information specific for virtual machines.
  • performanceSamples (type: list(GoogleApi.MigrationCenter.V1.Model.PerformanceSample.t), default: nil) - Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
  • reportTime (type: DateTime.t, default: nil) - The time the data was reported.
  • traceToken (type: String.t, default: nil) - Optional. Trace token is optionally provided to assist with debugging and traceability.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MigrationCenter.V1.Model.AssetFrame{
  attributes: map() | nil,
  collectionType: String.t() | nil,
  labels: map() | nil,
  machineDetails: GoogleApi.MigrationCenter.V1.Model.MachineDetails.t() | nil,
  performanceSamples:
    [GoogleApi.MigrationCenter.V1.Model.PerformanceSample.t()] | nil,
  reportTime: DateTime.t() | nil,
  traceToken: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.