Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Feature

Returns a new instance of GoogleCloudAiplatformV1beta1Feature.



6192
6193
6194
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6192

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. Timestamp when this EntityType was created. Corresponds to the JSON property createTime

Returns:

  • (String)


6091
6092
6093
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6091

def create_time
  @create_time
end

#descriptionString

Description of the Feature. Corresponds to the JSON property description

Returns:

  • (String)


6096
6097
6098
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6096

def description
  @description
end

#disable_monitoringBoolean 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

Returns:

  • (Boolean)


6104
6105
6106
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6104

def disable_monitoring
  @disable_monitoring
end

#etagString

Used to perform a consistent read-modify-write updates. If not set, a blind " overwrite" update happens. Corresponds to the JSON property etag

Returns:

  • (String)


6111
6112
6113
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6111

def etag
  @etag
end

#labelsHash<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

Returns:

  • (Hash<String,String>)


6122
6123
6124
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6122

def labels
  @labels
end

#monitoring_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfig

Configuration of how features in Featurestore are monitored. Corresponds to the JSON property monitoringConfig



6127
6128
6129
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6127

def monitoring_config
  @monitoring_config
end

#monitoring_statsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureStatsAnomaly>

Output only. A list of historical SnapshotAnalysis stats requested by user, sorted by FeatureStatsAnomaly.start_time descending. Corresponds to the JSON property monitoringStats



6133
6134
6135
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6133

def monitoring_stats
  @monitoring_stats
end

#monitoring_stats_anomaliesArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly>

Output only. The list of historical stats and anomalies with specified objectives. Corresponds to the JSON property monitoringStatsAnomalies



6139
6140
6141
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6139

def monitoring_stats_anomalies
  @monitoring_stats_anomalies
end

#nameString

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`

Returns:

  • (String)


6149
6150
6151
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6149

def name
  @name
end

#update_timeString

Output only. Timestamp when this EntityType was most recently updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


6154
6155
6156
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6154

def update_time
  @update_time
end

#value_typeString

Required. Immutable. Type of Feature value. Corresponds to the JSON property valueType

Returns:

  • (String)


6159
6160
6161
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6159

def value_type
  @value_type
end

#version_create_timeString

Output only. Timestamp when this version was created. Corresponds to the JSON property versionCreateTime

Returns:

  • (String)


6164
6165
6166
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6164

def version_create_time
  @version_create_time
end

#version_descriptionString

The description of this version. Corresponds to the JSON property versionDescription

Returns:

  • (String)


6169
6170
6171
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6169

def version_description
  @version_description
end

#version_idString

Output only. Immutable. The version ID of the feature. It is an auto- incrementing decimal number in string representation. A new version is committed when a new model version is created under an existing feature id. Corresponds to the JSON property versionId

Returns:

  • (String)


6176
6177
6178
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6176

def version_id
  @version_id
end

#version_labelsHash<String,String>

The labels with user-defined metadata to organize your versions. 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 and examples of labels. Corresponds to the JSON property versionLabels

Returns:

  • (Hash<String,String>)


6185
6186
6187
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6185

def version_labels
  @version_labels
end

#version_update_timeString

Output only. Timestamp when this version was most recently updated. Corresponds to the JSON property versionUpdateTime

Returns:

  • (String)


6190
6191
6192
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6190

def version_update_time
  @version_update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6197

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_config = args[:monitoring_config] if args.key?(:monitoring_config)
  @monitoring_stats = args[:monitoring_stats] if args.key?(:monitoring_stats)
  @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)
  @version_create_time = args[:version_create_time] if args.key?(:version_create_time)
  @version_description = args[:version_description] if args.key?(:version_description)
  @version_id = args[:version_id] if args.key?(:version_id)
  @version_labels = args[:version_labels] if args.key?(:version_labels)
  @version_update_time = args[:version_update_time] if args.key?(:version_update_time)
end