Security Center Management v1 API - Class UpdateSecurityHealthAnalyticsCustomModuleRequest (1.2.0)

public sealed class UpdateSecurityHealthAnalyticsCustomModuleRequest : IMessage<UpdateSecurityHealthAnalyticsCustomModuleRequest>, IEquatable<UpdateSecurityHealthAnalyticsCustomModuleRequest>, IDeepCloneable<UpdateSecurityHealthAnalyticsCustomModuleRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Security Center Management v1 API class UpdateSecurityHealthAnalyticsCustomModuleRequest.

Request message for [SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule].

Inheritance

object > UpdateSecurityHealthAnalyticsCustomModuleRequest

Namespace

Google.Cloud.SecurityCenterManagement.V1

Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

Constructors

UpdateSecurityHealthAnalyticsCustomModuleRequest()

public UpdateSecurityHealthAnalyticsCustomModuleRequest()

UpdateSecurityHealthAnalyticsCustomModuleRequest(UpdateSecurityHealthAnalyticsCustomModuleRequest)

public UpdateSecurityHealthAnalyticsCustomModuleRequest(UpdateSecurityHealthAnalyticsCustomModuleRequest other)
Parameter
Name Description
other UpdateSecurityHealthAnalyticsCustomModuleRequest

Properties

SecurityHealthAnalyticsCustomModule

public SecurityHealthAnalyticsCustomModule SecurityHealthAnalyticsCustomModule { get; set; }

Required. The resource being updated.

Property Value
Type Description
SecurityHealthAnalyticsCustomModule

UpdateMask

public FieldMask UpdateMask { get; set; }

Required. The fields to update. The following values are valid:

  • custom_config
  • enablement_state

If you omit this field or set it to the wildcard value *, then all eligible fields are updated.

Property Value
Type Description
FieldMask

ValidateOnly

public bool ValidateOnly { get; set; }

Optional. When set to true, the request will be validated (including IAM checks), but no module will be updated. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:

  • The state of your cloud resources changed; for example, you lost a required IAM permission
  • An error occurred during creation of the module

Defaults to false.

Property Value
Type Description
bool