Google Cloud Security Command Center v1 API - Class SecurityCenter.SecurityCenterBase (3.24.0)

[BindServiceMethod(typeof(SecurityCenter), "BindService")]
public abstract class SecurityCenter.SecurityCenterBase

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

Base class for server-side implementations of SecurityCenter

Inheritance

object > SecurityCenter.SecurityCenterBase

Namespace

Google.Cloud.SecurityCenter.V1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Methods

BatchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest, ServerCallContext)

public virtual Task<BatchCreateResourceValueConfigsResponse> BatchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest request, ServerCallContext context)

Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.

Parameters
Name Description
request BatchCreateResourceValueConfigsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskBatchCreateResourceValueConfigsResponse

The response to send back to the client (wrapped by a task).

BulkMuteFindings(BulkMuteFindingsRequest, ServerCallContext)

public virtual Task<Operation> BulkMuteFindings(BulkMuteFindingsRequest request, ServerCallContext context)

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
Name Description
request BulkMuteFindingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateBigQueryExport(CreateBigQueryExportRequest, ServerCallContext)

public virtual Task<BigQueryExport> CreateBigQueryExport(CreateBigQueryExportRequest request, ServerCallContext context)

Creates a BigQuery export.

Parameters
Name Description
request CreateBigQueryExportRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskBigQueryExport

The response to send back to the client (wrapped by a task).

CreateEventThreatDetectionCustomModule(CreateEventThreatDetectionCustomModuleRequest, ServerCallContext)

public virtual Task<EventThreatDetectionCustomModule> CreateEventThreatDetectionCustomModule(CreateEventThreatDetectionCustomModuleRequest request, ServerCallContext context)

Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.

Parameters
Name Description
request CreateEventThreatDetectionCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEventThreatDetectionCustomModule

The response to send back to the client (wrapped by a task).

CreateFinding(CreateFindingRequest, ServerCallContext)

public virtual Task<Finding> CreateFinding(CreateFindingRequest request, ServerCallContext context)

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

Parameters
Name Description
request CreateFindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFinding

The response to send back to the client (wrapped by a task).

CreateMuteConfig(CreateMuteConfigRequest, ServerCallContext)

public virtual Task<MuteConfig> CreateMuteConfig(CreateMuteConfigRequest request, ServerCallContext context)

Creates a mute config.

Parameters
Name Description
request CreateMuteConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskMuteConfig

The response to send back to the client (wrapped by a task).

CreateNotificationConfig(CreateNotificationConfigRequest, ServerCallContext)

public virtual Task<NotificationConfig> CreateNotificationConfig(CreateNotificationConfigRequest request, ServerCallContext context)

Creates a notification config.

Parameters
Name Description
request CreateNotificationConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskNotificationConfig

The response to send back to the client (wrapped by a task).

CreateSecurityHealthAnalyticsCustomModule(CreateSecurityHealthAnalyticsCustomModuleRequest, ServerCallContext)

public virtual Task<SecurityHealthAnalyticsCustomModule> CreateSecurityHealthAnalyticsCustomModule(CreateSecurityHealthAnalyticsCustomModuleRequest request, ServerCallContext context)

Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.

Parameters
Name Description
request CreateSecurityHealthAnalyticsCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSecurityHealthAnalyticsCustomModule

The response to send back to the client (wrapped by a task).

CreateSource(CreateSourceRequest, ServerCallContext)

public virtual Task<Source> CreateSource(CreateSourceRequest request, ServerCallContext context)

Creates a source.

Parameters
Name Description
request CreateSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSource

The response to send back to the client (wrapped by a task).

DeleteBigQueryExport(DeleteBigQueryExportRequest, ServerCallContext)

public virtual Task<Empty> DeleteBigQueryExport(DeleteBigQueryExportRequest request, ServerCallContext context)

Deletes an existing BigQuery export.

Parameters
Name Description
request DeleteBigQueryExportRequest

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

DeleteEventThreatDetectionCustomModule(DeleteEventThreatDetectionCustomModuleRequest, ServerCallContext)

public virtual Task<Empty> DeleteEventThreatDetectionCustomModule(DeleteEventThreatDetectionCustomModuleRequest request, ServerCallContext context)

Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.

