Skip to content

Commit

Permalink
fix(specs): usage api (#3624) (generated) [skip ci]
Browse files Browse the repository at this point in the history
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 a9405b1 commit 0790e3b
Show file tree
Hide file tree
Showing 42 changed files with 178 additions and 217 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public interface IInsightsClient
object CustomPut(string path, Dictionary<string, object> parameters = default, object body = default, RequestOptions options = null, CancellationToken cancellationToken = default);

/// <summary>
/// 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).
/// 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` in the Personalization API.
/// </summary>
/// <param name="userToken">User token for which to delete all associated events.</param>
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
Expand All @@ -142,7 +142,7 @@ public interface IInsightsClient
Task DeleteUserTokenAsync(string userToken, RequestOptions options = null, CancellationToken cancellationToken = default);

/// <summary>
/// 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). (Synchronous version)
/// 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` in the Personalization API. (Synchronous version)
/// </summary>
/// <param name="userToken">User token for which to delete all associated events.</param>
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
Expand Down Expand Up @@ -412,7 +412,7 @@ public object CustomPut(string path, Dictionary<string, object> parameters = def


/// <summary>
/// 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).
/// 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` in the Personalization API.
/// </summary>
/// <param name="userToken">User token for which to delete all associated events.</param>
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
Expand All @@ -436,7 +436,7 @@ public async Task DeleteUserTokenAsync(string userToken, RequestOptions options


/// <summary>
/// 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). (Synchronous version)
/// 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` in the Personalization API. (Synchronous version)
/// </summary>
/// <param name="userToken">User token for which to delete all associated events.</param>
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public interface IQuerySuggestionsClient
object CustomPut(string path, Dictionary<string, object> parameters = default, object body = default, RequestOptions options = null, CancellationToken cancellationToken = default);

/// <summary>
/// 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.
/// 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` operation.
/// </summary>
/// <param name="indexName">Query Suggestions index name.</param>
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
Expand All @@ -166,7 +166,7 @@ public interface IQuerySuggestionsClient
Task<BaseResponse> DeleteConfigAsync(string indexName, RequestOptions options = null, CancellationToken cancellationToken = default);

/// <summary>
/// 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. (Synchronous version)
/// 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` operation. (Synchronous version)
/// </summary>
/// <param name="indexName">Query Suggestions index name.</param>
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
Expand Down Expand Up @@ -576,7 +576,7 @@ public object CustomPut(string path, Dictionary<string, object> parameters = def


/// <summary>
/// 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.
/// 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` operation.
/// </summary>
///
/// Required API Key ACLs:
Expand All @@ -603,7 +603,7 @@ public async Task<BaseResponse> DeleteConfigAsync(string indexName, RequestOptio


/// <summary>
/// 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. (Synchronous version)
/// 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` operation. (Synchronous version)
/// </summary>
///
/// Required API Key ACLs:
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ private static List<StatefulHost> GetDefaultHosts()
LastUse = DateTime.UtcNow,
Accept = CallType.Read | CallType.Write
},
new()
{
Url = "usage-dev.algolia.com",
Up = true,
LastUse = DateTime.UtcNow,
Accept = CallType.Read | CallType.Write
},
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ final class InsightsClient implements ApiClient {
);
}

/// 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).
/// 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` in the Personalization API.
///
/// Parameters:
/// * [userToken] User token for which to delete all associated events.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions clients/algoliasearch-client-go/algolia/usage/api_usage.go

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion clients/algoliasearch-client-go/algolia/usage/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,7 @@ public CompletableFuture<Object> customPutAsync(@Nonnull String path) throws Alg
/**
* 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).
* profile, see `Delete a user profile` in the Personalization API.
*
* @param userToken User token for which to delete all associated events. (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
Expand All @@ -495,8 +494,7 @@ public void deleteUserToken(@Nonnull String userToken, RequestOptions requestOpt
/**
* 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).
* profile, see `Delete a user profile` in the Personalization API.
*
* @param userToken User token for which to delete all associated events. (required)
* @throws AlgoliaRuntimeException If it fails to process the API call
Expand All @@ -508,8 +506,7 @@ public void deleteUserToken(@Nonnull String userToken) throws AlgoliaRuntimeExce
/**
* (asynchronously) 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).
* personalization user profile, see `Delete a user profile` in the Personalization API.
*
* @param userToken User token for which to delete all associated events. (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
Expand All @@ -527,8 +524,7 @@ public CompletableFuture<Void> deleteUserTokenAsync(@Nonnull String userToken, R
/**
* (asynchronously) 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).
* personalization user profile, see `Delete a user profile` in the Personalization API.
*
* @param userToken User token for which to delete all associated events. (required)
* @throws AlgoliaRuntimeException If it fails to process the API call
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,7 @@ public CompletableFuture<Object> customPutAsync(@Nonnull String path) throws Alg
/**
* 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.
* Search API and the `Delete an index` operation.
*
* @param indexName Query Suggestions index name. (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
Expand All @@ -542,8 +541,7 @@ public BaseResponse deleteConfig(@Nonnull String indexName, RequestOptions reque
/**
* 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.
* Search API and the `Delete an index` operation.
*
* @param indexName Query Suggestions index name. (required)
* @throws AlgoliaRuntimeException If it fails to process the API call
Expand All @@ -555,8 +553,7 @@ public BaseResponse deleteConfig(@Nonnull String indexName) throws AlgoliaRuntim
/**
* (asynchronously) 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.
* index itself, use the Search API and the `Delete an index` operation.
*
* @param indexName Query Suggestions index name. (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
Expand All @@ -574,8 +571,7 @@ public CompletableFuture<BaseResponse> deleteConfigAsync(@Nonnull String indexNa
/**
* (asynchronously) 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.
* index itself, use the Search API and the `Delete an index` operation.
*
* @param indexName Query Suggestions index name. (required)
* @throws AlgoliaRuntimeException If it fails to process the API call
Expand Down
Loading

0 comments on commit 0790e3b

Please sign in to comment.