code: func NewString(key, val string) *api.GenericResource {
  	return &api.GenericResource{
  		Resource: &api.GenericResource_NamedResourceSpec{
  			NamedResourceSpec: &api.NamedGenericResource{
  				Kind:  key,
  				Value: val,
  			},
  		},
  	}
  }
docs: // NewString creates a String resource