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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountStatusAccountLevelIssue

Returns a new instance of AccountStatusAccountLevelIssue.



1048
1049
1050
# File 'lib/google/apis/content_v2_1/classes.rb', line 1048

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)


1014
1015
1016
# File 'lib/google/apis/content_v2_1/classes.rb', line 1014

def country
  @country
end

#destinationString

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

Returns:

  • (String)


1020
1021
1022
# File 'lib/google/apis/content_v2_1/classes.rb', line 1020

def destination
  @destination
end

#detailString

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

Returns:

  • (String)


1025
1026
1027
# File 'lib/google/apis/content_v2_1/classes.rb', line 1025

def detail
  @detail
end

#documentationString

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

Returns:

  • (String)


1030
1031
1032
# File 'lib/google/apis/content_v2_1/classes.rb', line 1030

def documentation
  @documentation
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)


1035
1036
1037
# File 'lib/google/apis/content_v2_1/classes.rb', line 1035

def id
  @id
end

#severityString

Severity of the issue. Acceptable values are: - "critical" - "error" - " suggestion" Corresponds to the JSON property severity

Returns:

  • (String)


1041
1042
1043
# File 'lib/google/apis/content_v2_1/classes.rb', line 1041

def severity
  @severity
end

#titleString

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

Returns:

  • (String)


1046
1047
1048
# File 'lib/google/apis/content_v2_1/classes.rb', line 1046

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1053
1054
1055
1056
1057
1058
1059
1060
1061
# File 'lib/google/apis/content_v2_1/classes.rb', line 1053

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