Service describing handlers for resources.
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection>
objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
SecurityCenterManagementClient(SecurityCenterManagementClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
SecurityCenterManagementClient const &
|
SecurityCenterManagementClient(SecurityCenterManagementClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
SecurityCenterManagementClient &&
|
SecurityCenterManagementClient(std::shared_ptr< SecurityCenterManagementConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< SecurityCenterManagementConnection >
|
opts |
Options
|
Operators
operator=(SecurityCenterManagementClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
SecurityCenterManagementClient const &
|
Returns | |
---|---|
Type | Description |
SecurityCenterManagementClient & |
operator=(SecurityCenterManagementClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
SecurityCenterManagementClient &&
|
Returns | |
---|---|
Type | Description |
SecurityCenterManagementClient & |
Functions
ListEffectiveSecurityHealthAnalyticsCustomModules(std::string const &, Options)
Returns a list of all EffectiveSecurityHealthAnalyticsCustomModule resources for the given parent.
This includes resident modules defined at the scope of the parent, and inherited modules, inherited from ancestor organizations, folders, and projects (no descendants).
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of parent to list effective custom modules, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListEffectiveSecurityHealthAnalyticsCustomModules(google::cloud::securitycentermanagement::v1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest, Options)
Returns a list of all EffectiveSecurityHealthAnalyticsCustomModule resources for the given parent.
This includes resident modules defined at the scope of the parent, and inherited modules, inherited from ancestor organizations, folders, and projects (no descendants).
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetEffectiveSecurityHealthAnalyticsCustomModule(std::string const &, Options)
Gets details of a single EffectiveSecurityHealthAnalyticsCustomModule.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The full resource name of the custom module, specified in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetEffectiveSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest const &, Options)
Gets details of a single EffectiveSecurityHealthAnalyticsCustomModule.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListSecurityHealthAnalyticsCustomModules(std::string const &, Options)
Returns a list of all SecurityHealthAnalyticsCustomModule resources for the given parent.
This includes resident modules defined at the scope of the parent, and inherited modules, inherited from ancestor organizations, folders, and projects (no descendants).
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of the parent organization, folder, or project in which to list custom modules, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListSecurityHealthAnalyticsCustomModules(google::cloud::securitycentermanagement::v1::ListSecurityHealthAnalyticsCustomModulesRequest, Options)
Returns a list of all SecurityHealthAnalyticsCustomModule resources for the given parent.
This includes resident modules defined at the scope of the parent, and inherited modules, inherited from ancestor organizations, folders, and projects (no descendants).
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::ListSecurityHealthAnalyticsCustomModulesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDescendantSecurityHealthAnalyticsCustomModules(std::string const &, Options)
Returns a list of all resident SecurityHealthAnalyticsCustomModule resources under the given organization, folder, or project and all of its descendants.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of the parent organization, folder, or project in which to list custom modules, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDescendantSecurityHealthAnalyticsCustomModules(google::cloud::securitycentermanagement::v1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest, Options)
Returns a list of all resident SecurityHealthAnalyticsCustomModule resources under the given organization, folder, or project and all of its descendants.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetSecurityHealthAnalyticsCustomModule(std::string const &, Options)
Retrieves a SecurityHealthAnalyticsCustomModule.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource, in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::GetSecurityHealthAnalyticsCustomModuleRequest const &, Options)
Retrieves a SecurityHealthAnalyticsCustomModule.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::GetSecurityHealthAnalyticsCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateSecurityHealthAnalyticsCustomModule(std::string const &, google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule const &, Options)
Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given organization, folder, or project, and also creates inherited SecurityHealthAnalyticsCustomModule
resources for all folders and projects that are descendants of the given parent.
These modules are enabled by default.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of the parent organization, folder, or project of the module, in one of the following formats:
|
security_health_analytics_custom_module |
google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule const &
Required. The resource being created. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::CreateSecurityHealthAnalyticsCustomModuleRequest const &, Options)
Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given organization, folder, or project, and also creates inherited SecurityHealthAnalyticsCustomModule
resources for all folders and projects that are descendants of the given parent.
These modules are enabled by default.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::CreateSecurityHealthAnalyticsCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule const &, google::protobuf::FieldMask const &, Options)
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 configuration of a module is supported on resident modules only.
Parameters | |
---|---|
Name | Description |
security_health_analytics_custom_module |
google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule const &
Required. The resource being updated. |
update_mask |
google::protobuf::FieldMask const &
Required. The fields to update. The following values are valid:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::UpdateSecurityHealthAnalyticsCustomModuleRequest const &, Options)
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 configuration of a module is supported on resident modules only.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::UpdateSecurityHealthAnalyticsCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityHealthAnalyticsCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteSecurityHealthAnalyticsCustomModule(std::string const &, Options)
Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the resource hierarchy.
This method is only supported for resident custom modules.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the SHA custom module, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::DeleteSecurityHealthAnalyticsCustomModuleRequest const &, Options)
Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the resource hierarchy.
This method is only supported for resident custom modules.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::DeleteSecurityHealthAnalyticsCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
SimulateSecurityHealthAnalyticsCustomModule(std::string const &, google::cloud::securitycentermanagement::v1::CustomConfig const &, google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource const &, Options)
Simulates the result of using a SecurityHealthAnalyticsCustomModule to check a resource.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: |
custom_config |
google::cloud::securitycentermanagement::v1::CustomConfig const &
Required. The custom configuration that you need to test. |
resource |
google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource const &
Required. Resource data to simulate custom module against. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleResponse > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
SimulateSecurityHealthAnalyticsCustomModule(google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleRequest const &, Options)
Simulates the result of using a SecurityHealthAnalyticsCustomModule to check a resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SimulateSecurityHealthAnalyticsCustomModuleResponse > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListEffectiveEventThreatDetectionCustomModules(std::string const &, Options)
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 |
parent |
std::string const &
Required. Name of parent to list effective custom modules, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::EffectiveEventThreatDetectionCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListEffectiveEventThreatDetectionCustomModules(google::cloud::securitycentermanagement::v1::ListEffectiveEventThreatDetectionCustomModulesRequest, Options)
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 |
google::cloud::securitycentermanagement::v1::ListEffectiveEventThreatDetectionCustomModulesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::EffectiveEventThreatDetectionCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetEffectiveEventThreatDetectionCustomModule(std::string const &, Options)
Gets the effective Event Threat Detection custom module at the given level.
The difference between an EffectiveEventThreatDetectionCustomModule and an EventThreatDetectionCustomModule is that the fields for an EffectiveEventThreatDetectionCustomModule
are computed from ancestors if needed. For example, the enablement state for an EventThreatDetectionCustomModule
can be ENABLED
, DISABLED
, or INHERITED
. In contrast, the enablement state for an EffectiveEventThreatDetectionCustomModule
is always computed as ENABLED
or DISABLED
.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the Event Threat Detection custom module, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EffectiveEventThreatDetectionCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetEffectiveEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::GetEffectiveEventThreatDetectionCustomModuleRequest const &, Options)
Gets the effective Event Threat Detection custom module at the given level.
The difference between an EffectiveEventThreatDetectionCustomModule and an EventThreatDetectionCustomModule is that the fields for an EffectiveEventThreatDetectionCustomModule
are computed from ancestors if needed. For example, the enablement state for an EventThreatDetectionCustomModule
can be ENABLED
, DISABLED
, or INHERITED
. In contrast, the enablement state for an EffectiveEventThreatDetectionCustomModule
is always computed as ENABLED
or DISABLED
.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::GetEffectiveEventThreatDetectionCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EffectiveEventThreatDetectionCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListEventThreatDetectionCustomModules(std::string const &, Options)
Lists all Event Threat Detection custom modules for the given organization, folder, or project.
This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of parent to list custom modules, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListEventThreatDetectionCustomModules(google::cloud::securitycentermanagement::v1::ListEventThreatDetectionCustomModulesRequest, Options)
Lists all Event Threat Detection custom modules for the given organization, folder, or project.
This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::ListEventThreatDetectionCustomModulesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDescendantEventThreatDetectionCustomModules(std::string const &, Options)
Lists all resident Event Threat Detection custom modules for the given organization, folder, or project and its descendants.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of parent to list custom modules, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDescendantEventThreatDetectionCustomModules(google::cloud::securitycentermanagement::v1::ListDescendantEventThreatDetectionCustomModulesRequest, Options)
Lists all resident Event Threat Detection custom modules for the given organization, folder, or project and its descendants.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::ListDescendantEventThreatDetectionCustomModulesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetEventThreatDetectionCustomModule(std::string const &, Options)
Gets an Event Threat Detection custom module.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the Event Threat Detection custom module, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::GetEventThreatDetectionCustomModuleRequest const &, Options)
Gets an Event Threat Detection custom module.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::GetEventThreatDetectionCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateEventThreatDetectionCustomModule(std::string const &, google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule const &, Options)
Creates a resident Event Threat Detection custom module at the scope of the given organization, folder, or project, and creates inherited custom modules for all descendants of the given parent.
These modules are enabled by default.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of parent for the module, in one of the following formats:
|
event_threat_detection_custom_module |
google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule const &
Required. The module to create. The EventThreatDetectionCustomModule.name field is ignored; Security Command Center generates the name. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::CreateEventThreatDetectionCustomModuleRequest const &, Options)
Creates a resident Event Threat Detection custom module at the scope of the given organization, folder, or project, and creates inherited custom modules for all descendants of the given parent.
These modules are enabled by default.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::CreateEventThreatDetectionCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule const &, google::protobuf::FieldMask const &, Options)
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 |
event_threat_detection_custom_module |
google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule const &
Required. The module being updated. |
update_mask |
google::protobuf::FieldMask const &
Required. The fields to update. If omitted, then all fields are updated. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::UpdateEventThreatDetectionCustomModuleRequest const &, Options)
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 |
google::cloud::securitycentermanagement::v1::UpdateEventThreatDetectionCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::EventThreatDetectionCustomModule > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteEventThreatDetectionCustomModule(std::string const &, Options)
Deletes the specified Event Threat Detection custom module and all of its descendants in the resource hierarchy.
This method is only supported for resident custom modules.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the Event Threat Detection custom module, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::DeleteEventThreatDetectionCustomModuleRequest const &, Options)
Deletes the specified Event Threat Detection custom module and all of its descendants in the resource hierarchy.
This method is only supported for resident custom modules.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::DeleteEventThreatDetectionCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
ValidateEventThreatDetectionCustomModule(google::cloud::securitycentermanagement::v1::ValidateEventThreatDetectionCustomModuleRequest const &, Options)
Validates the given Event Threat Detection custom module.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::ValidateEventThreatDetectionCustomModuleRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::ValidateEventThreatDetectionCustomModuleResponse > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetSecurityCenterService(std::string const &, Options)
Gets service settings for the specified Security Command Center service.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The Security Command Center service to retrieve, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityCenterService > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityCenterService) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetSecurityCenterService(google::cloud::securitycentermanagement::v1::GetSecurityCenterServiceRequest const &, Options)
Gets service settings for the specified Security Command Center service.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::GetSecurityCenterServiceRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityCenterService > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityCenterService) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListSecurityCenterServices(std::string const &, Options)
Returns a list of all Security Command Center services for the given parent.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The name of the parent to list Security Command Center services, in one of the following formats:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::SecurityCenterService > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListSecurityCenterServices(google::cloud::securitycentermanagement::v1::ListSecurityCenterServicesRequest, Options)
Returns a list of all Security Command Center services for the given parent.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::ListSecurityCenterServicesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::securitycentermanagement::v1::SecurityCenterService > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
UpdateSecurityCenterService(google::cloud::securitycentermanagement::v1::SecurityCenterService const &, google::protobuf::FieldMask const &, Options)
Updates a Security Command Center service using the given update mask.
Parameters | |
---|---|
Name | Description |
security_center_service |
google::cloud::securitycentermanagement::v1::SecurityCenterService const &
Required. The updated service. |
update_mask |
google::protobuf::FieldMask const &
Required. The fields to update. Accepts the following values:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityCenterService > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityCenterService) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateSecurityCenterService(google::cloud::securitycentermanagement::v1::UpdateSecurityCenterServiceRequest const &, Options)
Updates a Security Command Center service using the given update mask.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::securitycentermanagement::v1::UpdateSecurityCenterServiceRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::securitycentermanagement::v1::SecurityCenterService > |
the result of the RPC. The response message type (google.cloud.securitycentermanagement.v1.SecurityCenterService) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListLocations(google::cloud::location::ListLocationsRequest, Options)
Lists information about the supported locations for this service.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::location::ListLocationsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::location::Location > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetLocation(google::cloud::location::GetLocationRequest const &, Options)
Gets information about a location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::location::GetLocationRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::location::Location > |
the result of the RPC. The response message type (google.cloud.location.Location) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |