code: def from_api_repr(cls, resource, config):
          
          name = variable_name_from_full_name(resource.get("name"))
          variable = cls(name=name, config=config)
          variable._set_properties(resource=resource)
          return variable
docs: Factory:  construct a Variable given its API representation
  
          :type resource: dict
          :param resource: change set representation returned from the API.
  
          :type config: :class:`google.cloud.runtimeconfig.config.Config`
          :param config: The config to which this variable belongs.
  
          :rtype: :class:`google.cloud.runtimeconfig.variable.Variable`
          :returns: Variable parsed from ``resource``.