code: func CanonicalActionName(a string) {
  	if r, ok := resourceDefinition(); ok {
  		r.CanonicalActionName = a
  	}
  }
docs: // CanonicalActionName sets the name of the action used to compute the resource collection and
  //
  // resource collection items hrefs. See Resource.