class Google::Apis::ContentV2_1::AccountGoogleMyBusinessLink
Attributes
gmb_account_id[RW]
The ID of the GMB account. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the GMB API. Corresponds to the JSON property `gmbAccountId` @return [String]
gmb_email[RW]
The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. Corresponds to the JSON property `gmbEmail` @return [String]
status[RW]
Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - “`active`” - “`pending`” Corresponds to the JSON property `status` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 341 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 346 def update!(**args) @gmb_account_id = args[:gmb_account_id] if args.key?(:gmb_account_id) @gmb_email = args[:gmb_email] if args.key?(:gmb_email) @status = args[:status] if args.key?(:status) end