Google Cloud Security Command Center V2 Client - Class CreateResourceValueConfigRequest (1.30.0)

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

Request message to create single resource value config

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

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the new ResourceValueConfig's parent.

↳ resource_value_config Google\Cloud\SecurityCenter\V2\ResourceValueConfig

Required. The resource value config being created.

getParent

Required. Resource name of the new ResourceValueConfig's parent.

Returns
Type Description
string

setParent

Required. Resource name of the new ResourceValueConfig's parent.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceValueConfig

Required. The resource value config being created.

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

hasResourceValueConfig

clearResourceValueConfig

setResourceValueConfig

Required. The resource value config being created.

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