google/cloud/bigquery/table.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()
        schema = cleaned.pop('schema', {'fields': ()})
        self.schema = _parse_schema_resource(schema)
        ec = cleaned.pop('externalDataConfiguration', None)
        if ec:
            self.external_data_configuration = ExternalConfig.from_api_repr(ec)
        if 'creationTime' in cleaned:
            cleaned['creationTime'] = float(cleaned['creationTime'])
        if 'lastModifiedTime' in cleaned:
            cleaned['lastModifiedTime'] = float(cleaned['lastModifiedTime'])
        if 'expirationTime' in cleaned:
            cleaned['expirationTime'] = float(cleaned['expirationTime'])
        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()
        schema = cleaned.pop('schema', {'fields': ()})
        self.schema = _parse_schema_resource(schema)
        ec = cleaned.pop('externalDataConfiguration', None)
        if ec:
            self.external_data_configuration = ExternalConfig.from_api_repr(ec)
        if 'creationTime' in cleaned:
            cleaned['creationTime'] = float(cleaned['creationTime'])
        if 'lastModifiedTime' in cleaned:
            cleaned['lastModifiedTime'] = float(cleaned['lastModifiedTime'])
        if 'expirationTime' in cleaned:
            cleaned['expirationTime'] = float(cleaned['expirationTime'])
        if 'labels' not in cleaned:
            cleaned['labels'] = {}
        self._properties.update(cleaned)
def _set_properties ( self , api_response ) : self . _properties . clear ( ) cleaned = api_response . copy ( ) schema = cleaned . pop ( 'schema' , { 'fields' : ( ) } ) self . schema = _parse_schema_resource ( schema ) ec = cleaned . pop ( 'externalDataConfiguration' , None ) if ec : self . external_data_configuration = ExternalConfig . from_api_repr ( ec ) if 'creationTime' in cleaned : cleaned [ 'creationTime' ] = float ( cleaned [ 'creationTime' ] ) if 'lastModifiedTime' in cleaned : cleaned [ 'lastModifiedTime' ] = float ( cleaned [ 'lastModifiedTime' ] ) if 'expirationTime' in cleaned : cleaned [ 'expirationTime' ] = float ( cleaned [ 'expirationTime' ] ) 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