A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/python/docs/reference/bigquery/3.2.0/google.cloud.bigquery.routine.Routine below:

Class Routine (3.2.0) | Python client library

Class Routine (3.2.0)

Stay organized with collections Save and categorize content based on your preferences.

Routine(routine_ref, **kwargs)
Parameters Name Description routine_ref Union[str, google.cloud.bigquery.routine.RoutineReference]

A pointer to a routine. If routine_ref is a string, it must included a project ID, dataset ID, and routine ID, each separated by ..

``**kwargs`` Dict

Initial property values.

Inheritancebuiltins.object > Routine

Properties arguments body

str: The body of the routine.

created

Optional[datetime.datetime]: Datetime at which the routine was created (:data:None until set from the server).

Read-only.

dataset_id

str: ID of dataset containing the routine.

description

Optional[str]: Description of the routine (defaults to :data:None).

determinism_level

Optional[str]: (experimental) The determinism level of the JavaScript UDF if defined.

etag

str: ETag for the resource (:data:None until set from the server).

Read-only.

imported_libraries

List[str]: The path of the imported JavaScript libraries.

The language must equal JAVACRIPT.

Examples: Set the imported_libraries to a list of Google Cloud Storage URIs.

.. code-block:: python

   routine = bigquery.Routine("proj.dataset.routine_id")
   routine.imported_libraries = [
       "gs://cloud-samples-data/bigquery/udfs/max-value.js",
   ]
language

Optional[str]: The language of the routine.

Defaults to SQL.

modified

Optional[datetime.datetime]: Datetime at which the routine was last modified (:data:None until set from the server).

Read-only.

path

str: URL path for the routine's APIs.

project

str: ID of the project containing the routine.

reference

google.cloud.bigquery.routine.RoutineReference: Reference describing the ID of this routine.

return_table_type

The return type of a Table Valued Function (TVF) routine.

.. versionadded:: 2.22.0

return_type routine_id

str: The routine ID.

type_ Methods from_api_repr
from_api_repr(resource: dict)

Factory: construct a routine given its API representation.

Parameter Name Description resource Dict[str, object]

Resource, as returned from the API.

Returns Type Description google.cloud.bigquery.routine.Routine Python object, as parsed from ``resource``. to_api_repr

Construct the API resource representation of this routine.

Returns Type Description Dict[str, object] Routine represented as an API resource. __init__
__init__(routine_ref, **kwargs)

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

Routine
Routine(routine_ref, **kwargs)
Parameters Name Description routine_ref Union[str, google.cloud.bigquery.routine.RoutineReference]

A pointer to a routine. If routine_ref is a string, it must included a project ID, dataset ID, and routine ID, each separated by ..

``**kwargs`` Dict

Initial property values.

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-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4