google/cloud/bigquery/table.py
def view_query(self, value):
        """Update SQL query defining the table as a view.

        :type value: str
        :param value: new query

        :raises: ValueError for invalid value types.
        """
        if not isinstance(value, six.string_types):
            raise ValueError("Pass a string")
        view = self._properties.get('view')
        if view is None:
            view = self._properties['view'] = {}
        view['query'] = value
        # The service defaults useLegacySql to True, but this
        # client uses Standard SQL by default.
        if view.get('useLegacySql') is None:
            view['useLegacySql'] = False
Update SQL query defining the table as a view.

        :type value: str
        :param value: new query

        :raises: ValueError for invalid value types.
        
Update SQL query defining the table as a view.
Update SQL query defining the table as a view .
def view_query(self, value):
        if not isinstance(value, six.string_types):
            raise ValueError("Pass a string")
        view = self._properties.get('view')
        if view is None:
            view = self._properties['view'] = {}
        view['query'] = value
        if view.get('useLegacySql') is None:
            view['useLegacySql'] = False
def view_query ( self , value ) : if not isinstance ( value , six . string_types ) : raise ValueError ( "Pass a string" ) view = self . _properties . get ( 'view' ) if view is None : view = self . _properties [ 'view' ] = { } view [ 'query' ] = value if view . get ( 'useLegacySql' ) is None : view [ 'useLegacySql' ] = False
Update SQL query defining the table as a view.
Update SQL query defining the table as a view .
"""Update SQL query defining the table as a view.

        :type value: str
        :param value: new query

        :raises: ValueError for invalid value types.
        """ # The service defaults useLegacySql to True, but this # client uses Standard SQL by default.
ValueError for invalid value types.
ValueError for invalid value types .
self
value
None