google-shopping-merchant-accounts-v1beta 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/client.rb +581 -0
  3. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/credentials.rb +49 -0
  4. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/paths.rb +49 -0
  5. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest/client.rb +541 -0
  6. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest/service_stub.rb +206 -0
  7. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest.rb +57 -0
  8. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service.rb +60 -0
  9. data/lib/google/shopping/merchant/accounts/v1beta/gbpaccounts_pb.rb +56 -0
  10. data/lib/google/shopping/merchant/accounts/v1beta/gbpaccounts_services_pb.rb +52 -0
  11. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/client.rb +584 -0
  12. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/credentials.rb +49 -0
  13. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/paths.rb +71 -0
  14. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest/client.rb +544 -0
  15. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest/service_stub.rb +206 -0
  16. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest.rb +56 -0
  17. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service.rb +59 -0
  18. data/lib/google/shopping/merchant/accounts/v1beta/lfpproviders_pb.rb +55 -0
  19. data/lib/google/shopping/merchant/accounts/v1beta/lfpproviders_services_pb.rb +51 -0
  20. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/client.rb +875 -0
  21. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/credentials.rb +49 -0
  22. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/paths.rb +66 -0
  23. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest/client.rb +814 -0
  24. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest/service_stub.rb +391 -0
  25. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest.rb +57 -0
  26. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service.rb +60 -0
  27. data/lib/google/shopping/merchant/accounts/v1beta/omnichannelsettings_pb.rb +68 -0
  28. data/lib/google/shopping/merchant/accounts/v1beta/omnichannelsettings_services_pb.rb +58 -0
  29. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_pb.rb +8 -1
  30. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/client.rb +285 -4
  31. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest/client.rb +264 -4
  32. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest/service_stub.rb +185 -0
  33. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest.rb +1 -1
  34. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service.rb +1 -1
  35. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_services_pb.rb +9 -3
  36. data/lib/google/shopping/merchant/accounts/v1beta/rest.rb +3 -0
  37. data/lib/google/shopping/merchant/accounts/v1beta/version.rb +1 -1
  38. data/lib/google/shopping/merchant/accounts/v1beta.rb +3 -0
  39. data/proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb +123 -0
  40. data/proto_docs/google/shopping/merchant/accounts/v1beta/lfpproviders.rb +108 -0
  41. data/proto_docs/google/shopping/merchant/accounts/v1beta/omnichannelsettings.rb +336 -0
  42. data/proto_docs/google/shopping/merchant/accounts/v1beta/online_return_policy.rb +64 -10
  43. metadata +31 -1
