Google Cloud Network Security V1 Client - Class UpdateSecurityProfileRequest (1.3.0)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class UpdateSecurityProfileRequest.

Request used by the UpdateSecurityProfile method.

Generated from protobuf message google.cloud.networksecurity.v1.UpdateSecurityProfileRequest

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

↳ security_profile SecurityProfile

Required. Updated SecurityProfile resource.

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

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

getSecurityProfile

Required. Updated SecurityProfile resource.

Returns
Type Description
SecurityProfile|null

hasSecurityProfile

clearSecurityProfile

setSecurityProfile

Required. Updated SecurityProfile resource.

Parameter
Name Description
var SecurityProfile
Returns
Type Description
$this

static::build

Parameters
Name Description
securityProfile SecurityProfile

Required. Updated SecurityProfile resource.

updateMask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

Returns
Type Description
UpdateSecurityProfileRequest