Recommender V1 Client - Class UpdateRecommenderConfigRequest (2.0.0)

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

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

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

hasRecommenderConfig

clearRecommenderConfig

setRecommenderConfig

Required. The RecommenderConfig to update.

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

Required. The RecommenderConfig to update.

updateMask Google\Protobuf\FieldMask

The list of fields to be updated.

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