ToplulukField oluşturma işleminde kullanılabilmesi için Fields nesnesine ve Field ile Aggregation enum'larına referans almak üzere bu sınıfı kullanın.
const cc = DataStudioApp.createCommunityConnector(); const fields = cc.getFields(); fields.newMetric() .setAggregation(cc.AggregationType.AVG) .setType(cc.FieldType.CURRENCY_USD);
Özellikler
| Mülk | Tür | Açıklama |
|---|---|---|
Aggregation | Aggregation | Aggregation numaralandırması. |
Auth | Auth | Auth numaralandırması. |
Big | Big | Big numaralandırması. |
Field | Field | Field numaralandırması. |
Yöntemler
| Yöntem | Dönüş türü | Kısa açıklama |
|---|---|---|
get | Config | Bir Config nesnesi döndürür. |
get | Fields | Bir Fields nesnesi döndürür. |
new | Get | Yeni bir Get nesnesi döndürür. |
new | Big | Yeni bir Big nesnesi döndürür. |
new | Debug | Yeni bir Debug nesnesi döndürür. |
new | Get | Yeni bir Get nesnesi döndürür. |
new | Get | Yeni bir Get nesnesi döndürür. |
new | Set | Yeni bir Set nesnesi döndürür. |
new | User | Yeni bir User nesnesi döndürür. |
Ayrıntılı dokümanlar
get Config()
get Fields()
new Auth Type Response()
Yeni bir Get nesnesi döndürür. Komut dosyası projenizde uyguladığınız get işlevi için yanıt oluşturmak üzere bu nesneyi kullanın.
Return
Get: Yeni bir Get nesnesi.
new Big Query Config()
Yeni bir Big nesnesi döndürür. Komut dosyası projenizde uyguladığınız get işlevi için yanıt oluşturmak üzere bu nesneyi kullanın.
Return
Big: Yeni bir Big nesnesi.
new Debug Error()
Yeni bir Debug nesnesi döndürür. Hata ayıklama hataları oluşturmak için bu nesneyi kullanın.
Return
Debug: Yeni bir Debug nesnesi.
new Get Data Response()
Yeni bir Get nesnesi döndürür. Komut dosyası projenizde uyguladığınız get işlevi için yanıt oluşturmak üzere bu nesneyi kullanın.
Return
Get: Yeni bir Get nesnesi.
new Get Schema Response()
Yeni bir Get nesnesi döndürür. Komut dosyası projenizde uyguladığınız get işlevi için yanıt oluşturmak üzere bu nesneyi kullanın.
Return
Get: Yeni bir Get nesnesi.
new Set Credentials Response()
Yeni bir Set nesnesi döndürür. Komut dosyası projenize uyguladığınız set işlevi için bir yanıt oluşturmak üzere bu nesneyi kullanın.
Return
Set: Yeni bir Set nesnesi.