Google Cloud Security Compliance V1 Client - Class UpdateFrameworkRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class UpdateFrameworkRequest.

The request message for UpdateFramework.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.UpdateFrameworkRequest

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

↳ framework Framework

Required. The resource that is being updated.

↳ major_revision_id int|string

Optional. The major version ID of the framework to update.

getUpdateMask

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

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

getFramework

Required. The resource that is being updated.

Returns
Type Description
Framework|null

hasFramework

clearFramework

setFramework

Required. The resource that is being updated.

Parameter
Name Description
var Framework
Returns
Type Description
$this

getMajorRevisionId

Optional. The major version ID of the framework to update.

Returns
Type Description
int|string

setMajorRevisionId

Optional. The major version ID of the framework to update.

Parameter
Name Description
var int|string
Returns
Type Description
$this

static::build

Parameters
Name Description
framework Framework

Required. The resource that is being updated.

updateMask Google\Protobuf\FieldMask

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

Returns
Type Description
UpdateFrameworkRequest