Class: Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue
- 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
Instance Attribute Summary collapse
-
#country ⇒ String
Country for which this issue is reported.
-
#destination ⇒ String
The destination the issue applies to.
-
#detail ⇒ String
Additional details about the issue.
-
#documentation ⇒ String
The URL of a web page to help resolving this issue.
-
#id ⇒ String
Issue identifier.
-
#severity ⇒ String
Severity of the issue.
-
#title ⇒ String
Short description of the issue.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountStatusAccountLevelIssue
constructor
A new instance of AccountStatusAccountLevelIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountStatusAccountLevelIssue
Returns a new instance of AccountStatusAccountLevelIssue.
575 576 577 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country ⇒ String
Country for which this issue is reported.
Corresponds to the JSON property country
541 542 543 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 541 def country @country end |
#destination ⇒ String
The destination the issue applies to. If this field is empty then the issue
applies to all available destinations.
Corresponds to the JSON property destination
547 548 549 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 547 def destination @destination end |
#detail ⇒ String
Additional details about the issue.
Corresponds to the JSON property detail
552 553 554 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 552 def detail @detail end |
#documentation ⇒ String
The URL of a web page to help resolving this issue.
Corresponds to the JSON property documentation
557 558 559 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 557 def documentation @documentation end |
#id ⇒ String
Issue identifier.
Corresponds to the JSON property id
562 563 564 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 562 def id @id end |
#severity ⇒ String
Severity of the issue. Acceptable values are: - "critical" - "error" - "
suggestion"
Corresponds to the JSON property severity
568 569 570 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 568 def severity @severity end |
#title ⇒ String
Short description of the issue.
Corresponds to the JSON property title
573 574 575 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 573 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
580 581 582 583 584 585 586 587 588 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 580 def update!(**args) @country = args[:country] if args.key?(:country) @destination = args[:destination] if args.key?(:destination) @detail = args[:detail] if args.key?(:detail) @documentation = args[:documentation] if args.key?(:documentation) @id = args[:id] if args.key?(:id) @severity = args[:severity] if args.key?(:severity) @title = args[:title] if args.key?(:title) end |