Class: Google::Apis::MerchantapiReportsV1beta::IssueSeverityPerReportingContext
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiReportsV1beta::IssueSeverityPerReportingContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_reports_v1beta/classes.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb
Overview
Issue severity per reporting context.
Instance Attribute Summary collapse
-
#demoted_countries ⇒ Array<String>
List of demoted countries in the reporting context, represented in ISO 3166 format.
-
#disapproved_countries ⇒ Array<String>
List of disapproved countries in the reporting context, represented in ISO 3166 format.
-
#reporting_context ⇒ String
Reporting context the issue applies to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IssueSeverityPerReportingContext
constructor
A new instance of IssueSeverityPerReportingContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IssueSeverityPerReportingContext
Returns a new instance of IssueSeverityPerReportingContext.
623 624 625 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#demoted_countries ⇒ Array<String>
List of demoted countries in the reporting context, represented in ISO 3166
format.
Corresponds to the JSON property demotedCountries
610 611 612 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 610 def demoted_countries @demoted_countries end |
#disapproved_countries ⇒ Array<String>
List of disapproved countries in the reporting context, represented in ISO
3166 format.
Corresponds to the JSON property disapprovedCountries
616 617 618 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 616 def disapproved_countries @disapproved_countries end |
#reporting_context ⇒ String
Reporting context the issue applies to.
Corresponds to the JSON property reportingContext
621 622 623 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 621 def reporting_context @reporting_context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
628 629 630 631 632 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 628 def update!(**args) @demoted_countries = args[:demoted_countries] if args.key?(:demoted_countries) @disapproved_countries = args[:disapproved_countries] if args.key?(:disapproved_countries) @reporting_context = args[:reporting_context] if args.key?(:reporting_context) end |