Class: Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/lfp/v1beta/lfpmerchantstate.rb

Overview

The LFP state of a merchant.

Defined Under Namespace

Classes: CountrySettings, InventoryStats, LfpStoreState

Instance Attribute Summary collapse

Instance Attribute Details

#country_settings::Array<::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings>

Returns Country-specific settings for the merchant.

Returns:



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpmerchantstate.rb', line 45

class LfpMerchantState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The state of a specific merchant's store.
  # @!attribute [rw] store_code
  #   @return [::String]
  #     Required. Immutable. The identifier of this store.
  # @!attribute [r] matching_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::LfpStoreState::StoreMatchingState]
  #     Output only. The store matching state.
  # @!attribute [rw] matching_state_hint
  #   @return [::String]
  #     The hint of why the matching has failed (only set if matching_state is
  #     FAILED).
  class LfpStoreState
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of matching `LfpStore` to a Google Business Profile listing.
    module StoreMatchingState
      # Store matching state unspecified.
      STORE_MATCHING_STATE_UNSPECIFIED = 0

      # The `LfpStore` is successfully matched with a Google Business Profile
      # store.
      STORE_MATCHING_STATE_MATCHED = 1

      # The `LfpStore` is not matched with a Google Business Profile store.
      STORE_MATCHING_STATE_FAILED = 2
    end
  end

  # The inventory statistics for a merchant.
  # @!attribute [rw] submitted_entries
  #   @return [::Integer]
  #     Number of entries (understanding entry as a pair of product and store)
  #     that were built based on provided inventories/sales and submitted to
  #     Google.
  # @!attribute [rw] submitted_in_stock_entries
  #   @return [::Integer]
  #     Number of submitted in stock entries.
  # @!attribute [rw] unsubmitted_entries
  #   @return [::Integer]
  #     Number of entries that were built based on provided
  #     inventories/sales and couldn't be submitted to Google due to errors like
  #     missing product.
  # @!attribute [rw] submitted_products
  #   @return [::Integer]
  #     Number of products from provided inventories/sales that were created from
  #     matches to existing online products provided by the merchant or to the
  #     Google catalog.
  class InventoryStats
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Country-specific settings for the merchant.
  # @!attribute [rw] region_code
  #   @return [::String]
  #     Required. The [CLDR territory
  #     code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
  #     for the country for which these settings are defined.
  # @!attribute [rw] free_local_listings_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled free local listings in MC.
  # @!attribute [rw] local_inventory_ads_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled local inventory ads in MC.
  # @!attribute [r] inventory_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's inventory check.
  # @!attribute [r] product_page_type
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::ProductPageType]
  #     Output only. The product page type selected by this merchant.
  # @!attribute [r] instock_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's instock serving
  #     feature.
  # @!attribute [r] pickup_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's pickup serving
  #     feature.
  class CountrySettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The possible verification states for different merchant programs.
    module VerificationState
      # Verification state unspecified.
      VERIFICATION_STATE_UNSPECIFIED = 0

      # Verification state not approved.
      VERIFICATION_STATE_NOT_APPROVED = 1

      # Verification state in progress.
      VERIFICATION_STATE_IN_PROGRESS = 2

      # Verification state approved.
      VERIFICATION_STATE_APPROVED = 3
    end

    # The possible [product page
    # types](https://support.google.com/merchants/topic/15148370) for a
    # merchant.
    module ProductPageType
      # Product page type unspecified.
      PRODUCT_PAGE_TYPE_UNSPECIFIED = 0

      # Google hosted product page.
      GOOGLE_HOSTED = 1

      # Merchant hosted product page.
      MERCHANT_HOSTED = 2

      # Merchant hosted store specific product page.
      MERCHANT_HOSTED_STORE_SPECIFIC = 3
    end
  end
end

#inventory_stats::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::InventoryStats

Returns The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.

Returns:



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpmerchantstate.rb', line 45

