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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/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) ⇒ LiasettingsCustomBatchResponseEntry

Returns a new instance of LiasettingsCustomBatchResponseEntry



3046
3047
3048
# File 'generated/google/apis/content_v2_1/classes.rb', line 3046

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)


3017
3018
3019
# File 'generated/google/apis/content_v2_1/classes.rb', line 3017

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



3022
3023
3024
# File 'generated/google/apis/content_v2_1/classes.rb', line 3022

def errors
  @errors
end

#gmb_accountsGoogle::Apis::ContentV2_1::GmbAccounts

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



3027
3028
3029
# File 'generated/google/apis/content_v2_1/classes.rb', line 3027

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)


3033
3034
3035
# File 'generated/google/apis/content_v2_1/classes.rb', line 3033

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



3039
3040
3041
# File 'generated/google/apis/content_v2_1/classes.rb', line 3039

def lia_settings
  @lia_settings
end

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

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



3044
3045
3046
# File 'generated/google/apis/content_v2_1/classes.rb', line 3044

def pos_data_providers
  @pos_data_providers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3051
3052
3053
3054
3055
3056
3057
3058
# File 'generated/google/apis/content_v2_1/classes.rb', line 3051

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