Class: Google::Apis::ContentV2::LiasettingsCustomBatchResponseEntry

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiasettingsCustomBatchResponseEntry

Returns a new instance of LiasettingsCustomBatchResponseEntry.



3824
3825
3826
# File 'lib/google/apis/content_v2/classes.rb', line 3824

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)


3795
3796
3797
# File 'lib/google/apis/content_v2/classes.rb', line 3795

def batch_id
  @batch_id
end

#errorsGoogle::Apis::ContentV2::Errors

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



3800
3801
3802
# File 'lib/google/apis/content_v2/classes.rb', line 3800

def errors
  @errors
end

#gmb_accountsGoogle::Apis::ContentV2::GmbAccounts

The list of accessible GMB accounts. Corresponds to the JSON property gmbAccounts



3805
3806
3807
# File 'lib/google/apis/content_v2/classes.rb', line 3805

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)


3811
3812
3813
# File 'lib/google/apis/content_v2/classes.rb', line 3811

def kind
  @kind
end

#lia_settingsGoogle::Apis::ContentV2::LiaSettings

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



3817
3818
3819
# File 'lib/google/apis/content_v2/classes.rb', line 3817

def lia_settings
  @lia_settings
end

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

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



3822
3823
3824
# File 'lib/google/apis/content_v2/classes.rb', line 3822

def pos_data_providers
  @pos_data_providers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3829
3830
3831
3832
3833
3834
3835
3836
# File 'lib/google/apis/content_v2/classes.rb', line 3829

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)
  @pos_data_providers = args[:pos_data_providers] if args.key?(:pos_data_providers)
end