|
GData JavaScript Client 2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.analytics.DataSource
Describes a data source.
Defined in gdata.js
Field Summary | |
Object |
$propertiesClass_
|
Object |
$tableIdClass_
|
Object |
$tableNameClass_
|
Constructor Summary | |
google.gdata.analytics.DataSource(<Object> opt_params)
Constructs a data source using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
void
|
addProperty(<google.gdata.analytics.Property|Object> property)
Adds a new property. |
Array.<google.gdata.analytics.Property>
|
getProperties()
Returns the properties. |
string|null
|
getPropertyValue(<string> name)
Gets the property with the given name from this data source. |
google.gdata.analytics.TableId|undefined
|
getTableId()
Returns the data source ID. |
google.gdata.analytics.TableName|undefined
|
getTableName()
Returns the table name. |
void
|
setProperties(<Array.<google.gdata.analytics.Property>|Array.<Object>|undefined> properties)
Sets the properties. |
void
|
setTableId(<google.gdata.analytics.TableId|Object|undefined> tableId)
Sets the data source ID. |
void
|
setTableName(<google.gdata.analytics.TableName|Object|undefined> tableName)
Sets the table name. |
Field Detail |
Object $propertiesClass_
Object $tableIdClass_
Object $tableNameClass_
Constructor Detail |
google.gdata.analytics.DataSource(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: properties, tableId, and tableName.
Method Detail |
void addProperty(<google.gdata.analytics.Property|Object> property)
property
- Property to add, or object to use as a parameter to the google.gdata.analytics.Property constructor.
Array.<google.gdata.analytics.Property> getProperties()
string|null getPropertyValue(<string> name)
name
- The name of the property to retrieve
google.gdata.analytics.TableId|undefined getTableId()
google.gdata.analytics.TableName|undefined getTableName()
void setProperties(<Array.<google.gdata.analytics.Property>|Array.<Object>|undefined> properties)
properties
- Properties, where each property is added using the addProperty() function, or undefined to clear the properties.
void setTableId(<google.gdata.analytics.TableId|Object|undefined> tableId)
tableId
- Data source ID, or object to use as a parameter to the google.gdata.analytics.TableId constructor, or undefined for none.
void setTableName(<google.gdata.analytics.TableName|Object|undefined> tableName)
tableName
- Table name, or object to use as a parameter to the google.gdata.analytics.TableName constructor, or undefined for none.
|
GData JavaScript Client 2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |