ForeignTypeInfo(type_system: typing.Optional[str] = None)Metadata about the foreign data type definition such as the system in which the type is defined.
Parameter |
|
|---|---|
| Name | Description |
type_system |
str
Required. Specifies the system which defines the foreign data type. TypeSystem enum currently includes: * "TYPE_SYSTEM_UNSPECIFIED" * "HIVE" |
Properties
type_system
Required. Specifies the system which defines the foreign data type.
Methods
from_api_repr
from_api_repr(
api_repr: typing.Dict[str, typing.Any],
) -> google.cloud.bigquery.schema.ForeignTypeInfoFactory: constructs an instance of the class (cls) given its API representation.
| Parameter | |
|---|---|
| Name | Description |
api_repr |
Dict[str, Any]
API representation of the object to be instantiated. |
to_api_repr
to_api_repr() -> dictBuild an API representation of this object.
| Returns | |
|---|---|
| Type | Description |
Dict[str, Any] |
A dictionary in the format used by the BigQuery API. |