google/cloud/bigquery/dataset.py
def _set_properties(self, api_response):
        """Update properties from resource in body of ``api_response``

        :type api_response: dict
        :param api_response: response returned from an API call.
        """
        self._properties.clear()
        cleaned = api_response.copy()
        access = cleaned.pop('access', ())
        self.access_entries = self._parse_access_entries(access)
        if 'creationTime' in cleaned:
            cleaned['creationTime'] = float(cleaned['creationTime'])
        if 'lastModifiedTime' in cleaned:
            cleaned['lastModifiedTime'] = float(cleaned['lastModifiedTime'])
        if 'defaultTableExpirationMs' in cleaned:
            cleaned['defaultTableExpirationMs'] = int(
                cleaned['defaultTableExpirationMs'])
        if 'labels' not in cleaned:
            cleaned['labels'] = {}
        self._properties.update(cleaned)
Update properties from resource in body of ``api_response``

        :type api_response: dict
        :param api_response: response returned from an API call.
        
Update properties from resource in body of ``api_response``
Update properties from resource in body of ` ` api_response ` `
def _set_properties(self, api_response):
        self._properties.clear()
        cleaned = api_response.copy()
        access = cleaned.pop('access', ())
        self.access_entries = self._parse_access_entries(access)
        if 'creationTime' in cleaned:
            cleaned['creationTime'] = float(cleaned['creationTime'])
        if 'lastModifiedTime' in cleaned:
            cleaned['lastModifiedTime'] = float(cleaned['lastModifiedTime'])
        if 'defaultTableExpirationMs' in cleaned:
            cleaned['defaultTableExpirationMs'] = int(
                cleaned['defaultTableExpirationMs'])
        if 'labels' not in cleaned:
            cleaned['labels'] = {}
        self._properties.update(cleaned)
def _set_properties ( self , api_response ) : self . _properties . clear ( ) cleaned = api_response . copy ( ) access = cleaned . pop ( 'access' , ( ) ) self . access_entries = self . _parse_access_entries ( access ) if 'creationTime' in cleaned : cleaned [ 'creationTime' ] = float ( cleaned [ 'creationTime' ] ) if 'lastModifiedTime' in cleaned : cleaned [ 'lastModifiedTime' ] = float ( cleaned [ 'lastModifiedTime' ] ) if 'defaultTableExpirationMs' in cleaned : cleaned [ 'defaultTableExpirationMs' ] = int ( cleaned [ 'defaultTableExpirationMs' ] ) if 'labels' not in cleaned : cleaned [ 'labels' ] = { } self . _properties . update ( cleaned )
Update properties from resource in body of ``api_response``
Update properties from resource in body of ` ` api_response ` `
"""Update properties from resource in body of ``api_response``

        :type api_response: dict
        :param api_response: response returned from an API call.
        """
self
api_response
response returned from an API call.
response returned from an API call .