Chronicle v1 API - Class FeedsService.FeedsServiceBase (1.1.0)

[BindServiceMethod(typeof(FeedsService), "BindService")]
public abstract class FeedsService.FeedsServiceBase

Reference documentation and code samples for the Chronicle v1 API class FeedsService.FeedsServiceBase.

Base class for server-side implementations of FeedsService

Inheritance

object > FeedsService.FeedsServiceBase

Namespace

Google.Cloud.Chronicle.V1

Assembly

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 CreateFeedRequest

The request received from the client.

context ServerCallContext

The 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 DeleteFeedRequest

The request received from the client.

context ServerCallContext

The 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 DisableFeedRequest

The request received from the client.

context ServerCallContext

The 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 EnableFeedRequest

The request received from the client.

context ServerCallContext

The 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 FetchServiceAccountForCustomerRequest

The request received from the client.

context ServerCallContext

The 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 GenerateSecretRequest

The request received from the client.

context ServerCallContext

The 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 GetFeedRequest

The request received from the client.

context ServerCallContext

The 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 GetFeedPackRequest

The request received from the client.

context ServerCallContext

The 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 ImportPushLogsRequest

The request received from the client.

context ServerCallContext

The 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 ListFeedPacksRequest

The request received from the client.

context ServerCallContext

The 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 ListFeedSourceTypeSchemasRequest

The request received from the client.

context ServerCallContext

The 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 ListFeedsRequest

The request received from the client.

context ServerCallContext

The 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 ListLogTypeSchemasRequest

The request received from the client.

context ServerCallContext

The 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 UpdateFeedRequest

The request received from the client.

context ServerCallContext

The 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).