google-apis-merchantapi_accounts_v1beta 0.12.0 → 0.13.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/classes.rb +664 -95
- data/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/merchantapi_accounts_v1beta/representations.rb +285 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/service.rb +489 -40
- metadata +3 -3
@@ -22,23 +22,57 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module MerchantapiAccountsV1beta
|
24
24
|
|
25
|
+
# Collection of information related to the about page ([impressum](https://
|
26
|
+
# support.google.com/merchants/answer/14675634?hl=en&ref_topic=15145634&sjid=
|
27
|
+
# 6892280366904591178-NC)).
|
28
|
+
class About
|
29
|
+
include Google::Apis::Core::Hashable
|
30
|
+
|
31
|
+
# Output only. The state of the URI.
|
32
|
+
# Corresponds to the JSON property `state`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :state
|
35
|
+
|
36
|
+
# Required. The about page URI.
|
37
|
+
# Corresponds to the JSON property `uri`
|
38
|
+
# @return [String]
|
39
|
+
attr_accessor :uri
|
40
|
+
|
41
|
+
def initialize(**args)
|
42
|
+
update!(**args)
|
43
|
+
end
|
44
|
+
|
45
|
+
# Update properties of this object
|
46
|
+
def update!(**args)
|
47
|
+
@state = args[:state] if args.key?(:state)
|
48
|
+
@uri = args[:uri] if args.key?(:uri)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
25
52
|
# Response message for the `AcceptTermsOfService` method.
|
26
53
|
class AcceptTermsOfServiceResponse
|
27
54
|
include Google::Apis::Core::Hashable
|
28
55
|
|
29
56
|
# This resource represents the agreement state for a given account and terms of
|
30
|
-
# service kind. The state is as follows: * If the
|
57
|
+
# service kind. The state is as follows: * If the business has accepted a terms
|
31
58
|
# of service, `accepted` will be populated, otherwise it will be empty * If the
|
32
|
-
#
|
59
|
+
# business must sign a terms of service, `required` will be populated, otherwise
|
33
60
|
# it will be empty. Note that both `required` and `accepted` can be present. In
|
34
61
|
# this case the `accepted` terms of services will have an expiration date set in
|
35
62
|
# the `valid_until` field. The `required` terms of services need to be accepted
|
36
63
|
# before `valid_until` in order for the account to continue having a valid
|
37
|
-
# agreement. When accepting new terms of services we expect
|
38
|
-
# text associated with the given terms of service
|
39
|
-
# containing the text is added in the Required
|
40
|
-
# The actual acceptance of the terms of
|
41
|
-
# `TermsOfService` resource.
|
64
|
+
# agreement. When accepting new terms of services we expect third-party
|
65
|
+
# providers to display the text associated with the given terms of service
|
66
|
+
# agreement (the url to the file containing the text is added in the Required
|
67
|
+
# message below as `tos_file_uri`). The actual acceptance of the terms of
|
68
|
+
# service is done by calling accept on the `TermsOfService` resource. `
|
69
|
+
# valid_until` field. The `required` terms of services need to be accepted
|
70
|
+
# before `valid_until` in order for the account to continue having a valid
|
71
|
+
# agreement. When accepting new terms of services, we expect third-party
|
72
|
+
# providers to display the text associated with the given terms of service
|
73
|
+
# agreement (the url to the file containing the text is added in the Required
|
74
|
+
# message below as `tos_file_uri`. The actual acceptance of the terms of service
|
75
|
+
# is done by calling accept on the `TermsOfService` resource.
|
42
76
|
# Corresponds to the JSON property `termsOfServiceAgreementState`
|
43
77
|
# @return [Google::Apis::MerchantapiAccountsV1beta::TermsOfServiceAgreementState]
|
44
78
|
attr_accessor :terms_of_service_agreement_state
|
@@ -53,12 +87,13 @@ module Google
|
|
53
87
|
end
|
54
88
|
end
|
55
89
|
|
56
|
-
# Describes the accepted terms of service
|
90
|
+
# Describes the [accepted terms of service](/merchant/api/guides/accounts/create-
|
91
|
+
# and-configure#accept_the_merchant_center_terms_of_service).
|
57
92
|
class Accepted
|
58
93
|
include Google::Apis::Core::Hashable
|
59
94
|
|
60
95
|
# The account where the acceptance was recorded. This can be the account itself
|
61
|
-
# or, in the case of subaccounts, the
|
96
|
+
# or, in the case of subaccounts, the advanced account.
|
62
97
|
# Corresponds to the JSON property `acceptedBy`
|
63
98
|
# @return [String]
|
64
99
|
attr_accessor :accepted_by
|
@@ -92,13 +127,13 @@ module Google
|
|
92
127
|
end
|
93
128
|
end
|
94
129
|
|
95
|
-
# The `Account` message represents a
|
130
|
+
# The `Account` message represents a business's account within Shopping Ads. It'
|
96
131
|
# s the primary entity for managing product data, settings, and interactions
|
97
132
|
# with Google's services and external providers. Accounts can operate as
|
98
|
-
# standalone entities or be part of a
|
99
|
-
#
|
100
|
-
# account involves configuring attributes like the account name, time zone,
|
101
|
-
# language preferences. The `Account` message is the parent entity for many
|
133
|
+
# standalone entities or be part of a advanced account structure. In an advanced
|
134
|
+
# account setup the parent account manages multiple sub-accounts. Establishing
|
135
|
+
# an account involves configuring attributes like the account name, time zone,
|
136
|
+
# and language preferences. The `Account` message is the parent entity for many
|
102
137
|
# other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo`
|
103
138
|
# and so on.
|
104
139
|
class Account
|
@@ -174,8 +209,10 @@ module Google
|
|
174
209
|
end
|
175
210
|
end
|
176
211
|
|
177
|
-
#
|
178
|
-
#
|
212
|
+
# Issues with your Merchant Center account that can impact all your products.
|
213
|
+
# For more information, see [Account-level issues in Merchant Center](https://
|
214
|
+
# support.google.com/merchants/answer/12153802?sjid=17798438912526418908-EU#
|
215
|
+
# account).
|
179
216
|
class AccountIssue
|
180
217
|
include Google::Apis::Core::Hashable
|
181
218
|
|
@@ -196,7 +233,8 @@ module Google
|
|
196
233
|
attr_accessor :impacted_destinations
|
197
234
|
|
198
235
|
# Identifier. The resource name of the account issue. Format: `accounts/`account`
|
199
|
-
# /issues/`id
|
236
|
+
# /issues/`id``. For example, `accounts/123456/issues/misrepresentation-of-self-
|
237
|
+
# or-products-unacceptable-business-practice-policy`.
|
200
238
|
# Corresponds to the JSON property `name`
|
201
239
|
# @return [String]
|
202
240
|
attr_accessor :name
|
@@ -241,9 +279,9 @@ module Google
|
|
241
279
|
|
242
280
|
# The `AccountRelationship` message defines a formal connection between a
|
243
281
|
# merchant's account and a service provider's account. This relationship enables
|
244
|
-
# the provider to offer specific services to the
|
282
|
+
# the provider to offer specific services to the business, such as product
|
245
283
|
# management or campaign management. It specifies the access rights and
|
246
|
-
# permissions to the
|
284
|
+
# permissions to the business's data relevant to those services. Establishing an
|
247
285
|
# account relationship involves linking the merchant's account with a provider's
|
248
286
|
# account. The provider could be another Google account (like Google Ads or
|
249
287
|
# Google My Business) or a third-party platform (such as Shopify or WooCommerce).
|
@@ -260,7 +298,8 @@ module Google
|
|
260
298
|
attr_accessor :account_id_alias
|
261
299
|
|
262
300
|
# Identifier. The resource name of the account relationship. Format: `accounts/`
|
263
|
-
# account`/relationships/`relationship
|
301
|
+
# account`/relationships/`relationship``. For example, `accounts/123456/
|
302
|
+
# relationships/567890`.
|
264
303
|
# Corresponds to the JSON property `name`
|
265
304
|
# @return [String]
|
266
305
|
attr_accessor :name
|
@@ -291,14 +330,14 @@ module Google
|
|
291
330
|
end
|
292
331
|
|
293
332
|
# The `AccountService` message represents a specific service that a provider
|
294
|
-
# account offers to a
|
295
|
-
# and capabilities granted to the provider, allowing for operations
|
296
|
-
# product management or campaign management. The lifecycle of an `
|
297
|
-
# involves a proposal phase, where one party suggests the
|
298
|
-
# approval phase, where the other party accepts or rejects it.
|
299
|
-
# mechanism ensures mutual consent before any access is granted.
|
300
|
-
# safeguards both parties by ensuring that access rights are
|
301
|
-
# appropriately and that both the
|
333
|
+
# account offers to a Merchant Center account. `AccountService` defines the
|
334
|
+
# permissions and capabilities granted to the provider, allowing for operations
|
335
|
+
# such as product management or campaign management. The lifecycle of an `
|
336
|
+
# AccountService` involves a proposal phase, where one party suggests the
|
337
|
+
# service, and an approval phase, where the other party accepts or rejects it.
|
338
|
+
# This handshake mechanism ensures mutual consent before any access is granted.
|
339
|
+
# This mechanism safeguards both parties by ensuring that access rights are
|
340
|
+
# granted appropriately and that both the business and provider are aware of the
|
302
341
|
# services enabled. In scenarios where a user is an admin of both accounts, the
|
303
342
|
# approval can happen automatically. The mutability of a service is also managed
|
304
343
|
# through `AccountService`. Some services might be immutable, for example, if
|
@@ -339,6 +378,11 @@ module Google
|
|
339
378
|
# @return [Google::Apis::MerchantapiAccountsV1beta::Handshake]
|
340
379
|
attr_accessor :handshake
|
341
380
|
|
381
|
+
# `LocalListingManagement` payload.
|
382
|
+
# Corresponds to the JSON property `localListingManagement`
|
383
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::LocalListingManagement]
|
384
|
+
attr_accessor :local_listing_management
|
385
|
+
|
342
386
|
# Output only. Whether the service is mutable (e.g. through Approve / Reject
|
343
387
|
# RPCs). A service that was created through another system or API might be
|
344
388
|
# immutable.
|
@@ -380,6 +424,7 @@ module Google
|
|
380
424
|
@campaigns_management = args[:campaigns_management] if args.key?(:campaigns_management)
|
381
425
|
@external_account_id = args[:external_account_id] if args.key?(:external_account_id)
|
382
426
|
@handshake = args[:handshake] if args.key?(:handshake)
|
427
|
+
@local_listing_management = args[:local_listing_management] if args.key?(:local_listing_management)
|
383
428
|
@mutability = args[:mutability] if args.key?(:mutability)
|
384
429
|
@name = args[:name] if args.key?(:name)
|
385
430
|
@products_management = args[:products_management] if args.key?(:products_management)
|
@@ -507,8 +552,8 @@ module Google
|
|
507
552
|
class AutofeedSettings
|
508
553
|
include Google::Apis::Core::Hashable
|
509
554
|
|
510
|
-
# Output only. Determines whether
|
511
|
-
# an autofeed.
|
555
|
+
# Output only. Determines whether the business is eligible for being enrolled
|
556
|
+
# into an autofeed.
|
512
557
|
# Corresponds to the JSON property `eligible`
|
513
558
|
# @return [Boolean]
|
514
559
|
attr_accessor :eligible
|
@@ -608,14 +653,15 @@ module Google
|
|
608
653
|
# @return [String]
|
609
654
|
attr_accessor :name
|
610
655
|
|
611
|
-
# Not available for
|
612
|
-
# 188487). By turning on [automatic shipping improvements](https://
|
613
|
-
# google.com/merchants/answer/10027038), you are allowing Google to
|
614
|
-
# accuracy of your delivery times shown to shoppers using Google.
|
615
|
-
# delivery times, especially when faster, typically lead to better
|
616
|
-
# rates. Google will improve your estimated delivery times based on
|
617
|
-
# factors: * Delivery address of an order * Current handling time and
|
618
|
-
# time settings * Estimated weekdays or business days * Parcel tracking
|
656
|
+
# Not available for [advanced accounts](https://support.google.com/merchants/
|
657
|
+
# answer/188487). By turning on [automatic shipping improvements](https://
|
658
|
+
# support.google.com/merchants/answer/10027038), you are allowing Google to
|
659
|
+
# improve the accuracy of your delivery times shown to shoppers using Google.
|
660
|
+
# More accurate delivery times, especially when faster, typically lead to better
|
661
|
+
# conversion rates. Google will improve your estimated delivery times based on
|
662
|
+
# various factors: * Delivery address of an order * Current handling time and
|
663
|
+
# shipping time settings * Estimated weekdays or business days * Parcel tracking
|
664
|
+
# data
|
619
665
|
# Corresponds to the JSON property `shippingImprovements`
|
620
666
|
# @return [Google::Apis::MerchantapiAccountsV1beta::AutomaticShippingImprovements]
|
621
667
|
attr_accessor :shipping_improvements
|
@@ -696,14 +742,15 @@ module Google
|
|
696
742
|
end
|
697
743
|
end
|
698
744
|
|
699
|
-
# Not available for
|
700
|
-
# 188487). By turning on [automatic shipping improvements](https://
|
701
|
-
# google.com/merchants/answer/10027038), you are allowing Google to
|
702
|
-
# accuracy of your delivery times shown to shoppers using Google.
|
703
|
-
# delivery times, especially when faster, typically lead to better
|
704
|
-
# rates. Google will improve your estimated delivery times based on
|
705
|
-
# factors: * Delivery address of an order * Current handling time and
|
706
|
-
# time settings * Estimated weekdays or business days * Parcel tracking
|
745
|
+
# Not available for [advanced accounts](https://support.google.com/merchants/
|
746
|
+
# answer/188487). By turning on [automatic shipping improvements](https://
|
747
|
+
# support.google.com/merchants/answer/10027038), you are allowing Google to
|
748
|
+
# improve the accuracy of your delivery times shown to shoppers using Google.
|
749
|
+
# More accurate delivery times, especially when faster, typically lead to better
|
750
|
+
# conversion rates. Google will improve your estimated delivery times based on
|
751
|
+
# various factors: * Delivery address of an order * Current handling time and
|
752
|
+
# shipping time settings * Estimated weekdays or business days * Parcel tracking
|
753
|
+
# data
|
707
754
|
class AutomaticShippingImprovements
|
708
755
|
include Google::Apis::Core::Hashable
|
709
756
|
|
@@ -799,9 +846,9 @@ module Google
|
|
799
846
|
end
|
800
847
|
end
|
801
848
|
|
802
|
-
# The `BusinessInfo` message contains essential information about a
|
803
|
-
#
|
804
|
-
#
|
849
|
+
# The `BusinessInfo` message contains essential information about a business.
|
850
|
+
# This message captures key business details such as physical address, customer
|
851
|
+
# service contacts, and region-specific identifiers.
|
805
852
|
class BusinessInfo
|
806
853
|
include Google::Apis::Core::Hashable
|
807
854
|
|
@@ -968,13 +1015,13 @@ module Google
|
|
968
1015
|
class CreateAndConfigureAccountRequest
|
969
1016
|
include Google::Apis::Core::Hashable
|
970
1017
|
|
971
|
-
# The `Account` message represents a
|
1018
|
+
# The `Account` message represents a business's account within Shopping Ads. It'
|
972
1019
|
# s the primary entity for managing product data, settings, and interactions
|
973
1020
|
# with Google's services and external providers. Accounts can operate as
|
974
|
-
# standalone entities or be part of a
|
975
|
-
#
|
976
|
-
# account involves configuring attributes like the account name, time zone,
|
977
|
-
# language preferences. The `Account` message is the parent entity for many
|
1021
|
+
# standalone entities or be part of a advanced account structure. In an advanced
|
1022
|
+
# account setup the parent account manages multiple sub-accounts. Establishing
|
1023
|
+
# an account involves configuring attributes like the account name, time zone,
|
1024
|
+
# and language preferences. The `Account` message is the parent entity for many
|
978
1025
|
# other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo`
|
979
1026
|
# and so on.
|
980
1027
|
# Corresponds to the JSON property `account`
|
@@ -984,9 +1031,10 @@ module Google
|
|
984
1031
|
# Required. An account service between the account to be created and the
|
985
1032
|
# provider account is initialized as part of the creation. At least one such
|
986
1033
|
# service needs to be provided. Currently exactly one of these needs to be `
|
987
|
-
# account_aggregation
|
988
|
-
#
|
989
|
-
# product_management` services may be
|
1034
|
+
# account_aggregation` and `accounts.createAndConfigure` method can be used to
|
1035
|
+
# create a sub-account under an existing advanced account through this method.
|
1036
|
+
# Additional `account_management` or `product_management` services may be
|
1037
|
+
# provided.
|
990
1038
|
# Corresponds to the JSON property `service`
|
991
1039
|
# @return [Array<Google::Apis::MerchantapiAccountsV1beta::AddAccountService>]
|
992
1040
|
attr_accessor :service
|
@@ -1102,7 +1150,7 @@ module Google
|
|
1102
1150
|
# @return [Google::Apis::MerchantapiAccountsV1beta::LocalCutoffTime]
|
1103
1151
|
attr_accessor :local_cutoff_time
|
1104
1152
|
|
1105
|
-
#
|
1153
|
+
# Businesses can opt-out of showing n+1 day local delivery when they have a
|
1106
1154
|
# shipping service configured to n day local delivery. For example, if the
|
1107
1155
|
# shipping service defines same-day delivery, and it's past the cut-off, setting
|
1108
1156
|
# this field to `true` results in the calculated shipping service rate returning
|
@@ -1385,6 +1433,77 @@ module Google
|
|
1385
1433
|
end
|
1386
1434
|
end
|
1387
1435
|
|
1436
|
+
# Response message for the FindLfpProviders method.
|
1437
|
+
class FindLfpProvidersResponse
|
1438
|
+
include Google::Apis::Core::Hashable
|
1439
|
+
|
1440
|
+
# The LFP providers from the specified merchant in the specified country.
|
1441
|
+
# Corresponds to the JSON property `lfpProviders`
|
1442
|
+
# @return [Array<Google::Apis::MerchantapiAccountsV1beta::LfpProvider>]
|
1443
|
+
attr_accessor :lfp_providers
|
1444
|
+
|
1445
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1446
|
+
# field is omitted, there are no subsequent pages.
|
1447
|
+
# Corresponds to the JSON property `nextPageToken`
|
1448
|
+
# @return [String]
|
1449
|
+
attr_accessor :next_page_token
|
1450
|
+
|
1451
|
+
def initialize(**args)
|
1452
|
+
update!(**args)
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
# Update properties of this object
|
1456
|
+
def update!(**args)
|
1457
|
+
@lfp_providers = args[:lfp_providers] if args.key?(:lfp_providers)
|
1458
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1459
|
+
end
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
# Collection of information related to a Google Business Profile (GBP) account.
|
1463
|
+
class GbpAccount
|
1464
|
+
include Google::Apis::Core::Hashable
|
1465
|
+
|
1466
|
+
# The id of the GBP account.
|
1467
|
+
# Corresponds to the JSON property `gbpAccountId`
|
1468
|
+
# @return [String]
|
1469
|
+
attr_accessor :gbp_account_id
|
1470
|
+
|
1471
|
+
# The name of the Business Profile. For personal accounts: Email id of the owner.
|
1472
|
+
# For Business accounts: Name of the Business Account.
|
1473
|
+
# Corresponds to the JSON property `gbpAccountName`
|
1474
|
+
# @return [String]
|
1475
|
+
attr_accessor :gbp_account_name
|
1476
|
+
|
1477
|
+
# Number of listings under this account.
|
1478
|
+
# Corresponds to the JSON property `listingCount`
|
1479
|
+
# @return [Fixnum]
|
1480
|
+
attr_accessor :listing_count
|
1481
|
+
|
1482
|
+
# Identifier. The resource name of the GBP account. Format: `accounts/`account`/
|
1483
|
+
# gbpAccount/`gbp_account``
|
1484
|
+
# Corresponds to the JSON property `name`
|
1485
|
+
# @return [String]
|
1486
|
+
attr_accessor :name
|
1487
|
+
|
1488
|
+
# The type of the Business Profile.
|
1489
|
+
# Corresponds to the JSON property `type`
|
1490
|
+
# @return [String]
|
1491
|
+
attr_accessor :type
|
1492
|
+
|
1493
|
+
def initialize(**args)
|
1494
|
+
update!(**args)
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
# Update properties of this object
|
1498
|
+
def update!(**args)
|
1499
|
+
@gbp_account_id = args[:gbp_account_id] if args.key?(:gbp_account_id)
|
1500
|
+
@gbp_account_name = args[:gbp_account_name] if args.key?(:gbp_account_name)
|
1501
|
+
@listing_count = args[:listing_count] if args.key?(:listing_count)
|
1502
|
+
@name = args[:name] if args.key?(:name)
|
1503
|
+
@type = args[:type] if args.key?(:type)
|
1504
|
+
end
|
1505
|
+
end
|
1506
|
+
|
1388
1507
|
# A list of geotargets that defines the region area.
|
1389
1508
|
class GeoTargetArea
|
1390
1509
|
include Google::Apis::Core::Hashable
|
@@ -1496,10 +1615,10 @@ module Google
|
|
1496
1615
|
end
|
1497
1616
|
end
|
1498
1617
|
|
1499
|
-
# The `Homepage` message represents a
|
1500
|
-
# system. A
|
1618
|
+
# The `Homepage` message represents a business's store homepage within the
|
1619
|
+
# system. A business's homepage is the primary domain where customers interact
|
1501
1620
|
# with their store. The homepage can be claimed and verified as a proof of
|
1502
|
-
# ownership and allows the
|
1621
|
+
# ownership and allows the business to unlock features that require a verified
|
1503
1622
|
# website. For more information, see [Understanding online store URL
|
1504
1623
|
# verification](//support.google.com/merchants/answer/176793).
|
1505
1624
|
class Homepage
|
@@ -1624,6 +1743,74 @@ module Google
|
|
1624
1743
|
end
|
1625
1744
|
end
|
1626
1745
|
|
1746
|
+
# Collection of information related to InStock.
|
1747
|
+
class InStock
|
1748
|
+
include Google::Apis::Core::Hashable
|
1749
|
+
|
1750
|
+
# Output only. The state of the in-stock serving.
|
1751
|
+
# Corresponds to the JSON property `state`
|
1752
|
+
# @return [String]
|
1753
|
+
attr_accessor :state
|
1754
|
+
|
1755
|
+
# Optional. Product landing page URI. It is only used for the review of MHLSF in-
|
1756
|
+
# stock serving. This URI domain should match with the business's homepage.
|
1757
|
+
# Required to be empty if the lsf_type is GHLSF, and required when the lsf_type
|
1758
|
+
# is MHLSF_FULL or MHLSF_BASIC.
|
1759
|
+
# Corresponds to the JSON property `uri`
|
1760
|
+
# @return [String]
|
1761
|
+
attr_accessor :uri
|
1762
|
+
|
1763
|
+
def initialize(**args)
|
1764
|
+
update!(**args)
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
# Update properties of this object
|
1768
|
+
def update!(**args)
|
1769
|
+
@state = args[:state] if args.key?(:state)
|
1770
|
+
@uri = args[:uri] if args.key?(:uri)
|
1771
|
+
end
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
# Collection of information related to [inventory verification](https://support.
|
1775
|
+
# google.com/merchants/answer/14684499?hl=en&ref_topic=15145634&sjid=
|
1776
|
+
# 6892280366904591178-NC).
|
1777
|
+
class InventoryVerification
|
1778
|
+
include Google::Apis::Core::Hashable
|
1779
|
+
|
1780
|
+
# Required. The name of the contact for the inventory verification process.
|
1781
|
+
# Corresponds to the JSON property `contact`
|
1782
|
+
# @return [String]
|
1783
|
+
attr_accessor :contact
|
1784
|
+
|
1785
|
+
# Required. The email address of the contact for the inventory verification
|
1786
|
+
# process.
|
1787
|
+
# Corresponds to the JSON property `contactEmail`
|
1788
|
+
# @return [String]
|
1789
|
+
attr_accessor :contact_email
|
1790
|
+
|
1791
|
+
# Output only. The state of the contact verification.
|
1792
|
+
# Corresponds to the JSON property `contactState`
|
1793
|
+
# @return [String]
|
1794
|
+
attr_accessor :contact_state
|
1795
|
+
|
1796
|
+
# Output only. The state of the inventory verification process.
|
1797
|
+
# Corresponds to the JSON property `state`
|
1798
|
+
# @return [String]
|
1799
|
+
attr_accessor :state
|
1800
|
+
|
1801
|
+
def initialize(**args)
|
1802
|
+
update!(**args)
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
# Update properties of this object
|
1806
|
+
def update!(**args)
|
1807
|
+
@contact = args[:contact] if args.key?(:contact)
|
1808
|
+
@contact_email = args[:contact_email] if args.key?(:contact_email)
|
1809
|
+
@contact_state = args[:contact_state] if args.key?(:contact_state)
|
1810
|
+
@state = args[:state] if args.key?(:state)
|
1811
|
+
end
|
1812
|
+
end
|
1813
|
+
|
1627
1814
|
# Settings for the Automatic Item Updates.
|
1628
1815
|
class ItemUpdatesAccountLevelSettings
|
1629
1816
|
include Google::Apis::Core::Hashable
|
@@ -1675,6 +1862,153 @@ module Google
|
|
1675
1862
|
end
|
1676
1863
|
end
|
1677
1864
|
|
1865
|
+
# Collection of information related to the LFP link.
|
1866
|
+
class LfpLink
|
1867
|
+
include Google::Apis::Core::Hashable
|
1868
|
+
|
1869
|
+
# Required. The account ID by which this merchant is known to the LFP provider.
|
1870
|
+
# Corresponds to the JSON property `externalAccountId`
|
1871
|
+
# @return [String]
|
1872
|
+
attr_accessor :external_account_id
|
1873
|
+
|
1874
|
+
# Required. The resource name of the LFP provider. Format: `lfpProviders/`
|
1875
|
+
# lfp_provider``
|
1876
|
+
# Corresponds to the JSON property `lfpProvider`
|
1877
|
+
# @return [String]
|
1878
|
+
attr_accessor :lfp_provider
|
1879
|
+
|
1880
|
+
# Output only. The state of the LFP link.
|
1881
|
+
# Corresponds to the JSON property `state`
|
1882
|
+
# @return [String]
|
1883
|
+
attr_accessor :state
|
1884
|
+
|
1885
|
+
def initialize(**args)
|
1886
|
+
update!(**args)
|
1887
|
+
end
|
1888
|
+
|
1889
|
+
# Update properties of this object
|
1890
|
+
def update!(**args)
|
1891
|
+
@external_account_id = args[:external_account_id] if args.key?(:external_account_id)
|
1892
|
+
@lfp_provider = args[:lfp_provider] if args.key?(:lfp_provider)
|
1893
|
+
@state = args[:state] if args.key?(:state)
|
1894
|
+
end
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
# Collection of information related to a Local Feed Partnership (LFP) provider.
|
1898
|
+
class LfpProvider
|
1899
|
+
include Google::Apis::Core::Hashable
|
1900
|
+
|
1901
|
+
# The display name of the LFP provider.
|
1902
|
+
# Corresponds to the JSON property `displayName`
|
1903
|
+
# @return [String]
|
1904
|
+
attr_accessor :display_name
|
1905
|
+
|
1906
|
+
# Identifier. The resource name of the LFP provider. Format: `accounts/`account`/
|
1907
|
+
# omnichannelSettings/`omnichannel_setting`/lfpProviders/`lfp_provider``
|
1908
|
+
# Corresponds to the JSON property `name`
|
1909
|
+
# @return [String]
|
1910
|
+
attr_accessor :name
|
1911
|
+
|
1912
|
+
# Output only. Region code defined by [CLDR](https://cldr.unicode.org/).
|
1913
|
+
# Corresponds to the JSON property `regionCode`
|
1914
|
+
# @return [String]
|
1915
|
+
attr_accessor :region_code
|
1916
|
+
|
1917
|
+
def initialize(**args)
|
1918
|
+
update!(**args)
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
# Update properties of this object
|
1922
|
+
def update!(**args)
|
1923
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1924
|
+
@name = args[:name] if args.key?(:name)
|
1925
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
# Request message for the LinkGbpAccount method.
|
1930
|
+
class LinkGbpAccountRequest
|
1931
|
+
include Google::Apis::Core::Hashable
|
1932
|
+
|
1933
|
+
# Required. The email address of the Business Profile account.
|
1934
|
+
# Corresponds to the JSON property `gbpEmail`
|
1935
|
+
# @return [String]
|
1936
|
+
attr_accessor :gbp_email
|
1937
|
+
|
1938
|
+
def initialize(**args)
|
1939
|
+
update!(**args)
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
# Update properties of this object
|
1943
|
+
def update!(**args)
|
1944
|
+
@gbp_email = args[:gbp_email] if args.key?(:gbp_email)
|
1945
|
+
end
|
1946
|
+
end
|
1947
|
+
|
1948
|
+
# Response message for the LinkGbpAccount method.
|
1949
|
+
class LinkGbpAccountResponse
|
1950
|
+
include Google::Apis::Core::Hashable
|
1951
|
+
|
1952
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1953
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1954
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1955
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1956
|
+
# Corresponds to the JSON property `response`
|
1957
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::Empty]
|
1958
|
+
attr_accessor :response
|
1959
|
+
|
1960
|
+
def initialize(**args)
|
1961
|
+
update!(**args)
|
1962
|
+
end
|
1963
|
+
|
1964
|
+
# Update properties of this object
|
1965
|
+
def update!(**args)
|
1966
|
+
@response = args[:response] if args.key?(:response)
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
# Request message for the LinkLfpProvider method.
|
1971
|
+
class LinkLfpProviderRequest
|
1972
|
+
include Google::Apis::Core::Hashable
|
1973
|
+
|
1974
|
+
# Required. The external account ID by which this merchant is known to the LFP
|
1975
|
+
# provider.
|
1976
|
+
# Corresponds to the JSON property `externalAccountId`
|
1977
|
+
# @return [String]
|
1978
|
+
attr_accessor :external_account_id
|
1979
|
+
|
1980
|
+
def initialize(**args)
|
1981
|
+
update!(**args)
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
# Update properties of this object
|
1985
|
+
def update!(**args)
|
1986
|
+
@external_account_id = args[:external_account_id] if args.key?(:external_account_id)
|
1987
|
+
end
|
1988
|
+
end
|
1989
|
+
|
1990
|
+
# Response message for the LinkLfpProvider method.
|
1991
|
+
class LinkLfpProviderResponse
|
1992
|
+
include Google::Apis::Core::Hashable
|
1993
|
+
|
1994
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1995
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1996
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1997
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1998
|
+
# Corresponds to the JSON property `response`
|
1999
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::Empty]
|
2000
|
+
attr_accessor :response
|
2001
|
+
|
2002
|
+
def initialize(**args)
|
2003
|
+
update!(**args)
|
2004
|
+
end
|
2005
|
+
|
2006
|
+
# Update properties of this object
|
2007
|
+
def update!(**args)
|
2008
|
+
@response = args[:response] if args.key?(:response)
|
2009
|
+
end
|
2010
|
+
end
|
2011
|
+
|
1678
2012
|
# Response message for the `ListAccountIssues` method.
|
1679
2013
|
class ListAccountIssuesResponse
|
1680
2014
|
include Google::Apis::Core::Hashable
|
@@ -1779,6 +2113,58 @@ module Google
|
|
1779
2113
|
end
|
1780
2114
|
end
|
1781
2115
|
|
2116
|
+
# Response message for the ListGbpAccounts method.
|
2117
|
+
class ListGbpAccountsResponse
|
2118
|
+
include Google::Apis::Core::Hashable
|
2119
|
+
|
2120
|
+
# The GBP accounts from the specified merchant in the specified country.
|
2121
|
+
# Corresponds to the JSON property `gbpAccounts`
|
2122
|
+
# @return [Array<Google::Apis::MerchantapiAccountsV1beta::GbpAccount>]
|
2123
|
+
attr_accessor :gbp_accounts
|
2124
|
+
|
2125
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2126
|
+
# field is omitted, there are no subsequent pages.
|
2127
|
+
# Corresponds to the JSON property `nextPageToken`
|
2128
|
+
# @return [String]
|
2129
|
+
attr_accessor :next_page_token
|
2130
|
+
|
2131
|
+
def initialize(**args)
|
2132
|
+
update!(**args)
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
# Update properties of this object
|
2136
|
+
def update!(**args)
|
2137
|
+
@gbp_accounts = args[:gbp_accounts] if args.key?(:gbp_accounts)
|
2138
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2139
|
+
end
|
2140
|
+
end
|
2141
|
+
|
2142
|
+
# Response message for the ListOmnichannelSettings method.
|
2143
|
+
class ListOmnichannelSettingsResponse
|
2144
|
+
include Google::Apis::Core::Hashable
|
2145
|
+
|
2146
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2147
|
+
# field is omitted, there are no subsequent pages.
|
2148
|
+
# Corresponds to the JSON property `nextPageToken`
|
2149
|
+
# @return [String]
|
2150
|
+
attr_accessor :next_page_token
|
2151
|
+
|
2152
|
+
# The omnichannel settings from the specified merchant.
|
2153
|
+
# Corresponds to the JSON property `omnichannelSettings`
|
2154
|
+
# @return [Array<Google::Apis::MerchantapiAccountsV1beta::OmnichannelSetting>]
|
2155
|
+
attr_accessor :omnichannel_settings
|
2156
|
+
|
2157
|
+
def initialize(**args)
|
2158
|
+
update!(**args)
|
2159
|
+
end
|
2160
|
+
|
2161
|
+
# Update properties of this object
|
2162
|
+
def update!(**args)
|
2163
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2164
|
+
@omnichannel_settings = args[:omnichannel_settings] if args.key?(:omnichannel_settings)
|
2165
|
+
end
|
2166
|
+
end
|
2167
|
+
|
1782
2168
|
# Response message for the `ListOnlineReturnPolicies` method.
|
1783
2169
|
class ListOnlineReturnPoliciesResponse
|
1784
2170
|
include Google::Apis::Core::Hashable
|
@@ -1841,7 +2227,7 @@ module Google
|
|
1841
2227
|
# @return [String]
|
1842
2228
|
attr_accessor :next_page_token
|
1843
2229
|
|
1844
|
-
# The regions from the specified
|
2230
|
+
# The regions from the specified business.
|
1845
2231
|
# Corresponds to the JSON property `regions`
|
1846
2232
|
# @return [Array<Google::Apis::MerchantapiAccountsV1beta::Region>]
|
1847
2233
|
attr_accessor :regions
|
@@ -1934,6 +2320,19 @@ module Google
|
|
1934
2320
|
end
|
1935
2321
|
end
|
1936
2322
|
|
2323
|
+
# `LocalListingManagement` payload.
|
2324
|
+
class LocalListingManagement
|
2325
|
+
include Google::Apis::Core::Hashable
|
2326
|
+
|
2327
|
+
def initialize(**args)
|
2328
|
+
update!(**args)
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
# Update properties of this object
|
2332
|
+
def update!(**args)
|
2333
|
+
end
|
2334
|
+
end
|
2335
|
+
|
1937
2336
|
# A list of location ID sets. Must be non-empty. Can only be set if all other
|
1938
2337
|
# fields are not set.
|
1939
2338
|
class LocationIdSet
|
@@ -1957,7 +2356,7 @@ module Google
|
|
1957
2356
|
end
|
1958
2357
|
|
1959
2358
|
# [Loyalty program](https://support.google.com/merchants/answer/12922446)
|
1960
|
-
# provided by a
|
2359
|
+
# provided by a business.
|
1961
2360
|
class LoyaltyProgram
|
1962
2361
|
include Google::Apis::Core::Hashable
|
1963
2362
|
|
@@ -1984,7 +2383,7 @@ module Google
|
|
1984
2383
|
end
|
1985
2384
|
end
|
1986
2385
|
|
1987
|
-
# Subset of a
|
2386
|
+
# Subset of a business's loyalty program.
|
1988
2387
|
class LoyaltyProgramTiers
|
1989
2388
|
include Google::Apis::Core::Hashable
|
1990
2389
|
|
@@ -2028,20 +2427,122 @@ module Google
|
|
2028
2427
|
end
|
2029
2428
|
end
|
2030
2429
|
|
2430
|
+
# Collection of information related to the omnichannel settings of a merchant.
|
2431
|
+
class OmnichannelSetting
|
2432
|
+
include Google::Apis::Core::Hashable
|
2433
|
+
|
2434
|
+
# Collection of information related to the about page ([impressum](https://
|
2435
|
+
# support.google.com/merchants/answer/14675634?hl=en&ref_topic=15145634&sjid=
|
2436
|
+
# 6892280366904591178-NC)).
|
2437
|
+
# Corresponds to the JSON property `about`
|
2438
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::About]
|
2439
|
+
attr_accessor :about
|
2440
|
+
|
2441
|
+
# Collection of information related to InStock.
|
2442
|
+
# Corresponds to the JSON property `inStock`
|
2443
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::InStock]
|
2444
|
+
attr_accessor :in_stock
|
2445
|
+
|
2446
|
+
# Collection of information related to [inventory verification](https://support.
|
2447
|
+
# google.com/merchants/answer/14684499?hl=en&ref_topic=15145634&sjid=
|
2448
|
+
# 6892280366904591178-NC).
|
2449
|
+
# Corresponds to the JSON property `inventoryVerification`
|
2450
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::InventoryVerification]
|
2451
|
+
attr_accessor :inventory_verification
|
2452
|
+
|
2453
|
+
# Collection of information related to the LFP link.
|
2454
|
+
# Corresponds to the JSON property `lfpLink`
|
2455
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::LfpLink]
|
2456
|
+
attr_accessor :lfp_link
|
2457
|
+
|
2458
|
+
# Required. The Local Store Front type for this country.
|
2459
|
+
# Corresponds to the JSON property `lsfType`
|
2460
|
+
# @return [String]
|
2461
|
+
attr_accessor :lsf_type
|
2462
|
+
|
2463
|
+
# Identifier. The resource name of the omnichannel setting. Format: `accounts/`
|
2464
|
+
# account`/omnichannelSettings/`omnichannel_setting``
|
2465
|
+
# Corresponds to the JSON property `name`
|
2466
|
+
# @return [String]
|
2467
|
+
attr_accessor :name
|
2468
|
+
|
2469
|
+
# Collection of information related to the on display to order ([ODO](https://
|
2470
|
+
# support.google.com/merchants/answer/14615056?hl=en&ref_topic=15145747&sjid=
|
2471
|
+
# 6892280366904591178-NC)).
|
2472
|
+
# Corresponds to the JSON property `odo`
|
2473
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::OnDisplayToOrder]
|
2474
|
+
attr_accessor :odo
|
2475
|
+
|
2476
|
+
# Collection of information related to Pickup.
|
2477
|
+
# Corresponds to the JSON property `pickup`
|
2478
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::Pickup]
|
2479
|
+
attr_accessor :pickup
|
2480
|
+
|
2481
|
+
# Required. Immutable. Region code defined by [CLDR](https://cldr.unicode.org/).
|
2482
|
+
# Must be provided in the Create method, and is immutable.
|
2483
|
+
# Corresponds to the JSON property `regionCode`
|
2484
|
+
# @return [String]
|
2485
|
+
attr_accessor :region_code
|
2486
|
+
|
2487
|
+
def initialize(**args)
|
2488
|
+
update!(**args)
|
2489
|
+
end
|
2490
|
+
|
2491
|
+
# Update properties of this object
|
2492
|
+
def update!(**args)
|
2493
|
+
@about = args[:about] if args.key?(:about)
|
2494
|
+
@in_stock = args[:in_stock] if args.key?(:in_stock)
|
2495
|
+
@inventory_verification = args[:inventory_verification] if args.key?(:inventory_verification)
|
2496
|
+
@lfp_link = args[:lfp_link] if args.key?(:lfp_link)
|
2497
|
+
@lsf_type = args[:lsf_type] if args.key?(:lsf_type)
|
2498
|
+
@name = args[:name] if args.key?(:name)
|
2499
|
+
@odo = args[:odo] if args.key?(:odo)
|
2500
|
+
@pickup = args[:pickup] if args.key?(:pickup)
|
2501
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
2502
|
+
end
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
# Collection of information related to the on display to order ([ODO](https://
|
2506
|
+
# support.google.com/merchants/answer/14615056?hl=en&ref_topic=15145747&sjid=
|
2507
|
+
# 6892280366904591178-NC)).
|
2508
|
+
class OnDisplayToOrder
|
2509
|
+
include Google::Apis::Core::Hashable
|
2510
|
+
|
2511
|
+
# Output only. The state of the URI.
|
2512
|
+
# Corresponds to the JSON property `state`
|
2513
|
+
# @return [String]
|
2514
|
+
attr_accessor :state
|
2515
|
+
|
2516
|
+
# Required. The on display to order (ODO) policy URI.
|
2517
|
+
# Corresponds to the JSON property `uri`
|
2518
|
+
# @return [String]
|
2519
|
+
attr_accessor :uri
|
2520
|
+
|
2521
|
+
def initialize(**args)
|
2522
|
+
update!(**args)
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
# Update properties of this object
|
2526
|
+
def update!(**args)
|
2527
|
+
@state = args[:state] if args.key?(:state)
|
2528
|
+
@uri = args[:uri] if args.key?(:uri)
|
2529
|
+
end
|
2530
|
+
end
|
2531
|
+
|
2031
2532
|
# [Online return policy](https://support.google.com/merchants/answer/10220642)
|
2032
2533
|
# object. This is currently used to represent return policies for ads and free
|
2033
2534
|
# listings programs.
|
2034
2535
|
class OnlineReturnPolicy
|
2035
2536
|
include Google::Apis::Core::Hashable
|
2036
2537
|
|
2037
|
-
# Optional. This field specifies if
|
2538
|
+
# Optional. This field specifies if business only accepts defective products for
|
2038
2539
|
# returns.
|
2039
2540
|
# Corresponds to the JSON property `acceptDefectiveOnly`
|
2040
2541
|
# @return [Boolean]
|
2041
2542
|
attr_accessor :accept_defective_only
|
2042
2543
|
alias_method :accept_defective_only?, :accept_defective_only
|
2043
2544
|
|
2044
|
-
# Optional. This field specifies if
|
2545
|
+
# Optional. This field specifies if business allows customers to exchange
|
2045
2546
|
# products.
|
2046
2547
|
# Corresponds to the JSON property `acceptExchange`
|
2047
2548
|
# @return [Boolean]
|
@@ -2082,7 +2583,7 @@ module Google
|
|
2082
2583
|
# @return [Google::Apis::MerchantapiAccountsV1beta::Policy]
|
2083
2584
|
attr_accessor :policy
|
2084
2585
|
|
2085
|
-
# Optional. The field specifies the number of days it takes for
|
2586
|
+
# Optional. The field specifies the number of days it takes for business to
|
2086
2587
|
# process refunds.
|
2087
2588
|
# Corresponds to the JSON property `processRefundDays`
|
2088
2589
|
# @return [Fixnum]
|
@@ -2215,6 +2716,32 @@ module Google
|
|
2215
2716
|
end
|
2216
2717
|
end
|
2217
2718
|
|
2719
|
+
# Collection of information related to Pickup.
|
2720
|
+
class Pickup
|
2721
|
+
include Google::Apis::Core::Hashable
|
2722
|
+
|
2723
|
+
# Output only. The state of the pickup serving.
|
2724
|
+
# Corresponds to the JSON property `state`
|
2725
|
+
# @return [String]
|
2726
|
+
attr_accessor :state
|
2727
|
+
|
2728
|
+
# Required. Pickup product page URI. It is only used for the review of pickup
|
2729
|
+
# serving. This URI domain should match with the business's homepage.
|
2730
|
+
# Corresponds to the JSON property `uri`
|
2731
|
+
# @return [String]
|
2732
|
+
attr_accessor :uri
|
2733
|
+
|
2734
|
+
def initialize(**args)
|
2735
|
+
update!(**args)
|
2736
|
+
end
|
2737
|
+
|
2738
|
+
# Update properties of this object
|
2739
|
+
def update!(**args)
|
2740
|
+
@state = args[:state] if args.key?(:state)
|
2741
|
+
@uri = args[:uri] if args.key?(:uri)
|
2742
|
+
end
|
2743
|
+
end
|
2744
|
+
|
2218
2745
|
# The available policies.
|
2219
2746
|
class Policy
|
2220
2747
|
include Google::Apis::Core::Hashable
|
@@ -2599,12 +3126,12 @@ module Google
|
|
2599
3126
|
end
|
2600
3127
|
|
2601
3128
|
# Defines participation in a given program for the specified account. Programs
|
2602
|
-
# provide a mechanism for adding functionality to
|
2603
|
-
# example of this is the [Free product listings](https://support.google.
|
2604
|
-
# merchants/answer/13889434) program, which enables products from a
|
2605
|
-
# store to be shown across Google for free. The following list is the
|
2606
|
-
# set of program resource IDs accessible through the API: * `free-
|
2607
|
-
# shopping-ads` * `youtube-shopping-checkout`
|
3129
|
+
# provide a mechanism for adding functionality to a Merchant Center accounts. A
|
3130
|
+
# typical example of this is the [Free product listings](https://support.google.
|
3131
|
+
# com/merchants/answer/13889434) program, which enables products from a business'
|
3132
|
+
# s store to be shown across Google for free. The following list is the
|
3133
|
+
# available set of program resource IDs accessible through the API: * `free-
|
3134
|
+
# listings` * `shopping-ads` * `youtube-shopping-checkout`
|
2608
3135
|
class Program
|
2609
3136
|
include Google::Apis::Core::Hashable
|
2610
3137
|
|
@@ -2658,14 +3185,14 @@ module Google
|
|
2658
3185
|
include Google::Apis::Core::Hashable
|
2659
3186
|
|
2660
3187
|
# The `AccountService` message represents a specific service that a provider
|
2661
|
-
# account offers to a
|
2662
|
-
# and capabilities granted to the provider, allowing for operations
|
2663
|
-
# product management or campaign management. The lifecycle of an `
|
2664
|
-
# involves a proposal phase, where one party suggests the
|
2665
|
-
# approval phase, where the other party accepts or rejects it.
|
2666
|
-
# mechanism ensures mutual consent before any access is granted.
|
2667
|
-
# safeguards both parties by ensuring that access rights are
|
2668
|
-
# appropriately and that both the
|
3188
|
+
# account offers to a Merchant Center account. `AccountService` defines the
|
3189
|
+
# permissions and capabilities granted to the provider, allowing for operations
|
3190
|
+
# such as product management or campaign management. The lifecycle of an `
|
3191
|
+
# AccountService` involves a proposal phase, where one party suggests the
|
3192
|
+
# service, and an approval phase, where the other party accepts or rejects it.
|
3193
|
+
# This handshake mechanism ensures mutual consent before any access is granted.
|
3194
|
+
# This mechanism safeguards both parties by ensuring that access rights are
|
3195
|
+
# granted appropriately and that both the business and provider are aware of the
|
2669
3196
|
# services enabled. In scenarios where a user is an admin of both accounts, the
|
2670
3197
|
# approval can happen automatically. The mutability of a service is also managed
|
2671
3198
|
# through `AccountService`. Some services might be immutable, for example, if
|
@@ -2826,6 +3353,38 @@ module Google
|
|
2826
3353
|
end
|
2827
3354
|
end
|
2828
3355
|
|
3356
|
+
# Request message for the RequestInventoryVerification method.
|
3357
|
+
class RequestInventoryVerificationRequest
|
3358
|
+
include Google::Apis::Core::Hashable
|
3359
|
+
|
3360
|
+
def initialize(**args)
|
3361
|
+
update!(**args)
|
3362
|
+
end
|
3363
|
+
|
3364
|
+
# Update properties of this object
|
3365
|
+
def update!(**args)
|
3366
|
+
end
|
3367
|
+
end
|
3368
|
+
|
3369
|
+
# Response message for the RequestInventoryVerification method.
|
3370
|
+
class RequestInventoryVerificationResponse
|
3371
|
+
include Google::Apis::Core::Hashable
|
3372
|
+
|
3373
|
+
# Collection of information related to the omnichannel settings of a merchant.
|
3374
|
+
# Corresponds to the JSON property `omnichannelSetting`
|
3375
|
+
# @return [Google::Apis::MerchantapiAccountsV1beta::OmnichannelSetting]
|
3376
|
+
attr_accessor :omnichannel_setting
|
3377
|
+
|
3378
|
+
def initialize(**args)
|
3379
|
+
update!(**args)
|
3380
|
+
end
|
3381
|
+
|
3382
|
+
# Update properties of this object
|
3383
|
+
def update!(**args)
|
3384
|
+
@omnichannel_setting = args[:omnichannel_setting] if args.key?(:omnichannel_setting)
|
3385
|
+
end
|
3386
|
+
end
|
3387
|
+
|
2829
3388
|
# Describes the terms of service which are required to be accepted.
|
2830
3389
|
class Required
|
2831
3390
|
include Google::Apis::Core::Hashable
|
@@ -3077,7 +3636,7 @@ module Google
|
|
3077
3636
|
# @return [String]
|
3078
3637
|
attr_accessor :service_name
|
3079
3638
|
|
3080
|
-
# Type of locations this service ships orders to.
|
3639
|
+
# Optional. Type of locations this service ships orders to.
|
3081
3640
|
# Corresponds to the JSON property `shipmentType`
|
3082
3641
|
# @return [String]
|
3083
3642
|
attr_accessor :shipment_type
|
@@ -3108,8 +3667,10 @@ module Google
|
|
3108
3667
|
end
|
3109
3668
|
end
|
3110
3669
|
|
3111
|
-
# The
|
3112
|
-
# merchants/answer/6069284).
|
3670
|
+
# The Merchant Center account's [shipping settings](https://support.google.com/
|
3671
|
+
# merchants/answer/6069284). The `ShippingSettings` resource lets you retrieve
|
3672
|
+
# and update the shipping settings of your advanced account and all its
|
3673
|
+
# associated sub-accounts.
|
3113
3674
|
class ShippingSettings
|
3114
3675
|
include Google::Apis::Core::Hashable
|
3115
3676
|
|
@@ -3128,7 +3689,7 @@ module Google
|
|
3128
3689
|
attr_accessor :etag
|
3129
3690
|
|
3130
3691
|
# Identifier. The resource name of the shipping settings. Format: `accounts/`
|
3131
|
-
# account`/shippingSettings`
|
3692
|
+
# account`/shippingSettings`. For example, `accounts/123456/shippingSettings`.
|
3132
3693
|
# Corresponds to the JSON property `name`
|
3133
3694
|
# @return [String]
|
3134
3695
|
attr_accessor :name
|
@@ -3241,7 +3802,7 @@ module Google
|
|
3241
3802
|
# @return [Array<String>]
|
3242
3803
|
attr_accessor :store_codes
|
3243
3804
|
|
3244
|
-
# Indicates whether all stores, or selected stores, listed by this
|
3805
|
+
# Indicates whether all stores, or selected stores, listed by this business
|
3245
3806
|
# provide local delivery.
|
3246
3807
|
# Corresponds to the JSON property `storeServiceType`
|
3247
3808
|
# @return [String]
|
@@ -3360,22 +3921,30 @@ module Google
|
|
3360
3921
|
end
|
3361
3922
|
|
3362
3923
|
# This resource represents the agreement state for a given account and terms of
|
3363
|
-
# service kind. The state is as follows: * If the
|
3924
|
+
# service kind. The state is as follows: * If the business has accepted a terms
|
3364
3925
|
# of service, `accepted` will be populated, otherwise it will be empty * If the
|
3365
|
-
#
|
3926
|
+
# business must sign a terms of service, `required` will be populated, otherwise
|
3366
3927
|
# it will be empty. Note that both `required` and `accepted` can be present. In
|
3367
3928
|
# this case the `accepted` terms of services will have an expiration date set in
|
3368
3929
|
# the `valid_until` field. The `required` terms of services need to be accepted
|
3369
3930
|
# before `valid_until` in order for the account to continue having a valid
|
3370
|
-
# agreement. When accepting new terms of services we expect
|
3371
|
-
# text associated with the given terms of service
|
3372
|
-
# containing the text is added in the Required
|
3373
|
-
# The actual acceptance of the terms of
|
3374
|
-
# `TermsOfService` resource.
|
3931
|
+
# agreement. When accepting new terms of services we expect third-party
|
3932
|
+
# providers to display the text associated with the given terms of service
|
3933
|
+
# agreement (the url to the file containing the text is added in the Required
|
3934
|
+
# message below as `tos_file_uri`). The actual acceptance of the terms of
|
3935
|
+
# service is done by calling accept on the `TermsOfService` resource. `
|
3936
|
+
# valid_until` field. The `required` terms of services need to be accepted
|
3937
|
+
# before `valid_until` in order for the account to continue having a valid
|
3938
|
+
# agreement. When accepting new terms of services, we expect third-party
|
3939
|
+
# providers to display the text associated with the given terms of service
|
3940
|
+
# agreement (the url to the file containing the text is added in the Required
|
3941
|
+
# message below as `tos_file_uri`. The actual acceptance of the terms of service
|
3942
|
+
# is done by calling accept on the `TermsOfService` resource.
|
3375
3943
|
class TermsOfServiceAgreementState
|
3376
3944
|
include Google::Apis::Core::Hashable
|
3377
3945
|
|
3378
|
-
# Describes the accepted terms of service
|
3946
|
+
# Describes the [accepted terms of service](/merchant/api/guides/accounts/create-
|
3947
|
+
# and-configure#accept_the_merchant_center_terms_of_service).
|
3379
3948
|
# Corresponds to the JSON property `accepted`
|
3380
3949
|
# @return [Google::Apis::MerchantapiAccountsV1beta::Accepted]
|
3381
3950
|
attr_accessor :accepted
|
@@ -3383,7 +3952,7 @@ module Google
|
|
3383
3952
|
# Identifier. The resource name of the terms of service version. Format: `
|
3384
3953
|
# accounts/`account`/termsOfServiceAgreementState/`identifier`` The identifier
|
3385
3954
|
# format is: ``TermsOfServiceKind`-`country`` For example, an identifier could
|
3386
|
-
# be: `MERCHANT_CENTER-US
|
3955
|
+
# be: `MERCHANT_CENTER-EU` or `MERCHANT_CENTER-US`.
|
3387
3956
|
# Corresponds to the JSON property `name`
|
3388
3957
|
# @return [String]
|
3389
3958
|
attr_accessor :name
|