google.cloud.bigquery.query.UDFResource#

Methods


class google.cloud.bigquery.query.UDFResource(udf_type, value)[source]#

Bases: object

Describe a single user-defined function (UDF) resource.

Parameters
  • udf_type (str) – the type of the resource (‘inlineCode’ or ‘resourceUri’)

  • value (str) – the inline code or resource URI.

See https://cloud.google.com/bigquery/user-defined-functions#api