class Google::Apis::ContentV2_1::GmbAccountsGmbAccount

Attributes

email[RW]

The email which identifies the GMB account. Corresponds to the JSON property `email` @return [String]

listing_count[RW]

Number of listings under this account. Corresponds to the JSON property `listingCount` @return [Fixnum]

name[RW]

The name of the GMB account. Corresponds to the JSON property `name` @return [String]

type[RW]

The type of the GMB account (User or Business). Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 3385
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 3390
def update!(**args)
  @email = args[:email] if args.key?(:email)
  @listing_count = args[:listing_count] if args.key?(:listing_count)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
end