Parameters
Name Description
request DeleteEventThreatDetectionCustomModuleRequest

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

DeleteMuteConfig(DeleteMuteConfigRequest, ServerCallContext)

public virtual Task<Empty> DeleteMuteConfig(DeleteMuteConfigRequest request, ServerCallContext context)

Deletes an existing mute config.

Parameters
Name Description
request DeleteMuteConfigRequest

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

DeleteNotificationConfig(DeleteNotificationConfigRequest, ServerCallContext)

public virtual Task<Empty> DeleteNotificationConfig(DeleteNotificationConfigRequest request, ServerCallContext context)

Deletes a notification config.

Parameters
Name Description
request DeleteNotificationConfigRequest

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

DeleteResourceValueConfig(DeleteResourceValueConfigRequest, ServerCallContext)

public virtual Task<Empty> DeleteResourceValueConfig(DeleteResourceValueConfigRequest request, ServerCallContext context)

Deletes a ResourceValueConfig.

Parameters
Name Description
request DeleteResourceValueConfigRequest

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

DeleteSecurityHealthAnalyticsCustomModule(DeleteSecurityHealthAnalyticsCustomModuleRequest, ServerCallContext)

public virtual Task<Empty> DeleteSecurityHealthAnalyticsCustomModule(DeleteSecurityHealthAnalyticsCustomModuleRequest request, ServerCallContext context)

Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.

Parameters
Name Description
request DeleteSecurityHealthAnalyticsCustomModuleRequest

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

GetBigQueryExport(GetBigQueryExportRequest, ServerCallContext)

public virtual Task<BigQueryExport> GetBigQueryExport(GetBigQueryExportRequest request, ServerCallContext context)

Gets a BigQuery export.

Parameters
Name Description
request GetBigQueryExportRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskBigQueryExport

The response to send back to the client (wrapped by a task).

GetEffectiveEventThreatDetectionCustomModule(GetEffectiveEventThreatDetectionCustomModuleRequest, ServerCallContext)

public virtual Task<EffectiveEventThreatDetectionCustomModule> GetEffectiveEventThreatDetectionCustomModule(GetEffectiveEventThreatDetectionCustomModuleRequest request, ServerCallContext context)

Gets an effective Event Threat Detection custom module at the given level.

Parameters
Name Description
request GetEffectiveEventThreatDetectionCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEffectiveEventThreatDetectionCustomModule

The response to send back to the client (wrapped by a task).

GetEffectiveSecurityHealthAnalyticsCustomModule(GetEffectiveSecurityHealthAnalyticsCustomModuleRequest, ServerCallContext)

public virtual Task<EffectiveSecurityHealthAnalyticsCustomModule> GetEffectiveSecurityHealthAnalyticsCustomModule(GetEffectiveSecurityHealthAnalyticsCustomModuleRequest request, ServerCallContext context)

Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.

Parameters
Name Description
request GetEffectiveSecurityHealthAnalyticsCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEffectiveSecurityHealthAnalyticsCustomModule

The response to send back to the client (wrapped by a task).

GetEventThreatDetectionCustomModule(GetEventThreatDetectionCustomModuleRequest, ServerCallContext)

public virtual Task<EventThreatDetectionCustomModule> GetEventThreatDetectionCustomModule(GetEventThreatDetectionCustomModuleRequest request, ServerCallContext context)

Gets an Event Threat Detection custom module.

Parameters
Name Description
request GetEventThreatDetectionCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEventThreatDetectionCustomModule

The response to send back to the client (wrapped by a task).

GetIamPolicy(GetIamPolicyRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)

Gets the access control policy on the specified Source.

Parameters
Name Description
request GetIamPolicyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicy

The response to send back to the client (wrapped by a task).

GetMuteConfig(GetMuteConfigRequest, ServerCallContext)

public virtual Task<MuteConfig> GetMuteConfig(GetMuteConfigRequest request, ServerCallContext context)

Gets a mute config.

Parameters
Name Description
request GetMuteConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskMuteConfig

The response to send back to the client (wrapped by a task).

GetNotificationConfig(GetNotificationConfigRequest, ServerCallContext)

