Google BigQuery v2 API - Class TableExtensions (3.4.0)

public static class TableExtensions

Reference documentation and code samples for the Google BigQuery v2 API class TableExtensions.

Extension methods for making it easier to work with Table

Inheritance

object > TableExtensions

Namespace

Google.Cloud.BigQuery.V2

Assembly

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
NameDescription
tableTable

The table for which to set the expiration for. Must not be null.

Returns
TypeDescription
DateTimeOffset

SetExpirationTime(Table, 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
NameDescription
tableTable

The table for which to set the expiration for. Must not be null.

expirationDateTimeOffset

The new expiration to be set.

Returns
TypeDescription
Table

The same table on which the change was made. To facilitate method chaining.