code: public Observable<SummarizeResultsInner> summarizeForResourceGroupAsync(String subscriptionId, String resourceGroupName) {
          return summarizeForResourceGroupWithServiceResponseAsync(subscriptionId, resourceGroupName).map(new Func1<ServiceResponse<SummarizeResultsInner>, SummarizeResultsInner>() {
              @Override
              public SummarizeResultsInner call(ServiceResponse<SummarizeResultsInner> response) {
                  return response.body();
              }
          });
      }
docs: Summarizes policy states for the resources under the resource group.
  
  @param subscriptionId Microsoft Azure subscription ID.
  @param resourceGroupName Resource group name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the SummarizeResultsInner object