Class StandardSqlField (3.3.0)

StandardSqlField(
    name: Optional[str] = None,
    type: Optional[google.cloud.bigquery.standard_sql.StandardSqlDataType] = None,
)

Inheritance

builtins.object > StandardSqlField

Properties

name

The name of this field. Can be absent for struct fields.

type

The type of this parameter. Absent if not explicitly specified.

For example, CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).

Methods

from_api_repr

from_api_repr(resource: Dict[str, Any])

Construct an SQL field instance given its API representation.

to_api_repr

to_api_repr()

Construct the API resource representation of this SQL field.