Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class BigQueryTableSpec.
Describes a BigQuery table.
Generated from protobuf message google.cloud.datacatalog.v1.BigQueryTableSpec
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ table_source_type |
int
Output only. The table source type. |
↳ view_spec |
ViewSpec
Table view specification. Populated only if the |
↳ table_spec |
TableSpec
Specification of a BigQuery table. Populated only if the |
getTableSourceType
Output only. The table source type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type TableSourceType. |
setTableSourceType
Output only. The table source type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type TableSourceType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getViewSpec
Table view specification. Populated only if
the table_source_type is BIGQUERY_VIEW.
| Returns | |
|---|---|
| Type | Description |
ViewSpec|null |
|
hasViewSpec
setViewSpec
Table view specification. Populated only if
the table_source_type is BIGQUERY_VIEW.
| Parameter | |
|---|---|
| Name | Description |
var |
ViewSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTableSpec
Specification of a BigQuery table. Populated only if
the table_source_type is BIGQUERY_TABLE.
| Returns | |
|---|---|
| Type | Description |
TableSpec|null |
|
hasTableSpec
setTableSpec
Specification of a BigQuery table. Populated only if
the table_source_type is BIGQUERY_TABLE.
| Parameter | |
|---|---|
| Name | Description |
var |
TableSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTypeSpec
| Returns | |
|---|---|
| Type | Description |
string |
|