class Google::Apis::ContentV2_1::LiasettingsCustomBatchRequestEntry

Attributes

account_id[RW]

The ID of the account for which to get/update account LIA settings. Corresponds to the JSON property `accountId` @return [Fixnum]

batch_id[RW]

An entry ID, unique within the batch request. Corresponds to the JSON property `batchId` @return [Fixnum]

contact_email[RW]

Inventory validation contact email. Required only for SetInventoryValidationContact. Corresponds to the JSON property `contactEmail` @return [String]

contact_name[RW]

Inventory validation contact name. Required only for SetInventoryValidationContact. Corresponds to the JSON property `contactName` @return [String]

country[RW]

The country code. Required only for RequestInventoryVerification. Corresponds to the JSON property `country` @return [String]

gmb_email[RW]

The GMB account. Required only for RequestGmbAccess. Corresponds to the JSON property `gmbEmail` @return [String]

lia_settings[RW]

Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. Corresponds to the JSON property `liaSettings` @return [Google::Apis::ContentV2_1::LiaSettings]

merchant_id[RW]

The ID of the managing account. Corresponds to the JSON property `merchantId` @return [Fixnum]

method_prop[RW]

The method of the batch entry. Acceptable values are: - “`get`” - “` getAccessibleGmbAccounts`” - “`requestGmbAccess`” - “` requestInventoryVerification`” - “`setInventoryVerificationContact`” - “` update`” Corresponds to the JSON property `method` @return [String]

pos_data_provider_id[RW]

The ID of POS data provider. Required only for SetPosProvider. Corresponds to the JSON property `posDataProviderId` @return [Fixnum]

pos_external_account_id[RW]

The account ID by which this merchant is known to the POS provider. Corresponds to the JSON property `posExternalAccountId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 3975
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 3980
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @batch_id = args[:batch_id] if args.key?(:batch_id)
  @contact_email = args[:contact_email] if args.key?(:contact_email)
  @contact_name = args[:contact_name] if args.key?(:contact_name)
  @country = args[:country] if args.key?(:country)
  @gmb_email = args[:gmb_email] if args.key?(:gmb_email)
  @lia_settings = args[:lia_settings] if args.key?(:lia_settings)
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
  @method_prop = args[:method_prop] if args.key?(:method_prop)
  @pos_data_provider_id = args[:pos_data_provider_id] if args.key?(:pos_data_provider_id)
  @pos_external_account_id = args[:pos_external_account_id] if args.key?(:pos_external_account_id)
end