ReportRow
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
JSON 表現 |
{
"dimensionValues": {
string: {
object (DimensionValue )
},
...
},
"metricValues": {
string: {
object (MetricValue )
},
...
}
} |
フィールド |
dimensionValues |
map (key: string, value: object (DimensionValue ))
行内のディメンション値のマップ。ディメンションの列挙型のキーが含まれます。 "key": value ペアのリストを含むオブジェクト。例: { "name": "wrench", "mass": "1.3kg", "count": "3" }
|
metricValues |
map (key: string, value: object (MetricValue ))
行内の指標値のマップ。キーが指標の列挙型になります。リクエストされた指標に対して値が返されない場合、その指標はマップに含まれません。 "key": value ペアのリストを含むオブジェクト。例: { "name": "wrench", "mass": "1.3kg", "count": "3" }
|
DimensionValue
JSON 表現 |
{
"value": string,
"displayLabel": string
} |
フィールド |
value |
string
レポートの仕様のディメンション列挙型で指定されている形式のディメンション値。
|
displayLabel |
string
ローカライズされた文字列表現。指定しない場合は、この値から表示ラベルを取得する必要があります。
|
MetricValue
JSON 表現 |
{
// Union field value can be only one of the following:
"integerValue": string,
"doubleValue": number,
"microsValue": string
// End of list of possible types for union field value .
} |
フィールド |
共用体フィールド value 。レポートの仕様の指標列挙型で指定されている形式の指標値。value は次のいずれかになります。 |
integerValue |
string (int64 format)
指標の整数値。
|
doubleValue |
number
倍精度(近似)10 進値。レートは 0 ~ 1 です。
|
microsValue |
string (int64 format)
100 万分の 1 単位で表された金額。100 万が 1 単位に相当します。通貨の値には、リクエストで指定された単位(USD、EUR など)が使用されます。たとえば、$6.50 は 6500000 マイクロで表されます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-14 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-10-14 UTC。"],[[["ReportRow objects represent a single row of data in a report, containing dimension and metric values."],["DimensionValues provide the value and an optional display label for each dimension in the report."],["MetricValues store the metric's numerical value, which can be an integer, double, or amount in micros."],["The structure uses maps to associate dimension and metric names with their corresponding values."]]],["The core content defines structures for report data: `DimensionValue` and `MetricValue`. A report row, structured in JSON, contains two maps: `dimensionValues` and `metricValues`. `dimensionValues` maps dimension names to `DimensionValue` objects, each with a `value` and an optional `displayLabel`. `metricValues` maps metric names to `MetricValue` objects. A `MetricValue` contains a single value among `integerValue`, `doubleValue`, or `microsValue`, representing the metric's numerical data in various formats.\n"]]