Class SecurityCenterManagementConnection (2.22.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest
Returns
TypeDescription
StreamRange< google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::ListSecurityHealthAnalyticsCustomModulesRequest
Returns
TypeDescription
StreamRange< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest
Returns
TypeDescription
StreamRange< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::GetSecurityHealthAnalyticsCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::CreateSecurityHealthAnalyticsCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::UpdateSecurityHealthAnalyticsCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::DeleteSecurityHealthAnalyticsCustomModuleRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleResponse >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::ListEffectiveEventThreatDetectionCustomModulesRequest
Returns
TypeDescription
StreamRange< google::cloud::securitycentermanagement::v1::EffectiveEventThreatDetectionCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::GetEffectiveEventThreatDetectionCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::EffectiveEventThreatDetectionCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::ListEventThreatDetectionCustomModulesRequest
Returns
TypeDescription
StreamRange< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::ListDescendantEventThreatDetectionCustomModulesRequest
Returns
TypeDescription
StreamRange< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::GetEventThreatDetectionCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::CreateEventThreatDetectionCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::UpdateEventThreatDetectionCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule >

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::DeleteEventThreatDetectionCustomModuleRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::securitycentermanagement::v1::ValidateEventThreatDetectionCustomModuleRequest const &
Returns
TypeDescription
StatusOr< google::cloud::securitycentermanagement::v1::ValidateEventThreatDetectionCustomModuleResponse >