Class: Google::Apis::LanguageV2::XpsColumnSpecCorrelatedColumn

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb

Overview

Identifies a table's column, and its correlation with the column this ColumnSpec describes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsColumnSpecCorrelatedColumn

Returns a new instance of XpsColumnSpecCorrelatedColumn.



1410
1411
1412
# File 'lib/google/apis/language_v2/classes.rb', line 1410

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

Instance Attribute Details

#column_idFixnum

Corresponds to the JSON property columnId

Returns:

  • (Fixnum)


1401
1402
1403
# File 'lib/google/apis/language_v2/classes.rb', line 1401

def column_id
  @column_id
end

#correlation_statsGoogle::Apis::LanguageV2::XpsCorrelationStats

A correlation statistics between two series of DataType values. The series may have differing DataType-s, but within a single series the DataType must be the same. Corresponds to the JSON property correlationStats



1408
1409
1410
# File 'lib/google/apis/language_v2/classes.rb', line 1408

def correlation_stats
  @correlation_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1415
1416
1417
1418
# File 'lib/google/apis/language_v2/classes.rb', line 1415

def update!(**args)
  @column_id = args[:column_id] if args.key?(:column_id)
  @correlation_stats = args[:correlation_stats] if args.key?(:correlation_stats)
end