public virtual Task<NotificationConfig> GetNotificationConfig(GetNotificationConfigRequest request, ServerCallContext context)

Gets a notification config.

Parameters
Name Description
request GetNotificationConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskNotificationConfig

The response to send back to the client (wrapped by a task).

GetOrganizationSettings(GetOrganizationSettingsRequest, ServerCallContext)

public virtual Task<OrganizationSettings> GetOrganizationSettings(GetOrganizationSettingsRequest request, ServerCallContext context)

Gets the settings for an organization.

Parameters
Name Description
request GetOrganizationSettingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOrganizationSettings

The response to send back to the client (wrapped by a task).

GetResourceValueConfig(GetResourceValueConfigRequest, ServerCallContext)

public virtual Task<ResourceValueConfig> GetResourceValueConfig(GetResourceValueConfigRequest request, ServerCallContext context)

Gets a ResourceValueConfig.

Parameters
Name Description
request GetResourceValueConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskResourceValueConfig

The response to send back to the client (wrapped by a task).

GetSecurityHealthAnalyticsCustomModule(GetSecurityHealthAnalyticsCustomModuleRequest, ServerCallContext)

public virtual Task<SecurityHealthAnalyticsCustomModule> GetSecurityHealthAnalyticsCustomModule(GetSecurityHealthAnalyticsCustomModuleRequest request, ServerCallContext context)

Retrieves a SecurityHealthAnalyticsCustomModule.

Parameters
Name Description
request GetSecurityHealthAnalyticsCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSecurityHealthAnalyticsCustomModule

The response to send back to the client (wrapped by a task).

GetSimulation(GetSimulationRequest, ServerCallContext)

public virtual Task<Simulation> GetSimulation(GetSimulationRequest request, ServerCallContext context)

Get the simulation by name or the latest simulation for the given organization.

Parameters
Name Description
request GetSimulationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSimulation

The response to send back to the client (wrapped by a task).

GetSource(GetSourceRequest, ServerCallContext)

public virtual Task<Source> GetSource(GetSourceRequest request, ServerCallContext context)

Gets a source.

Parameters
Name Description
request GetSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSource

The response to send back to the client (wrapped by a task).

GetValuedResource(GetValuedResourceRequest, ServerCallContext)

public virtual Task<ValuedResource> GetValuedResource(GetValuedResourceRequest request, ServerCallContext context)

Get the valued resource by name

Parameters
Name Description
request GetValuedResourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskValuedResource

The response to send back to the client (wrapped by a task).

GroupAssets(GroupAssetsRequest, ServerCallContext)

[Obsolete]
public virtual Task<GroupAssetsResponse> GroupAssets(GroupAssetsRequest request, ServerCallContext context)

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

Parameters
Name Description
request GroupAssetsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGroupAssetsResponse

The response to send back to the client (wrapped by a task).

GroupFindings(GroupFindingsRequest, ServerCallContext)

public virtual Task<GroupFindingsResponse> GroupFindings(GroupFindingsRequest request, ServerCallContext context)

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
Name Description
request GroupFindingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGroupFindingsResponse

The response to send back to the client (wrapped by a task).

ListAssets(ListAssetsRequest, ServerCallContext)

[Obsolete]
public virtual Task<ListAssetsResponse> ListAssets(ListAssetsRequest request, ServerCallContext context)

Lists an organization's assets.

Parameters
Name Description
request ListAssetsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListAssetsResponse

The response to send back to the client (wrapped by a task).

ListAttackPaths(ListAttackPathsRequest, ServerCallContext)

public virtual Task<ListAttackPathsResponse> ListAttackPaths(ListAttackPathsRequest request, ServerCallContext context)

Lists the attack paths for a set of simulation results or valued resources and filter.

Parameters
Name Description
request ListAttackPathsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListAttackPathsResponse

The response to send back to the client (wrapped by a task).

ListBigQueryExports(ListBigQueryExportsRequest, ServerCallContext)

public virtual Task<ListBigQueryExportsResponse> ListBigQueryExports(ListBigQueryExportsRequest request, ServerCallContext context)

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
Name Description
request ListBigQueryExportsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListBigQueryExportsResponse

