Google Cloud Security Command Center v1 API - Class SecurityCenterClientImpl (3.6.0)

public sealed class SecurityCenterClientImpl : SecurityCenterClient

Reference documentation and code samples for the Google Cloud Security Command Center v1 API class SecurityCenterClientImpl.

SecurityCenter client wrapper implementation, for convenient use.

Inheritance

Object > SecurityCenterClient > SecurityCenterClientImpl

Namespace

Google.Cloud.SecurityCenter.V1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Remarks

V1 APIs for Security Center service.

Constructors

SecurityCenterClientImpl(SecurityCenter.SecurityCenterClient, SecurityCenterSettings, ILogger)

public SecurityCenterClientImpl(SecurityCenter.SecurityCenterClient grpcClient, SecurityCenterSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientSecurityCenter.SecurityCenterClient

The underlying gRPC client.

settingsSecurityCenterSettings

The base SecurityCenterSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

BulkMuteFindingsOperationsClient

public override OperationsClient BulkMuteFindingsOperationsClient { get; }

The long-running operations client for BulkMuteFindings.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override SecurityCenter.SecurityCenterClient GrpcClient { get; }

The underlying gRPC SecurityCenter client

Property Value
TypeDescription
SecurityCenter.SecurityCenterClient
Overrides

RunAssetDiscoveryOperationsClient

public override OperationsClient RunAssetDiscoveryOperationsClient { get; }

The long-running operations client for RunAssetDiscovery.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

BulkMuteFindings(BulkMuteFindingsRequest, CallSettings)

public override Operation<BulkMuteFindingsResponse, Empty> BulkMuteFindings(BulkMuteFindingsRequest request, CallSettings callSettings = null)

Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.

Parameters
NameDescription
requestBulkMuteFindingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<BulkMuteFindingsResponse, Empty>

The RPC response.

Overrides

BulkMuteFindingsAsync(BulkMuteFindingsRequest, CallSettings)

public override async Task<Operation<BulkMuteFindingsResponse, Empty>> BulkMuteFindingsAsync(BulkMuteFindingsRequest request, CallSettings callSettings = null)

Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.

Parameters
NameDescription
requestBulkMuteFindingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<BulkMuteFindingsResponse, Empty>>

A Task containing the RPC response.

Overrides

CreateBigQueryExport(CreateBigQueryExportRequest, CallSettings)

public override BigQueryExport CreateBigQueryExport(CreateBigQueryExportRequest request, CallSettings callSettings = null)

Creates a big query export.

Parameters
NameDescription
requestCreateBigQueryExportRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BigQueryExport

The RPC response.

Overrides

CreateBigQueryExportAsync(CreateBigQueryExportRequest, CallSettings)

public override Task<BigQueryExport> CreateBigQueryExportAsync(CreateBigQueryExportRequest request, CallSettings callSettings = null)

Creates a big query export.

Parameters
NameDescription
requestCreateBigQueryExportRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BigQueryExport>

A Task containing the RPC response.

Overrides

CreateFinding(CreateFindingRequest, CallSettings)

public override Finding CreateFinding(CreateFindingRequest request, CallSettings callSettings = null)

Creates a finding. The corresponding source must exist for finding creation to succeed.

Parameters
NameDescription
requestCreateFindingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Finding

The RPC response.

Overrides

CreateFindingAsync(CreateFindingRequest, CallSettings)

public override Task<Finding> CreateFindingAsync(CreateFindingRequest request, CallSettings callSettings = null)

Creates a finding. The corresponding source must exist for finding creation to succeed.

Parameters
NameDescription
requestCreateFindingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Finding>

A Task containing the RPC response.

Overrides

CreateMuteConfig(CreateMuteConfigRequest, CallSettings)

public override MuteConfig CreateMuteConfig(CreateMuteConfigRequest request, CallSettings callSettings = null)

Creates a mute config.

Parameters
NameDescription
requestCreateMuteConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
MuteConfig

The RPC response.

Overrides

CreateMuteConfigAsync(CreateMuteConfigRequest, CallSettings)

public override Task<MuteConfig> CreateMuteConfigAsync(CreateMuteConfigRequest request, CallSettings callSettings = null)

Creates a mute config.

Parameters
NameDescription
requestCreateMuteConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<MuteConfig>

A Task containing the RPC response.

Overrides

CreateNotificationConfig(CreateNotificationConfigRequest, CallSettings)

public override NotificationConfig CreateNotificationConfig(CreateNotificationConfigRequest request, CallSettings callSettings = null)

Creates a notification config.

Parameters
NameDescription
requestCreateNotificationConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
NotificationConfig

The RPC response.

Overrides

CreateNotificationConfigAsync(CreateNotificationConfigRequest, CallSettings)

public override Task<NotificationConfig> CreateNotificationConfigAsync(CreateNotificationConfigRequest request, CallSettings callSettings = null)

Creates a notification config.

Parameters
NameDescription
requestCreateNotificationConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<NotificationConfig>

A Task containing the RPC response.

Overrides

CreateSource(CreateSourceRequest, CallSettings)

public override Source CreateSource(CreateSourceRequest request, CallSettings callSettings = null)

Creates a source.

Parameters
NameDescription
requestCreateSourceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Source

The RPC response.

Overrides

CreateSourceAsync(CreateSourceRequest, CallSettings)

public override Task<Source> CreateSourceAsync(CreateSourceRequest request, CallSettings callSettings = null)

Creates a source.

Parameters
NameDescription
requestCreateSourceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Source>

A Task containing the RPC response.

Overrides

DeleteBigQueryExport(DeleteBigQueryExportRequest, CallSettings)

public override void DeleteBigQueryExport(DeleteBigQueryExportRequest request, CallSettings callSettings = null)

Deletes an existing big query export.

Parameters
NameDescription
requestDeleteBigQueryExportRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteBigQueryExportAsync(DeleteBigQueryExportRequest, CallSettings)

public override Task DeleteBigQueryExportAsync(DeleteBigQueryExportRequest request, CallSettings callSettings = null)

Deletes an existing big query export.

Parameters
NameDescription
requestDeleteBigQueryExportRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

DeleteMuteConfig(DeleteMuteConfigRequest, CallSettings)

public override void DeleteMuteConfig(DeleteMuteConfigRequest request, CallSettings callSettings = null)

Deletes an existing mute config.

Parameters
NameDescription
requestDeleteMuteConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteMuteConfigAsync(DeleteMuteConfigRequest, CallSettings)

public override Task DeleteMuteConfigAsync(DeleteMuteConfigRequest request, CallSettings callSettings = null)

Deletes an existing mute config.

Parameters
NameDescription
requestDeleteMuteConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

DeleteNotificationConfig(DeleteNotificationConfigRequest, CallSettings)

public override void DeleteNotificationConfig(DeleteNotificationConfigRequest request, CallSettings callSettings = null)

Deletes a notification config.

Parameters
NameDescription
requestDeleteNotificationConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteNotificationConfigAsync(DeleteNotificationConfigRequest, CallSettings)

public override Task DeleteNotificationConfigAsync(DeleteNotificationConfigRequest request, CallSettings callSettings = null)

Deletes a notification config.

Parameters
NameDescription
requestDeleteNotificationConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetBigQueryExport(GetBigQueryExportRequest, CallSettings)

public override BigQueryExport GetBigQueryExport(GetBigQueryExportRequest request, CallSettings callSettings = null)

Gets a big query export.

Parameters
NameDescription
requestGetBigQueryExportRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BigQueryExport

The RPC response.

Overrides

GetBigQueryExportAsync(GetBigQueryExportRequest, CallSettings)

public override Task<BigQueryExport> GetBigQueryExportAsync(GetBigQueryExportRequest request, CallSettings callSettings = null)

Gets a big query export.

Parameters
NameDescription
requestGetBigQueryExportRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BigQueryExport>

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)

