Method: googleapis.aiplatform.v1beta1.projects.locations.featurestores.entityTypes.patch

Updates the parameters of a single EntityType.

Arguments

Parameters
name

string

Required. Immutable. Name of the EntityType. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type} The last part entity_type is assigned by the client. The entity_type 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.

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 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 * monitoring_config.snapshot_analysis.disabled * monitoring_config.snapshot_analysis.monitoring_interval_days * monitoring_config.snapshot_analysis.staleness_days * monitoring_config.import_features_analysis.state * monitoring_config.import_features_analysis.anomaly_detection_baseline * monitoring_config.numerical_threshold_config.value * monitoring_config.categorical_threshold_config.value * offline_storage_ttl_days

region

string

Required. Region of the HTTP endpoint. For example, if region is set to us-central1, the endpoint https://us-central1-integrations.googleapis.com will be used. See service endpoints.

body

object (GoogleCloudAiplatformV1beta1EntityType)

Required.

Raised exceptions

Exceptions
ConnectionError In case of a network problem (such as DNS failure or refused connection).
HttpError If the response status is >= 400 (excluding 429 and 503).
TimeoutError If a long-running operation takes longer to finish than the specified timeout limit.
TypeError If an operation or function receives an argument of the wrong type.
ValueError If an operation or function receives an argument of the right type but an inappropriate value. For example, a negative timeout.

Response

If successful, the response contains an instance of GoogleCloudAiplatformV1beta1EntityType.

Subworkflow snippet

Some fields might be optional or required. To identify required fields, refer to the API documentation.

YAML

- patch:
    call: googleapis.aiplatform.v1beta1.projects.locations.featurestores.entityTypes.patch
    args:
        name: ...
        updateMask: ...
        region: ...
        body:
            description: ...
            etag: ...
            labels: ...
            monitoringConfig:
                categoricalThresholdConfig:
                    value: ...
                importFeaturesAnalysis:
                    anomalyDetectionBaseline: ...
                    state: ...
                numericalThresholdConfig: ...
                snapshotAnalysis:
                    disabled: ...
                    monitoringInterval: ...
                    monitoringIntervalDays: ...
                    stalenessDays: ...
            name: ...
            offlineStorageTtlDays: ...
    result: patchResult

JSON

[
  {
    "patch": {
      "call": "googleapis.aiplatform.v1beta1.projects.locations.featurestores.entityTypes.patch",
      "args": {
        "name": "...",
        "updateMask": "...",
        "region": "...",
        "body": {
          "description": "...",
          "etag": "...",
          "labels": "...",
          "monitoringConfig": {
            "categoricalThresholdConfig": {
              "value": "..."
            },
            "importFeaturesAnalysis": {
              "anomalyDetectionBaseline": "...",
              "state": "..."
            },
            "numericalThresholdConfig": "...",
            "snapshotAnalysis": {
              "disabled": "...",
              "monitoringInterval": "...",
              "monitoringIntervalDays": "...",
              "stalenessDays": "..."
            }
          },
          "name": "...",
          "offlineStorageTtlDays": "..."
        }
      },
      "result": "patchResult"
    }
  }
]