Class: Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/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.



397
398
399
# File 'generated/google/apis/content_v2_1/classes.rb', line 397

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)


365
366
367
# File 'generated/google/apis/content_v2_1/classes.rb', line 365

def country
  @country
end

#destinationString

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

Returns:

  • (String)


370
371
372
# File 'generated/google/apis/content_v2_1/classes.rb', line 370

def destination
  @destination
end

#detailString

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

Returns:

  • (String)


375
376
377
# File 'generated/google/apis/content_v2_1/classes.rb', line 375

def detail
  @detail
end

#documentationString

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

Returns:

  • (String)


380
381
382
# File 'generated/google/apis/content_v2_1/classes.rb', line 380

def documentation
  @documentation
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)


385
386
387
# File 'generated/google/apis/content_v2_1/classes.rb', line 385

def id
  @id
end

#severityString

Severity of the issue. Corresponds to the JSON property severity

Returns:

  • (String)


390
391
392
# File 'generated/google/apis/content_v2_1/classes.rb', line 390

def severity
  @severity
end

#titleString

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

Returns:

  • (String)


395
396
397
# File 'generated/google/apis/content_v2_1/classes.rb', line 395

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



402
403
404
405
406
407
408
409
410
# File 'generated/google/apis/content_v2_1/classes.rb', line 402

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