(self)
Loop over the resources in the discovery doc and build definitions.
Loop over the resources in the discovery doc and build definitions.
Loop over the resources in the discovery doc and build definitions .
def _BuildResourceDefinitions(self):
    """Loop over the resources in the discovery doc and build definitions."""
    self._resources = []
    def_dict = self.values.get('resources') or {}
    for name in sorted(def_dict):
      resource = Resource(self, name, def_dict[name], parent=self)
      if not (self.api.get('reparentMethodsUsingId') and resource.is_skippable):
        self._resources.append(resource)
def _BuildResourceDefinitions ( self ) : self . _resources = [ ] def_dict = self . values . get ( 'resources' ) or { } for name in sorted ( def_dict ) : resource = Resource ( self , name , def_dict [ name ] , parent = self ) if not ( self . api . get ( 'reparentMethodsUsingId' ) and resource . is_skippable ) : self . _resources . append ( resource )