Skip to content

Commit

Permalink
fix(specs): usage api (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3624

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Kai Welke <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
3 people committed Sep 2, 2024
1 parent 7d6246f commit abbd60b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/algoliasearch/api/InsightsClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ class InsightsClient(
}

/** Deletes all events related to the specified user token from events metrics and analytics. The deletion is
* asynchronous, and processed within 48 hours. To delete a personalization user profile, see [Delete a user
* profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
* asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile`
* in the Personalization API.
*
* @param userToken
* User token for which to delete all associated events.
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/algoliasearch/api/QuerySuggestionsClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ class QuerySuggestionsClient(
}

/** Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query
* Suggestions index. To delete the Query Suggestions index itself, use the Search API and the [Delete an
* index](/specs/search#tag/Indices/operation/deleteIndex) operation.
* Suggestions index. To delete the Query Suggestions index itself, use the Search API and the `Delete an index`
* operation.
*
* Required API Key ACLs:
* - editSettings
Expand Down
11 changes: 5 additions & 6 deletions src/main/scala/algoliasearch/api/UsageClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ object UsageClient {

private def hosts(): Seq[Host] = {
List(
Host("usage.algolia.com", Set(CallType.Read, CallType.Write)),
Host("usage-dev.algolia.com", Set(CallType.Read, CallType.Write))
Host("usage.algolia.com", Set(CallType.Read, CallType.Write))
)
}
}
Expand Down Expand Up @@ -253,9 +252,9 @@ class UsageClient(
* @param indexName
* Name of the index on which to perform the operation.
* @param startDate
* Start date of the period to analyze, in `YYYY-MM-DD` format.
* Start date of the period to analyze, in RFC 3339 format.
* @param endDate
* End date of the period to analyze, in `YYYY-MM-DD` format.
* End date of the period to analyze, in RFC 3339 format.
* @param granularity
* Granularity of the aggregated metrics. - `hourly`: the maximum time range for hourly metrics is 7 days. -
* `daily`: the maximum time range for daily metrics is 365 days.
Expand Down Expand Up @@ -374,9 +373,9 @@ class UsageClient(
* degraded queries due to all search threads being used. - `degraded_queries_max_capacity_seconds_impacted`.
* Percentage of seconds affected by `max_capacity` degraded queries.
* @param startDate
* Start date of the period to analyze, in `YYYY-MM-DD` format.
* Start date of the period to analyze, in RFC 3339 format.
* @param endDate
* End date of the period to analyze, in `YYYY-MM-DD` format.
* End date of the period to analyze, in RFC 3339 format.
* @param granularity
* Granularity of the aggregated metrics. - `hourly`: the maximum time range for hourly metrics is 7 days. -
* `daily`: the maximum time range for daily metrics is 365 days.
Expand Down

0 comments on commit abbd60b

Please sign in to comment.