Class: Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse

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) ⇒ LiasettingsGetAccessibleGmbAccountsResponse

Returns a new instance of LiasettingsGetAccessibleGmbAccountsResponse.



3740
3741
3742
# File 'generated/google/apis/content_v2/classes.rb', line 3740

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

Instance Attribute Details

#account_idFixnum

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

Returns:

  • (Fixnum)


3727
3728
3729
# File 'generated/google/apis/content_v2/classes.rb', line 3727

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



3732
3733
3734
# File 'generated/google/apis/content_v2/classes.rb', line 3732

def gmb_accounts
  @gmb_accounts
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# liasettingsGetAccessibleGmbAccountsResponse". Corresponds to the JSON property kind

Returns:

  • (String)


3738
3739
3740
# File 'generated/google/apis/content_v2/classes.rb', line 3738

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3745
3746
3747
3748
3749
# File 'generated/google/apis/content_v2/classes.rb', line 3745

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