Class StandardSqlStructType (3.21.0)

StandardSqlStructType(
    fields: typing.Optional[
        typing.Iterable[google.cloud.bigquery.standard_sql.StandardSqlField]
    ] = None,
)

Parameter

Name Description
fields typing.Optional[typing.Iterable[google.cloud.bigquery.standard_sql.StandardSqlField]]

The fields in this struct.

Properties

fields

The fields in this struct.

Methods

from_api_repr

from_api_repr(
    resource: typing.Dict[str, typing.Any]
) -> google.cloud.bigquery.standard_sql.StandardSqlStructType

Construct an SQL struct type instance given its API representation.

to_api_repr

to_api_repr() -> typing.Dict[str, typing.Any]

Construct the API resource representation of this SQL struct type.