Class ArrayQueryParameterType (3.27.0)

ArrayQueryParameterType(array_type, *, name=None, description=None)

Type representation for array query parameters.

Parameters

NameDescription
array_typeUnion[ScalarQueryParameterType, StructQueryParameterType]

The type of array elements.

nameOptional[str]

The name of the query parameter. Primarily used if the type is one of the subfields in StructQueryParameterType instance.

descriptionOptional[str]

The query parameter description. Primarily used if the type is one of the subfields in StructQueryParameterType instance.

Methods

from_api_repr

from_api_repr(resource)

Factory: construct parameter type from JSON resource.

Parameter
NameDescription
resourceDict

JSON mapping of parameter

Returns
TypeDescription
google.cloud.bigquery.query.ArrayQueryParameterTypeInstance

to_api_repr

to_api_repr()

Construct JSON API representation for the parameter type.

Returns
TypeDescription
DictJSON mapping