The response to send back to the client (wrapped by a task).

ListDescendantEventThreatDetectionCustomModules(ListDescendantEventThreatDetectionCustomModulesRequest, ServerCallContext)

public virtual Task<ListDescendantEventThreatDetectionCustomModulesResponse> ListDescendantEventThreatDetectionCustomModules(ListDescendantEventThreatDetectionCustomModulesRequest request, ServerCallContext context)

Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.

Parameters
Name Description
request ListDescendantEventThreatDetectionCustomModulesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListDescendantEventThreatDetectionCustomModulesResponse

The response to send back to the client (wrapped by a task).

ListDescendantSecurityHealthAnalyticsCustomModules(ListDescendantSecurityHealthAnalyticsCustomModulesRequest, ServerCallContext)

public virtual Task<ListDescendantSecurityHealthAnalyticsCustomModulesResponse> ListDescendantSecurityHealthAnalyticsCustomModules(ListDescendantSecurityHealthAnalyticsCustomModulesRequest request, ServerCallContext context)

Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.

Parameters
Name Description
request ListDescendantSecurityHealthAnalyticsCustomModulesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListDescendantSecurityHealthAnalyticsCustomModulesResponse

The response to send back to the client (wrapped by a task).

ListEffectiveEventThreatDetectionCustomModules(ListEffectiveEventThreatDetectionCustomModulesRequest, ServerCallContext)

public virtual Task<ListEffectiveEventThreatDetectionCustomModulesResponse> ListEffectiveEventThreatDetectionCustomModules(ListEffectiveEventThreatDetectionCustomModulesRequest request, ServerCallContext context)

Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.

Parameters
Name Description
request ListEffectiveEventThreatDetectionCustomModulesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListEffectiveEventThreatDetectionCustomModulesResponse

The response to send back to the client (wrapped by a task).

ListEffectiveSecurityHealthAnalyticsCustomModules(ListEffectiveSecurityHealthAnalyticsCustomModulesRequest, ServerCallContext)

public virtual Task<ListEffectiveSecurityHealthAnalyticsCustomModulesResponse> ListEffectiveSecurityHealthAnalyticsCustomModules(ListEffectiveSecurityHealthAnalyticsCustomModulesRequest request, ServerCallContext context)

Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.

Parameters
Name Description
request ListEffectiveSecurityHealthAnalyticsCustomModulesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListEffectiveSecurityHealthAnalyticsCustomModulesResponse

The response to send back to the client (wrapped by a task).

ListEventThreatDetectionCustomModules(ListEventThreatDetectionCustomModulesRequest, ServerCallContext)

public virtual Task<ListEventThreatDetectionCustomModulesResponse> ListEventThreatDetectionCustomModules(ListEventThreatDetectionCustomModulesRequest request, ServerCallContext context)

Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.

Parameters
Name Description
request ListEventThreatDetectionCustomModulesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListEventThreatDetectionCustomModulesResponse

The response to send back to the client (wrapped by a task).

ListFindings(ListFindingsRequest, ServerCallContext)

public virtual Task<ListFindingsResponse> ListFindings(ListFindingsRequest request, ServerCallContext context)

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
Name Description
request ListFindingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListFindingsResponse

The response to send back to the client (wrapped by a task).

ListMuteConfigs(ListMuteConfigsRequest, ServerCallContext)

public virtual Task<ListMuteConfigsResponse> ListMuteConfigs(ListMuteConfigsRequest request, ServerCallContext context)

Lists mute configs.

Parameters
Name Description
request ListMuteConfigsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListMuteConfigsResponse

The response to send back to the client (wrapped by a task).

ListNotificationConfigs(ListNotificationConfigsRequest, ServerCallContext)

public virtual Task<ListNotificationConfigsResponse> ListNotificationConfigs(ListNotificationConfigsRequest request, ServerCallContext context)

Lists notification configs.

Parameters
Name Description
request ListNotificationConfigsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListNotificationConfigsResponse

The response to send back to the client (wrapped by a task).

ListResourceValueConfigs(ListResourceValueConfigsRequest, ServerCallContext)

