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

Updates the parameters of a single Feature.

HTTP request

PATCH https://{service-endpoint}/v1beta1/{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}

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
  • monitoringConfig.snapshot_analysis.disabled
  • monitoringConfig.snapshot_analysis.monitoring_interval

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.