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 
                  雙精度 (近似) 小數值。房價介於 0 到 1 之間。 
                 | 
              
              
                microsValue | 
                
                   string (int64 format) 
                  金額,以微量為單位。一百萬等於一單位。貨幣值是以要求中指定的單位 (USD、EUR 或其他) 為單位。例如 $6.50 美元,則以 6500000 微量表示。 
                 | 
              
            
          
        
      
    
  
  
  
  
 
  
    
    
      
    
    
  
       
    
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-08-21 (世界標準時間)。
  
  
  
    
      [[["容易理解","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"]],["上次更新時間:2025-08-21 (世界標準時間)。"],[],["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"]]