Security Center Management v1 API - Class UpdateSecurityCenterServiceRequest (1.2.0)

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

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

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

Inheritance

object > UpdateSecurityCenterServiceRequest

Namespace

Google.Cloud.SecurityCenterManagement.V1

Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

Constructors

UpdateSecurityCenterServiceRequest()

public UpdateSecurityCenterServiceRequest()

UpdateSecurityCenterServiceRequest(UpdateSecurityCenterServiceRequest)

public UpdateSecurityCenterServiceRequest(UpdateSecurityCenterServiceRequest other)
Parameter
Name Description
other UpdateSecurityCenterServiceRequest

Properties

SecurityCenterService

public SecurityCenterService SecurityCenterService { get; set; }

Required. The updated service.

Property Value
Type Description
SecurityCenterService

UpdateMask

public FieldMask UpdateMask { get; set; }

Required. The fields to update. Accepts the following values:

  • intended_enablement_state
  • modules

If omitted, 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 service 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 service 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 update of the service

Defaults to false.

Property Value
Type Description
bool