Class ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.PatchRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class ProjectsResource.EventThreatDetectionSettingsResource.CustomModulesResource.PatchRequest : SecurityCommandCenterBaseServiceRequest<EventThreatDetectionCustomModule>, IClientServiceRequest<EventThreatDetectionCustomModule>, IClientServiceRequest
Constructors
PatchRequest(IClientService, EventThreatDetectionCustomModule, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, EventThreatDetectionCustomModule body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
EventThreatDetectionCustomModule | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Immutable. The resource name of the Event Threat Detection custom module. Its format is: *
organizations/{organization}/eventThreatDetectionSettings/customModules/{module}
. *
folders/{folder}/eventThreatDetectionSettings/customModules/{module}
. *
projects/{project}/eventThreatDetectionSettings/customModules/{module}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
The list of fields to be updated. If empty all mutable fields will be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()