Class RefreshDataSourceRequest
Refreshes one or multiple data source objects in the spreadsheet by the specified references. The request
requires an additional bigquery.readonly
OAuth scope if you are refreshing a BigQuery data source. If there
are multiple refresh requests referencing the same data source objects in one batch, only the last refresh
request is processed, and all those requests will have the same response accordingly.
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class RefreshDataSourceRequest : IDirectResponseSchema
Properties
DataSourceId
Reference to a DataSource. If specified, refreshes all associated data source objects for the data source.
Declaration
[JsonProperty("dataSourceId")]
public virtual string DataSourceId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Force
Refreshes the data source objects regardless of the current state. If not set and a referenced data source object was in error state, the refresh will fail immediately.
Declaration
[JsonProperty("force")]
public virtual bool? Force { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IsAll
Refreshes all existing data source objects in the spreadsheet.
Declaration
[JsonProperty("isAll")]
public virtual bool? IsAll { get; set; }
Property Value
Type | Description |
---|---|
bool? |
References
References to data source objects to refresh.
Declaration
[JsonProperty("references")]
public virtual DataSourceObjectReferences References { get; set; }
Property Value
Type | Description |
---|---|
DataSourceObjectReferences |