Class: Google::Apis::ContentV2_1::LiasettingsCustomBatchResponseEntry

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

Returns a new instance of LiasettingsCustomBatchResponseEntry.



6005
6006
6007
# File 'lib/google/apis/content_v2_1/classes.rb', line 6005

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

Instance Attribute Details

#batch_idFixnum

The ID of the request entry to which this entry responds. Corresponds to the JSON property batchId

Returns:

  • (Fixnum)


5971
5972
5973
# File 'lib/google/apis/content_v2_1/classes.rb', line 5971

def batch_id
  @batch_id
end

#errorsGoogle::Apis::ContentV2_1::Errors

A list of errors returned by a failed batch entry. Corresponds to the JSON property errors



5976
5977
5978
# File 'lib/google/apis/content_v2_1/classes.rb', line 5976

def errors
  @errors
end

#gmb_accountsGoogle::Apis::ContentV2_1::GmbAccounts

The list of accessible Business Profiles. Corresponds to the JSON property gmbAccounts



5981
5982
5983
# File 'lib/google/apis/content_v2_1/classes.rb', line 5981

def gmb_accounts
  @gmb_accounts
end

#kindString

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

Returns:

  • (String)


5987
5988
5989
# File 'lib/google/apis/content_v2_1/classes.rb', line 5987

def kind
  @kind
end

#lia_settingsGoogle::Apis::ContentV2_1::LiaSettings

Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. Corresponds to the JSON property liaSettings



5993
5994
5995
# File 'lib/google/apis/content_v2_1/classes.rb', line 5993

def lia_settings
  @lia_settings
end

#omnichannel_experienceGoogle::Apis::ContentV2_1::LiaOmnichannelExperience

Omnichannel experience details. Corresponds to the JSON property omnichannelExperience



5998
5999
6000
# File 'lib/google/apis/content_v2_1/classes.rb', line 5998

def omnichannel_experience
  @omnichannel_experience
end

#pos_data_providersArray<Google::Apis::ContentV2_1::PosDataProviders>

The list of POS data providers. Corresponds to the JSON property posDataProviders



6003
6004
6005
# File 'lib/google/apis/content_v2_1/classes.rb', line 6003

def pos_data_providers
  @pos_data_providers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6010
6011
6012
6013
6014
6015
6016
6017
6018
# File 'lib/google/apis/content_v2_1/classes.rb', line 6010

def update!(**args)
  @batch_id = args[:batch_id] if args.key?(:batch_id)
  @errors = args[:errors] if args.key?(:errors)
  @gmb_accounts = args[:gmb_accounts] if args.key?(:gmb_accounts)
  @kind = args[:kind] if args.key?(:kind)
  @lia_settings = args[:lia_settings] if args.key?(:lia_settings)
  @omnichannel_experience = args[:omnichannel_experience] if args.key?(:omnichannel_experience)
  @pos_data_providers = args[:pos_data_providers] if args.key?(:pos_data_providers)
end