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 GMB accounts 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.
3176 3177 3178 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3176 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
3169 3170 3171 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3169 def account_id @account_id end |
#gmb_accounts ⇒ Array<Google::Apis::ContentV2_1::GmbAccountsGmbAccount>
A list of GMB accounts which are available to the merchant.
Corresponds to the JSON property gmbAccounts
3174 3175 3176 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3174 def gmb_accounts @gmb_accounts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3181 3182 3183 3184 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3181 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @gmb_accounts = args[:gmb_accounts] if args.key?(:gmb_accounts) end |