Class: Google::Apis::MerchantapiAccountsV1beta::AccountIssue
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::AccountIssue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
An AccountIssue
.
Instance Attribute Summary collapse
-
#detail ⇒ String
Further localized details about the issue.
-
#documentation_uri ⇒ String
Link to Merchant Center Help Center providing further information about the issue and how to fix it.
-
#impacted_destinations ⇒ Array<Google::Apis::MerchantapiAccountsV1beta::ImpactedDestination>
The impact this issue has on various destinations.
-
#name ⇒ String
Identifier.
-
#severity ⇒ String
The overall severity of the issue.
-
#title ⇒ String
The localized title of the issue.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountIssue
constructor
A new instance of AccountIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountIssue
Returns a new instance of AccountIssue.
190 191 192 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#detail ⇒ String
Further localized details about the issue.
Corresponds to the JSON property detail
161 162 163 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 161 def detail @detail end |
#documentation_uri ⇒ String
Link to Merchant Center Help Center providing further information about the
issue and how to fix it.
Corresponds to the JSON property documentationUri
167 168 169 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 167 def documentation_uri @documentation_uri end |
#impacted_destinations ⇒ Array<Google::Apis::MerchantapiAccountsV1beta::ImpactedDestination>
The impact this issue has on various destinations.
Corresponds to the JSON property impactedDestinations
172 173 174 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 172 def impacted_destinations @impacted_destinations end |
#name ⇒ String
Identifier. The resource name of the account issue. Format: accounts/
account
/issues/
id`
Corresponds to the JSON property
name`
178 179 180 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 178 def name @name end |
#severity ⇒ String
The overall severity of the issue.
Corresponds to the JSON property severity
183 184 185 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 183 def severity @severity end |
#title ⇒ String
The localized title of the issue.
Corresponds to the JSON property title
188 189 190 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 188 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
195 196 197 198 199 200 201 202 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 195 def update!(**args) @detail = args[:detail] if args.key?(:detail) @documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri) @impacted_destinations = args[:impacted_destinations] if args.key?(:impacted_destinations) @name = args[:name] if args.key?(:name) @severity = args[:severity] if args.key?(:severity) @title = args[:title] if args.key?(:title) end |