[BindServiceMethod(typeof(FeedsService), "BindService")]
public abstract class FeedsService.FeedsServiceBaseReference documentation and code samples for the Chronicle v1 API class FeedsService.FeedsServiceBase.
Base class for server-side implementations of FeedsService
Namespace
Google.Cloud.Chronicle.V1Assembly
Google.Cloud.Chronicle.V1.dll
Methods
CreateFeed(CreateFeedRequest, ServerCallContext)
public virtual Task<Feed> CreateFeed(CreateFeedRequest request, ServerCallContext context)Creates a feed.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFeedRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFeed |
The response to send back to the client (wrapped by a task). |
DeleteFeed(DeleteFeedRequest, ServerCallContext)
public virtual Task<Empty> DeleteFeed(DeleteFeedRequest request, ServerCallContext context)Deletes a feed.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFeedRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
DisableFeed(DisableFeedRequest, ServerCallContext)
public virtual Task<Feed> DisableFeed(DisableFeedRequest request, ServerCallContext context)Disable feed for ingestion. Make FeedState ARCHIVED.
| Parameters | |
|---|---|
| Name | Description |
request |
DisableFeedRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFeed |
The response to send back to the client (wrapped by a task). |
EnableFeed(EnableFeedRequest, ServerCallContext)
public virtual Task<Feed> EnableFeed(EnableFeedRequest request, ServerCallContext context)Enable feed for ingestion.
| Parameters | |
|---|---|
| Name | Description |
request |
EnableFeedRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFeed |
The response to send back to the client (wrapped by a task). |
FetchServiceAccountForCustomer(FetchServiceAccountForCustomerRequest, ServerCallContext)
public virtual Task<FeedServiceAccount> FetchServiceAccountForCustomer(FetchServiceAccountForCustomerRequest request, ServerCallContext context)Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchServiceAccountForCustomerRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFeedServiceAccount |
The response to send back to the client (wrapped by a task). |
GenerateSecret(GenerateSecretRequest, ServerCallContext)
public virtual Task<GenerateSecretResponse> GenerateSecret(GenerateSecretRequest request, ServerCallContext context)Generates a new secret for https push feeds which do not support jwt tokens. Secrets once generated should be copied and stored in safe place to be used while configuring https push feeds.Please note that you can always generate a new secret again for a feed using this API but it will invalidate the previously generated secret for the feed.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateSecretRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateSecretResponse |
The response to send back to the client (wrapped by a task). |
GetFeed(GetFeedRequest, ServerCallContext)
public virtual Task<Feed> GetFeed(GetFeedRequest request, ServerCallContext context)Gets a feed.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFeedRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFeed |
The response to send back to the client (wrapped by a task). |
GetFeedPack(GetFeedPackRequest, ServerCallContext)
public virtual Task<FeedPack> GetFeedPack(GetFeedPackRequest request, ServerCallContext context)Gets a feed pack.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFeedPackRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFeedPack |
The response to send back to the client (wrapped by a task). |
ImportPushLogs(ImportPushLogsRequest, ServerCallContext)
public virtual Task<HttpBody> ImportPushLogs(ImportPushLogsRequest request, ServerCallContext context)Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportPushLogsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskHttpBody |
The response to send back to the client (wrapped by a task). |
ListFeedPacks(ListFeedPacksRequest, ServerCallContext)
public virtual Task<ListFeedPacksResponse> ListFeedPacks(ListFeedPacksRequest request, ServerCallContext context)Lists Packs for which feeds can be configured.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFeedPacksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListFeedPacksResponse |
The response to send back to the client (wrapped by a task). |
ListFeedSourceTypeSchemas(ListFeedSourceTypeSchemasRequest, ServerCallContext)
public virtual Task<ListFeedSourceTypeSchemasResponse> ListFeedSourceTypeSchemas(ListFeedSourceTypeSchemasRequest request, ServerCallContext context)List all FeedSourceTypeSchemas.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFeedSourceTypeSchemasRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListFeedSourceTypeSchemasResponse |
The response to send back to the client (wrapped by a task). |
ListFeeds(ListFeedsRequest, ServerCallContext)
public virtual Task<ListFeedsResponse> ListFeeds(ListFeedsRequest request, ServerCallContext context)Lists all feeds for the customer.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFeedsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListFeedsResponse |
The response to send back to the client (wrapped by a task). |
ListLogTypeSchemas(ListLogTypeSchemasRequest, ServerCallContext)
public virtual Task<ListLogTypeSchemasResponse> ListLogTypeSchemas(ListLogTypeSchemasRequest request, ServerCallContext context)List all LogTypeSchemas compatible with a given FeedSourceType.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogTypeSchemasRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListLogTypeSchemasResponse |
The response to send back to the client (wrapped by a task). |
UpdateFeed(UpdateFeedRequest, ServerCallContext)
public virtual Task<Feed> UpdateFeed(UpdateFeedRequest request, ServerCallContext context)Updates the full feed.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFeedRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFeed |
The response to send back to the client (wrapped by a task). |