Class: Google::Apis::LanguageV1beta2::XpsColumnSpecCorrelatedColumn

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



1716
1717
1718
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1716

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

Instance Attribute Details

#column_idFixnum

Corresponds to the JSON property columnId

Returns:

  • (Fixnum)


1707
1708
1709
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1707

def column_id
  @column_id
end

#correlation_statsGoogle::Apis::LanguageV1beta2::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



1714
1715
1716
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1714

def correlation_stats
  @correlation_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1721
1722
1723
1724
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1721

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