Class: Google::Apis::AdminReportsV1::Activity::Event
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdminReportsV1::Activity::Event
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_reports_v1/classes.rb,
 generated/google/apis/admin_reports_v1/representations.rb,
 generated/google/apis/admin_reports_v1/representations.rb
Defined Under Namespace
Classes: Parameter
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of event. 
- 
  
    
      #parameters  ⇒ Array<Google::Apis::AdminReportsV1::Activity::Event::Parameter> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Parameter value pairs for various applications. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of event. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Event 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Event. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Event
Returns a new instance of Event
| 172 173 174 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 172 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#name ⇒ String
Name of event.
Corresponds to the JSON property name
| 160 161 162 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 160 def name @name end | 
#parameters ⇒ Array<Google::Apis::AdminReportsV1::Activity::Event::Parameter>
Parameter value pairs for various applications.
Corresponds to the JSON property parameters
| 165 166 167 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 165 def parameters @parameters end | 
#type ⇒ String
Type of event.
Corresponds to the JSON property type
| 170 171 172 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 170 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 177 178 179 180 181 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 177 def update!(**args) @name = args[:name] if args.key?(:name) @parameters = args[:parameters] if args.key?(:parameters) @type = args[:type] if args.key?(:type) end |