Google Cloud Ai Platform V1 Client - Class UpdateEntityTypeRequest (1.12.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UpdateEntityTypeRequest.

Request message for FeaturestoreService.UpdateEntityType.

Generated from protobuf message google.cloud.aiplatform.v1.UpdateEntityTypeRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ entity_type EntityType

Required. The EntityType's name field is used to identify the EntityType to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

↳ update_mask Google\Protobuf\FieldMask

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

getEntityType

Required. The EntityType's name field is used to identify the EntityType to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
Type Description
EntityType|null

hasEntityType

clearEntityType

setEntityType

Required. The EntityType's name field is used to identify the EntityType to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Parameter
Name Description
var EntityType
Returns
Type Description
$this

getUpdateMask

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
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
entityType EntityType

Required. The EntityType's name field is used to identify the EntityType to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

updateMask Google\Protobuf\FieldMask

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
Returns
Type Description
UpdateEntityTypeRequest