Gets the access control policy on the specified Source.

Parameters
NameDescription
requestGetIamPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)

Gets the access control policy on the specified Source.

Parameters
NameDescription
requestGetIamPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

GetMuteConfig(GetMuteConfigRequest, CallSettings)

public override MuteConfig GetMuteConfig(GetMuteConfigRequest request, CallSettings callSettings = null)

Gets a mute config.

Parameters
NameDescription
requestGetMuteConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
MuteConfig

The RPC response.

Overrides

GetMuteConfigAsync(GetMuteConfigRequest, CallSettings)

public override Task<MuteConfig> GetMuteConfigAsync(GetMuteConfigRequest request, CallSettings callSettings = null)

Gets a mute config.

Parameters
NameDescription
requestGetMuteConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<MuteConfig>

A Task containing the RPC response.

Overrides

GetNotificationConfig(GetNotificationConfigRequest, CallSettings)

public override NotificationConfig GetNotificationConfig(GetNotificationConfigRequest request, CallSettings callSettings = null)

Gets a notification config.

Parameters
NameDescription
requestGetNotificationConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
NotificationConfig

The RPC response.

Overrides

GetNotificationConfigAsync(GetNotificationConfigRequest, CallSettings)

public override Task<NotificationConfig> GetNotificationConfigAsync(GetNotificationConfigRequest request, CallSettings callSettings = null)

