Chronicle v1 API - Class FeedsServiceClientImpl (1.1.0)

public sealed class FeedsServiceClientImpl : FeedsServiceClient

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

FeedsService client wrapper implementation, for convenient use.

Inheritance

object > FeedsServiceClient > FeedsServiceClientImpl

Namespace

Google.Cloud.Chronicle.V1

Assembly

Google.Cloud.Chronicle.V1.dll

Remarks

FeedsService contains procedures for managing Chronicle third-party feeds.

Constructors

FeedsServiceClientImpl(FeedsServiceClient, FeedsServiceSettings, ILogger)

public FeedsServiceClientImpl(FeedsService.FeedsServiceClient grpcClient, FeedsServiceSettings settings, ILogger logger)

Constructs a client wrapper for the FeedsService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient FeedsServiceFeedsServiceClient

The underlying gRPC client.

settings FeedsServiceSettings

The base FeedsServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override FeedsService.FeedsServiceClient GrpcClient { get; }

The underlying gRPC FeedsService client

Property Value
Type Description
FeedsServiceFeedsServiceClient
Overrides

Methods

CreateFeed(CreateFeedRequest, CallSettings)

public override Feed CreateFeed(CreateFeedRequest request, CallSettings callSettings = null)

Creates a feed.

Parameters
Name Description
request CreateFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Feed

The RPC response.

Overrides

CreateFeedAsync(CreateFeedRequest, CallSettings)

public override Task<Feed> CreateFeedAsync(CreateFeedRequest request, CallSettings callSettings = null)

Creates a feed.

Parameters
Name Description
request CreateFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeed

A Task containing the RPC response.

Overrides

DeleteFeed(DeleteFeedRequest, CallSettings)

public override void DeleteFeed(DeleteFeedRequest request, CallSettings callSettings = null)

Deletes a feed.

Parameters
Name Description
request DeleteFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteFeedAsync(DeleteFeedRequest, CallSettings)

public override Task DeleteFeedAsync(DeleteFeedRequest request, CallSettings callSettings = null)

Deletes a feed.

Parameters
Name Description
request DeleteFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

DisableFeed(DisableFeedRequest, CallSettings)

public override Feed DisableFeed(DisableFeedRequest request, CallSettings callSettings = null)

Disable feed for ingestion. Make FeedState ARCHIVED.

Parameters
Name Description
request DisableFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Feed

The RPC response.

Overrides

DisableFeedAsync(DisableFeedRequest, CallSettings)

public override Task<Feed> DisableFeedAsync(DisableFeedRequest request, CallSettings callSettings = null)

Disable feed for ingestion. Make FeedState ARCHIVED.

Parameters
Name Description
request DisableFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeed

A Task containing the RPC response.

Overrides

EnableFeed(EnableFeedRequest, CallSettings)

public override Feed EnableFeed(EnableFeedRequest request, CallSettings callSettings = null)

Enable feed for ingestion.

Parameters
Name Description
request EnableFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Feed

The RPC response.

Overrides

EnableFeedAsync(EnableFeedRequest, CallSettings)

public override Task<Feed> EnableFeedAsync(EnableFeedRequest request, CallSettings callSettings = null)

Enable feed for ingestion.

Parameters
Name Description
request EnableFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeed

A Task containing the RPC response.

Overrides

FetchServiceAccountForCustomer(FetchServiceAccountForCustomerRequest, CallSettings)

public override FeedServiceAccount FetchServiceAccountForCustomer(FetchServiceAccountForCustomerRequest request, CallSettings callSettings = null)

Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets.

Parameters
Name Description
request FetchServiceAccountForCustomerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeedServiceAccount

The RPC response.

Overrides

FetchServiceAccountForCustomerAsync(FetchServiceAccountForCustomerRequest, CallSettings)

public override Task<FeedServiceAccount> FetchServiceAccountForCustomerAsync(FetchServiceAccountForCustomerRequest request, CallSettings callSettings = null)

Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets.

Parameters
Name Description
request FetchServiceAccountForCustomerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeedServiceAccount

A Task containing the RPC response.

Overrides

GenerateSecret(GenerateSecretRequest, CallSettings)

