Class: Google::Apis::ContentV2_1::AccountStatusStatistics

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountStatusStatistics

Returns a new instance of AccountStatusStatistics.



603
604
605
# File 'generated/google/apis/content_v2_1/classes.rb', line 603

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#activeFixnum

Number of active offers. Corresponds to the JSON property active

Returns:

  • (Fixnum)


586
587
588
# File 'generated/google/apis/content_v2_1/classes.rb', line 586

def active
  @active
end

#disapprovedFixnum

Number of disapproved offers. Corresponds to the JSON property disapproved

Returns:

  • (Fixnum)


591
592
593
# File 'generated/google/apis/content_v2_1/classes.rb', line 591

def disapproved
  @disapproved
end

#expiringFixnum

Number of expiring offers. Corresponds to the JSON property expiring

Returns:

  • (Fixnum)


596
597
598
# File 'generated/google/apis/content_v2_1/classes.rb', line 596

def expiring
  @expiring
end

#pendingFixnum

Number of pending offers. Corresponds to the JSON property pending

Returns:

  • (Fixnum)


601
602
603
# File 'generated/google/apis/content_v2_1/classes.rb', line 601

def pending
  @pending
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



608
609
610
611
612
613
# File 'generated/google/apis/content_v2_1/classes.rb', line 608

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