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
Google.Apis.Bigquery.v2.Data.Table
The table for which to set the expiration for.
Must not be null.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `Google.Cloud.BigQuery.V2.TableExtensions` is 3.11.0, with multiple previous versions available, down to version 2.2.0, accessible for reference."],["`TableExtensions` is a static class within the `Google.Cloud.BigQuery.V2` namespace designed to provide extension methods that simplify working with `Google.Apis.Bigquery.v2.Data.Table` objects."],["The `GetExpirationTime` method retrieves the deletion time of a specified table."],["The `SetExpirationTime` method allows users to set or modify the expiration time of a table, which determines when the table will be automatically deleted."]]],[]]