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



233
234
235
# File 'generated/google/apis/content_v2/classes.rb', line 233

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)


211
212
213
# File 'generated/google/apis/content_v2/classes.rb', line 211

def country
  @country
end

#detailString

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

Returns:

  • (String)


216
217
218
# File 'generated/google/apis/content_v2/classes.rb', line 216

def detail
  @detail
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)


221
222
223
# File 'generated/google/apis/content_v2/classes.rb', line 221

def id
  @id
end

#severityString

Severity of the issue. Corresponds to the JSON property severity

Returns:

  • (String)


226
227
228
# File 'generated/google/apis/content_v2/classes.rb', line 226

def severity
  @severity
end

#titleString

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

Returns:

  • (String)


231
232
233
# File 'generated/google/apis/content_v2/classes.rb', line 231

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



238
239
240
241
242
243
244
# File 'generated/google/apis/content_v2/classes.rb', line 238

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