Gets a notification config.

Parameters
NameDescription
requestGetNotificationConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<NotificationConfig>

A Task containing the RPC response.

Overrides

GetOrganizationSettings(GetOrganizationSettingsRequest, CallSettings)

public override OrganizationSettings GetOrganizationSettings(GetOrganizationSettingsRequest request, CallSettings callSettings = null)

Gets the settings for an organization.

Parameters
NameDescription
requestGetOrganizationSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OrganizationSettings

The RPC response.

Overrides

GetOrganizationSettingsAsync(GetOrganizationSettingsRequest, CallSettings)

public override Task<OrganizationSettings> GetOrganizationSettingsAsync(GetOrganizationSettingsRequest request, CallSettings callSettings = null)

Gets the settings for an organization.

Parameters
NameDescription
requestGetOrganizationSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<OrganizationSettings>

A Task containing the RPC response.

Overrides

GetSource(GetSourceRequest, CallSettings)

public override Source GetSource(GetSourceRequest request, CallSettings callSettings = null)

Gets a source.

Parameters
NameDescription
requestGetSourceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Source

The RPC response.

Overrides

GetSourceAsync(GetSourceRequest, CallSettings)

public override Task<Source> GetSourceAsync(GetSourceRequest request, CallSettings callSettings = null)

Gets a source.

Parameters
NameDescription
requestGetSourceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Source>

A Task containing the RPC response.

Overrides

GroupAssets(GroupAssetsRequest, CallSettings)

public override PagedEnumerable<GroupAssetsResponse, GroupResult> GroupAssets(GroupAssetsRequest request, CallSettings callSettings = null)

Filters an organization's assets and groups them by their specified properties.

Parameters
NameDescription
requestGroupAssetsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<GroupAssetsResponse, GroupResult>

A pageable sequence of GroupResult resources.

Overrides

GroupAssetsAsync(GroupAssetsRequest, CallSettings)

public override PagedAsyncEnumerable<GroupAssetsResponse, GroupResult> GroupAssetsAsync(GroupAssetsRequest request, CallSettings callSettings = null)

Filters an organization's assets and groups them by their specified properties.

Parameters
NameDescription
requestGroupAssetsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<GroupAssetsResponse, GroupResult>

A pageable asynchronous sequence of GroupResult resources.

Overrides

GroupFindings(GroupFindingsRequest, CallSettings)

public override PagedEnumerable<GroupFindingsResponse, GroupResult> GroupFindings(GroupFindingsRequest request, CallSettings callSettings = null)

Filters an organization or source's findings and groups them by their specified properties.

To group across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings

Parameters
NameDescription
requestGroupFindingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<GroupFindingsResponse, GroupResult>

A pageable sequence of GroupResult resources.

Overrides

GroupFindingsAsync(GroupFindingsRequest, CallSettings)

public override PagedAsyncEnumerable<GroupFindingsResponse, GroupResult> GroupFindingsAsync(GroupFindingsRequest request, CallSettings callSettings = null)

Filters an organization or source's findings and groups them by their specified properties.

To group across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings

Parameters
NameDescription
requestGroupFindingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<GroupFindingsResponse, GroupResult>

A pageable asynchronous sequence of GroupResult resources.

Overrides

ListAssets(ListAssetsRequest, CallSettings)

public override PagedEnumerable<ListAssetsResponse, ListAssetsResponse.Types.ListAssetsResult> ListAssets(ListAssetsRequest request, CallSettings callSettings = null)

Lists an organization's assets.

Parameters
NameDescription
requestListAssetsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAssetsResponse, ListAssetsResponse.Types.ListAssetsResult>

A pageable sequence of ListAssetsResponse.Types.ListAssetsResult resources.

Overrides

