Recommender V1 Client - Class UpdateInsightTypeConfigRequest (1.7.8)

Reference documentation and code samples for the Recommender V1 Client class UpdateInsightTypeConfigRequest.

Request for the UpdateInsightTypeConfig method.

Generated from protobuf message google.cloud.recommender.v1.UpdateInsightTypeConfigRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ insight_type_config Google\Cloud\Recommender\V1\InsightTypeConfig

Required. The InsightTypeConfig to update.

↳ update_mask Google\Protobuf\FieldMask

The list of fields to be updated.

↳ validate_only bool

If true, validate the request and preview the change, but do not actually update it.

getInsightTypeConfig

Required. The InsightTypeConfig to update.

Returns
TypeDescription
Google\Cloud\Recommender\V1\InsightTypeConfig|null

hasInsightTypeConfig

clearInsightTypeConfig

setInsightTypeConfig

Required. The InsightTypeConfig to update.

Parameter
NameDescription
var Google\Cloud\Recommender\V1\InsightTypeConfig
Returns
TypeDescription
$this

getUpdateMask

The list of fields to be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getValidateOnly

If true, validate the request and preview the change, but do not actually update it.

Returns
TypeDescription
bool

setValidateOnly

If true, validate the request and preview the change, but do not actually update it.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this