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

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

Request message for updating a Framework.

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. 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 will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.

↳ framework
Framework

Required. The resource being updated

↳ major_revision_id
int|string

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

getUpdateMask

Optional. 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 will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. 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 will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.

Parameter
Name
Description
Returns
Type
Description
$this

getFramework

Required. The resource being updated

Returns
Type
Description
Framework |null

hasFramework

clearFramework

setFramework

Required. The resource being updated

Parameter
Name
Description
var
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 being updated

updateMask
Google\Protobuf\FieldMask

Optional. 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 will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: