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.



1709
1710
1711
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1709

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

Instance Attribute Details

#column_idFixnum

Corresponds to the JSON property columnId

Returns:

  • (Fixnum)


1700
1701
1702
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1700

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



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

def correlation_stats
  @correlation_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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