public virtual Task<ListResourceValueConfigsResponse> ListResourceValueConfigs(ListResourceValueConfigsRequest request, ServerCallContext context)

Lists all ResourceValueConfigs.

Parameters
Name Description
request ListResourceValueConfigsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListResourceValueConfigsResponse

The response to send back to the client (wrapped by a task).

ListSecurityHealthAnalyticsCustomModules(ListSecurityHealthAnalyticsCustomModulesRequest, ServerCallContext)

public virtual Task<ListSecurityHealthAnalyticsCustomModulesResponse> ListSecurityHealthAnalyticsCustomModules(ListSecurityHealthAnalyticsCustomModulesRequest request, ServerCallContext context)

Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.

Parameters
Name Description
request ListSecurityHealthAnalyticsCustomModulesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListSecurityHealthAnalyticsCustomModulesResponse

The response to send back to the client (wrapped by a task).

ListSources(ListSourcesRequest, ServerCallContext)

public virtual Task<ListSourcesResponse> ListSources(ListSourcesRequest request, ServerCallContext context)

Lists all sources belonging to an organization.

Parameters
Name Description
request ListSourcesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListSourcesResponse

The response to send back to the client (wrapped by a task).

ListValuedResources(ListValuedResourcesRequest, ServerCallContext)

public virtual Task<ListValuedResourcesResponse> ListValuedResources(ListValuedResourcesRequest request, ServerCallContext context)

Lists the valued resources for a set of simulation results and filter.

Parameters
Name Description
request ListValuedResourcesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListValuedResourcesResponse

The response to send back to the client (wrapped by a task).

RunAssetDiscovery(RunAssetDiscoveryRequest, ServerCallContext)

[Obsolete]
public virtual Task<Operation> RunAssetDiscovery(RunAssetDiscoveryRequest request, ServerCallContext context)

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
Name Description
request RunAssetDiscoveryRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

SetFindingState(SetFindingStateRequest, ServerCallContext)

public virtual Task<Finding> SetFindingState(SetFindingStateRequest request, ServerCallContext context)

Updates the state of a finding.

Parameters
Name Description
request SetFindingStateRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFinding

The response to send back to the client (wrapped by a task).

SetIamPolicy(SetIamPolicyRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)

Sets the access control policy on the specified Source.

Parameters
Name Description
request SetIamPolicyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPolicy

The response to send back to the client (wrapped by a task).

SetMute(SetMuteRequest, ServerCallContext)

public virtual Task<Finding> SetMute(SetMuteRequest request, ServerCallContext context)

Updates the mute state of a finding.

Parameters
Name Description
request SetMuteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFinding

The response to send back to the client (wrapped by a task).

SimulateSecurityHealthAnalyticsCustomModule(SimulateSecurityHealthAnalyticsCustomModuleRequest, ServerCallContext)

public virtual Task<SimulateSecurityHealthAnalyticsCustomModuleResponse> SimulateSecurityHealthAnalyticsCustomModule(SimulateSecurityHealthAnalyticsCustomModuleRequest request, ServerCallContext context)

Simulates a given SecurityHealthAnalyticsCustomModule and Resource.

Parameters
Name Description
request SimulateSecurityHealthAnalyticsCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSimulateSecurityHealthAnalyticsCustomModuleResponse

The response to send back to the client (wrapped by a task).

TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)

public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)

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

Parameters
Name Description
request TestIamPermissionsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTestIamPermissionsResponse

The response to send back to the client (wrapped by a task).

UpdateBigQueryExport(UpdateBigQueryExportRequest, ServerCallContext)

public virtual Task<BigQueryExport> UpdateBigQueryExport(UpdateBigQueryExportRequest request, ServerCallContext context)

Updates a BigQuery export.

Parameters
Name Description
request UpdateBigQueryExportRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskBigQueryExport

The response to send back to the client (wrapped by a task).

UpdateEventThreatDetectionCustomModule(UpdateEventThreatDetectionCustomModuleRequest, ServerCallContext)

public virtual Task<EventThreatDetectionCustomModule> UpdateEventThreatDetectionCustomModule(UpdateEventThreatDetectionCustomModuleRequest request, ServerCallContext context)

Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.

