Google Cloud Security Command Center V1 Client - Class UpdateExternalSystemRequest (1.21.0)

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

Request message for updating a ExternalSystem resource.

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

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ external_system Google\Cloud\SecurityCenter\V1\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
TypeDescription
Google\Cloud\SecurityCenter\V1\ExternalSystem|null

hasExternalSystem

clearExternalSystem

setExternalSystem

Required. The external system resource to update.

Parameter
NameDescription
var Google\Cloud\SecurityCenter\V1\ExternalSystem
Returns
TypeDescription
$this

getUpdateMask

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

Returns
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
externalSystem Google\Cloud\SecurityCenter\V1\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
TypeDescription
Google\Cloud\SecurityCenter\V1\UpdateExternalSystemRequest