class Google::Apis::ContentV2::AccountStatus

The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.

Attributes

account_id[RW]

The ID of the account for which the status is reported. Corresponds to the JSON property `accountId` @return [String]

account_level_issues[RW]

A list of account level issues. Corresponds to the JSON property `accountLevelIssues` @return [Array<Google::Apis::ContentV2::AccountStatusAccountLevelIssue>]

data_quality_issues[RW]

DEPRECATED - never populated. Corresponds to the JSON property `dataQualityIssues` @return [Array<Google::Apis::ContentV2::AccountStatusDataQualityIssue>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “`content# accountStatus`” Corresponds to the JSON property `kind` @return [String]

products[RW]

List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes. Corresponds to the JSON property `products` @return [Array<Google::Apis::ContentV2::AccountStatusProducts>]

website_claimed[RW]

Whether the account's website is claimed or not. Corresponds to the JSON property `websiteClaimed` @return [Boolean]

website_claimed?[RW]

Whether the account's website is claimed or not. Corresponds to the JSON property `websiteClaimed` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 358
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 363
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @account_level_issues = args[:account_level_issues] if args.key?(:account_level_issues)
  @data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues)
  @kind = args[:kind] if args.key?(:kind)
  @products = args[:products] if args.key?(:products)
  @website_claimed = args[:website_claimed] if args.key?(:website_claimed)
end