class LfpMerchantState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The state of a specific merchant's store.
  # @!attribute [rw] store_code
  #   @return [::String]
  #     Required. Immutable. The identifier of this store.
  # @!attribute [r] matching_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::LfpStoreState::StoreMatchingState]
  #     Output only. The store matching state.
  # @!attribute [rw] matching_state_hint
  #   @return [::String]
  #     The hint of why the matching has failed (only set if matching_state is
  #     FAILED).
  class LfpStoreState
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of matching `LfpStore` to a Google Business Profile listing.
    module StoreMatchingState
      # Store matching state unspecified.
      STORE_MATCHING_STATE_UNSPECIFIED = 0

      # The `LfpStore` is successfully matched with a Google Business Profile
      # store.
      STORE_MATCHING_STATE_MATCHED = 1

      # The `LfpStore` is not matched with a Google Business Profile store.
      STORE_MATCHING_STATE_FAILED = 2
    end
  end

  # The inventory statistics for a merchant.
  # @!attribute [rw] submitted_entries
  #   @return [::Integer]
  #     Number of entries (understanding entry as a pair of product and store)
  #     that were built based on provided inventories/sales and submitted to
  #     Google.
  # @!attribute [rw] submitted_in_stock_entries
  #   @return [::Integer]
  #     Number of submitted in stock entries.
  # @!attribute [rw] unsubmitted_entries
  #   @return [::Integer]
  #     Number of entries that were built based on provided
  #     inventories/sales and couldn't be submitted to Google due to errors like
  #     missing product.
  # @!attribute [rw] submitted_products
  #   @return [::Integer]
  #     Number of products from provided inventories/sales that were created from
  #     matches to existing online products provided by the merchant or to the
  #     Google catalog.
  class InventoryStats
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Country-specific settings for the merchant.
  # @!attribute [rw] region_code
  #   @return [::String]
  #     Required. The [CLDR territory
  #     code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
  #     for the country for which these settings are defined.
  # @!attribute [rw] free_local_listings_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled free local listings in MC.
  # @!attribute [rw] local_inventory_ads_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled local inventory ads in MC.
  # @!attribute [r] inventory_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's inventory check.
  # @!attribute [r] product_page_type
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::ProductPageType]
  #     Output only. The product page type selected by this merchant.
  # @!attribute [r] instock_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's instock serving
  #     feature.
  # @!attribute [r] pickup_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's pickup serving
  #     feature.
  class CountrySettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The possible verification states for different merchant programs.
    module VerificationState
      # Verification state unspecified.
      VERIFICATION_STATE_UNSPECIFIED = 0

      # Verification state not approved.
      VERIFICATION_STATE_NOT_APPROVED = 1

      # Verification state in progress.
      VERIFICATION_STATE_IN_PROGRESS = 2

      # Verification state approved.
      VERIFICATION_STATE_APPROVED = 3
    end

    # The possible [product page
    # types](https://support.google.com/merchants/topic/15148370) for a
    # merchant.
    module ProductPageType
      # Product page type unspecified.
      PRODUCT_PAGE_TYPE_UNSPECIFIED = 0

      # Google hosted product page.
      GOOGLE_HOSTED = 1

      # Merchant hosted product page.
      MERCHANT_HOSTED = 2

      # Merchant hosted store specific product page.
      MERCHANT_HOSTED_STORE_SPECIFIC = 3
    end
  end
end

#linked_gbps::Integer

Returns Number of GBPs this merchant has access to.

Returns:

  • (::Integer)

    Number of GBPs this merchant has access to.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpmerchantstate.rb', line 45

