Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions proto/spaceone/api/cost_analysis/v1/data_source.proto
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@ service DataSource {
};
}

// Removes cached data related to the specified DataSource. Useful for clearing outdated or unnecessary cache.
rpc remove_cache (DataSourceRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
post: "/cost-analysis/v1/data-source/remove-cache"
body: "*"
};
}

// Preloads cache for the specified DataSource. Initiates pre-caching to improve data access performance.
rpc preload_cache (DataSourceRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
post: "/cost-analysis/v1/data-source/preload-cache"
body: "*"
};
}

// Gets a specific DataSource. Prints detailed information about the DataSource, including `name`, `plugin_info`, and `schedule`.
rpc get (DataSourceRequest) returns (DataSourceInfo) {
option (google.api.http) = {
Expand Down
Loading