Class: Google::Apis::ContentV2::GmbAccounts

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GmbAccounts

Returns a new instance of GmbAccounts.



2724
2725
2726
# File 'lib/google/apis/content_v2/classes.rb', line 2724

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idFixnum

The ID of the Merchant Center account. Corresponds to the JSON property accountId

Returns:

  • (Fixnum)


2717
2718
2719
# File 'lib/google/apis/content_v2/classes.rb', line 2717

def 
  @account_id
end

#gmb_accountsArray<Google::Apis::ContentV2::GmbAccountsGmbAccount>

A list of GMB accounts which are available to the merchant. Corresponds to the JSON property gmbAccounts



2722
2723
2724
# File 'lib/google/apis/content_v2/classes.rb', line 2722

def gmb_accounts
  @gmb_accounts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2729
2730
2731
2732
# File 'lib/google/apis/content_v2/classes.rb', line 2729

def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @gmb_accounts = args[:gmb_accounts] if args.key?(:gmb_accounts)
end