Class ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource
The "customModules" collection of methods.
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource
Constructors
CustomModulesResource(IClientService)
Constructs a new resource.
Declaration
public CustomModulesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(EventThreatDetectionCustomModule, string)
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.
Declaration
public virtual ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.CreateRequest Create(EventThreatDetectionCustomModule body, string parent)
Parameters
Type | Name | Description |
---|---|---|
EventThreatDetectionCustomModule | body | The body of the request. |
string | parent | Required. The new custom module's parent. Its format is: *
|
Returns
Type | Description |
---|---|
ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.CreateRequest |
Delete(string)
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.
Declaration
public virtual ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the custom module to delete. Its format is: *
|
Returns
Type | Description |
---|---|
ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.DeleteRequest |
Get(string)
Gets an Event Threat Detection custom module.
Declaration
public virtual ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the custom module to get. Its format is: *
|
Returns
Type | Description |
---|---|
ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.GetRequest |
List(string)
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.
Declaration
public virtual ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of the parent to list custom modules under. Its format is: *
|
Returns
Type | Description |
---|---|
ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.ListRequest |
ListDescendant(string)
Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
Declaration
public virtual ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.ListDescendantRequest ListDescendant(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of the parent to list custom modules under. Its format is: *
|
Returns
Type | Description |
---|---|
ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.ListDescendantRequest |
Patch(EventThreatDetectionCustomModule, string)
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.
Declaration
public virtual ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.PatchRequest Patch(EventThreatDetectionCustomModule body, string name)
Parameters
Type | Name | Description |
---|---|---|
EventThreatDetectionCustomModule | body | The body of the request. |
string | name | Immutable. The resource name of the Event Threat Detection custom module. Its format is: *
|
Returns
Type | Description |
---|---|
ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.PatchRequest |