Recommender V1 Client - Class UpdateRecommenderConfigRequest (1.7.8)

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

Request for the UpdateRecommenderConfig method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ recommender_config Google\Cloud\Recommender\V1\RecommenderConfig

Required. The RecommenderConfig 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.

getRecommenderConfig

Required. The RecommenderConfig to update.

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

hasRecommenderConfig

clearRecommenderConfig

setRecommenderConfig

Required. The RecommenderConfig to update.

Parameter
NameDescription
var Google\Cloud\Recommender\V1\RecommenderConfig
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