class Google::Apis::ContentV2_1::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_1::AccountStatusAccountLevelIssue>]

account_management[RW]

How the account is managed. Acceptable values are: - “`manual`” - “`automatic`”

Corresponds to the JSON property `accountManagement` @return [String]

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_1::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_1/classes.rb, line 500
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_1/classes.rb, line 505
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)
  @account_management = args[:account_management] if args.key?(:account_management)
  @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