code: func (*Config) Get(c context.Context, req *config.GetRequest) (*config.Config, error) {
  	if req.GetId() == "" {
  		return nil, status.Errorf(codes.InvalidArgument, "ID is required")
  	}
  	cfg := &model.Config{
  		ID: req.Id,
  	}
  	switch err := datastore.Get(c, cfg); err {
  	case nil:
  		return &cfg.Config, nil
  	case datastore.ErrNoSuchEntity:
  		return nil, status.Errorf(codes.NotFound, "no config found with ID %q", req.Id)
  	default:
  		return nil, errors.Annotate(err, "failed to fetch config").Err()
  	}
  }
docs: // Get handles a request to get a config.