Parameters
Name Description
request UpdateEventThreatDetectionCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEventThreatDetectionCustomModule

The response to send back to the client (wrapped by a task).

UpdateExternalSystem(UpdateExternalSystemRequest, ServerCallContext)

public virtual Task<ExternalSystem> UpdateExternalSystem(UpdateExternalSystemRequest request, ServerCallContext context)

Updates external system. This is for a given finding.

Parameters
Name Description
request UpdateExternalSystemRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskExternalSystem

The response to send back to the client (wrapped by a task).

UpdateFinding(UpdateFindingRequest, ServerCallContext)

public virtual Task<Finding> UpdateFinding(UpdateFindingRequest request, ServerCallContext context)

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

Parameters
Name Description
request UpdateFindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFinding

The response to send back to the client (wrapped by a task).

UpdateMuteConfig(UpdateMuteConfigRequest, ServerCallContext)

public virtual Task<MuteConfig> UpdateMuteConfig(UpdateMuteConfigRequest request, ServerCallContext context)

Updates a mute config.

Parameters
Name Description
request UpdateMuteConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskMuteConfig

The response to send back to the client (wrapped by a task).

UpdateNotificationConfig(UpdateNotificationConfigRequest, ServerCallContext)

public virtual Task<NotificationConfig> UpdateNotificationConfig(UpdateNotificationConfigRequest request, ServerCallContext context)

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

Parameters
Name Description
request UpdateNotificationConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskNotificationConfig

The response to send back to the client (wrapped by a task).

UpdateOrganizationSettings(UpdateOrganizationSettingsRequest, ServerCallContext)

public virtual Task<OrganizationSettings> UpdateOrganizationSettings(UpdateOrganizationSettingsRequest request, ServerCallContext context)

Updates an organization's settings.

Parameters
Name Description
request UpdateOrganizationSettingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOrganizationSettings

The response to send back to the client (wrapped by a task).

UpdateResourceValueConfig(UpdateResourceValueConfigRequest, ServerCallContext)

public virtual Task<ResourceValueConfig> UpdateResourceValueConfig(UpdateResourceValueConfigRequest request, ServerCallContext context)

Updates an existing ResourceValueConfigs with new rules.

Parameters
Name Description
request UpdateResourceValueConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskResourceValueConfig

The response to send back to the client (wrapped by a task).

UpdateSecurityHealthAnalyticsCustomModule(UpdateSecurityHealthAnalyticsCustomModuleRequest, ServerCallContext)

public virtual Task<SecurityHealthAnalyticsCustomModule> UpdateSecurityHealthAnalyticsCustomModule(UpdateSecurityHealthAnalyticsCustomModuleRequest request, ServerCallContext context)

Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name and custom config of a module is supported on resident modules only.

Parameters
Name Description
request UpdateSecurityHealthAnalyticsCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSecurityHealthAnalyticsCustomModule

The response to send back to the client (wrapped by a task).

UpdateSecurityMarks(UpdateSecurityMarksRequest, ServerCallContext)

public virtual Task<SecurityMarks> UpdateSecurityMarks(UpdateSecurityMarksRequest request, ServerCallContext context)

Updates security marks.

Parameters
Name Description
request UpdateSecurityMarksRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSecurityMarks

The response to send back to the client (wrapped by a task).

UpdateSource(UpdateSourceRequest, ServerCallContext)

public virtual Task<Source> UpdateSource(UpdateSourceRequest request, ServerCallContext context)

Updates a source.

Parameters
Name Description
request UpdateSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSource

The response to send back to the client (wrapped by a task).

ValidateEventThreatDetectionCustomModule(ValidateEventThreatDetectionCustomModuleRequest, ServerCallContext)

public virtual Task<ValidateEventThreatDetectionCustomModuleResponse> ValidateEventThreatDetectionCustomModule(ValidateEventThreatDetectionCustomModuleRequest request, ServerCallContext context)

Validates the given Event Threat Detection custom module.

Parameters
Name Description
request ValidateEventThreatDetectionCustomModuleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskValidateEventThreatDetectionCustomModuleResponse

The response to send back to the client (wrapped by a task).