ListAssetsAsync(ListAssetsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAssetsResponse, ListAssetsResponse.Types.ListAssetsResult> ListAssetsAsync(ListAssetsRequest request, CallSettings callSettings = null)

Lists an organization's assets.

Parameters
NameDescription
requestListAssetsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAssetsResponse, ListAssetsResponse.Types.ListAssetsResult>

A pageable asynchronous sequence of ListAssetsResponse.Types.ListAssetsResult resources.

Overrides

ListBigQueryExports(ListBigQueryExportsRequest, CallSettings)

public override PagedEnumerable<ListBigQueryExportsResponse, BigQueryExport> ListBigQueryExports(ListBigQueryExportsRequest request, CallSettings callSettings = null)

Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

Parameters
NameDescription
requestListBigQueryExportsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListBigQueryExportsResponse, BigQueryExport>

A pageable sequence of BigQueryExport resources.

Overrides

ListBigQueryExportsAsync(ListBigQueryExportsRequest, CallSettings)

public override PagedAsyncEnumerable<ListBigQueryExportsResponse, BigQueryExport> ListBigQueryExportsAsync(ListBigQueryExportsRequest request, CallSettings callSettings = null)

Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

Parameters
NameDescription
requestListBigQueryExportsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListBigQueryExportsResponse, BigQueryExport>

A pageable asynchronous sequence of BigQueryExport resources.

Overrides

ListFindings(ListFindingsRequest, CallSettings)

public override PagedEnumerable<ListFindingsResponse, ListFindingsResponse.Types.ListFindingsResult> ListFindings(ListFindingsRequest request, CallSettings callSettings = null)

Lists an organization or source's findings.

To list across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings

Parameters
NameDescription
requestListFindingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListFindingsResponse, ListFindingsResponse.Types.ListFindingsResult>

A pageable sequence of ListFindingsResponse.Types.ListFindingsResult resources.

Overrides

ListFindingsAsync(ListFindingsRequest, CallSettings)

public override PagedAsyncEnumerable<ListFindingsResponse, ListFindingsResponse.Types.ListFindingsResult> ListFindingsAsync(ListFindingsRequest request, CallSettings callSettings = null)

Lists an organization or source's findings.

To list across all sources provide a - as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings

Parameters
NameDescription
requestListFindingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListFindingsResponse, ListFindingsResponse.Types.ListFindingsResult>

A pageable asynchronous sequence of ListFindingsResponse.Types.ListFindingsResult resources.

Overrides

ListMuteConfigs(ListMuteConfigsRequest, CallSettings)

public override PagedEnumerable<ListMuteConfigsResponse, MuteConfig> ListMuteConfigs(ListMuteConfigsRequest request, CallSettings callSettings = null)

Lists mute configs.

Parameters
NameDescription
requestListMuteConfigsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListMuteConfigsResponse, MuteConfig>

A pageable sequence of MuteConfig resources.

Overrides

ListMuteConfigsAsync(ListMuteConfigsRequest, CallSettings)

public override PagedAsyncEnumerable<ListMuteConfigsResponse, MuteConfig> ListMuteConfigsAsync(ListMuteConfigsRequest request, CallSettings callSettings = null)

Lists mute configs.

Parameters
NameDescription
requestListMuteConfigsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListMuteConfigsResponse, MuteConfig>

A pageable asynchronous sequence of MuteConfig resources.

Overrides

ListNotificationConfigs(ListNotificationConfigsRequest, CallSettings)

public override PagedEnumerable<ListNotificationConfigsResponse, NotificationConfig> ListNotificationConfigs(ListNotificationConfigsRequest request, CallSettings callSettings = null)

Lists notification configs.

Parameters
NameDescription
requestListNotificationConfigsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListNotificationConfigsResponse, NotificationConfig>

A pageable sequence of NotificationConfig resources.

Overrides

ListNotificationConfigsAsync(ListNotificationConfigsRequest, CallSettings)

public override PagedAsyncEnumerable<ListNotificationConfigsResponse, NotificationConfig> ListNotificationConfigsAsync(ListNotificationConfigsRequest request, CallSettings callSettings = null)

Lists notification configs.

Parameters
NameDescription
requestListNotificationConfigsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListNotificationConfigsResponse, NotificationConfig>

A pageable asynchronous sequence of NotificationConfig resources.

Overrides

ListSources(ListSourcesRequest, CallSettings)

public override PagedEnumerable<ListSourcesResponse, Source> ListSources(ListSourcesRequest request, CallSettings callSettings = null)

Lists all sources belonging to an organization.

Parameters
NameDescription
requestListSourcesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListSourcesResponse, Source>

A pageable sequence of Source resources.

Overrides

ListSourcesAsync(ListSourcesRequest, CallSettings)

public override PagedAsyncEnumerable<ListSourcesResponse, Source> ListSourcesAsync(ListSourcesRequest request, CallSettings callSettings = null)

Lists all sources belonging to an organization.

Parameters
NameDescription
requestListSourcesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListSourcesResponse, Source>

A pageable asynchronous sequence of Source resources.

Overrides

RunAssetDiscovery(RunAssetDiscoveryRequest, CallSettings)

public override Operation<RunAssetDiscoveryResponse, Empty> RunAssetDiscovery(RunAssetDiscoveryRequest request, CallSettings callSettings = null)

Runs asset discovery. The discovery is tracked with a long-running operation.

This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.

Parameters
NameDescription
requestRunAssetDiscoveryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<RunAssetDiscoveryResponse, Empty>

The RPC response.

Overrides

RunAssetDiscoveryAsync(RunAssetDiscoveryRequest, CallSettings)

public override async Task<Operation<RunAssetDiscoveryResponse, Empty>> RunAssetDiscoveryAsync(RunAssetDiscoveryRequest request, CallSettings callSettings = null)

Runs asset discovery. The discovery is tracked with a long-running operation.

This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.

Parameters
NameDescription
requestRunAssetDiscoveryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<RunAssetDiscoveryResponse, Empty>>

A Task containing the RPC response.

Overrides

SetFindingState(SetFindingStateRequest, CallSettings)

public override Finding SetFindingState(SetFindingStateRequest request, CallSettings callSettings = null)

Updates the state of a finding.

Parameters
NameDescription
requestSetFindingStateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Finding

The RPC response.

Overrides

SetFindingStateAsync(SetFindingStateRequest, CallSettings)

public override Task<Finding> SetFindingStateAsync(SetFindingStateRequest request, CallSettings callSettings = null)

Updates the state of a finding.

Parameters
NameDescription
requestSetFindingStateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Finding>

A Task containing the RPC response.

Overrides

SetIamPolicy(SetIamPolicyRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified Source.

Parameters
NameDescription
requestSetIamPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified Source.

Parameters
NameDescription
requestSetIamPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

SetMute(SetMuteRequest, CallSettings)

public override Finding SetMute(SetMuteRequest request, CallSettings callSettings = null)

Updates the mute state of a finding.

Parameters
NameDescription
requestSetMuteRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Finding

The RPC response.

Overrides

SetMuteAsync(SetMuteRequest, CallSettings)

public override Task<Finding> SetMuteAsync(SetMuteRequest request, CallSettings callSettings = null)

Updates the mute state of a finding.

Parameters
NameDescription
requestSetMuteRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Finding>

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsRequest, CallSettings)

public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)

