View Source GoogleApi.BigQuery.V2.Model.UserDefinedFunctionResource (google_api_big_query v0.79.0)

This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of GoogleSQL 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

Attributes

  • inlineCode (type: String.t, default: nil) - [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 (type: String.t, default: nil) - [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.UserDefinedFunctionResource{
  inlineCode: String.t() | nil,
  resourceUri: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.