Class: Google::Apis::MerchantapiAccountsV1beta::AccountIssue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#detailString

Further localized details about the issue. Corresponds to the JSON property detail

Returns:

  • (String)


161
162
163
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 161

def detail
  @detail
end

#documentation_uriString

Link to Merchant Center Help Center providing further information about the issue and how to fix it. Corresponds to the JSON property documentationUri

Returns:

  • (String)


167
168
169
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 167

def documentation_uri
  @documentation_uri
end

#impacted_destinationsArray<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

#nameString

Identifier. The resource name of the account issue. Format: accounts/account /issues/id` Corresponds to the JSON propertyname`

Returns:

  • (String)


178
179
180
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 178

def name
  @name
end

#severityString

The overall severity of the issue. Corresponds to the JSON property severity

Returns:

  • (String)


183
184
185
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 183

def severity
  @severity
end

#titleString

The localized title of the issue. Corresponds to the JSON property title

Returns:

  • (String)


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