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



2780
2781
2782
# File 'generated/google/apis/content_v2/classes.rb', line 2780

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)


2736
2737
2738
# File 'generated/google/apis/content_v2/classes.rb', line 2736

def 
  @account_id
end

#batch_idFixnum

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

Returns:

  • (Fixnum)


2741
2742
2743
# File 'generated/google/apis/content_v2/classes.rb', line 2741

def batch_id
  @batch_id
end

#contact_emailString

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

Returns:

  • (String)


2747
2748
2749
# File 'generated/google/apis/content_v2/classes.rb', line 2747

def contact_email
  @contact_email
end

#contact_nameString

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

Returns:

  • (String)


2753
2754
2755
# File 'generated/google/apis/content_v2/classes.rb', line 2753

def contact_name
  @contact_name
end

#countryString

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

Returns:

  • (String)


2758
2759
2760
# File 'generated/google/apis/content_v2/classes.rb', line 2758

def country
  @country
end

#gmb_emailString

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

Returns:

  • (String)


2763
2764
2765
# File 'generated/google/apis/content_v2/classes.rb', line 2763

def gmb_email
  @gmb_email
end

#lia_settingsGoogle::Apis::ContentV2::LiaSettings

The account Lia settings to update. Only defined if the method is update. Corresponds to the JSON property liaSettings



2768
2769
2770
# File 'generated/google/apis/content_v2/classes.rb', line 2768

def lia_settings
  @lia_settings
end

#merchant_idFixnum

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

Returns:

  • (Fixnum)


2773
2774
2775
# File 'generated/google/apis/content_v2/classes.rb', line 2773

def merchant_id
  @merchant_id
end

#method_propString

Corresponds to the JSON property method

Returns:

  • (String)


2778
2779
2780
# File 'generated/google/apis/content_v2/classes.rb', line 2778

def method_prop
  @method_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
# File 'generated/google/apis/content_v2/classes.rb', line 2785

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)
end