Recommender V1 Client - Class UpdateInsightTypeConfigRequest (1.11.5)

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

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\Recommender\V1\InsightTypeConfig|null

hasInsightTypeConfig

clearInsightTypeConfig

setInsightTypeConfig

Required. The InsightTypeConfig to update.

Parameter
Name Description
var Google\Cloud\Recommender\V1\InsightTypeConfig
Returns
Type Description
$this

getUpdateMask

The list of fields to be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

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

getValidateOnly

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

Returns
Type Description
bool

setValidateOnly

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

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
insightTypeConfig Google\Cloud\Recommender\V1\InsightTypeConfig

Required. The InsightTypeConfig to update.

updateMask Google\Protobuf\FieldMask

The list of fields to be updated.

Returns
Type Description
Google\Cloud\Recommender\V1\UpdateInsightTypeConfigRequest