@@ -0,0 +1,123 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Shopping
22
+ module Merchant
23
+ module Accounts
24
+ module V1beta
25
+ # Collection of information related to a Google Business Profile (GBP) account.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Identifier. The resource name of the GBP account. Format:
29
+ # `accounts/{account}/gbpAccount/{gbp_account}`
30
+ # @!attribute [rw] gbp_account_id
31
+ # @return [::String]
32
+ # The id of the GBP account.
33
+ # @!attribute [rw] type
34
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::GbpAccount::Type]
35
+ # The type of the Business Profile.
36
+ # @!attribute [rw] gbp_account_name
37
+ # @return [::String]
38
+ # The name of the Business Profile.
39
+ # For personal accounts: Email id of the owner.
40
+ # For Business accounts: Name of the Business Account.
41
+ # @!attribute [rw] listing_count
42
+ # @return [::Integer]
43
+ # Number of listings under this account.
44
+ class GbpAccount
45
+ include ::Google::Protobuf::MessageExts
46
+ extend ::Google::Protobuf::MessageExts::ClassMethods
47
+
48
+ # The type of the GBP account.
49
+ module Type
50
+ # Default value. This value is unused.
51
+ TYPE_UNSPECIFIED = 0
52
+
53
+ # The GBP account is a user account.
54
+ USER = 1
55
+
56
+ # The GBP account is a business account.
57
+ BUSINESS_ACCOUNT = 2
58
+ end
59
+ end
60
+
61
+ # Request message for the ListGbpAccounts method.
62
+ # @!attribute [rw] parent
63
+ # @return [::String]
64
+ # Required. The name of the parent resource under which the GBP accounts are
65
+ # listed. Format: `accounts/{account}`.
66
+ # @!attribute [rw] page_size
67
+ # @return [::Integer]
68
+ # Optional. The maximum number of `GbpAccount` resources to return. The
69
+ # service returns fewer than this value if the number of gbp accounts is less
70
+ # that than the `pageSize`. The default value is 50. The maximum value is
71
+ # 1000; If a value higher than the maximum is specified, then the `pageSize`
72
+ # will default to the maximum.
73
+ # @!attribute [rw] page_token
74
+ # @return [::String]
75
+ # Optional. A page token, received from a previous `ListGbpAccounts` call.
76
+ # Provide the page token to retrieve the subsequent page.
77
+ #
78
+ # When paginating, all other parameters provided to `ListGbpAccounts` must
79
+ # match the call that provided the page token.
80
+ class ListGbpAccountsRequest
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
85
+ # Response message for the ListGbpAccounts method.
86
+ # @!attribute [rw] gbp_accounts
87
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::GbpAccount>]
88
+ # The GBP accounts from the specified merchant in the specified country.
89
+ # @!attribute [rw] next_page_token
90
+ # @return [::String]
91
+ # A token, which can be sent as `page_token` to retrieve the next page.
92
+ # If this field is omitted, there are no subsequent pages.
93
+ class ListGbpAccountsResponse
94
+ include ::Google::Protobuf::MessageExts
95
+ extend ::Google::Protobuf::MessageExts::ClassMethods
96
+ end
97
+
98
+ # Request message for the LinkGbpAccount method.
99
+ # @!attribute [rw] parent
100
+ # @return [::String]
101
+ # Required. The name of the parent resource to which the GBP account is
102
+ # linked. Format: `accounts/{account}`.
103
+ # @!attribute [rw] gbp_email
104
+ # @return [::String]
105
+ # Required. The email address of the Business Profile account.
106
+ class LinkGbpAccountRequest
107
+ include ::Google::Protobuf::MessageExts
108
+ extend ::Google::Protobuf::MessageExts::ClassMethods
109
+ end
110
+
111
+ # Response message for the LinkGbpAccount method.
112
+ # @!attribute [rw] response
113
+ # @return [::Google::Protobuf::Empty]
114
+ # Empty response.
115
+ class LinkGbpAccountResponse
116
+ include ::Google::Protobuf::MessageExts
117
+ extend ::Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,108 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Shopping
22
+ module Merchant
23
+ module Accounts
24
+ module V1beta
25
+ # Collection of information related to a Local Feed Partnership (LFP) provider.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Identifier. The resource name of the LFP provider.
29
+ # Format:
30
+ # `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`
31
+ # @!attribute [r] region_code
32
+ # @return [::String]
33
+ # Output only. Region code defined by [CLDR](https://cldr.unicode.org/).
34
+ # @!attribute [rw] display_name
35
+ # @return [::String]
36
+ # The display name of the LFP provider.
37
+ class LfpProvider
38
+ include ::Google::Protobuf::MessageExts
39
+ extend ::Google::Protobuf::MessageExts::ClassMethods
40
+ end
41
+
42
+ # Request message for the FindLfpProviders method.
43
+ # @!attribute [rw] parent
44
+ # @return [::String]
45
+ # Required. The name of the parent resource under which the LFP providers are
46
+ # found. Format:
47
+ # `accounts/{account}/omnichannelSettings/{omnichannel_setting}`.
48
+ # @!attribute [rw] page_size
49
+ # @return [::Integer]
50
+ # Optional. The maximum number of `LfpProvider` resources to return. The
51
+ # service returns fewer than this value if the number of lfp providers is
52
+ # less that than the `pageSize`. The default value is 50. The maximum value
53
+ # is 1000; If a value higher than the maximum is specified, then the
54
+ # `pageSize` will default to the maximum.
55
+ # @!attribute [rw] page_token
56
+ # @return [::String]
57
+ # Optional. A page token, received from a previous `FindLfpProviders` call.
58
+ # Provide the page token to retrieve the subsequent page.
59
+ #
60
+ # When paginating, all other parameters provided to `FindLfpProviders` must
61
+ # match the call that provided the page token.
62
+ class FindLfpProvidersRequest
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # Response message for the FindLfpProviders method.
68
+ # @!attribute [rw] lfp_providers
69
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::LfpProvider>]
70
+ # The LFP providers from the specified merchant in the specified country.
71
+ # @!attribute [rw] next_page_token
72
+ # @return [::String]
73
+ # A token, which can be sent as `page_token` to retrieve the next page.
74
+ # If this field is omitted, there are no subsequent pages.
75
+ class FindLfpProvidersResponse
76
+ include ::Google::Protobuf::MessageExts
77
+ extend ::Google::Protobuf::MessageExts::ClassMethods
78
+ end
79
+
80
+ # Request message for the LinkLfpProvider method.
81
+ # @!attribute [rw] name
82
+ # @return [::String]
83
+ # Required. The name of the LFP provider resource to link.
84
+ # Format:
85
+ # `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`.
86
+ # The `lfp_provider` is the LFP provider ID.
87
+ # @!attribute [rw] external_account_id
88
+ # @return [::String]
89
+ # Required. The external account ID by which this merchant is known to the
90
+ # LFP provider.
91
+ class LinkLfpProviderRequest
92
+ include ::Google::Protobuf::MessageExts
93
+ extend ::Google::Protobuf::MessageExts::ClassMethods
94
+ end
95
+
96
+ # Response message for the LinkLfpProvider method.
97
+ # @!attribute [rw] response
98
+ # @return [::Google::Protobuf::Empty]
99
+ # Empty response.
100
+ class LinkLfpProviderResponse
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+ end
104
+ end
105
+ end
106
+ end
107
+ end
108
+ end
@@ -0,0 +1,336 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Shopping
22
+ module Merchant
23
+ module Accounts
24
+ module V1beta
25
+ # Collection of information related to the omnichannel settings of a merchant.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Identifier. The resource name of the omnichannel setting. Format:
29
+ # `accounts/{account}/omnichannelSettings/{omnichannel_setting}`
30
+ # @!attribute [rw] region_code
31
+ # @return [::String]
32
+ # Required. Immutable. Region code defined by
33
+ # [CLDR](https://cldr.unicode.org/). Must be provided in the Create method,
34
+ # and is immutable.
35
+ # @!attribute [rw] lsf_type
36
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OmnichannelSetting::LsfType]
37
+ # Required. The Local Store Front type for this country.
38
+ # @!attribute [rw] in_stock
39
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::InStock]
40
+ # Optional. The InStock URI and state for this country.
41
+ # @!attribute [rw] pickup
42
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Pickup]
43
+ # Optional. The Pickup URI and state for this country.
44
+ # @!attribute [r] lfp_link
45
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::LfpLink]
46
+ # Output only. The established link to a LFP provider.
47
+ # @!attribute [rw] odo
48
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnDisplayToOrder]
49
+ # Optional. The On Display to Order (ODO) policy URI and state for this
50
+ # country.
51
+ # @!attribute [rw] about
52
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::About]
53
+ # Optional. The about page URI and state for this country.
54
+ # @!attribute [rw] inventory_verification
55
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::InventoryVerification]
56
+ # Optional. The inventory verification contact and state for this country.
57
+ class OmnichannelSetting
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+
61
+ # The product page experience type, which is also called the Local Store
62
+ # Front (LSF) type. Check the [HC
63
+ # article](https://support.google.com/merchants/answer/7178526) for more
64
+ # details.
65
+ module LsfType
66
+ # Default value. This value is unused.
67
+ LSF_TYPE_UNSPECIFIED = 0
68
+
69
+ # Google-Hosted Local Store Front. Check the [HC
70
+ # article](https://support.google.com/merchants/answer/14869424) for more
71
+ # details.
72
+ GHLSF = 1
73
+
74
+ # Merchant-Hosted Local Store Front Basic. Check the [HC
75
+ # article](https://support.google.com/merchants/answer/14615867) for more
76
+ # details.
77
+ MHLSF_BASIC = 2
78
+
79
+ # Merchant-Hosted Local Store Front Full. Check the [HC
80
+ # article](https://support.google.com/merchants/answer/14617076) for more
81
+ # details.
82
+ MHLSF_FULL = 3
83
+ end
84
+ end
85
+
86
+ # The state of a omnichannel setting related review process.
87
+ class ReviewState
88
+ include ::Google::Protobuf::MessageExts
89
+ extend ::Google::Protobuf::MessageExts::ClassMethods
90
+
91
+ # The state of the review process.
92
+ module State
93
+ # Default value. This value is unused.
94
+ STATE_UNSPECIFIED = 0
95
+
96
+ # The review process has concluded successfully. The reviewed item is
97
+ # active.
98
+ ACTIVE = 1
99
+
100
+ # The review process failed.
101
+ FAILED = 2
102
+
103
+ # The review process is running.
104
+ RUNNING = 3
105
+
106
+ # The review process is waiting for the merchant to take action.
107
+ ACTION_REQUIRED = 4
108
+ end
109
+ end
110
+
111
+ # Collection of information related to InStock.
112
+ # @!attribute [rw] uri
113
+ # @return [::String]
114
+ # Optional. Product landing page URI. It is only used for the review of MHLSF
115
+ # in-stock serving. This URI domain should match with the business's
116
+ # homepage. Required to be empty if the lsf_type is GHLSF, and required when
117
+ # the lsf_type is MHLSF_FULL or MHLSF_BASIC.
118
+ # @!attribute [r] state
119
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::ReviewState::State]
120
+ # Output only. The state of the in-stock serving.
121
+ class InStock
122
+ include ::Google::Protobuf::MessageExts
123
+ extend ::Google::Protobuf::MessageExts::ClassMethods
124
+ end
125
+
126
+ # Collection of information related to Pickup.
127
+ # @!attribute [rw] uri
128
+ # @return [::String]
129
+ # Required. Pickup product page URI. It is only used for the review of pickup
130
+ # serving. This URI domain should match with the business's homepage.
131
+ # @!attribute [r] state
132
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::ReviewState::State]
133
+ # Output only. The state of the pickup serving.
134
+ class Pickup
135
+ include ::Google::Protobuf::MessageExts
136
+ extend ::Google::Protobuf::MessageExts::ClassMethods
137
+ end
138
+
139
+ # Collection of information related to the LFP link.
140
+ # @!attribute [rw] lfp_provider
141
+ # @return [::String]
142
+ # Required. The resource name of the LFP provider.
143
+ # Format: `lfpProviders/{lfp_provider}`
144
+ # @!attribute [rw] external_account_id
145
+ # @return [::String]
146
+ # Required. The account ID by which this merchant is known to the LFP
147
+ # provider.
148
+ # @!attribute [r] state
149
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::ReviewState::State]
150
+ # Output only. The state of the LFP link.
151
+ class LfpLink
152
+ include ::Google::Protobuf::MessageExts
153
+ extend ::Google::Protobuf::MessageExts::ClassMethods
154
+ end
155
+
156
+ # Collection of information related to the on display to order
157
+ # ([ODO](https://support.google.com/merchants/answer/14615056?hl=en&ref_topic=15145747&sjid=6892280366904591178-NC)).
158
+ # @!attribute [rw] uri
159
+ # @return [::String]
160
+ # Required. The on display to order (ODO) policy URI.
161
+ # @!attribute [r] state
162
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::ReviewState::State]
163
+ # Output only. The state of the URI.
164
+ class OnDisplayToOrder
165
+ include ::Google::Protobuf::MessageExts
166
+ extend ::Google::Protobuf::MessageExts::ClassMethods
167
+ end
168
+
169
+ # Collection of information related to the about page
170
+ # ([impressum](https://support.google.com/merchants/answer/14675634?hl=en&ref_topic=15145634&sjid=6892280366904591178-NC)).
171
+ # @!attribute [rw] uri
172
+ # @return [::String]
173
+ # Required. The about page URI.
174
+ # @!attribute [r] state
175
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::ReviewState::State]
176
+ # Output only. The state of the URI.
177
+ class About
178
+ include ::Google::Protobuf::MessageExts
179
+ extend ::Google::Protobuf::MessageExts::ClassMethods
180
+ end
181
+
182
+ # Collection of information related to [inventory
183
+ # verification](https://support.google.com/merchants/answer/14684499?hl=en&ref_topic=15145634&sjid=6892280366904591178-NC).
184
+ # @!attribute [r] state
185
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::InventoryVerification::State]
186
+ # Output only. The state of the inventory verification process.
187
+ # @!attribute [rw] contact
188
+ # @return [::String]
189
+ # Required. The name of the contact for the inventory verification process.
190
+ # @!attribute [rw] contact_email
191
+ # @return [::String]
192
+ # Required. The email address of the contact for the inventory verification
193
+ # process.
194
+ # @!attribute [r] contact_state
195
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::ReviewState::State]
196
+ # Output only. The state of the contact verification.
197
+ class InventoryVerification
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+
201
+ # The state of the [inventory
202
+ # verification](https://support.google.com/merchants/answer/14684499?hl=en&ref_topic=15145634&sjid=6892280366904591178-NC)
203
+ # process.
204
+ module State
205
+ # Default value. This value is unused.
206
+ STATE_UNSPECIFIED = 0
207
+
208
+ # When the merchant needs to initiate the inventory
209
+ # verification process. The next state is INACTIVE.
210
+ ACTION_REQUIRED = 1
211
+
212
+ # When the merchant is ready to request inventory verification.
213
+ INACTIVE = 5
214
+
215
+ # The inventory verification process is running. If the merchant is
216
+ # rejected, the next state is INACTIVE.
217
+ RUNNING = 2
218
+
219
+ # The inventory verification process succeeded.
220
+ SUCCEEDED = 3
221
+
222
+ # When merchant fails the inventory verification process and all attempts
223
+ # are exhausted.
224
+ SUSPENDED = 4
225
+ end
226
+ end
227
+
228
+ # Request message for the GetOmnichannelSettings method.
229
+ # @!attribute [rw] name
230
+ # @return [::String]
231
+ # Required. The name of the omnichannel setting to retrieve.
232
+ # Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`
233
+ class GetOmnichannelSettingRequest
234
+ include ::Google::Protobuf::MessageExts
235
+ extend ::Google::Protobuf::MessageExts::ClassMethods
236
+ end
237
+
238
+ # Request message for the ListOmnichannelSettings method.
239
+ # @!attribute [rw] parent
240
+ # @return [::String]
241
+ # Required. The parent, which owns this collection of omnichannel settings.
242
+ # Format: `accounts/{account}`
243
+ # @!attribute [rw] page_size
244
+ # @return [::Integer]
245
+ # Optional. The maximum number of omnichannel settings to return. The service
246
+ # may return fewer than this value. If unspecified, at most 50 omnichannel
247
+ # settings will be returned. The maximum value is 1000; values above 1000
248
+ # will be coerced to 1000.
249
+ # @!attribute [rw] page_token
250
+ # @return [::String]
251
+ # Optional. A page token, received from a previous `ListOmnichannelSettings`
252
+ # call. Provide this to retrieve the subsequent page.
253
+ #
254
+ # When paginating, all other parameters provided to `ListOmnichannelSettings`
255
+ # must match the call that provided the page token.
256
+ class ListOmnichannelSettingsRequest
257
+ include ::Google::Protobuf::MessageExts
258
+ extend ::Google::Protobuf::MessageExts::ClassMethods
259
+ end
260
+
261
+ # Response message for the ListOmnichannelSettings method.
262
+ # @!attribute [rw] omnichannel_settings
263
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::OmnichannelSetting>]
264
+ # The omnichannel settings from the specified merchant.
265
+ # @!attribute [rw] next_page_token
266
+ # @return [::String]
267
+ # A token, which can be sent as `page_token` to retrieve the next page.
268
+ # If this field is omitted, there are no subsequent pages.
269
+ class ListOmnichannelSettingsResponse
270
+ include ::Google::Protobuf::MessageExts
271
+ extend ::Google::Protobuf::MessageExts::ClassMethods
272
+ end
273
+
274
+ # Request message for the CreateOmnichannelSetting method.
275
+ # @!attribute [rw] parent
276
+ # @return [::String]
277
+ # Required. The parent resource where this omnichannel setting will be
278
+ # created. Format: `accounts/{account}`
279
+ # @!attribute [rw] omnichannel_setting
280
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OmnichannelSetting]
281
+ # Required. The omnichannel setting to create.
282
+ class CreateOmnichannelSettingRequest
283
+ include ::Google::Protobuf::MessageExts
284
+ extend ::Google::Protobuf::MessageExts::ClassMethods
285
+ end
286
+
287
+ # Request message for the UpdateOmnichannelSetting method.
288
+ # @!attribute [rw] omnichannel_setting
289
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OmnichannelSetting]
290
+ # Required. The omnichannel setting to update.
291
+ #
292
+ # The omnichannel setting's `name` field is used to identify the
293
+ # omnichannel setting to be updated.
294
+ # @!attribute [rw] update_mask
295
+ # @return [::Google::Protobuf::FieldMask]
296
+ # Required. The list of fields to be updated.
297
+ #
298
+ # The following fields are supported in snake_case only:
299
+ # - `lsf_type`
300
+ # - `in_stock`
301
+ # - `pickup`
302
+ # - `odo`
303
+ # - `about`
304
+ # - `inventory_verification`
305
+ #
306
+ # Full replacement with wildcard `*`is supported, while empty/implied update
307
+ # mask is not.
308
+ class UpdateOmnichannelSettingRequest
309
+ include ::Google::Protobuf::MessageExts
310
+ extend ::Google::Protobuf::MessageExts::ClassMethods
311
+ end
312
+
313
+ # Request message for the RequestInventoryVerification method.
314
+ # @!attribute [rw] name
315
+ # @return [::String]
316
+ # Required. The name of the omnichannel setting to request inventory
317
+ # verification. Format:
318
+ # `accounts/{account}/omnichannelSettings/{omnichannel_setting}`
319
+ class RequestInventoryVerificationRequest
320
+ include ::Google::Protobuf::MessageExts
321
+ extend ::Google::Protobuf::MessageExts::ClassMethods
322
+ end
323
+
324
+ # Response message for the RequestInventoryVerification method.
325
+ # @!attribute [rw] omnichannel_setting
326
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OmnichannelSetting]
327
+ # The omnichannel setting that was updated.
328
+ class RequestInventoryVerificationResponse
329
+ include ::Google::Protobuf::MessageExts
330
+ extend ::Google::Protobuf::MessageExts::ClassMethods
331
+ end
332
+ end
333
+ end
334
+ end
335
+ end
336
+ end