public static class TableExtensions
Extension methods for making it easier to work with Table
Namespace
Google.Cloud.BigQuery.V2Assembly
Google.Cloud.BigQuery.V2.dll
Methods
GetExpirationTime(Table)
public static DateTimeOffset? GetExpirationTime(this Table table)
Gets the time at which this table expires, at which point it will be deleted.
Parameter | |
---|---|
Name | Description |
table | Table The table for which to set the expiration for. Must not be null. |
Returns | |
---|---|
Type | Description |
Nullable<DateTimeOffset> |
SetExpirationTime(Table, Nullable<DateTimeOffset>)
public static Table SetExpirationTime(this Table table, DateTimeOffset? expiration)
Sets the time at which this table expires, at which point it will be deleted. If this is not set and the dataset does not have a default expiration period, the table will persist until it is deleted.
Parameters | |
---|---|
Name | Description |
table | Table The table for which to set the expiration for. Must not be null. |
expiration | Nullable<DateTimeOffset> The new expiration to be set. |
Returns | |
---|---|
Type | Description |
Table | The same table on which the change was made. To facilitate method chaining. |