Google Cloud Ai Platform V1 Client - Class UpdateFeatureRequest (1.2.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
Name Description
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 FeatureRegistryService Feature) * point_of_contact (Not supported for FeaturestoreService FeatureStore)

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
Type Description
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
Name Description
var Google\Cloud\AIPlatform\V1\Feature
Returns
Type Description
$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 FeatureRegistryService Feature)
  • point_of_contact (Not supported for FeaturestoreService FeatureStore)
Returns
Type Description
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 FeatureRegistryService Feature)
  • point_of_contact (Not supported for FeaturestoreService FeatureStore)
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
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 FeatureRegistryService Feature)
  • point_of_contact (Not supported for FeaturestoreService FeatureStore)
Returns
Type Description
Google\Cloud\AIPlatform\V1\UpdateFeatureRequest