Class FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.PatchRequest
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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class FoldersResource.SecurityHealthAnalyticsSettingsResource.CustomModulesResource.PatchRequest : SecurityCommandCenterBaseServiceRequest<GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>, IClientServiceRequest<GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule | 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 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.
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. The only fields that can be updated are enablement_state
and
custom_config
. If empty or set to the wildcard value *
, both enablement_state
and
custom_config
are 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()