Class: Google::Apis::BigqueryV2::UserDefinedFunctionResource
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BigqueryV2::UserDefinedFunctionResource
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
 generated/google/apis/bigquery_v2/representations.rb,
 generated/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #inline_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Pick one] An inline resource that contains code for a user-defined function ( UDF). 
- 
  
    
      #resource_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Pick one] A code resource to load from a Google Cloud Storage URI (gs:// bucket/path). 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UserDefinedFunctionResource 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UserDefinedFunctionResource. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserDefinedFunctionResource
Returns a new instance of UserDefinedFunctionResource
| 3517 3518 3519 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 3517 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#inline_code ⇒ 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.
Corresponds to the JSON property inlineCode
| 3509 3510 3511 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 3509 def inline_code @inline_code end | 
#resource_uri ⇒ String
[Pick one] A code resource to load from a Google Cloud Storage URI (gs://
bucket/path).
Corresponds to the JSON property resourceUri
| 3515 3516 3517 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 3515 def resource_uri @resource_uri end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3522 3523 3524 3525 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 3522 def update!(**args) @inline_code = args[:inline_code] if args.key?(:inline_code) @resource_uri = args[:resource_uri] if args.key?(:resource_uri) end |