Returns the permissions that a caller has on the specified source.

Parameters
NameDescription
requestTestIamPermissionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TestIamPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)

public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)

Returns the permissions that a caller has on the specified source.

Parameters
NameDescription
requestTestIamPermissionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TestIamPermissionsResponse>

A Task containing the RPC response.

Overrides

UpdateBigQueryExport(UpdateBigQueryExportRequest, CallSettings)

public override BigQueryExport UpdateBigQueryExport(UpdateBigQueryExportRequest request, CallSettings callSettings = null)

Updates a BigQuery export.

Parameters
NameDescription
requestUpdateBigQueryExportRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BigQueryExport

The RPC response.

Overrides

UpdateBigQueryExportAsync(UpdateBigQueryExportRequest, CallSettings)

public override Task<BigQueryExport> UpdateBigQueryExportAsync(UpdateBigQueryExportRequest request, CallSettings callSettings = null)

Updates a BigQuery export.

Parameters
NameDescription
requestUpdateBigQueryExportRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BigQueryExport>

A Task containing the RPC response.

Overrides

UpdateExternalSystem(UpdateExternalSystemRequest, CallSettings)

public override ExternalSystem UpdateExternalSystem(UpdateExternalSystemRequest request, CallSettings callSettings = null)

Updates external system. This is for a given finding.

Parameters
NameDescription
requestUpdateExternalSystemRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ExternalSystem

The RPC response.

Overrides

UpdateExternalSystemAsync(UpdateExternalSystemRequest, CallSettings)

