google.cloud.bigquery.routine.RoutineArgument¶
-
class
google.cloud.bigquery.routine.
RoutineArgument
(**kwargs)[source]¶ Input/output argument of a function or a stored procedure.
See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#argument
- Parameters
**kwargs (Dict) – Initial property values.
Methods
__init__
(**kwargs)Initialize self.
from_api_repr
(resource)Factory: construct a routine argument given its API representation.
Construct the API resource representation of this routine argument.
Attributes
Type of a variable, e.g., a function argument.
The kind of argument, for example
FIXED_TYPE
orANY_TYPE
.The input/output mode of the argument.
Name of this argument.
-
property
data_type
¶ Type of a variable, e.g., a function argument.
See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#Argument.FIELDS.data_type
- Type
Optional[google.cloud.bigquery_v2.types.StandardSqlDataType]
-
classmethod
from_api_repr
(resource)[source]¶ Factory: construct a routine argument given its API representation.
-
property
kind
¶ The kind of argument, for example
FIXED_TYPE
orANY_TYPE
.See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#Argument.FIELDS.argument_kind
- Type
Optional[str]