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

Name Description
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.

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.