Class: Google::Apis::ContentV2::LiasettingsCustomBatchRequestEntry

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

Returns a new instance of LiasettingsCustomBatchRequestEntry



3566
3567
3568
# File 'generated/google/apis/content_v2/classes.rb', line 3566

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

Instance Attribute Details

#account_idFixnum

The ID of the account for which to get/update account shipping settings. Corresponds to the JSON property accountId

Returns:

  • (Fixnum)


3511
3512
3513
# File 'generated/google/apis/content_v2/classes.rb', line 3511

def 
  @account_id
end

#batch_idFixnum

An entry ID, unique within the batch request. Corresponds to the JSON property batchId

Returns:

  • (Fixnum)


3516
3517
3518
# File 'generated/google/apis/content_v2/classes.rb', line 3516

def batch_id
  @batch_id
end

#contact_emailString

Inventory validation contact email. Required only for SetInventoryValidationContact. Corresponds to the JSON property contactEmail

Returns:

  • (String)


3522
3523
3524
# File 'generated/google/apis/content_v2/classes.rb', line 3522

def contact_email
  @contact_email
end

#contact_nameString

Inventory validation contact name. Required only for SetInventoryValidationContact. Corresponds to the JSON property contactName

Returns:

  • (String)


3528
3529
3530
# File 'generated/google/apis/content_v2/classes.rb', line 3528

def contact_name
  @contact_name
end

#countryString

The country code. Required only for RequestInventoryVerification. Corresponds to the JSON property country

Returns:

  • (String)


3533
3534
3535
# File 'generated/google/apis/content_v2/classes.rb', line 3533

def country
  @country
end

#gmb_emailString

The GMB account. Required only for RequestGmbAccess. Corresponds to the JSON property gmbEmail

Returns:

  • (String)


3538
3539
3540
# File 'generated/google/apis/content_v2/classes.rb', line 3538

def gmb_email
  @gmb_email
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



3544
3545
3546
# File 'generated/google/apis/content_v2/classes.rb', line 3544

def lia_settings
  @lia_settings
end

#merchant_idFixnum

The ID of the managing account. Corresponds to the JSON property merchantId

Returns:

  • (Fixnum)


3549
3550
3551
# File 'generated/google/apis/content_v2/classes.rb', line 3549

def merchant_id
  @merchant_id
end

#method_propString

Corresponds to the JSON property method

Returns:

  • (String)


3554
3555
3556
# File 'generated/google/apis/content_v2/classes.rb', line 3554

def method_prop
  @method_prop
end

#pos_data_provider_idFixnum

The ID of POS data provider. Required only for SetPosProvider. Corresponds to the JSON property posDataProviderId

Returns:

  • (Fixnum)


3559
3560
3561
# File 'generated/google/apis/content_v2/classes.rb', line 3559

def pos_data_provider_id
  @pos_data_provider_id
end

#pos_external_account_idString

The account ID by which this merchant is known to the POS provider. Corresponds to the JSON property posExternalAccountId

Returns:

  • (String)


3564
3565
3566
# File 'generated/google/apis/content_v2/classes.rb', line 3564

def 
  @pos_external_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
# File 'generated/google/apis/content_v2/classes.rb', line 3571

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