public override Task<ExternalSystem> UpdateExternalSystemAsync(UpdateExternalSystemRequest request, CallSettings callSettings = null)

Updates external system. This is for a given finding.

Parameters
NameDescription
requestUpdateExternalSystemRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ExternalSystem>

A Task containing the RPC response.

Overrides

UpdateFinding(UpdateFindingRequest, CallSettings)

public override Finding UpdateFinding(UpdateFindingRequest request, CallSettings callSettings = null)

Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

Parameters
NameDescription
requestUpdateFindingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Finding

The RPC response.

Overrides

UpdateFindingAsync(UpdateFindingRequest, CallSettings)

public override Task<Finding> UpdateFindingAsync(UpdateFindingRequest request, CallSettings callSettings = null)

Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

Parameters
NameDescription
requestUpdateFindingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Finding>

A Task containing the RPC response.

Overrides

UpdateMuteConfig(UpdateMuteConfigRequest, CallSettings)

public override MuteConfig UpdateMuteConfig(UpdateMuteConfigRequest request, CallSettings callSettings = null)

Updates a mute config.

Parameters
NameDescription
requestUpdateMuteConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
MuteConfig

The RPC response.

Overrides

UpdateMuteConfigAsync(UpdateMuteConfigRequest, CallSettings)

public override Task<MuteConfig> UpdateMuteConfigAsync(UpdateMuteConfigRequest request, CallSettings callSettings = null)

Updates a mute config.

Parameters
NameDescription
requestUpdateMuteConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<MuteConfig>

A Task containing the RPC response.

Overrides

UpdateNotificationConfig(UpdateNotificationConfigRequest, CallSettings)

public override NotificationConfig UpdateNotificationConfig(UpdateNotificationConfigRequest request, CallSettings callSettings = null)

Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

Parameters
NameDescription
requestUpdateNotificationConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
NotificationConfig

The RPC response.

Overrides

UpdateNotificationConfigAsync(UpdateNotificationConfigRequest, CallSettings)

public override Task<NotificationConfig> UpdateNotificationConfigAsync(UpdateNotificationConfigRequest request, CallSettings callSettings = null)

Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

Parameters
NameDescription
requestUpdateNotificationConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<NotificationConfig>

A Task containing the RPC response.

Overrides

UpdateOrganizationSettings(UpdateOrganizationSettingsRequest, CallSettings)

public override OrganizationSettings UpdateOrganizationSettings(UpdateOrganizationSettingsRequest request, CallSettings callSettings = null)

Updates an organization's settings.

Parameters
NameDescription
requestUpdateOrganizationSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OrganizationSettings

The RPC response.

Overrides

UpdateOrganizationSettingsAsync(UpdateOrganizationSettingsRequest, CallSettings)

public override Task<OrganizationSettings> UpdateOrganizationSettingsAsync(UpdateOrganizationSettingsRequest request, CallSettings callSettings = null)

Updates an organization's settings.

Parameters
NameDescription
requestUpdateOrganizationSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<OrganizationSettings>

A Task containing the RPC response.

Overrides

UpdateSecurityMarks(UpdateSecurityMarksRequest, CallSettings)

public override SecurityMarks UpdateSecurityMarks(UpdateSecurityMarksRequest request, CallSettings callSettings = null)

Updates security marks.

Parameters
NameDescription
requestUpdateSecurityMarksRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecurityMarks

The RPC response.

Overrides

UpdateSecurityMarksAsync(UpdateSecurityMarksRequest, CallSettings)

public override Task<SecurityMarks> UpdateSecurityMarksAsync(UpdateSecurityMarksRequest request, CallSettings callSettings = null)

Updates security marks.

Parameters
NameDescription
requestUpdateSecurityMarksRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SecurityMarks>

A Task containing the RPC response.

Overrides

UpdateSource(UpdateSourceRequest, CallSettings)

public override Source UpdateSource(UpdateSourceRequest request, CallSettings callSettings = null)

Updates a source.

Parameters
NameDescription
requestUpdateSourceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Source

The RPC response.

Overrides

UpdateSourceAsync(UpdateSourceRequest, CallSettings)

public override Task<Source> UpdateSourceAsync(UpdateSourceRequest request, CallSettings callSettings = null)

Updates a source.

Parameters
NameDescription
requestUpdateSourceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Source>

A Task containing the RPC response.

Overrides