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
Name | Description |
``**kwargs`` |
Dict
Initial property values. |
Inheritance
builtins.object > RoutineArgumentProperties
data_type
Optional[google.cloud.bigquery_v2.types.StandardSqlDataType]: Type of a variable, e.g., a function argument.
See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#Argument.FIELDS.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.
Name | Description |
resource |
Dict[str, object]
Resource, as returned from the API. |
Type | Description |
google.cloud.bigquery.routine.RoutineArgument | Python object, as parsed from ``resource``. |
to_api_repr
to_api_repr()
Construct the API resource representation of this routine argument.
Type | Description |
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
Name | Description |
``**kwargs`` |
Dict
Initial property values. |