Class TableExtensions (3.1.0)

public static class TableExtensions

Extension methods for making it easier to work with Google.Apis.Bigquery.v2.Data.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
tableGoogle.Apis.Bigquery.v2.Data.Table

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

Returns
TypeDescription
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
NameDescription
tableGoogle.Apis.Bigquery.v2.Data.Table

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

expirationNullable<DateTimeOffset>

The new expiration to be set.

Returns
TypeDescription
Google.Apis.Bigquery.v2.Data.Table

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