code: public Observable<PolicyEventsQueryResultsInner> listQueryResultsForResourceGroupLevelPolicyAssignmentAsync(String subscriptionId, String resourceGroupName, String policyAssignmentName, QueryOptions queryOptions) {
          return listQueryResultsForResourceGroupLevelPolicyAssignmentWithServiceResponseAsync(subscriptionId, resourceGroupName, policyAssignmentName, queryOptions).map(new Func1<ServiceResponse<PolicyEventsQueryResultsInner>, PolicyEventsQueryResultsInner>() {
              @Override
              public PolicyEventsQueryResultsInner call(ServiceResponse<PolicyEventsQueryResultsInner> response) {
                  return response.body();
              }
          });
      }
docs: Queries policy events for the resource group level policy assignment.
  
  @param subscriptionId Microsoft Azure subscription ID.
  @param resourceGroupName Resource group name.
  @param policyAssignmentName Policy assignment name.
  @param queryOptions Additional parameters for the operation
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PolicyEventsQueryResultsInner object