Class: Google::Apis::FirebaserulesV1::FunctionCall
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FirebaserulesV1::FunctionCall
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebaserules_v1/classes.rb,
 generated/google/apis/firebaserules_v1/representations.rb,
 generated/google/apis/firebaserules_v1/representations.rb
Overview
Represents a service-defined function call that was invoked during test execution.
Instance Attribute Summary collapse
- 
  
    
      #args  ⇒ Array<Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The arguments that were provided to the function. 
- 
  
    
      #function  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the function invoked. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FunctionCall 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FunctionCall. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FunctionCall
Returns a new instance of FunctionCall
| 122 123 124 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 122 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#args ⇒ Array<Object>
The arguments that were provided to the function.
Corresponds to the JSON property args
| 115 116 117 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 115 def args @args end | 
#function ⇒ String
Name of the function invoked.
Corresponds to the JSON property function
| 120 121 122 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 120 def function @function end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 127 128 129 130 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 127 def update!(**args) @args = args[:args] if args.key?(:args) @function = args[:function] if args.key?(:function) end |