Class: Google::Apis::ContentV2::AccountStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountStatus
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Overview
The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ID of the account for which the status is reported.
-
#data_quality_issues ⇒ Array<Google::Apis::ContentV2::AccountStatusDataQualityIssue>
A list of data quality issues.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#website_claimed ⇒ Boolean
(also: #website_claimed?)
Whether the account's website is claimed or not.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountStatus
constructor
A new instance of AccountStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountStatus
Returns a new instance of AccountStatus
185 186 187 |
# File 'generated/google/apis/content_v2/classes.rb', line 185 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
The ID of the account for which the status is reported.
Corresponds to the JSON property accountId
166 167 168 |
# File 'generated/google/apis/content_v2/classes.rb', line 166 def account_id @account_id end |
#data_quality_issues ⇒ Array<Google::Apis::ContentV2::AccountStatusDataQualityIssue>
A list of data quality issues.
Corresponds to the JSON property dataQualityIssues
171 172 173 |
# File 'generated/google/apis/content_v2/classes.rb', line 171 def data_quality_issues @data_quality_issues end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
accountStatus".
Corresponds to the JSON property kind
177 178 179 |
# File 'generated/google/apis/content_v2/classes.rb', line 177 def kind @kind end |
#website_claimed ⇒ Boolean Also known as: website_claimed?
Whether the account's website is claimed or not.
Corresponds to the JSON property websiteClaimed
182 183 184 |
# File 'generated/google/apis/content_v2/classes.rb', line 182 def website_claimed @website_claimed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
190 191 192 193 194 195 |
# File 'generated/google/apis/content_v2/classes.rb', line 190 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues) @kind = args[:kind] if args.key?(:kind) @website_claimed = args[:website_claimed] if args.key?(:website_claimed) end |