Module types (1.20.0)

API documentation for bigquery_v2.types module.

Classes

BoolValue

API documentation for bigquery_v2.types.BoolValue class.

BytesValue

API documentation for bigquery_v2.types.BytesValue class.

DeleteModelRequest

Protocol buffer.

Required. Dataset ID of the model to delete.

DoubleValue

API documentation for bigquery_v2.types.DoubleValue class.

Empty

API documentation for bigquery_v2.types.Empty class.

EncryptionConfiguration

Encryption configuration.

FloatValue

API documentation for bigquery_v2.types.FloatValue class.

GetModelRequest

Protocol buffer.

Required. Dataset ID of the requested model.

Int32Value

API documentation for bigquery_v2.types.Int32Value class.

Int64Value

API documentation for bigquery_v2.types.Int64Value class.

ListModelsRequest

Protocol buffer.

Required. Dataset ID of the models to list.

Page token, returned by a previous call to request the next page of results

ListModelsResponse

Protocol buffer.

A token to request the next page of results.

Model

Protocol buffer.

Required. Unique identifier for this model.

Output only. The time when this model was last modified, in millisecs since the epoch.

Optional. A descriptive name for this model.

Optional. The time when this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created models.

Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration of the model data while stored in BigQuery storage.

Output only. Information for all training runs in increasing order of start_time.

Output only. Label columns that were used to train this model. The output of the model will have a "predicted_" prefix to these columns.

ModelReference

Id path of a model.

.. attribute:: project_id

Required. The ID of the project containing this model.

Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.

PatchModelRequest

Protocol buffer.

Required. Dataset ID of the model to patch.

Required. Patched model. Follows RFC5789 patch semantics. Missing fields are not updated. To clear a field, explicitly set to default value.

StandardSqlDataType

The type of a variable, e.g., a function argument. Examples: INT64: {type_kind="INT64"} ARRAY: {type_kind="ARRAY", array_element_type="STRING"} STRUCT<x STRING, y ARRAY>: {type_kind="STRUCT", struct_type={fields=[ {name="x", type={type_kind="STRING"}}, {name="y", type={type_kind="ARRAY", array_element_type="DATE"}} ]}}

.. attribute:: type_kind

Required. The top level type of this field. Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY").

The fields of this struct, in order, if type_kind = "STRUCT".

StandardSqlField

A field or a column.

.. attribute:: name

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

StandardSqlStructType

API documentation for bigquery_v2.types.StandardSqlStructType class.

StringValue

API documentation for bigquery_v2.types.StringValue class.

Timestamp

API documentation for bigquery_v2.types.Timestamp class.

UInt32Value

API documentation for bigquery_v2.types.UInt32Value class.

UInt64Value

API documentation for bigquery_v2.types.UInt64Value class.