UserDefinedFunctionResource class

This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE TEMPORARY FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions

Constructors

UserDefinedFunctionResource({Input<String>? inlineCode, Input<String>? resourceUri})
Creates a new UserDefinedFunctionResource. inlineCode Pick one An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code. resourceUri Pick one A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
const
UserDefinedFunctionResource.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
inlineCode → Input<String>?
Pick one An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
final
resourceUri → Input<String>?
Pick one A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited