Class ConnectionProperty (3.15.0)

ConnectionProperty(key: str = "", value: str = "")

A connection-level property to customize query behavior.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/ConnectionProperty

Parameters

NameDescription
key str

The key of the property to set, for example, 'time_zone' or 'session_id'.

value str

The value of the property to set.

Properties

key

Name of the property.

For example:

  • time_zone
  • session_id

value

Value of the property.

Methods

from_api_repr

from_api_repr(resource) -> google.cloud.bigquery.query.ConnectionProperty

Construct xref_ConnectionProperty from JSON resource.

to_api_repr

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

Construct JSON API representation for the connection property.