code: func Parent(p string) {
  	if r, ok := resourceDefinition(); ok {
  		r.ParentName = p
  	}
  }
docs: // Parent can be used in: Resource
  //
  // Parent sets the resource parent. The parent resource is used to compute the path to the resource
  // actions as well as resource collection item hrefs. See Resource.