Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class UpdateSecurityCenterServiceRequest.
Request message for updating a Security Command Center service.
Generated from protobuf message google.cloud.securitycentermanagement.v1.UpdateSecurityCenterServiceRequest
Namespace
Google \ Cloud \ SecurityCenterManagement \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ security_center_service |
Google\Cloud\SecurityCenterManagement\V1\SecurityCenterService
Required. The updated service. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. The list of fields to be updated. Possible values: * "intended_enablement_state" * "modules" |
↳ validate_only |
bool
Optional. When set to true, only validations (including IAM checks) will be done for the request (service will not be updated). An OK response indicates that the request is valid, while an error response indicates that the request is invalid. Note that a subsequent request to actually update the service could still fail for one of the following reasons: - The state could have changed (e.g. IAM permission lost). - A failure occurred while trying to delete the module. |
getSecurityCenterService
Required. The updated service.
Returns | |
---|---|
Type | Description |
Google\Cloud\SecurityCenterManagement\V1\SecurityCenterService|null |
hasSecurityCenterService
clearSecurityCenterService
setSecurityCenterService
Required. The updated service.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecurityCenterManagement\V1\SecurityCenterService
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
Optional. When set to true, only validations (including IAM checks) will be done for the request (service will not be updated). An OK response indicates that the request is valid, while an error response indicates that the request is invalid. Note that a subsequent request to actually update the service could still fail for one of the following reasons:
The state could have changed (e.g. IAM permission lost).
A failure occurred while trying to delete the module.
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
Optional. When set to true, only validations (including IAM checks) will be done for the request (service will not be updated). An OK response indicates that the request is valid, while an error response indicates that the request is invalid. Note that a subsequent request to actually update the service could still fail for one of the following reasons:
The state could have changed (e.g. IAM permission lost).
A failure occurred while trying to delete the module.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
securityCenterService |
Google\Cloud\SecurityCenterManagement\V1\SecurityCenterService
Required. The updated service. |
updateMask |
Google\Protobuf\FieldMask
Required. The list of fields to be updated. Possible values:
|
Returns | |
---|---|
Type | Description |
Google\Cloud\SecurityCenterManagement\V1\UpdateSecurityCenterServiceRequest |