Class: Google::Apis::ClassroomV1::StateHistory
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::StateHistory
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
The history of each state this submission has been in.
Instance Attribute Summary collapse
- 
  
    
      #actor_user_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The teacher or student who made the change Corresponds to the JSON property actorUserId.
- 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The workflow pipeline stage. 
- 
  
    
      #state_timestamp  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    When the submission entered this state. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ StateHistory 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of StateHistory. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StateHistory
Returns a new instance of StateHistory
| 1746 1747 1748 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1746 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#actor_user_id ⇒ String
The teacher or student who made the change
Corresponds to the JSON property actorUserId
| 1734 1735 1736 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1734 def actor_user_id @actor_user_id end | 
#state ⇒ String
The workflow pipeline stage.
Corresponds to the JSON property state
| 1739 1740 1741 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1739 def state @state end | 
#state_timestamp ⇒ String
When the submission entered this state.
Corresponds to the JSON property stateTimestamp
| 1744 1745 1746 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1744 def @state_timestamp end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1751 1752 1753 1754 1755 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1751 def update!(**args) @actor_user_id = args[:actor_user_id] if args.key?(:actor_user_id) @state = args[:state] if args.key?(:state) @state_timestamp = args[:state_timestamp] if args.key?(:state_timestamp) end |