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

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 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
ResourceValueConfig|null

hasResourceValueConfig

clearResourceValueConfig

setResourceValueConfig

Required. The resource value config being created.

Parameter
Name Description
var ResourceValueConfig
Returns
Type Description
$this