Method: projects.locations.featurestores.entityTypes.features.patch

Updates the parameters of a single feature.

HTTP request

PATCH https://{service-endpoint}/v1/{feature.name}

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

Parameters
feature.name

string

Immutable. name of the feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}/features/{feature} projects/{project}/locations/{location}/featureGroups/{featureGroup}/features/{feature}

The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.

Query parameters

Parameters
updateMask

string (FieldMask format)

Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the updateMask 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 updateMask to * to override all fields.

Updatable fields:

  • description
  • labels
  • disableMonitoring (Not supported for FeatureRegistry feature)

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Feature.

Response body

If successful, the response body contains an instance of Feature.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • aiplatform.features.update

For more information, see the IAM documentation.