class LfpMerchantState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The state of a specific merchant's store.
  # @!attribute [rw] store_code
  #   @return [::String]
  #     Required. Immutable. The identifier of this store.
  # @!attribute [r] matching_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::LfpStoreState::StoreMatchingState]
  #     Output only. The store matching state.
  # @!attribute [rw] matching_state_hint
  #   @return [::String]
  #     The hint of why the matching has failed (only set if matching_state is
  #     FAILED).
  class LfpStoreState
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of matching `LfpStore` to a Google Business Profile listing.
    module StoreMatchingState
      # Store matching state unspecified.
      STORE_MATCHING_STATE_UNSPECIFIED = 0

      # The `LfpStore` is successfully matched with a Google Business Profile
      # store.
      STORE_MATCHING_STATE_MATCHED = 1

      # The `LfpStore` is not matched with a Google Business Profile store.
      STORE_MATCHING_STATE_FAILED = 2
    end
  end

  # The inventory statistics for a merchant.
  # @!attribute [rw] submitted_entries
  #   @return [::Integer]
  #     Number of entries (understanding entry as a pair of product and store)
  #     that were built based on provided inventories/sales and submitted to
  #     Google.
  # @!attribute [rw] submitted_in_stock_entries
  #   @return [::Integer]
  #     Number of submitted in stock entries.
  # @!attribute [rw] unsubmitted_entries
  #   @return [::Integer]
  #     Number of entries that were built based on provided
  #     inventories/sales and couldn't be submitted to Google due to errors like
  #     missing product.
  # @!attribute [rw] submitted_products
  #   @return [::Integer]
  #     Number of products from provided inventories/sales that were created from
  #     matches to existing online products provided by the merchant or to the
  #     Google catalog.
  class InventoryStats
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Country-specific settings for the merchant.
  # @!attribute [rw] region_code
  #   @return [::String]
  #     Required. The [CLDR territory
  #     code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
  #     for the country for which these settings are defined.
  # @!attribute [rw] free_local_listings_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled free local listings in MC.
  # @!attribute [rw] local_inventory_ads_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled local inventory ads in MC.
  # @!attribute [r] inventory_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's inventory check.
  # @!attribute [r] product_page_type
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::ProductPageType]
  #     Output only. The product page type selected by this merchant.
  # @!attribute [r] instock_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's instock serving
  #     feature.
  # @!attribute [r] pickup_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's pickup serving
  #     feature.
  class CountrySettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The possible verification states for different merchant programs.
    module VerificationState
      # Verification state unspecified.
      VERIFICATION_STATE_UNSPECIFIED = 0

      # Verification state not approved.
      VERIFICATION_STATE_NOT_APPROVED = 1

      # Verification state in progress.
      VERIFICATION_STATE_IN_PROGRESS = 2

      # Verification state approved.
      VERIFICATION_STATE_APPROVED = 3
    end

    # The possible [product page
    # types](https://support.google.com/merchants/topic/15148370) for a
    # merchant.
    module ProductPageType
      # Product page type unspecified.
      PRODUCT_PAGE_TYPE_UNSPECIFIED = 0

      # Google hosted product page.
      GOOGLE_HOSTED = 1

      # Merchant hosted product page.
      MERCHANT_HOSTED = 2

      # Merchant hosted store specific product page.
      MERCHANT_HOSTED_STORE_SPECIFIC = 3
    end
  end
end

#name::String

Returns Identifier. The name of the LfpMerchantState resource. Format: accounts/{account}/lfpMerchantStates/{target_merchant}.

Returns:

  • (::String)

    Identifier. The name of the LfpMerchantState resource. Format: accounts/{account}/lfpMerchantStates/{target_merchant}



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpmerchantstate.rb', line 45

class LfpMerchantState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The state of a specific merchant's store.
  # @!attribute [rw] store_code
  #   @return [::String]
  #     Required. Immutable. The identifier of this store.
  # @!attribute [r] matching_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::LfpStoreState::StoreMatchingState]
  #     Output only. The store matching state.
  # @!attribute [rw] matching_state_hint
  #   @return [::String]
  #     The hint of why the matching has failed (only set if matching_state is
  #     FAILED).
  class LfpStoreState
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of matching `LfpStore` to a Google Business Profile listing.
    module StoreMatchingState
      # Store matching state unspecified.
      STORE_MATCHING_STATE_UNSPECIFIED = 0

      # The `LfpStore` is successfully matched with a Google Business Profile
      # store.
      STORE_MATCHING_STATE_MATCHED = 1

      # The `LfpStore` is not matched with a Google Business Profile store.
      STORE_MATCHING_STATE_FAILED = 2
    end
  end

  # The inventory statistics for a merchant.
  # @!attribute [rw] submitted_entries
  #   @return [::Integer]
  #     Number of entries (understanding entry as a pair of product and store)
  #     that were built based on provided inventories/sales and submitted to
  #     Google.
  # @!attribute [rw] submitted_in_stock_entries
  #   @return [::Integer]
  #     Number of submitted in stock entries.
  # @!attribute [rw] unsubmitted_entries
  #   @return [::Integer]
  #     Number of entries that were built based on provided
  #     inventories/sales and couldn't be submitted to Google due to errors like
  #     missing product.
  # @!attribute [rw] submitted_products
  #   @return [::Integer]
  #     Number of products from provided inventories/sales that were created from
  #     matches to existing online products provided by the merchant or to the
  #     Google catalog.
  class InventoryStats
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Country-specific settings for the merchant.
  # @!attribute [rw] region_code
  #   @return [::String]
  #     Required. The [CLDR territory
  #     code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
  #     for the country for which these settings are defined.
  # @!attribute [rw] free_local_listings_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled free local listings in MC.
  # @!attribute [rw] local_inventory_ads_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled local inventory ads in MC.
  # @!attribute [r] inventory_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's inventory check.
  # @!attribute [r] product_page_type
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::ProductPageType]
  #     Output only. The product page type selected by this merchant.
  # @!attribute [r] instock_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's instock serving
  #     feature.
  # @!attribute [r] pickup_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's pickup serving
  #     feature.
  class CountrySettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The possible verification states for different merchant programs.
    module VerificationState
      # Verification state unspecified.
      VERIFICATION_STATE_UNSPECIFIED = 0

      # Verification state not approved.
      VERIFICATION_STATE_NOT_APPROVED = 1

      # Verification state in progress.
      VERIFICATION_STATE_IN_PROGRESS = 2

      # Verification state approved.
      VERIFICATION_STATE_APPROVED = 3
    end

    # The possible [product page
    # types](https://support.google.com/merchants/topic/15148370) for a
    # merchant.
    module ProductPageType
      # Product page type unspecified.
      PRODUCT_PAGE_TYPE_UNSPECIFIED = 0

      # Google hosted product page.
      GOOGLE_HOSTED = 1

      # Merchant hosted product page.
      MERCHANT_HOSTED = 2

      # Merchant hosted store specific product page.
      MERCHANT_HOSTED_STORE_SPECIFIC = 3
    end
  end
