class Google::Apis::ContentV2::Account

Account data.

Attributes

adult_content[RW]

Indicates whether the merchant sells adult content. Corresponds to the JSON property `adultContent` @return [Boolean]

adult_content?[RW]

Indicates whether the merchant sells adult content. Corresponds to the JSON property `adultContent` @return [Boolean]

id[RW]

Merchant Center account ID. Corresponds to the JSON property `id` @return [String]

kind[RW]

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

name[RW]

Display name for the account. Corresponds to the JSON property `name` @return [String]

reviews_url[RW]

URL for individual seller reviews, i.e., reviews for each child account. Corresponds to the JSON property `reviewsUrl` @return [String]

seller_id[RW]

Client-specific, locally-unique, internal ID for the child account. Corresponds to the JSON property `sellerId` @return [String]

users[RW]

Users with access to the account. Every account (except for subaccounts) must have at least one admin user. Corresponds to the JSON property `users` @return [Array<Google::Apis::ContentV2::AccountUser>]

website_url[RW]

The merchant's website. Corresponds to the JSON property `websiteUrl` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/content_v2/classes.rb, line 85
def update!(**args)
  @adult_content = args[:adult_content] if args.key?(:adult_content)
  @adwords_links = args[:adwords_links] if args.key?(:adwords_links)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @reviews_url = args[:reviews_url] if args.key?(:reviews_url)
  @seller_id = args[:seller_id] if args.key?(:seller_id)
  @users = args[:users] if args.key?(:users)
  @website_url = args[:website_url] if args.key?(:website_url)
end