View Source GoogleApi.ContentWarehouse.V1.Model.FreebaseMeasurement (google_api_content_warehouse v0.4.0)
Represents a measurements, which is one of the possible Value types. A measurement value like "5.2 meter^2 / second" would be represented as: magnitude: 5.2 unit { unit_mid: "/m/mid_for_meter" power: 2 } unit { unit_mid: "/m/mid_for_second" power: -1 }
Attributes
-
magnitude
(type:number()
, default:nil
) - -
unit
(type:list(GoogleApi.ContentWarehouse.V1.Model.FreebaseMeasurementUnit.t)
, default:nil
) - Repeated units are interpreted as a product. i.e. (meter ^ 1) * (second ^ -2)
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.FreebaseMeasurement{ magnitude: number() | nil, unit: [GoogleApi.ContentWarehouse.V1.Model.FreebaseMeasurementUnit.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.