Class: Google::Apis::ContentV2::AccountStatusAccountLevelIssue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountStatusAccountLevelIssue

Returns a new instance of AccountStatusAccountLevelIssue.


419
420
421
# File 'generated/google/apis/content_v2/classes.rb', line 419

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

Instance Attribute Details

#countryString

Country for which this issue is reported. Corresponds to the JSON property country

Returns:

  • (String)

383
384
385
# File 'generated/google/apis/content_v2/classes.rb', line 383

def country
  @country
end

#destinationString

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

Returns:

  • (String)

388
389
390
# File 'generated/google/apis/content_v2/classes.rb', line 388

def destination
  @destination
end

#detailString

Additional details about the issue. Corresponds to the JSON property detail

Returns:

  • (String)

393
394
395
# File 'generated/google/apis/content_v2/classes.rb', line 393

def detail
  @detail
end

#documentationString

The URL of a web page to help resolving this issue. Corresponds to the JSON property documentation

Returns:

  • (String)

398
399
400
# File 'generated/google/apis/content_v2/classes.rb', line 398

def documentation
  @documentation
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)

403
404
405
# File 'generated/google/apis/content_v2/classes.rb', line 403

def id
  @id
end

#severityString

Severity of the issue. Acceptable values are:

  • "critical"
  • "error"
  • "suggestion" Corresponds to the JSON property severity

Returns:

  • (String)

412
413
414
# File 'generated/google/apis/content_v2/classes.rb', line 412

def severity
  @severity
end

#titleString

Short description of the issue. Corresponds to the JSON property title

Returns:

  • (String)

417
418
419
# File 'generated/google/apis/content_v2/classes.rb', line 417

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


424
425
426
427
428
429
430
431
432
# File 'generated/google/apis/content_v2/classes.rb', line 424

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