社群Fields 物件和 Field 和 Aggregation 列舉的參照,以便在 Field 建構時使用。
const cc = DataStudioApp.createCommunityConnector(); const fields = cc.getFields(); fields.newMetric() .setAggregation(cc.AggregationType.AVG) .setType(cc.FieldType.CURRENCY_USD);
屬性
| 屬性 | 類型 | 說明 |
|---|---|---|
Aggregation | Aggregation | Aggregation 列舉。 |
Auth | Auth | Auth 列舉。 |
Big | Big | Big 列舉。 |
Field | Field | Field 列舉。 |
方法
內容詳盡的說明文件
new Auth Type Response()
傳回新的 Get 物件。使用這個物件,為在指令碼專案中實作的 get 函式建立回應。
回攻員
new Big Query Config()
傳回新的 Big 物件。使用這個物件,為在指令碼專案中實作的 get 函式建立回應。
回攻員
Big:新的 Big 物件。
new Debug Error()
new Get Data Response()
傳回新的 Get 物件。使用這個物件,為在指令碼專案中實作的 get 函式建立回應。
回攻員
Get:新的 Get 物件。
new Get Schema Response()
傳回新的 Get 物件。使用這個物件,為在指令碼專案中實作的 get 函式建立回應。
回攻員
new Set Credentials Response()
傳回新的 Set 物件。使用這個物件為在指令碼專案中實作的 set 函式建立回應。