Note: The following fields are mutually exclusive: table_spec, view_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: table_spec, view_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: table_spec, view_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: view_spec, table_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: view_spec, table_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: view_spec, table_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Data Catalog V1BETA1 API - Class Google::Cloud::DataCatalog::V1beta1::BigQueryTableSpec (v0.9.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.9.1 (latest)](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/latest/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.9.0](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.9.0/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.8.4](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.8.4/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.7.0](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.7.0/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.6.0](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.6.0/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.5.2](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.5.2/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.4.0](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.4.0/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.3.2](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.3.2/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.2.1](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.2.1/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec)\n- [0.1.1](/ruby/docs/reference/google-cloud-data_catalog-v1beta1/0.1.1/Google-Cloud-DataCatalog-V1beta1-BigQueryTableSpec) \nReference documentation and code samples for the Google Cloud Data Catalog V1BETA1 API class Google::Cloud::DataCatalog::V1beta1::BigQueryTableSpec.\n\nDescribes a BigQuery table. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #table_source_type\n\n def table_source_type() -\u003e ::Google::Cloud::DataCatalog::V1beta1::TableSourceType\n\n**Returns**\n\n- ([::Google::Cloud::DataCatalog::V1beta1::TableSourceType](./Google-Cloud-DataCatalog-V1beta1-TableSourceType)) --- Output only. The table source type.\n\n### #table_spec\n\n def table_spec() -\u003e ::Google::Cloud::DataCatalog::V1beta1::TableSpec\n\n**Returns**\n\n- ([::Google::Cloud::DataCatalog::V1beta1::TableSpec](./Google-Cloud-DataCatalog-V1beta1-TableSpec)) --- Spec of a BigQuery table. This field should only be populated if `table_source_type` is `BIGQUERY_TABLE`.\n\n\n Note: The following fields are mutually exclusive: `table_spec`, `view_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #table_spec=\n\n def table_spec=(value) -\u003e ::Google::Cloud::DataCatalog::V1beta1::TableSpec\n\n**Parameter**\n\n- **value** ([::Google::Cloud::DataCatalog::V1beta1::TableSpec](./Google-Cloud-DataCatalog-V1beta1-TableSpec)) --- Spec of a BigQuery table. This field should only be populated if `table_source_type` is `BIGQUERY_TABLE`.\n\n\nNote: The following fields are mutually exclusive: `table_spec`, `view_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::DataCatalog::V1beta1::TableSpec](./Google-Cloud-DataCatalog-V1beta1-TableSpec)) --- Spec of a BigQuery table. This field should only be populated if `table_source_type` is `BIGQUERY_TABLE`.\n\n\n Note: The following fields are mutually exclusive: `table_spec`, `view_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #view_spec\n\n def view_spec() -\u003e ::Google::Cloud::DataCatalog::V1beta1::ViewSpec\n\n**Returns**\n\n- ([::Google::Cloud::DataCatalog::V1beta1::ViewSpec](./Google-Cloud-DataCatalog-V1beta1-ViewSpec)) --- Table view specification. This field should only be populated if `table_source_type` is `BIGQUERY_VIEW`.\n\n\n Note: The following fields are mutually exclusive: `view_spec`, `table_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #view_spec=\n\n def view_spec=(value) -\u003e ::Google::Cloud::DataCatalog::V1beta1::ViewSpec\n\n**Parameter**\n\n- **value** ([::Google::Cloud::DataCatalog::V1beta1::ViewSpec](./Google-Cloud-DataCatalog-V1beta1-ViewSpec)) --- Table view specification. This field should only be populated if `table_source_type` is `BIGQUERY_VIEW`.\n\n\nNote: The following fields are mutually exclusive: `view_spec`, `table_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::DataCatalog::V1beta1::ViewSpec](./Google-Cloud-DataCatalog-V1beta1-ViewSpec)) --- Table view specification. This field should only be populated if `table_source_type` is `BIGQUERY_VIEW`.\n\n\n Note: The following fields are mutually exclusive: `view_spec`, `table_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]