Class: Google::Apis::ContentV2_1::GmbAccounts
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::GmbAccounts
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
The ID of the Merchant Center account.
-
#gmb_accounts ⇒ Array<Google::Apis::ContentV2_1::GmbAccountsGmbAccount>
A list of Business Profiles which are available to the merchant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GmbAccounts
constructor
A new instance of GmbAccounts.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GmbAccounts
Returns a new instance of GmbAccounts.
4974 4975 4976 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4974 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
The ID of the Merchant Center account.
Corresponds to the JSON property accountId
4967 4968 4969 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4967 def account_id @account_id end |
#gmb_accounts ⇒ Array<Google::Apis::ContentV2_1::GmbAccountsGmbAccount>
A list of Business Profiles which are available to the merchant.
Corresponds to the JSON property gmbAccounts
4972 4973 4974 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4972 def gmb_accounts @gmb_accounts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4979 4980 4981 4982 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4979 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @gmb_accounts = args[:gmb_accounts] if args.key?(:gmb_accounts) end |