Community Fields
object and the Field
and Aggregation
enums so they can be used in the
construction of Field
s.
const cc = DataStudioApp . createCommunityConnector (); const fields = cc . getFields (); fields . newMetric () . setAggregation ( cc . AggregationType . AVG ) . setType ( cc . FieldType . CURRENCY_USD );
Properties
Property | Type | Description |
---|---|---|
Aggregation
|
Aggregation
|
The Aggregation
enumeration. |
Auth
|
Auth
|
The Auth
enumeration. |
Big
|
Big
|
The Big
enumeration. |
Field
|
Field
|
The Field
enumeration. |
Methods
Method | Return type | Brief description |
---|---|---|
Config
|
Returns a Config
object. |
|
Fields
|
Returns a Fields
object. |
|
Get
|
Returns a new Get
object. |
|
Big
|
Returns a new Big
object. |
|
Debug
|
Returns a new Debug
object. |
|
Get
|
Returns a new Get
object. |
|
Get
|
Returns a new Get
object. |
|
Set
|
Returns a new Set
object. |
|
User
|
Returns a new User
object. |
Detailed documentation
get
Config()
get
Fields()
new
Auth
Type
Response()
Returns a new Get
object. Use this object to create a response for the get
function you implement in your script project.
Return
Get
— A new Get
object.
new
Big
Query
Config()
Returns a new Big
object. Use this object to create a response for the get
function you implement in your script project.
Return
Big
— A new Big
object.
new
Debug
Error()
Returns a new Debug
object. Use this object to create debug errors.
Return
Debug
— A new Debug
object.
new
Get
Data
Response()
Returns a new Get
object. Use this object to create a response for the get
function you implement in your script project.
Return
Get
— A new Get
object.
new
Get
Schema
Response()
Returns a new Get
object. Use this object to create a response for the get
function you implement in your script project.
Return
Get
— A new Get
object.
new
Set
Credentials
Response()
Returns a new Set
object. Use this object to create a response for
the set
function you implement in your script project.
Return
Set
— A new Set
object.
new
User
Error()
Returns a new User
object. Use this object to create user errors.
Return
User
— A new User
object.