Class SecurityCenterManagementConnection (2.29.0)

This interface defines virtual methods for each of the user-facing overload sets in SecurityCenterManagementClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SecurityCenterManagementClient.

To create a concrete instance, see MakeSecurityCenterManagementConnection().

For mocking, see securitycentermanagement_v1_mocks::MockSecurityCenterManagementConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListEffectiveSecurityHealthAnalyticsCustomModules(google::cloud::securitycentermanagement::v1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest
Returns
Type Description
StreamRange< google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule >

virtual GetEffectiveSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule >

virtual ListSecurityHealthAnalyticsCustomModules(google::cloud::securitycentermanagement::v1::ListSecurityHealthAnalyticsCustomModulesRequest)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::ListSecurityHealthAnalyticsCustomModulesRequest
Returns
Type Description
StreamRange< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

virtual ListDescendantSecurityHealthAnalyticsCustomModules(google::cloud::securitycentermanagement::v1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest
Returns
Type Description
StreamRange< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

virtual GetSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::GetSecurityHealthAnalyticsCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::GetSecurityHealthAnalyticsCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

virtual CreateSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::CreateSecurityHealthAnalyticsCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::CreateSecurityHealthAnalyticsCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

virtual UpdateSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::UpdateSecurityHealthAnalyticsCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::UpdateSecurityHealthAnalyticsCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

virtual DeleteSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::DeleteSecurityHealthAnalyticsCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::DeleteSecurityHealthAnalyticsCustomModuleRequest const &
Returns
Type Description
Status

virtual SimulateSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleResponse >

virtual ListEffectiveEventThreatDetectionCustomModules(google::cloud::securitycentermanagement::v1::ListEffectiveEventThreatDetectionCustomModulesRequest)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::ListEffectiveEventThreatDetectionCustomModulesRequest
Returns
Type Description
StreamRange< google::cloud::securitycentermanagement::v1::EffectiveEventThreatDetectionCustomModule >

virtual GetEffectiveEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::GetEffectiveEventThreatDetectionCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::GetEffectiveEventThreatDetectionCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::EffectiveEventThreatDetectionCustomModule >

virtual ListEventThreatDetectionCustomModules(google::cloud::securitycentermanagement::v1::ListEventThreatDetectionCustomModulesRequest)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::ListEventThreatDetectionCustomModulesRequest
Returns
Type Description
StreamRange< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

virtual ListDescendantEventThreatDetectionCustomModules(google::cloud::securitycentermanagement::v1::ListDescendantEventThreatDetectionCustomModulesRequest)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::ListDescendantEventThreatDetectionCustomModulesRequest
Returns
Type Description
StreamRange< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

virtual GetEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::GetEventThreatDetectionCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::GetEventThreatDetectionCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

virtual CreateEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::CreateEventThreatDetectionCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::CreateEventThreatDetectionCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

virtual UpdateEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::UpdateEventThreatDetectionCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::UpdateEventThreatDetectionCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

virtual DeleteEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::DeleteEventThreatDetectionCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::DeleteEventThreatDetectionCustomModuleRequest const &
Returns
Type Description
Status

virtual ValidateEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::ValidateEventThreatDetectionCustomModuleRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::ValidateEventThreatDetectionCustomModuleRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::ValidateEventThreatDetectionCustomModuleResponse >

virtual GetSecurityCenterService(google::cloud::securitycentermanagement::v1::GetSecurityCenterServiceRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::GetSecurityCenterServiceRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::SecurityCenterService >

virtual ListSecurityCenterServices(google::cloud::securitycentermanagement::v1::ListSecurityCenterServicesRequest)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::ListSecurityCenterServicesRequest
Returns
Type Description
StreamRange< google::cloud::securitycentermanagement::v1::SecurityCenterService >

virtual UpdateSecurityCenterService(google::cloud::securitycentermanagement::v1::UpdateSecurityCenterServiceRequest const &)

Parameter
Name Description
request google::cloud::securitycentermanagement::v1::UpdateSecurityCenterServiceRequest const &
Returns
Type Description
StatusOr< google::cloud::securitycentermanagement::v1::SecurityCenterService >