Class RoutineArgument (2.31.0)

RoutineArgument(**kwargs)

Input/output argument of a function or a stored procedure.

See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#argument

Parameter

NameDescription
``**kwargs`` Dict

Initial property values.

Inheritance

builtins.object > RoutineArgument

Properties

data_type

kind

Optional[str]: The kind of argument, for example FIXED_TYPE or ANY_TYPE.

See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#Argument.FIELDS.argument_kind

mode

Optional[str]: The input/output mode of the argument.

name

Optional[str]: Name of this argument.

Can be absent for function return argument.

Methods

from_api_repr

from_api_repr(resource: dict)

Factory: construct a routine argument given its API representation.

Parameter
NameDescription
resource Dict[str, object]

Resource, as returned from the API.

Returns
TypeDescription
google.cloud.bigquery.routine.RoutineArgumentPython object, as parsed from ``resource``.

to_api_repr

to_api_repr()

Construct the API resource representation of this routine argument.

Returns
TypeDescription
Dict[str, object]Routine argument represented as an API resource.

__init__

__init__(**kwargs)

Initialize self. See help(type(self)) for accurate signature.

RoutineArgument

RoutineArgument(**kwargs)

Input/output argument of a function or a stored procedure.

See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#argument

Parameter
NameDescription
``**kwargs`` Dict

Initial property values.