Method: projects.locations.featurestores.entityTypes.patch

Updates the parameters of a single EntityType.

HTTP request

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

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

Path parameters

Parameters
entityType.name

string

Immutable. Name of the EntityType. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

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

Query parameters

Parameters
updateMask

string (FieldMask format)

Field mask is used to specify the fields to be overwritten in the EntityType 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 EntityType.

Response body

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

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.entityTypes.update

For more information, see the IAM documentation.