Google Cloud Ai Platform V1 Client - Class UpdateFeatureRequest (0.28.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UpdateFeatureRequest.

Request message for FeaturestoreService.UpdateFeature.

Request message for FeatureRegistryService.UpdateFeature.

Generated from protobuf message google.cloud.aiplatform.v1.UpdateFeatureRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ feature Google\Cloud\AIPlatform\V1\Feature

Required. The Feature's name field is used to identify the Feature to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

↳ update_mask Google\Protobuf\FieldMask

Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields. Updatable fields: * description * labels * disable_monitoring (Not supported for FeatureRegistry Feature)

getFeature

Required. The Feature's name field is used to identify the Feature to be updated.

Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\Feature|null

hasFeature

clearFeature

setFeature

Required. The Feature's name field is used to identify the Feature to be updated.

Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\Feature
Returns
TypeDescription
$this

getUpdateMask

Field mask is used to specify the fields to be overwritten in the Features resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields. Updatable fields:

  • description
  • labels
  • disable_monitoring (Not supported for FeatureRegistry Feature)
Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Field mask is used to specify the fields to be overwritten in the Features resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields. Updatable fields:

  • description
  • labels
  • disable_monitoring (Not supported for FeatureRegistry Feature)
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
feature Google\Cloud\AIPlatform\V1\Feature

Required. The Feature's name field is used to identify the Feature to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

updateMask Google\Protobuf\FieldMask

Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • description
  • labels
  • disable_monitoring (Not supported for FeatureRegistry Feature)
Returns
TypeDescription
Google\Cloud\AIPlatform\V1\UpdateFeatureRequest