code: public Observable<Void> publishAsync(String resourceGroupName, String automationAccountName, String runbookName) {
          return publishWithServiceResponseAsync(resourceGroupName, automationAccountName, runbookName).map(new Func1<ServiceResponseWithHeaders<Void, RunbookDraftPublishHeaders>, Void>() {
              @Override
              public Void call(ServiceResponseWithHeaders<Void, RunbookDraftPublishHeaders> response) {
                  return response.body();
              }
          });
      }
docs: Publish runbook draft.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param runbookName The parameters supplied to the publish runbook operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request