Class: Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiasettingsGetAccessibleGmbAccountsResponse

Returns a new instance of LiasettingsGetAccessibleGmbAccountsResponse.



6041
6042
6043
# File 'lib/google/apis/content_v2_1/classes.rb', line 6041

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

Instance Attribute Details

#account_idFixnum

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

Returns:

  • (Fixnum)


6028
6029
6030
# File 'lib/google/apis/content_v2_1/classes.rb', line 6028

def 
  @account_id
end

#gmb_accountsArray<Google::Apis::ContentV2_1::GmbAccountsGmbAccount>

A list of Business Profiles which are available to the merchant. Corresponds to the JSON property gmbAccounts



6033
6034
6035
# File 'lib/google/apis/content_v2_1/classes.rb', line 6033

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)


6039
6040
6041
# File 'lib/google/apis/content_v2_1/classes.rb', line 6039

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6046
6047
6048
6049
6050
# File 'lib/google/apis/content_v2_1/classes.rb', line 6046

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