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



277
278
279
# File 'generated/google/apis/content_v2/classes.rb', line 277

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)


255
256
257
# File 'generated/google/apis/content_v2/classes.rb', line 255

def country
  @country
end

#detailString

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

Returns:

  • (String)


260
261
262
# File 'generated/google/apis/content_v2/classes.rb', line 260

def detail
  @detail
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)


265
266
267
# File 'generated/google/apis/content_v2/classes.rb', line 265

def id
  @id
end

#severityString

Severity of the issue. Corresponds to the JSON property severity

Returns:

  • (String)


270
271
272
# File 'generated/google/apis/content_v2/classes.rb', line 270

def severity
  @severity
end

#titleString

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

Returns:

  • (String)


275
276
277
# File 'generated/google/apis/content_v2/classes.rb', line 275

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



282
283
284
285
286
287
288
# File 'generated/google/apis/content_v2/classes.rb', line 282

def update!(**args)
  @country = args[:country] if args.key?(:country)
  @detail = args[:detail] if args.key?(:detail)
  @id = args[:id] if args.key?(:id)
  @severity = args[:severity] if args.key?(:severity)
  @title = args[:title] if args.key?(:title)
end