Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Feature Metadata information that describes an attribute of an entity type. For example, apple is an entity type, and color is a feature that describes apple.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Description of the Feature.
-
#disable_monitoring ⇒ Boolean
(also: #disable_monitoring?)
Optional.
-
#etag ⇒ String
Used to perform a consistent read-modify-write updates.
-
#labels ⇒ Hash<String,String>
Optional.
-
#monitoring_stats_anomalies ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly>
Output only.
-
#name ⇒ String
Immutable.
-
#update_time ⇒ String
Output only.
-
#value_type ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1Feature
constructor
A new instance of GoogleCloudAiplatformV1Feature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1Feature
Returns a new instance of GoogleCloudAiplatformV1Feature.
5955 5956 5957 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5955 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when this EntityType was created.
Corresponds to the JSON property createTime
5896 5897 5898 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5896 def create_time @create_time end |
#description ⇒ String
Description of the Feature.
Corresponds to the JSON property description
5901 5902 5903 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5901 def description @description end |
#disable_monitoring ⇒ Boolean Also known as: disable_monitoring?
Optional. If not set, use the monitoring_config defined for the EntityType
this Feature belongs to. Only Features with type (Feature.ValueType) BOOL,
STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of
data monitoring are disabled despite the config on EntityType.
Corresponds to the JSON property disableMonitoring
5909 5910 5911 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5909 def disable_monitoring @disable_monitoring end |
#etag ⇒ String
Used to perform a consistent read-modify-write updates. If not set, a blind "
overwrite" update happens.
Corresponds to the JSON property etag
5916 5917 5918 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5916 def etag @etag end |
#labels ⇒ Hash<String,String>
Optional. The labels with user-defined metadata to organize your Features.
Label keys and values can be no longer than 64 characters (Unicode codepoints),
can only contain lowercase letters, numeric characters, underscores and
dashes. International characters are allowed. See https://goo.gl/xmQnxf for
more information on and examples of labels. No more than 64 user labels can be
associated with one Feature (System labels are excluded)." System reserved
label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
Corresponds to the JSON property labels
5927 5928 5929 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5927 def labels @labels end |
#monitoring_stats_anomalies ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly>
Output only. The list of historical stats and anomalies with specified
objectives.
Corresponds to the JSON property monitoringStatsAnomalies
5933 5934 5935 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5933 def monitoring_stats_anomalies @monitoring_stats_anomalies end |
#name ⇒ String
Immutable. Name of the Feature. Format: projects/project/locations/
location/featurestores/featurestore/entityTypes/entity_type/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.
Corresponds to the JSON propertyname`
5943 5944 5945 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5943 def name @name end |
#update_time ⇒ String
Output only. Timestamp when this EntityType was most recently updated.
Corresponds to the JSON property updateTime
5948 5949 5950 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5948 def update_time @update_time end |
#value_type ⇒ String
Immutable. Type of Feature value.
Corresponds to the JSON property valueType
5953 5954 5955 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5953 def value_type @value_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5960 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @disable_monitoring = args[:disable_monitoring] if args.key?(:disable_monitoring) @etag = args[:etag] if args.key?(:etag) @labels = args[:labels] if args.key?(:labels) @monitoring_stats_anomalies = args[:monitoring_stats_anomalies] if args.key?(:monitoring_stats_anomalies) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) @value_type = args[:value_type] if args.key?(:value_type) end |