Class: Google::Apis::BigqueryV2::Explanation
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::Explanation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Explanation for a single feature.
Instance Attribute Summary collapse
-
#attribution ⇒ Float
Attribution of feature.
-
#feature_name ⇒ String
Full name of the feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Explanation
constructor
A new instance of Explanation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Explanation
Returns a new instance of Explanation.
2177 2178 2179 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2177 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribution ⇒ Float
Attribution of feature.
Corresponds to the JSON property attribution
2169 2170 2171 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2169 def attribution @attribution end |
#feature_name ⇒ String
Full name of the feature. For non-numerical features, will be formatted like ..
Overall size of feature name will always be truncated to first 120 characters.
Corresponds to the JSON property featureName
2175 2176 2177 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2175 def feature_name @feature_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2182 2183 2184 2185 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2182 def update!(**args) @attribution = args[:attribution] if args.key?(:attribution) @feature_name = args[:feature_name] if args.key?(:feature_name) end |