Google Cloud Security Command Center V2 Client - Class UpdateExternalSystemRequest (1.28.2)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class UpdateExternalSystemRequest.

Request message for updating a ExternalSystem resource.

Generated from protobuf message google.cloud.securitycenter.v2.UpdateExternalSystemRequest

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ external_system Google\Cloud\SecurityCenter\V2\ExternalSystem

Required. The external system resource to update.

↳ update_mask Google\Protobuf\FieldMask

The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.

getExternalSystem

Required. The external system resource to update.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\ExternalSystem|null

hasExternalSystem

clearExternalSystem

setExternalSystem

Required. The external system resource to update.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\ExternalSystem
Returns
Type Description
$this

getUpdateMask

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
externalSystem Google\Cloud\SecurityCenter\V2\ExternalSystem

Required. The external system resource to update.

updateMask Google\Protobuf\FieldMask

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\UpdateExternalSystemRequest