Security Command Center Management V1 API - Class Google::Cloud::SecurityCenterManagement::V1::UpdateSecurityCenterServiceRequest (v1.1.0)

Reference documentation and code samples for the Security Command Center Management V1 API class Google::Cloud::SecurityCenterManagement::V1::UpdateSecurityCenterServiceRequest.

Request message for SecurityCenterManagement.UpdateSecurityCenterService.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#security_center_service

def security_center_service() -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService
Returns

#security_center_service=

def security_center_service=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService
Parameter
Returns

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — Required. The fields to update. Accepts the following values:

    • intended_enablement_state
    • modules

    If omitted, then all eligible fields are updated.

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::FieldMask) — Required. The fields to update. Accepts the following values:

    • intended_enablement_state
    • modules

    If omitted, then all eligible fields are updated.

Returns
  • (::Google::Protobuf::FieldMask) — Required. The fields to update. Accepts the following values:

    • intended_enablement_state
    • modules

    If omitted, then all eligible fields are updated.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — 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.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

Returns
  • (::Boolean) — 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.