end

#store_states::Array<::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::LfpStoreState> (readonly)

Returns Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.

Returns:



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpmerchantstate.rb', line 45

class LfpMerchantState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The state of a specific merchant's store.
  # @!attribute [rw] store_code
  #   @return [::String]
  #     Required. Immutable. The identifier of this store.
  # @!attribute [r] matching_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::LfpStoreState::StoreMatchingState]
  #     Output only. The store matching state.
  # @!attribute [rw] matching_state_hint
  #   @return [::String]
  #     The hint of why the matching has failed (only set if matching_state is
  #     FAILED).
  class LfpStoreState
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of matching `LfpStore` to a Google Business Profile listing.
    module StoreMatchingState
      # Store matching state unspecified.
      STORE_MATCHING_STATE_UNSPECIFIED = 0

      # The `LfpStore` is successfully matched with a Google Business Profile
      # store.
      STORE_MATCHING_STATE_MATCHED = 1

      # The `LfpStore` is not matched with a Google Business Profile store.
      STORE_MATCHING_STATE_FAILED = 2
    end
  end

  # The inventory statistics for a merchant.
  # @!attribute [rw] submitted_entries
  #   @return [::Integer]
  #     Number of entries (understanding entry as a pair of product and store)
  #     that were built based on provided inventories/sales and submitted to
  #     Google.
  # @!attribute [rw] submitted_in_stock_entries
  #   @return [::Integer]
  #     Number of submitted in stock entries.
  # @!attribute [rw] unsubmitted_entries
  #   @return [::Integer]
  #     Number of entries that were built based on provided
  #     inventories/sales and couldn't be submitted to Google due to errors like
  #     missing product.
  # @!attribute [rw] submitted_products
  #   @return [::Integer]
  #     Number of products from provided inventories/sales that were created from
  #     matches to existing online products provided by the merchant or to the
  #     Google catalog.
  class InventoryStats
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Country-specific settings for the merchant.
  # @!attribute [rw] region_code
  #   @return [::String]
  #     Required. The [CLDR territory
  #     code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
  #     for the country for which these settings are defined.
  # @!attribute [rw] free_local_listings_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled free local listings in MC.
  # @!attribute [rw] local_inventory_ads_enabled
  #   @return [::Boolean]
  #     True if this merchant has enabled local inventory ads in MC.
  # @!attribute [r] inventory_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's inventory check.
  # @!attribute [r] product_page_type
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::ProductPageType]
  #     Output only. The product page type selected by this merchant.
  # @!attribute [r] instock_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's instock serving
  #     feature.
  # @!attribute [r] pickup_serving_verification_state
  #   @return [::Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantState::CountrySettings::VerificationState]
  #     Output only. The verification state of this merchant's pickup serving
  #     feature.
  class CountrySettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The possible verification states for different merchant programs.
    module VerificationState
      # Verification state unspecified.
      VERIFICATION_STATE_UNSPECIFIED = 0

      # Verification state not approved.
      VERIFICATION_STATE_NOT_APPROVED = 1

      # Verification state in progress.
      VERIFICATION_STATE_IN_PROGRESS = 2

      # Verification state approved.
      VERIFICATION_STATE_APPROVED = 3
    end

    # The possible [product page
    # types](https://support.google.com/merchants/topic/15148370) for a
    # merchant.
    module ProductPageType
      # Product page type unspecified.
      PRODUCT_PAGE_TYPE_UNSPECIFIED = 0

      # Google hosted product page.
      GOOGLE_HOSTED = 1

      # Merchant hosted product page.
      MERCHANT_HOSTED = 2

      # Merchant hosted store specific product page.
      MERCHANT_HOSTED_STORE_SPECIFIC = 3
    end
  end
end