Class: Google::Apis::ContentV2::AccountStatusStatistics
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContentV2::AccountStatusStatistics
 
 
- Defined in:
 - generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #active  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Number of active offers.
 - 
  
    
      #disapproved  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Number of disapproved offers.
 - 
  
    
      #expiring  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Number of expiring offers.
 - 
  
    
      #pending  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Number of pending offers.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AccountStatusStatistics 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AccountStatusStatistics.
 - 
  
    
      #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) ⇒ AccountStatusStatistics
Returns a new instance of AccountStatusStatistics
      668 669 670  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 668 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#active ⇒ Fixnum
Number of active offers.
Corresponds to the JSON property active
      651 652 653  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 651 def active @active end  | 
  
#disapproved ⇒ Fixnum
Number of disapproved offers.
Corresponds to the JSON property disapproved
      656 657 658  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 656 def disapproved @disapproved end  | 
  
#expiring ⇒ Fixnum
Number of expiring offers.
Corresponds to the JSON property expiring
      661 662 663  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 661 def expiring @expiring end  | 
  
#pending ⇒ Fixnum
Number of pending offers.
Corresponds to the JSON property pending
      666 667 668  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 666 def pending @pending end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      673 674 675 676 677 678  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 673 def update!(**args) @active = args[:active] if args.key?(:active) @disapproved = args[:disapproved] if args.key?(:disapproved) @expiring = args[:expiring] if args.key?(:expiring) @pending = args[:pending] if args.key?(:pending) end  |