Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1Feature

Returns a new instance of GoogleCloudAiplatformV1Feature.



6012
6013
6014
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6012

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)


5953
5954
5955
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5953

def create_time
  @create_time
end

#descriptionString

Description of the Feature. Corresponds to the JSON property description

Returns:

  • (String)


5958
5959
5960
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5958

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)


5966
5967
5968
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5966

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)


5973
5974
5975
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5973

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>)


5984
5985
5986
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5984

def labels
  @labels
end

#monitoring_stats_anomaliesArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly>

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



5990
5991
5992
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5990

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)


6000
6001
6002
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6000

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


6005
6006
6007
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6005

def update_time
  @update_time
end

#value_typeString

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

Returns:

  • (String)


6010
6011
6012
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6010

def value_type
  @value_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6017

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