I am using google-cloud-bigquery gem for my Ruby on Rails application. I am able to execute the query on the dataset and do the following
- Execute query
- Create destination table and store results into it
- Store the final results into a file from a destination table
Now I want to set the expiration time for the destination table. I find a document to updating a table. But I am unable to find a way to set the expiration time using Ruby language?
Also I am able to fetch expires_at value from a table which returns nil. I don't find a way to set it.
Kindly help