Class: Google::Apis::ContentV2_1::AccountIssueImpact

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

Overview

Overall impact of the issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountIssueImpact

Returns a new instance of AccountIssueImpact.



722
723
724
# File 'lib/google/apis/content_v2_1/classes.rb', line 722

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

Instance Attribute Details

#breakdownsArray<Google::Apis::ContentV2_1::Breakdown>

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the merchant. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details. Corresponds to the JSON property breakdowns



708
709
710
# File 'lib/google/apis/content_v2_1/classes.rb', line 708

def breakdowns
  @breakdowns
end

#messageString

Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the merchant. For example: "Disapproves 90k offers in 25 countries" Corresponds to the JSON property message

Returns:

  • (String)


715
716
717
# File 'lib/google/apis/content_v2_1/classes.rb', line 715

def message
  @message
end

#severityString

The severity of the issue. Corresponds to the JSON property severity

Returns:

  • (String)


720
721
722
# File 'lib/google/apis/content_v2_1/classes.rb', line 720

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



727
728
729
730
731
# File 'lib/google/apis/content_v2_1/classes.rb', line 727

def update!(**args)
  @breakdowns = args[:breakdowns] if args.key?(:breakdowns)
  @message = args[:message] if args.key?(:message)
  @severity = args[:severity] if args.key?(:severity)
end