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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GmbAccounts

Returns a new instance of GmbAccounts



2554
2555
2556
# File 'generated/google/apis/content_v2/classes.rb', line 2554

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

Instance Attribute Details

#account_idFixnum

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

Returns:

  • (Fixnum)


2547
2548
2549
# File 'generated/google/apis/content_v2/classes.rb', line 2547

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



2552
2553
2554
# File 'generated/google/apis/content_v2/classes.rb', line 2552

def gmb_accounts
  @gmb_accounts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2559
2560
2561
2562
# File 'generated/google/apis/content_v2/classes.rb', line 2559

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