Class FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource
The "customModules" collection of methods.
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource
Constructors
CustomModulesResource(IClientService)
Constructs a new resource.
Declaration
public CustomModulesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule, string)
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.
Declaration
public virtual FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.CreateRequest Create(GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule | body | The body of the request. |
string | parent | Required. Resource name of the new custom module's parent. Its format is
|
Returns
Type | Description |
---|---|
FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.CreateRequest |
Delete(string)
Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.
Declaration
public virtual FoldersResource.SecurityHealthAnalyticsSettingsResource.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 |
---|---|
FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.DeleteRequest |
Get(string)
Retrieves a SecurityHealthAnalyticsCustomModule.
Declaration
public virtual FoldersResource.SecurityHealthAnalyticsSettingsResource.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 |
---|---|
FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.GetRequest |
List(string)
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.
Declaration
public virtual FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of parent to list custom modules. Its format is
|
Returns
Type | Description |
---|---|
FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.ListRequest |
ListDescendant(string)
Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.
Declaration
public virtual FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.ListDescendantRequest ListDescendant(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of parent to list descendant custom modules. Its format is
|
Returns
Type | Description |
---|---|
FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.ListDescendantRequest |
Patch(GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule, string)
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.
Declaration
public virtual FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.PatchRequest Patch(GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule | body | The body of the request. |
string | name | Immutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits. |
Returns
Type | Description |
---|---|
FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.PatchRequest |
Simulate(SimulateSecurityHealthAnalyticsCustomModuleRequest, string)
Simulates a given SecurityHealthAnalyticsCustomModule and Resource.
Declaration
public virtual FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.SimulateRequest Simulate(SimulateSecurityHealthAnalyticsCustomModuleRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
SimulateSecurityHealthAnalyticsCustomModuleRequest | body | The body of the request. |
string | parent | Required. The relative resource name of the organization, project, or folder. For more information
about relative resource names, see Relative Resource
Name Example:
|
Returns
Type | Description |
---|---|
FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.SimulateRequest |