def get_usages(resource_group_name, account_name, filter:nil, custom_headers:nil)
      response = get_usages_async(resource_group_name, account_name, filter:filter, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_usages(resource_group_name, account_name, filter:nil, custom_headers:nil)
      response = get_usages_async(resource_group_name, account_name, filter:filter, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Get usages for the requested Cognitive Services account

 @param resource_group_name [String] The name of the resource group within the
 user's subscription.
 @param account_name [String] The name of Cognitive Services account.
 @param filter [String] An OData filter expression that describes a subset of
 usages to return. The supported parameter is name.value (name of the metric,
 can have an or of multiple names).
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [UsagesResult] operation results.