Class: Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/reports/v1beta/reports.rb
Overview
Item issue associated with the product.
Defined Under Namespace
Modules: ItemIssueResolution Classes: ItemIssueSeverity, ItemIssueType
Instance Attribute Summary collapse
-
#resolution ⇒ ::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueResolution
Item issue resolution.
-
#severity ⇒ ::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueSeverity
Item issue severity.
-
#type ⇒ ::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueType
Item issue type.
Instance Attribute Details
#resolution ⇒ ::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueResolution
Returns Item issue resolution.
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 |
# File 'proto_docs/google/shopping/merchant/reports/v1beta/reports.rb', line 381 class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end |
#severity ⇒ ::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueSeverity
Returns Item issue severity.
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 |
# File 'proto_docs/google/shopping/merchant/reports/v1beta/reports.rb', line 381 class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end |
#type ⇒ ::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueType
Returns Item issue type.
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 |
# File 'proto_docs/google/shopping/merchant/reports/v1beta/reports.rb', line 381 class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1beta::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end |