Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema

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

Schema field definition.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema.



17506
17507
17508
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17506

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

Instance Attribute Details

#data_typeString

Supported data types are: float integer boolean string categorical Corresponds to the JSON property dataType

Returns:

  • (String)


17493
17494
17495
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17493

def data_type
  @data_type
end

#nameString

Field name. Corresponds to the JSON property name

Returns:

  • (String)


17498
17499
17500
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17498

def name
  @name
end

#repeatedBoolean Also known as: repeated?

Describes if the schema field is an array of given data type. Corresponds to the JSON property repeated

Returns:

  • (Boolean)


17503
17504
17505
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17503

def repeated
  @repeated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17511
17512
17513
17514
17515
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17511

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