Class StandardSqlField (3.15.0)

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

Parameters

Name Description
name typing.Optional[str]

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

type typing.Optional[google.cloud.bigquery.standard_sql.StandardSqlDataType]

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).

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: typing.Dict[str, typing.Any])

Construct an SQL field instance given its API representation.

to_api_repr

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

Construct the API resource representation of this SQL field.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.