Class: Google::Apis::ContentV2::GmbAccounts
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::GmbAccounts
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the account. 
- 
  
    
      #gmb_accounts  ⇒ Array<Google::Apis::ContentV2::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. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GmbAccounts
Returns a new instance of GmbAccounts
| 2016 2017 2018 | # File 'generated/google/apis/content_v2/classes.rb', line 2016 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ Fixnum
The ID of the account.
Corresponds to the JSON property accountId
| 2009 2010 2011 | # File 'generated/google/apis/content_v2/classes.rb', line 2009 def account_id @account_id end | 
#gmb_accounts ⇒ Array<Google::Apis::ContentV2::GmbAccountsGmbAccount>
A list of GMB accounts which are available to the merchant.
Corresponds to the JSON property gmbAccounts
| 2014 2015 2016 | # File 'generated/google/apis/content_v2/classes.rb', line 2014 def gmb_accounts @gmb_accounts end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2021 2022 2023 2024 | # File 'generated/google/apis/content_v2/classes.rb', line 2021 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @gmb_accounts = args[:gmb_accounts] if args.key?(:gmb_accounts) end |