pub struct UserDefinedFunctionResource {
pub inline_code: Option<String>,
pub resource_uri: Option<String>,
}Expand description
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
This type is not used in any activity, and only used as part of another schema.
Fields§
§inline_code: Option<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.
resource_uri: Option<String>[Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
Trait Implementations§
Source§impl Clone for UserDefinedFunctionResource
impl Clone for UserDefinedFunctionResource
Source§fn clone(&self) -> UserDefinedFunctionResource
fn clone(&self) -> UserDefinedFunctionResource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more