Class: Google::Cloud::AutoML::V1beta1::TableSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::TableSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/automl/v1beta1/table_spec.rb
Overview
A specification of a relational table. The table's schema is represented via its child column specs. It is pre-populated as part of ImportData by schema inference algorithm, the version of which is a required parameter of ImportData InputConfig. Note: While working with a table, at times the schema may be inconsistent with the data in the table (e.g. string in a FLOAT64 column). The consistency validation is done upon creation of a model. Used by:
- Tables
Instance Attribute Summary collapse
-
#column_count ⇒ ::Integer
Output only.
-
#etag ⇒ ::String
Used to perform consistent read-modify-write updates.
-
#input_configs ⇒ ::Array<::Google::Cloud::AutoML::V1beta1::InputConfig>
Output only.
-
#name ⇒ ::String
Output only.
-
#row_count ⇒ ::Integer
Output only.
-
#time_column_spec_id ⇒ ::String
Column_spec_id of the time column.
-
#valid_row_count ⇒ ::Integer
Output only.
Instance Attribute Details
#column_count ⇒ ::Integer
Returns Output only. The number of columns of the table. That is, the number of child ColumnSpec-s.
68 69 70 71 |
# File 'proto_docs/google/cloud/automl/v1beta1/table_spec.rb', line 68 class TableSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#etag ⇒ ::String
Returns Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
68 69 70 71 |
# File 'proto_docs/google/cloud/automl/v1beta1/table_spec.rb', line 68 class TableSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#input_configs ⇒ ::Array<::Google::Cloud::AutoML::V1beta1::InputConfig>
Returns Output only. Input configs via which data currently residing in the table had been imported.
68 69 70 71 |
# File 'proto_docs/google/cloud/automl/v1beta1/table_spec.rb', line 68 class TableSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Output only. The resource name of the table spec. Form:
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}
.
68 69 70 71 |
# File 'proto_docs/google/cloud/automl/v1beta1/table_spec.rb', line 68 class TableSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#row_count ⇒ ::Integer
Returns Output only. The number of rows (i.e. examples) in the table.
68 69 70 71 |
# File 'proto_docs/google/cloud/automl/v1beta1/table_spec.rb', line 68 class TableSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_column_spec_id ⇒ ::String
Returns column_spec_id of the time column. Only used if the parent dataset's ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and those in between to VALIDATE. Required type: TIMESTAMP. If both this column and ml_use_column are not set, then ML use of all rows will be assigned by AutoML. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
68 69 70 71 |
# File 'proto_docs/google/cloud/automl/v1beta1/table_spec.rb', line 68 class TableSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#valid_row_count ⇒ ::Integer
Returns Output only. The number of valid rows (i.e. without values that don't match DataType-s of their columns).
68 69 70 71 |
# File 'proto_docs/google/cloud/automl/v1beta1/table_spec.rb', line 68 class TableSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |