Class DataSourceParameter Stay organized with collections Save and categorize content based on your preferences.
Page Summary
DataSourceParameter allows you to access existing data source parameters, but should only be used with data connected to a database.
You can use
getName()to retrieve the parameter name.You can use
getSourceCell()to get the source cell the parameter is valued based on, ornullif the type is not CELL.You can use
getType()to get the parameter type.
Access existing data source parameters.
Only use this class with data that's connected to a database.
Methods
| Method | Return type | Brief description |
|---|---|---|
get | String | Gets the parameter name. |
get | String|null | Gets the source cell the parameter is valued based on, ornull if the parameter type isnotData. |
get | Data | Gets the parameter type. |
Detailed documentation
getName()
Gets the parameter name.
Return
String — The parameter name.
getSourceCell()
Gets the source cell the parameter is valued based on, ornull if the parameter type isnotData.
Return
String|null — The source cell, as specified in A1 notation.
getType()
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.