Class: Google::Apis::ContentV2_1::LiasettingsCustomBatchRequestEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::LiasettingsCustomBatchRequestEntry
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
The ID of the account for which to get/update account LIA settings.
-
#batch_id ⇒ Fixnum
An entry ID, unique within the batch request.
-
#contact_email ⇒ String
Inventory validation contact email.
-
#contact_name ⇒ String
Inventory validation contact name.
-
#country ⇒ String
The country code.
-
#gmb_email ⇒ String
The Business Profile.
-
#lia_settings ⇒ Google::Apis::ContentV2_1::LiaSettings
Local Inventory ads (LIA) settings.
-
#merchant_id ⇒ Fixnum
The ID of the managing account.
-
#method_prop ⇒ String
The method of the batch entry.
-
#omnichannel_experience ⇒ Google::Apis::ContentV2_1::LiaOmnichannelExperience
Omnichannel experience details.
-
#pos_data_provider_id ⇒ Fixnum
The ID of POS data provider.
-
#pos_external_account_id ⇒ String
The account ID by which this merchant is known to the POS provider.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiasettingsCustomBatchRequestEntry
constructor
A new instance of LiasettingsCustomBatchRequestEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LiasettingsCustomBatchRequestEntry
Returns a new instance of LiasettingsCustomBatchRequestEntry.
5917 5918 5919 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5917 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
The ID of the account for which to get/update account LIA settings.
Corresponds to the JSON property accountId
5854 5855 5856 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5854 def account_id @account_id end |
#batch_id ⇒ Fixnum
An entry ID, unique within the batch request.
Corresponds to the JSON property batchId
5859 5860 5861 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5859 def batch_id @batch_id end |
#contact_email ⇒ String
Inventory validation contact email. Required only for
SetInventoryValidationContact.
Corresponds to the JSON property contactEmail
5865 5866 5867 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5865 def contact_email @contact_email end |
#contact_name ⇒ String
Inventory validation contact name. Required only for
SetInventoryValidationContact.
Corresponds to the JSON property contactName
5871 5872 5873 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5871 def contact_name @contact_name end |
#country ⇒ String
The country code. Required only for RequestInventoryVerification.
Corresponds to the JSON property country
5876 5877 5878 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5876 def country @country end |
#gmb_email ⇒ String
The Business Profile. Required only for RequestGmbAccess.
Corresponds to the JSON property gmbEmail
5881 5882 5883 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5881 def gmb_email @gmb_email end |
#lia_settings ⇒ Google::Apis::ContentV2_1::LiaSettings
Local Inventory ads (LIA) settings. All methods except listposdataproviders
require the admin role.
Corresponds to the JSON property liaSettings
5887 5888 5889 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5887 def lia_settings @lia_settings end |
#merchant_id ⇒ Fixnum
The ID of the managing account.
Corresponds to the JSON property merchantId
5892 5893 5894 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5892 def merchant_id @merchant_id end |
#method_prop ⇒ String
The method of the batch entry. Acceptable values are: - "get
" - "
getAccessibleGmbAccounts
" - "requestGmbAccess
" - "
requestInventoryVerification
" - "setInventoryVerificationContact
" - "
update
"
Corresponds to the JSON property method
5900 5901 5902 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5900 def method_prop @method_prop end |
#omnichannel_experience ⇒ Google::Apis::ContentV2_1::LiaOmnichannelExperience
Omnichannel experience details.
Corresponds to the JSON property omnichannelExperience
5905 5906 5907 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5905 def omnichannel_experience @omnichannel_experience end |
#pos_data_provider_id ⇒ Fixnum
The ID of POS data provider. Required only for SetPosProvider.
Corresponds to the JSON property posDataProviderId
5910 5911 5912 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5910 def pos_data_provider_id @pos_data_provider_id end |
#pos_external_account_id ⇒ String
The account ID by which this merchant is known to the POS provider.
Corresponds to the JSON property posExternalAccountId
5915 5916 5917 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5915 def pos_external_account_id @pos_external_account_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5922 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) @omnichannel_experience = args[:omnichannel_experience] if args.key?(:omnichannel_experience) @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 |