Example #1
0
    def created(self):
        """Datetime at which the dataset was created.

        :rtype: ``datetime.datetime``, or ``NoneType``
        :returns: the creation time (None until set from the server).
        """
        return _datetime_from_prop(self._properties.get("creationTime"))
Example #2
0
    def modified(self):
        """Datetime at which the dataset was last modified.

        :rtype: ``datetime.datetime``, or ``NoneType``
        :returns: the modification time (None until set from the server).
        """
        return _datetime_from_prop(self._properties.get("lastModifiedTime"))
Example #3
0
    def expires(self):
        """Datetime at which the table will be removed.

        :rtype: ``datetime.datetime``, or ``NoneType``
        :returns: the expiration time, or None
        """
        return _datetime_from_prop(self._properties.get('expirationTime'))
 def _callFUT(self, value):
     from gcloud.bigquery._helpers import _datetime_from_prop
     return _datetime_from_prop(value)