public override GenerateSecretResponse GenerateSecret(GenerateSecretRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GenerateSecretResponse

The RPC response.

Overrides

GenerateSecretAsync(GenerateSecretRequest, CallSettings)

public override Task<GenerateSecretResponse> GenerateSecretAsync(GenerateSecretRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGenerateSecretResponse

A Task containing the RPC response.

Overrides

GetFeed(GetFeedRequest, CallSettings)

public override Feed GetFeed(GetFeedRequest request, CallSettings callSettings = null)

Gets a feed.

Parameters
Name Description
request GetFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Feed

The RPC response.

Overrides

GetFeedAsync(GetFeedRequest, CallSettings)

public override Task<Feed> GetFeedAsync(GetFeedRequest request, CallSettings callSettings = null)

Gets a feed.

Parameters
Name Description
request GetFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeed

A Task containing the RPC response.

Overrides

GetFeedPack(GetFeedPackRequest, CallSettings)

public override FeedPack GetFeedPack(GetFeedPackRequest request, CallSettings callSettings = null)

Gets a feed pack.

Parameters
Name Description
request GetFeedPackRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeedPack

The RPC response.

Overrides

GetFeedPackAsync(GetFeedPackRequest, CallSettings)

public override Task<FeedPack> GetFeedPackAsync(GetFeedPackRequest request, CallSettings callSettings = null)

Gets a feed pack.

Parameters
Name Description
request GetFeedPackRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeedPack

A Task containing the RPC response.

Overrides

ImportPushLogs(ImportPushLogsRequest, CallSettings)

public override HttpBody ImportPushLogs(ImportPushLogsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HttpBody

The RPC response.

Overrides

ImportPushLogsAsync(ImportPushLogsRequest, CallSettings)

public override Task<HttpBody> ImportPushLogsAsync(ImportPushLogsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHttpBody

A Task containing the RPC response.

Overrides

ListFeedPacks(ListFeedPacksRequest, CallSettings)

public override PagedEnumerable<ListFeedPacksResponse, FeedPack> ListFeedPacks(ListFeedPacksRequest request, CallSettings callSettings = null)

Lists Packs for which feeds can be configured.

Parameters
Name Description
request ListFeedPacksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeedPacksResponseFeedPack

A pageable sequence of FeedPack resources.

Overrides

ListFeedPacksAsync(ListFeedPacksRequest, CallSettings)

public override PagedAsyncEnumerable<ListFeedPacksResponse, FeedPack> ListFeedPacksAsync(ListFeedPacksRequest request, CallSettings callSettings = null)

Lists Packs for which feeds can be configured.

Parameters
Name Description
request ListFeedPacksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeedPacksResponseFeedPack

A pageable asynchronous sequence of FeedPack resources.

Overrides

ListFeedSourceTypeSchemas(ListFeedSourceTypeSchemasRequest, CallSettings)

public override PagedEnumerable<ListFeedSourceTypeSchemasResponse, FeedSourceTypeSchema> ListFeedSourceTypeSchemas(ListFeedSourceTypeSchemasRequest request, CallSettings callSettings = null)

List all FeedSourceTypeSchemas.

Parameters
Name Description
request ListFeedSourceTypeSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeedSourceTypeSchemasResponseFeedSourceTypeSchema

A pageable sequence of FeedSourceTypeSchema resources.

Overrides

ListFeedSourceTypeSchemasAsync(ListFeedSourceTypeSchemasRequest, CallSettings)

public override PagedAsyncEnumerable<ListFeedSourceTypeSchemasResponse, FeedSourceTypeSchema> ListFeedSourceTypeSchemasAsync(ListFeedSourceTypeSchemasRequest request, CallSettings callSettings = null)

List all FeedSourceTypeSchemas.

Parameters
Name Description
request ListFeedSourceTypeSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeedSourceTypeSchemasResponseFeedSourceTypeSchema

A pageable asynchronous sequence of FeedSourceTypeSchema resources.

Overrides

ListFeeds(ListFeedsRequest, CallSettings)

public override PagedEnumerable<ListFeedsResponse, Feed> ListFeeds(ListFeedsRequest request, CallSettings callSettings = null)

Lists all feeds for the customer.

Parameters
Name Description
request ListFeedsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeedsResponseFeed

A pageable sequence of Feed resources.

Overrides

ListFeedsAsync(ListFeedsRequest, CallSettings)

public override PagedAsyncEnumerable<ListFeedsResponse, Feed> ListFeedsAsync(ListFeedsRequest request, CallSettings callSettings = null)

Lists all feeds for the customer.

Parameters
Name Description
request ListFeedsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeedsResponseFeed

A pageable asynchronous sequence of Feed resources.

Overrides

ListLogTypeSchemas(ListLogTypeSchemasRequest, CallSettings)

public override PagedEnumerable<ListLogTypeSchemasResponse, LogTypeSchema> ListLogTypeSchemas(ListLogTypeSchemasRequest request, CallSettings callSettings = null)

List all LogTypeSchemas compatible with a given FeedSourceType.

Parameters
Name Description
request ListLogTypeSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListLogTypeSchemasResponseLogTypeSchema

A pageable sequence of LogTypeSchema resources.

Overrides

ListLogTypeSchemasAsync(ListLogTypeSchemasRequest, CallSettings)

public override PagedAsyncEnumerable<ListLogTypeSchemasResponse, LogTypeSchema> ListLogTypeSchemasAsync(ListLogTypeSchemasRequest request, CallSettings callSettings = null)

List all LogTypeSchemas compatible with a given FeedSourceType.

Parameters
Name Description
request ListLogTypeSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListLogTypeSchemasResponseLogTypeSchema

A pageable asynchronous sequence of LogTypeSchema resources.

Overrides

UpdateFeed(UpdateFeedRequest, CallSettings)

public override Feed UpdateFeed(UpdateFeedRequest request, CallSettings callSettings = null)

Updates the full feed.

Parameters
Name Description
request UpdateFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Feed

The RPC response.

Overrides

UpdateFeedAsync(UpdateFeedRequest, CallSettings)

public override Task<Feed> UpdateFeedAsync(UpdateFeedRequest request, CallSettings callSettings = null)

Updates the full feed.

Parameters
Name Description
request UpdateFeedRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeed

A Task containing the RPC response.

Overrides