Class: Google::Apis::ManufacturersV1::Issue

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

Overview

Product issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Issue

Returns a new instance of Issue.



609
610
611
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 609

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

Instance Attribute Details

#attributeString

If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116. Corresponds to the JSON property attribute

Returns:

  • (String)


571
572
573
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 571

def attribute
  @attribute
end

#descriptionString

Longer description of the issue focused on how to resolve it. Corresponds to the JSON property description

Returns:

  • (String)


576
577
578
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 576

def description
  @description
end

#destinationString

The destination this issue applies to. Corresponds to the JSON property destination

Returns:

  • (String)


581
582
583
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 581

def destination
  @destination
end

#resolutionString

What needs to happen to resolve the issue. Corresponds to the JSON property resolution

Returns:

  • (String)


586
587
588
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 586

def resolution
  @resolution
end

#severityString

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

Returns:

  • (String)


591
592
593
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 591

def severity
  @severity
end

#timestampString

The timestamp when this issue appeared. Corresponds to the JSON property timestamp

Returns:

  • (String)


596
597
598
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 596

def timestamp
  @timestamp
end

#titleString

Short title describing the nature of the issue. Corresponds to the JSON property title

Returns:

  • (String)


601
602
603
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 601

def title
  @title
end

#typeString

The server-generated type of the issue, for example, “ INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. Corresponds to the JSON property type

Returns:

  • (String)


607
608
609
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 607

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



614
615
616
617
618
619
620
621
622
623
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 614

def update!(**args)
  @attribute = args[:attribute] if args.key?(:attribute)
  @description = args[:description] if args.key?(:description)
  @destination = args[:destination] if args.key?(:destination)
  @resolution = args[:resolution] if args.key?(:resolution)
  @severity = args[:severity] if args.key?(:severity)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
  @title = args[:title] if args.key?(:title)
  @type = args[:type] if args.key?(:type)
end