Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema
- 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
Schema field definition.
Instance Attribute Summary collapse
-
#data_type ⇒ String
Supported data types are:
float
integer
boolean
string
categorical
Corresponds to the JSON propertydataType
. -
#name ⇒ String
Field name.
-
#repeated ⇒ Boolean
(also: #repeated?)
Describes if the schema field is an array of given data type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema
Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema.
17810 17811 17812 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type ⇒ String
Supported data types are: float
integer
boolean
string
categorical
Corresponds to the JSON property dataType
17797 17798 17799 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17797 def data_type @data_type end |
#name ⇒ String
Field name.
Corresponds to the JSON property name
17802 17803 17804 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17802 def name @name end |
#repeated ⇒ Boolean Also known as: repeated?
Describes if the schema field is an array of given data type.
Corresponds to the JSON property repeated
17807 17808 17809 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17807 def repeated @repeated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17815 17816 17817 17818 17819 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17815 def update!(**args) @data_type = args[:data_type] if args.key?(:data_type) @name = args[:name] if args.key?(:name) @repeated = args[:repeated] if args.key?(:repeated) end |