As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

google.cloud.bigquery.query.UDFResource

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

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

__init__(udf_type, value)[source]

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

Methods

__init__(udf_type, value)

Initialize self.