google-apis-content_v2_1 0.17.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/content_v2_1/classes.rb +902 -175
- data/lib/google/apis/content_v2_1/gem_version.rb +2 -2
- data/lib/google/apis/content_v2_1/representations.rb +267 -0
- data/lib/google/apis/content_v2_1/service.rb +335 -12
- metadata +3 -3
@@ -28,8 +28,8 @@ module Google
|
|
28
28
|
class Account
|
29
29
|
include Google::Apis::Core::Hashable
|
30
30
|
|
31
|
-
# How the account is managed. Acceptable values are: - "`manual`" -
|
32
|
-
#
|
31
|
+
# Output only. How the account is managed. Acceptable values are: - "`manual`" -
|
32
|
+
# "`automatic`"
|
33
33
|
# Corresponds to the JSON property `accountManagement`
|
34
34
|
# @return [String]
|
35
35
|
attr_accessor :account_management
|
@@ -76,7 +76,7 @@ module Google
|
|
76
76
|
attr_accessor :id
|
77
77
|
|
78
78
|
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
79
|
-
# account`"
|
79
|
+
# account`".
|
80
80
|
# Corresponds to the JSON property `kind`
|
81
81
|
# @return [String]
|
82
82
|
attr_accessor :kind
|
@@ -144,8 +144,9 @@ module Google
|
|
144
144
|
class AccountAddress
|
145
145
|
include Google::Apis::Core::Hashable
|
146
146
|
|
147
|
-
# CLDR country code (e.g. "US").
|
148
|
-
#
|
147
|
+
# CLDR country code (e.g. "US"). All MCA sub-accounts inherit the country of
|
148
|
+
# their parent MCA by default, however the country can be updated for individual
|
149
|
+
# sub-accounts.
|
149
150
|
# Corresponds to the JSON property `country`
|
150
151
|
# @return [String]
|
151
152
|
attr_accessor :country
|
@@ -234,6 +235,13 @@ module Google
|
|
234
235
|
# @return [Google::Apis::ContentV2_1::AccountCustomerService]
|
235
236
|
attr_accessor :customer_service
|
236
237
|
|
238
|
+
# The 10-digit [Korean business registration number](https://support.google.com/
|
239
|
+
# merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX.
|
240
|
+
# This field will only be updated if explicitly set.
|
241
|
+
# Corresponds to the JSON property `koreanBusinessRegistrationNumber`
|
242
|
+
# @return [String]
|
243
|
+
attr_accessor :korean_business_registration_number
|
244
|
+
|
237
245
|
# The phone number of the business.
|
238
246
|
# Corresponds to the JSON property `phoneNumber`
|
239
247
|
# @return [String]
|
@@ -247,6 +255,7 @@ module Google
|
|
247
255
|
def update!(**args)
|
248
256
|
@address = args[:address] if args.key?(:address)
|
249
257
|
@customer_service = args[:customer_service] if args.key?(:customer_service)
|
258
|
+
@korean_business_registration_number = args[:korean_business_registration_number] if args.key?(:korean_business_registration_number)
|
250
259
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
251
260
|
end
|
252
261
|
end
|
@@ -719,8 +728,8 @@ module Google
|
|
719
728
|
# @return [Fixnum]
|
720
729
|
attr_accessor :account_id
|
721
730
|
|
722
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
723
|
-
# accountTax".
|
731
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
732
|
+
# accountTax`".
|
724
733
|
# Corresponds to the JSON property `kind`
|
725
734
|
# @return [String]
|
726
735
|
attr_accessor :kind
|
@@ -882,8 +891,8 @@ module Google
|
|
882
891
|
# @return [Array<Google::Apis::ContentV2_1::AccountIdentifier>]
|
883
892
|
attr_accessor :account_identifiers
|
884
893
|
|
885
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
886
|
-
# accountsAuthInfoResponse".
|
894
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
895
|
+
# accountsAuthInfoResponse`".
|
887
896
|
# Corresponds to the JSON property `kind`
|
888
897
|
# @return [String]
|
889
898
|
attr_accessor :kind
|
@@ -903,8 +912,8 @@ module Google
|
|
903
912
|
class AccountsClaimWebsiteResponse
|
904
913
|
include Google::Apis::Core::Hashable
|
905
914
|
|
906
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
907
|
-
# accountsClaimWebsiteResponse".
|
915
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
916
|
+
# accountsClaimWebsiteResponse`".
|
908
917
|
# Corresponds to the JSON property `kind`
|
909
918
|
# @return [String]
|
910
919
|
attr_accessor :kind
|
@@ -1069,8 +1078,8 @@ module Google
|
|
1069
1078
|
# @return [Array<Google::Apis::ContentV2_1::AccountsCustomBatchResponseEntry>]
|
1070
1079
|
attr_accessor :entries
|
1071
1080
|
|
1072
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1073
|
-
# accountsCustomBatchResponse".
|
1081
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1082
|
+
# accountsCustomBatchResponse`".
|
1074
1083
|
# Corresponds to the JSON property `kind`
|
1075
1084
|
# @return [String]
|
1076
1085
|
attr_accessor :kind
|
@@ -1178,8 +1187,8 @@ module Google
|
|
1178
1187
|
class AccountsLinkResponse
|
1179
1188
|
include Google::Apis::Core::Hashable
|
1180
1189
|
|
1181
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1182
|
-
# accountsLinkResponse".
|
1190
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1191
|
+
# accountsLinkResponse`".
|
1183
1192
|
# Corresponds to the JSON property `kind`
|
1184
1193
|
# @return [String]
|
1185
1194
|
attr_accessor :kind
|
@@ -1198,8 +1207,8 @@ module Google
|
|
1198
1207
|
class AccountsListLinksResponse
|
1199
1208
|
include Google::Apis::Core::Hashable
|
1200
1209
|
|
1201
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1202
|
-
# accountsListLinksResponse".
|
1210
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1211
|
+
# accountsListLinksResponse`".
|
1203
1212
|
# Corresponds to the JSON property `kind`
|
1204
1213
|
# @return [String]
|
1205
1214
|
attr_accessor :kind
|
@@ -1230,8 +1239,8 @@ module Google
|
|
1230
1239
|
class AccountsListResponse
|
1231
1240
|
include Google::Apis::Core::Hashable
|
1232
1241
|
|
1233
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1234
|
-
# accountsListResponse".
|
1242
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1243
|
+
# accountsListResponse`".
|
1235
1244
|
# Corresponds to the JSON property `kind`
|
1236
1245
|
# @return [String]
|
1237
1246
|
attr_accessor :kind
|
@@ -1281,8 +1290,8 @@ module Google
|
|
1281
1290
|
class AccountsUpdateLabelsResponse
|
1282
1291
|
include Google::Apis::Core::Hashable
|
1283
1292
|
|
1284
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1285
|
-
# accountsUpdateLabelsResponse".
|
1293
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1294
|
+
# accountsUpdateLabelsResponse`".
|
1286
1295
|
# Corresponds to the JSON property `kind`
|
1287
1296
|
# @return [String]
|
1288
1297
|
attr_accessor :kind
|
@@ -1369,8 +1378,8 @@ module Google
|
|
1369
1378
|
# @return [Array<Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponseEntry>]
|
1370
1379
|
attr_accessor :entries
|
1371
1380
|
|
1372
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1373
|
-
# accountstatusesCustomBatchResponse".
|
1381
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1382
|
+
# accountstatusesCustomBatchResponse`".
|
1374
1383
|
# Corresponds to the JSON property `kind`
|
1375
1384
|
# @return [String]
|
1376
1385
|
attr_accessor :kind
|
@@ -1422,8 +1431,8 @@ module Google
|
|
1422
1431
|
class AccountstatusesListResponse
|
1423
1432
|
include Google::Apis::Core::Hashable
|
1424
1433
|
|
1425
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1426
|
-
# accountstatusesListResponse".
|
1434
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1435
|
+
# accountstatusesListResponse`".
|
1427
1436
|
# Corresponds to the JSON property `kind`
|
1428
1437
|
# @return [String]
|
1429
1438
|
attr_accessor :kind
|
@@ -1521,8 +1530,8 @@ module Google
|
|
1521
1530
|
# @return [Array<Google::Apis::ContentV2_1::AccounttaxCustomBatchResponseEntry>]
|
1522
1531
|
attr_accessor :entries
|
1523
1532
|
|
1524
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1525
|
-
# accounttaxCustomBatchResponse".
|
1533
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1534
|
+
# accounttaxCustomBatchResponse`".
|
1526
1535
|
# Corresponds to the JSON property `kind`
|
1527
1536
|
# @return [String]
|
1528
1537
|
attr_accessor :kind
|
@@ -1580,8 +1589,8 @@ module Google
|
|
1580
1589
|
class AccounttaxListResponse
|
1581
1590
|
include Google::Apis::Core::Hashable
|
1582
1591
|
|
1583
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1584
|
-
# accounttaxListResponse".
|
1592
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
1593
|
+
# accounttaxListResponse`".
|
1585
1594
|
# Corresponds to the JSON property `kind`
|
1586
1595
|
# @return [String]
|
1587
1596
|
attr_accessor :kind
|
@@ -1651,7 +1660,7 @@ module Google
|
|
1651
1660
|
class BusinessDayConfig
|
1652
1661
|
include Google::Apis::Core::Hashable
|
1653
1662
|
|
1654
|
-
# Regular business days. May not be empty.
|
1663
|
+
# Regular business days, such as '"monday"'. May not be empty.
|
1655
1664
|
# Corresponds to the JSON property `businessDays`
|
1656
1665
|
# @return [Array<String>]
|
1657
1666
|
attr_accessor :business_days
|
@@ -1670,17 +1679,59 @@ module Google
|
|
1670
1679
|
class BuyOnGoogleProgramStatus
|
1671
1680
|
include Google::Apis::Core::Hashable
|
1672
1681
|
|
1673
|
-
# The
|
1682
|
+
# The business models in which merchant participates.
|
1683
|
+
# Corresponds to the JSON property `businessModel`
|
1684
|
+
# @return [Array<String>]
|
1685
|
+
attr_accessor :business_model
|
1686
|
+
|
1687
|
+
# The customer service pending email. After verification this field becomes
|
1688
|
+
# empty.
|
1674
1689
|
# Corresponds to the JSON property `customerServicePendingEmail`
|
1675
1690
|
# @return [String]
|
1676
1691
|
attr_accessor :customer_service_pending_email
|
1677
1692
|
|
1678
|
-
# The
|
1693
|
+
# The pending phone number specified for BuyOnGoogle program. It might be
|
1694
|
+
# different than account level phone number. In order to update this field the
|
1695
|
+
# customer_service_pending_phone_region_code must also be set. After
|
1696
|
+
# verification this field becomes empty.
|
1697
|
+
# Corresponds to the JSON property `customerServicePendingPhoneNumber`
|
1698
|
+
# @return [String]
|
1699
|
+
attr_accessor :customer_service_pending_phone_number
|
1700
|
+
|
1701
|
+
# Two letter country code for the pending phone number, for example `CA` for
|
1702
|
+
# Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/
|
1703
|
+
# ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned
|
1704
|
+
# codes. In order to update this field the customer_service_pending_phone_number
|
1705
|
+
# must also be set. After verification this field becomes empty.
|
1706
|
+
# Corresponds to the JSON property `customerServicePendingPhoneRegionCode`
|
1707
|
+
# @return [String]
|
1708
|
+
attr_accessor :customer_service_pending_phone_region_code
|
1709
|
+
|
1710
|
+
# Output only. The customer service verified email.
|
1679
1711
|
# Corresponds to the JSON property `customerServiceVerifiedEmail`
|
1680
1712
|
# @return [String]
|
1681
1713
|
attr_accessor :customer_service_verified_email
|
1682
1714
|
|
1683
|
-
# The
|
1715
|
+
# Output only. The verified phone number specified for BuyOnGoogle program. It
|
1716
|
+
# might be different than account level phone number.
|
1717
|
+
# Corresponds to the JSON property `customerServiceVerifiedPhoneNumber`
|
1718
|
+
# @return [String]
|
1719
|
+
attr_accessor :customer_service_verified_phone_number
|
1720
|
+
|
1721
|
+
# Output only. Two letter country code for the verified phone number, for
|
1722
|
+
# example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://
|
1723
|
+
# wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
|
1724
|
+
# officially assigned codes.
|
1725
|
+
# Corresponds to the JSON property `customerServiceVerifiedPhoneRegionCode`
|
1726
|
+
# @return [String]
|
1727
|
+
attr_accessor :customer_service_verified_phone_region_code
|
1728
|
+
|
1729
|
+
# The channels through which the merchant is selling.
|
1730
|
+
# Corresponds to the JSON property `onlineSalesChannel`
|
1731
|
+
# @return [String]
|
1732
|
+
attr_accessor :online_sales_channel
|
1733
|
+
|
1734
|
+
# Output only. The current participation stage for the program.
|
1684
1735
|
# Corresponds to the JSON property `participationStage`
|
1685
1736
|
# @return [String]
|
1686
1737
|
attr_accessor :participation_stage
|
@@ -1691,12 +1742,51 @@ module Google
|
|
1691
1742
|
|
1692
1743
|
# Update properties of this object
|
1693
1744
|
def update!(**args)
|
1745
|
+
@business_model = args[:business_model] if args.key?(:business_model)
|
1694
1746
|
@customer_service_pending_email = args[:customer_service_pending_email] if args.key?(:customer_service_pending_email)
|
1747
|
+
@customer_service_pending_phone_number = args[:customer_service_pending_phone_number] if args.key?(:customer_service_pending_phone_number)
|
1748
|
+
@customer_service_pending_phone_region_code = args[:customer_service_pending_phone_region_code] if args.key?(:customer_service_pending_phone_region_code)
|
1695
1749
|
@customer_service_verified_email = args[:customer_service_verified_email] if args.key?(:customer_service_verified_email)
|
1750
|
+
@customer_service_verified_phone_number = args[:customer_service_verified_phone_number] if args.key?(:customer_service_verified_phone_number)
|
1751
|
+
@customer_service_verified_phone_region_code = args[:customer_service_verified_phone_region_code] if args.key?(:customer_service_verified_phone_region_code)
|
1752
|
+
@online_sales_channel = args[:online_sales_channel] if args.key?(:online_sales_channel)
|
1696
1753
|
@participation_stage = args[:participation_stage] if args.key?(:participation_stage)
|
1697
1754
|
end
|
1698
1755
|
end
|
1699
1756
|
|
1757
|
+
# Request message for the CaptureOrder method.
|
1758
|
+
class CaptureOrderRequest
|
1759
|
+
include Google::Apis::Core::Hashable
|
1760
|
+
|
1761
|
+
def initialize(**args)
|
1762
|
+
update!(**args)
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
# Update properties of this object
|
1766
|
+
def update!(**args)
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# Response message for the CaptureOrder method.
|
1771
|
+
class CaptureOrderResponse
|
1772
|
+
include Google::Apis::Core::Hashable
|
1773
|
+
|
1774
|
+
# The status of the execution. Only defined if the request was successful.
|
1775
|
+
# Acceptable values are: * "duplicate" * "executed"
|
1776
|
+
# Corresponds to the JSON property `executionStatus`
|
1777
|
+
# @return [String]
|
1778
|
+
attr_accessor :execution_status
|
1779
|
+
|
1780
|
+
def initialize(**args)
|
1781
|
+
update!(**args)
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
# Update properties of this object
|
1785
|
+
def update!(**args)
|
1786
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
1787
|
+
end
|
1788
|
+
end
|
1789
|
+
|
1700
1790
|
#
|
1701
1791
|
class CarrierRate
|
1702
1792
|
include Google::Apis::Core::Hashable
|
@@ -2672,8 +2762,8 @@ module Google
|
|
2672
2762
|
# @return [Array<Google::Apis::ContentV2_1::DatafeedsCustomBatchResponseEntry>]
|
2673
2763
|
attr_accessor :entries
|
2674
2764
|
|
2675
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
2676
|
-
# datafeedsCustomBatchResponse".
|
2765
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
2766
|
+
# datafeedsCustomBatchResponse`".
|
2677
2767
|
# Corresponds to the JSON property `kind`
|
2678
2768
|
# @return [String]
|
2679
2769
|
attr_accessor :kind
|
@@ -2724,8 +2814,8 @@ module Google
|
|
2724
2814
|
class DatafeedsFetchNowResponse
|
2725
2815
|
include Google::Apis::Core::Hashable
|
2726
2816
|
|
2727
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
2728
|
-
# datafeedsFetchNowResponse".
|
2817
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
2818
|
+
# datafeedsFetchNowResponse`".
|
2729
2819
|
# Corresponds to the JSON property `kind`
|
2730
2820
|
# @return [String]
|
2731
2821
|
attr_accessor :kind
|
@@ -2744,8 +2834,8 @@ module Google
|
|
2744
2834
|
class DatafeedsListResponse
|
2745
2835
|
include Google::Apis::Core::Hashable
|
2746
2836
|
|
2747
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
2748
|
-
# datafeedsListResponse".
|
2837
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
2838
|
+
# datafeedsListResponse`".
|
2749
2839
|
# Corresponds to the JSON property `kind`
|
2750
2840
|
# @return [String]
|
2751
2841
|
attr_accessor :kind
|
@@ -2853,8 +2943,8 @@ module Google
|
|
2853
2943
|
# @return [Array<Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponseEntry>]
|
2854
2944
|
attr_accessor :entries
|
2855
2945
|
|
2856
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
2857
|
-
# datafeedstatusesCustomBatchResponse".
|
2946
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
2947
|
+
# datafeedstatusesCustomBatchResponse`".
|
2858
2948
|
# Corresponds to the JSON property `kind`
|
2859
2949
|
# @return [String]
|
2860
2950
|
attr_accessor :kind
|
@@ -2906,8 +2996,8 @@ module Google
|
|
2906
2996
|
class DatafeedstatusesListResponse
|
2907
2997
|
include Google::Apis::Core::Hashable
|
2908
2998
|
|
2909
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
2910
|
-
# datafeedstatusesListResponse".
|
2999
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
3000
|
+
# datafeedstatusesListResponse`".
|
2911
3001
|
# Corresponds to the JSON property `kind`
|
2912
3002
|
# @return [String]
|
2913
3003
|
attr_accessor :kind
|
@@ -3210,6 +3300,94 @@ module Google
|
|
3210
3300
|
end
|
3211
3301
|
end
|
3212
3302
|
|
3303
|
+
# Response message for GetFreeListingsProgramStatus.
|
3304
|
+
class FreeListingsProgramStatus
|
3305
|
+
include Google::Apis::Core::Hashable
|
3306
|
+
|
3307
|
+
# Status of the program in each region. Regions with the same status and review
|
3308
|
+
# eligibility are grouped together in `regionCodes`.
|
3309
|
+
# Corresponds to the JSON property `regionStatuses`
|
3310
|
+
# @return [Array<Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus>]
|
3311
|
+
attr_accessor :region_statuses
|
3312
|
+
|
3313
|
+
# If program is successfully onboarded for at least one region.
|
3314
|
+
# Corresponds to the JSON property `state`
|
3315
|
+
# @return [String]
|
3316
|
+
attr_accessor :state
|
3317
|
+
|
3318
|
+
def initialize(**args)
|
3319
|
+
update!(**args)
|
3320
|
+
end
|
3321
|
+
|
3322
|
+
# Update properties of this object
|
3323
|
+
def update!(**args)
|
3324
|
+
@region_statuses = args[:region_statuses] if args.key?(:region_statuses)
|
3325
|
+
@state = args[:state] if args.key?(:state)
|
3326
|
+
end
|
3327
|
+
end
|
3328
|
+
|
3329
|
+
# Status of program and region.
|
3330
|
+
class FreeListingsProgramStatusRegionStatus
|
3331
|
+
include Google::Apis::Core::Hashable
|
3332
|
+
|
3333
|
+
# Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It
|
3334
|
+
# will be present when `eligibility_status` is `WARNING`. Date will be provided
|
3335
|
+
# in ISO 8601 format i.e. YYYY-MM-DD
|
3336
|
+
# Corresponds to the JSON property `disapprovalDate`
|
3337
|
+
# @return [String]
|
3338
|
+
attr_accessor :disapproval_date
|
3339
|
+
|
3340
|
+
# Eligibility status of the standard free listing program.
|
3341
|
+
# Corresponds to the JSON property `eligibilityStatus`
|
3342
|
+
# @return [String]
|
3343
|
+
attr_accessor :eligibility_status
|
3344
|
+
|
3345
|
+
# Eligibility status of the enhanced free listing program.
|
3346
|
+
# Corresponds to the JSON property `enhancedEligibilityStatus`
|
3347
|
+
# @return [String]
|
3348
|
+
attr_accessor :enhanced_eligibility_status
|
3349
|
+
|
3350
|
+
# Reason if a program in a given country is not eligible for review. Populated
|
3351
|
+
# only if `review_eligibility_status` is `INELIGIBLE`.
|
3352
|
+
# Corresponds to the JSON property `ineligibilityReason`
|
3353
|
+
# @return [String]
|
3354
|
+
attr_accessor :ineligibility_reason
|
3355
|
+
|
3356
|
+
# The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-
|
3357
|
+
# 1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `
|
3358
|
+
# reviewEligibility`.
|
3359
|
+
# Corresponds to the JSON property `regionCodes`
|
3360
|
+
# @return [Array<String>]
|
3361
|
+
attr_accessor :region_codes
|
3362
|
+
|
3363
|
+
# If a program in a given country is eligible for review. It will be present
|
3364
|
+
# only if eligibility status is `DISAPPROVED`.
|
3365
|
+
# Corresponds to the JSON property `reviewEligibilityStatus`
|
3366
|
+
# @return [String]
|
3367
|
+
attr_accessor :review_eligibility_status
|
3368
|
+
|
3369
|
+
# These issues will be evaluated in review process. Fix all the issues before
|
3370
|
+
# requesting the review.
|
3371
|
+
# Corresponds to the JSON property `reviewIssues`
|
3372
|
+
# @return [Array<String>]
|
3373
|
+
attr_accessor :review_issues
|
3374
|
+
|
3375
|
+
def initialize(**args)
|
3376
|
+
update!(**args)
|
3377
|
+
end
|
3378
|
+
|
3379
|
+
# Update properties of this object
|
3380
|
+
def update!(**args)
|
3381
|
+
@disapproval_date = args[:disapproval_date] if args.key?(:disapproval_date)
|
3382
|
+
@eligibility_status = args[:eligibility_status] if args.key?(:eligibility_status)
|
3383
|
+
@enhanced_eligibility_status = args[:enhanced_eligibility_status] if args.key?(:enhanced_eligibility_status)
|
3384
|
+
@ineligibility_reason = args[:ineligibility_reason] if args.key?(:ineligibility_reason)
|
3385
|
+
@region_codes = args[:region_codes] if args.key?(:region_codes)
|
3386
|
+
@review_eligibility_status = args[:review_eligibility_status] if args.key?(:review_eligibility_status)
|
3387
|
+
@review_issues = args[:review_issues] if args.key?(:review_issues)
|
3388
|
+
end
|
3389
|
+
end
|
3390
|
+
|
3213
3391
|
#
|
3214
3392
|
class GmbAccounts
|
3215
3393
|
include Google::Apis::Core::Hashable
|
@@ -3878,8 +4056,8 @@ module Google
|
|
3878
4056
|
# @return [Array<Google::Apis::ContentV2_1::LiasettingsCustomBatchResponseEntry>]
|
3879
4057
|
attr_accessor :entries
|
3880
4058
|
|
3881
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
3882
|
-
# liasettingsCustomBatchResponse".
|
4059
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4060
|
+
# liasettingsCustomBatchResponse`".
|
3883
4061
|
# Corresponds to the JSON property `kind`
|
3884
4062
|
# @return [String]
|
3885
4063
|
attr_accessor :kind
|
@@ -3960,8 +4138,8 @@ module Google
|
|
3960
4138
|
# @return [Array<Google::Apis::ContentV2_1::GmbAccountsGmbAccount>]
|
3961
4139
|
attr_accessor :gmb_accounts
|
3962
4140
|
|
3963
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
3964
|
-
# liasettingsGetAccessibleGmbAccountsResponse".
|
4141
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4142
|
+
# liasettingsGetAccessibleGmbAccountsResponse`".
|
3965
4143
|
# Corresponds to the JSON property `kind`
|
3966
4144
|
# @return [String]
|
3967
4145
|
attr_accessor :kind
|
@@ -3982,8 +4160,8 @@ module Google
|
|
3982
4160
|
class LiasettingsListPosDataProvidersResponse
|
3983
4161
|
include Google::Apis::Core::Hashable
|
3984
4162
|
|
3985
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
3986
|
-
# liasettingsListPosDataProvidersResponse".
|
4163
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4164
|
+
# liasettingsListPosDataProvidersResponse`".
|
3987
4165
|
# Corresponds to the JSON property `kind`
|
3988
4166
|
# @return [String]
|
3989
4167
|
attr_accessor :kind
|
@@ -4008,8 +4186,8 @@ module Google
|
|
4008
4186
|
class LiasettingsListResponse
|
4009
4187
|
include Google::Apis::Core::Hashable
|
4010
4188
|
|
4011
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4012
|
-
# liasettingsListResponse".
|
4189
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4190
|
+
# liasettingsListResponse`".
|
4013
4191
|
# Corresponds to the JSON property `kind`
|
4014
4192
|
# @return [String]
|
4015
4193
|
attr_accessor :kind
|
@@ -4040,8 +4218,8 @@ module Google
|
|
4040
4218
|
class LiasettingsRequestGmbAccessResponse
|
4041
4219
|
include Google::Apis::Core::Hashable
|
4042
4220
|
|
4043
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4044
|
-
# liasettingsRequestGmbAccessResponse".
|
4221
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4222
|
+
# liasettingsRequestGmbAccessResponse`".
|
4045
4223
|
# Corresponds to the JSON property `kind`
|
4046
4224
|
# @return [String]
|
4047
4225
|
attr_accessor :kind
|
@@ -4060,8 +4238,8 @@ module Google
|
|
4060
4238
|
class LiasettingsRequestInventoryVerificationResponse
|
4061
4239
|
include Google::Apis::Core::Hashable
|
4062
4240
|
|
4063
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4064
|
-
# liasettingsRequestInventoryVerificationResponse".
|
4241
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4242
|
+
# liasettingsRequestInventoryVerificationResponse`".
|
4065
4243
|
# Corresponds to the JSON property `kind`
|
4066
4244
|
# @return [String]
|
4067
4245
|
attr_accessor :kind
|
@@ -4080,8 +4258,8 @@ module Google
|
|
4080
4258
|
class LiasettingsSetInventoryVerificationContactResponse
|
4081
4259
|
include Google::Apis::Core::Hashable
|
4082
4260
|
|
4083
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4084
|
-
# liasettingsSetInventoryVerificationContactResponse".
|
4261
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4262
|
+
# liasettingsSetInventoryVerificationContactResponse`".
|
4085
4263
|
# Corresponds to the JSON property `kind`
|
4086
4264
|
# @return [String]
|
4087
4265
|
attr_accessor :kind
|
@@ -4100,8 +4278,8 @@ module Google
|
|
4100
4278
|
class LiasettingsSetPosDataProviderResponse
|
4101
4279
|
include Google::Apis::Core::Hashable
|
4102
4280
|
|
4103
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4104
|
-
# liasettingsSetPosDataProviderResponse".
|
4281
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4282
|
+
# liasettingsSetPosDataProviderResponse`".
|
4105
4283
|
# Corresponds to the JSON property `kind`
|
4106
4284
|
# @return [String]
|
4107
4285
|
attr_accessor :kind
|
@@ -4568,8 +4746,8 @@ module Google
|
|
4568
4746
|
# @return [Array<Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponseEntry>]
|
4569
4747
|
attr_accessor :entries
|
4570
4748
|
|
4571
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4572
|
-
# localinventoryCustomBatchResponse".
|
4749
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
4750
|
+
# localinventoryCustomBatchResponse`".
|
4573
4751
|
# Corresponds to the JSON property `kind`
|
4574
4752
|
# @return [String]
|
4575
4753
|
attr_accessor :kind
|
@@ -6961,8 +7139,8 @@ module Google
|
|
6961
7139
|
# @return [String]
|
6962
7140
|
attr_accessor :execution_status
|
6963
7141
|
|
6964
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
6965
|
-
# orderinvoicesCreateChargeInvoiceResponse".
|
7142
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7143
|
+
# orderinvoicesCreateChargeInvoiceResponse`".
|
6966
7144
|
# Corresponds to the JSON property `kind`
|
6967
7145
|
# @return [String]
|
6968
7146
|
attr_accessor :kind
|
@@ -7035,8 +7213,8 @@ module Google
|
|
7035
7213
|
# @return [String]
|
7036
7214
|
attr_accessor :execution_status
|
7037
7215
|
|
7038
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7039
|
-
# orderinvoicesCreateRefundInvoiceResponse".
|
7216
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7217
|
+
# orderinvoicesCreateRefundInvoiceResponse`".
|
7040
7218
|
# Corresponds to the JSON property `kind`
|
7041
7219
|
# @return [String]
|
7042
7220
|
attr_accessor :kind
|
@@ -7133,8 +7311,8 @@ module Google
|
|
7133
7311
|
# @return [Array<Google::Apis::ContentV2_1::OrderReportDisbursement>]
|
7134
7312
|
attr_accessor :disbursements
|
7135
7313
|
|
7136
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7137
|
-
# orderreportsListDisbursementsResponse".
|
7314
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7315
|
+
# orderreportsListDisbursementsResponse`".
|
7138
7316
|
# Corresponds to the JSON property `kind`
|
7139
7317
|
# @return [String]
|
7140
7318
|
attr_accessor :kind
|
@@ -7160,8 +7338,8 @@ module Google
|
|
7160
7338
|
class OrderreportsListTransactionsResponse
|
7161
7339
|
include Google::Apis::Core::Hashable
|
7162
7340
|
|
7163
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7164
|
-
# orderreportsListTransactionsResponse".
|
7341
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7342
|
+
# orderreportsListTransactionsResponse`".
|
7165
7343
|
# Corresponds to the JSON property `kind`
|
7166
7344
|
# @return [String]
|
7167
7345
|
attr_accessor :kind
|
@@ -7218,8 +7396,8 @@ module Google
|
|
7218
7396
|
# @return [String]
|
7219
7397
|
attr_accessor :execution_status
|
7220
7398
|
|
7221
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7222
|
-
# orderreturnsAcknowledgeResponse".
|
7399
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7400
|
+
# orderreturnsAcknowledgeResponse`".
|
7223
7401
|
# Corresponds to the JSON property `kind`
|
7224
7402
|
# @return [String]
|
7225
7403
|
attr_accessor :kind
|
@@ -7282,8 +7460,8 @@ module Google
|
|
7282
7460
|
# @return [String]
|
7283
7461
|
attr_accessor :execution_status
|
7284
7462
|
|
7285
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7286
|
-
# orderreturnsCreateOrderReturnResponse".
|
7463
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7464
|
+
# orderreturnsCreateOrderReturnResponse`".
|
7287
7465
|
# Corresponds to the JSON property `kind`
|
7288
7466
|
# @return [String]
|
7289
7467
|
attr_accessor :kind
|
@@ -7343,8 +7521,8 @@ module Google
|
|
7343
7521
|
class OrderreturnsListResponse
|
7344
7522
|
include Google::Apis::Core::Hashable
|
7345
7523
|
|
7346
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7347
|
-
# orderreturnsListResponse".
|
7524
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7525
|
+
# orderreturnsListResponse`".
|
7348
7526
|
# Corresponds to the JSON property `kind`
|
7349
7527
|
# @return [String]
|
7350
7528
|
attr_accessor :kind
|
@@ -7447,8 +7625,8 @@ module Google
|
|
7447
7625
|
# @return [String]
|
7448
7626
|
attr_accessor :execution_status
|
7449
7627
|
|
7450
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7451
|
-
# orderreturnsProcessResponse".
|
7628
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7629
|
+
# orderreturnsProcessResponse`".
|
7452
7630
|
# Corresponds to the JSON property `kind`
|
7453
7631
|
# @return [String]
|
7454
7632
|
attr_accessor :kind
|
@@ -7598,8 +7776,8 @@ module Google
|
|
7598
7776
|
# @return [String]
|
7599
7777
|
attr_accessor :execution_status
|
7600
7778
|
|
7601
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7602
|
-
# ordersAcknowledgeResponse".
|
7779
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7780
|
+
# ordersAcknowledgeResponse`".
|
7603
7781
|
# Corresponds to the JSON property `kind`
|
7604
7782
|
# @return [String]
|
7605
7783
|
attr_accessor :kind
|
@@ -7619,8 +7797,8 @@ module Google
|
|
7619
7797
|
class OrdersAdvanceTestOrderResponse
|
7620
7798
|
include Google::Apis::Core::Hashable
|
7621
7799
|
|
7622
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7623
|
-
# ordersAdvanceTestOrderResponse".
|
7800
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7801
|
+
# ordersAdvanceTestOrderResponse`".
|
7624
7802
|
# Corresponds to the JSON property `kind`
|
7625
7803
|
# @return [String]
|
7626
7804
|
attr_accessor :kind
|
@@ -7698,8 +7876,8 @@ module Google
|
|
7698
7876
|
# @return [String]
|
7699
7877
|
attr_accessor :execution_status
|
7700
7878
|
|
7701
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7702
|
-
# ordersCancelLineItemResponse".
|
7879
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7880
|
+
# ordersCancelLineItemResponse`".
|
7703
7881
|
# Corresponds to the JSON property `kind`
|
7704
7882
|
# @return [String]
|
7705
7883
|
attr_accessor :kind
|
@@ -7759,8 +7937,8 @@ module Google
|
|
7759
7937
|
# @return [String]
|
7760
7938
|
attr_accessor :execution_status
|
7761
7939
|
|
7762
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7763
|
-
# ordersCancelResponse".
|
7940
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7941
|
+
# ordersCancelResponse`".
|
7764
7942
|
# Corresponds to the JSON property `kind`
|
7765
7943
|
# @return [String]
|
7766
7944
|
attr_accessor :kind
|
@@ -7800,8 +7978,8 @@ module Google
|
|
7800
7978
|
class OrdersCancelTestOrderByCustomerResponse
|
7801
7979
|
include Google::Apis::Core::Hashable
|
7802
7980
|
|
7803
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7804
|
-
# ordersCancelTestOrderByCustomerResponse".
|
7981
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
7982
|
+
# ordersCancelTestOrderByCustomerResponse`".
|
7805
7983
|
# Corresponds to the JSON property `kind`
|
7806
7984
|
# @return [String]
|
7807
7985
|
attr_accessor :kind
|
@@ -7857,8 +8035,8 @@ module Google
|
|
7857
8035
|
class OrdersCreateTestOrderResponse
|
7858
8036
|
include Google::Apis::Core::Hashable
|
7859
8037
|
|
7860
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7861
|
-
# ordersCreateTestOrderResponse".
|
8038
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8039
|
+
# ordersCreateTestOrderResponse`".
|
7862
8040
|
# Corresponds to the JSON property `kind`
|
7863
8041
|
# @return [String]
|
7864
8042
|
attr_accessor :kind
|
@@ -7902,8 +8080,8 @@ module Google
|
|
7902
8080
|
class OrdersCreateTestReturnResponse
|
7903
8081
|
include Google::Apis::Core::Hashable
|
7904
8082
|
|
7905
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7906
|
-
# ordersCreateTestReturnResponse".
|
8083
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8084
|
+
# ordersCreateTestReturnResponse`".
|
7907
8085
|
# Corresponds to the JSON property `kind`
|
7908
8086
|
# @return [String]
|
7909
8087
|
attr_accessor :kind
|
@@ -8091,8 +8269,8 @@ module Google
|
|
8091
8269
|
class OrdersGetByMerchantOrderIdResponse
|
8092
8270
|
include Google::Apis::Core::Hashable
|
8093
8271
|
|
8094
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8095
|
-
# ordersGetByMerchantOrderIdResponse".
|
8272
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8273
|
+
# ordersGetByMerchantOrderIdResponse`".
|
8096
8274
|
# Corresponds to the JSON property `kind`
|
8097
8275
|
# @return [String]
|
8098
8276
|
attr_accessor :kind
|
@@ -8118,8 +8296,8 @@ module Google
|
|
8118
8296
|
class OrdersGetTestOrderTemplateResponse
|
8119
8297
|
include Google::Apis::Core::Hashable
|
8120
8298
|
|
8121
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8122
|
-
# ordersGetTestOrderTemplateResponse".
|
8299
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8300
|
+
# ordersGetTestOrderTemplateResponse`".
|
8123
8301
|
# Corresponds to the JSON property `kind`
|
8124
8302
|
# @return [String]
|
8125
8303
|
attr_accessor :kind
|
@@ -8219,8 +8397,8 @@ module Google
|
|
8219
8397
|
# @return [String]
|
8220
8398
|
attr_accessor :execution_status
|
8221
8399
|
|
8222
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8223
|
-
# ordersInStoreRefundLineItemResponse".
|
8400
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8401
|
+
# ordersInStoreRefundLineItemResponse`".
|
8224
8402
|
# Corresponds to the JSON property `kind`
|
8225
8403
|
# @return [String]
|
8226
8404
|
attr_accessor :kind
|
@@ -8240,8 +8418,8 @@ module Google
|
|
8240
8418
|
class OrdersListResponse
|
8241
8419
|
include Google::Apis::Core::Hashable
|
8242
8420
|
|
8243
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8244
|
-
# ordersListResponse".
|
8421
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8422
|
+
# ordersListResponse`".
|
8245
8423
|
# Corresponds to the JSON property `kind`
|
8246
8424
|
# @return [String]
|
8247
8425
|
attr_accessor :kind
|
@@ -8328,8 +8506,8 @@ module Google
|
|
8328
8506
|
# @return [String]
|
8329
8507
|
attr_accessor :execution_status
|
8330
8508
|
|
8331
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8332
|
-
# ordersRefundItemResponse".
|
8509
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8510
|
+
# ordersRefundItemResponse`".
|
8333
8511
|
# Corresponds to the JSON property `kind`
|
8334
8512
|
# @return [String]
|
8335
8513
|
attr_accessor :kind
|
@@ -8402,8 +8580,8 @@ module Google
|
|
8402
8580
|
# @return [String]
|
8403
8581
|
attr_accessor :execution_status
|
8404
8582
|
|
8405
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8406
|
-
# ordersRefundOrderResponse".
|
8583
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8584
|
+
# ordersRefundOrderResponse`".
|
8407
8585
|
# Corresponds to the JSON property `kind`
|
8408
8586
|
# @return [String]
|
8409
8587
|
attr_accessor :kind
|
@@ -8480,8 +8658,8 @@ module Google
|
|
8480
8658
|
# @return [String]
|
8481
8659
|
attr_accessor :execution_status
|
8482
8660
|
|
8483
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8484
|
-
# ordersRejectReturnLineItemResponse".
|
8661
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8662
|
+
# ordersRejectReturnLineItemResponse`".
|
8485
8663
|
# Corresponds to the JSON property `kind`
|
8486
8664
|
# @return [String]
|
8487
8665
|
attr_accessor :kind
|
@@ -8577,8 +8755,8 @@ module Google
|
|
8577
8755
|
# @return [String]
|
8578
8756
|
attr_accessor :execution_status
|
8579
8757
|
|
8580
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8581
|
-
# ordersReturnRefundLineItemResponse".
|
8758
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8759
|
+
# ordersReturnRefundLineItemResponse`".
|
8582
8760
|
# Corresponds to the JSON property `kind`
|
8583
8761
|
# @return [String]
|
8584
8762
|
attr_accessor :kind
|
@@ -8643,8 +8821,8 @@ module Google
|
|
8643
8821
|
# @return [String]
|
8644
8822
|
attr_accessor :execution_status
|
8645
8823
|
|
8646
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8647
|
-
# ordersSetLineItemMetadataResponse".
|
8824
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8825
|
+
# ordersSetLineItemMetadataResponse`".
|
8648
8826
|
# Corresponds to the JSON property `kind`
|
8649
8827
|
# @return [String]
|
8650
8828
|
attr_accessor :kind
|
@@ -8709,8 +8887,8 @@ module Google
|
|
8709
8887
|
# @return [String]
|
8710
8888
|
attr_accessor :execution_status
|
8711
8889
|
|
8712
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8713
|
-
# ordersShipLineItemsResponse".
|
8890
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8891
|
+
# ordersShipLineItemsResponse`".
|
8714
8892
|
# Corresponds to the JSON property `kind`
|
8715
8893
|
# @return [String]
|
8716
8894
|
attr_accessor :kind
|
@@ -8785,8 +8963,8 @@ module Google
|
|
8785
8963
|
# @return [String]
|
8786
8964
|
attr_accessor :execution_status
|
8787
8965
|
|
8788
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8789
|
-
# ordersUpdateLineItemShippingDetailsResponse".
|
8966
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
8967
|
+
# ordersUpdateLineItemShippingDetailsResponse`".
|
8790
8968
|
# Corresponds to the JSON property `kind`
|
8791
8969
|
# @return [String]
|
8792
8970
|
attr_accessor :kind
|
@@ -8837,8 +9015,8 @@ module Google
|
|
8837
9015
|
# @return [String]
|
8838
9016
|
attr_accessor :execution_status
|
8839
9017
|
|
8840
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8841
|
-
# ordersUpdateMerchantOrderIdResponse".
|
9018
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
9019
|
+
# ordersUpdateMerchantOrderIdResponse`".
|
8842
9020
|
# Corresponds to the JSON property `kind`
|
8843
9021
|
# @return [String]
|
8844
9022
|
attr_accessor :kind
|
@@ -8944,8 +9122,8 @@ module Google
|
|
8944
9122
|
# @return [String]
|
8945
9123
|
attr_accessor :execution_status
|
8946
9124
|
|
8947
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
8948
|
-
# ordersUpdateShipmentResponse".
|
9125
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
9126
|
+
# ordersUpdateShipmentResponse`".
|
8949
9127
|
# Corresponds to the JSON property `kind`
|
8950
9128
|
# @return [String]
|
8951
9129
|
attr_accessor :kind
|
@@ -9146,8 +9324,8 @@ module Google
|
|
9146
9324
|
# @return [Array<Google::Apis::ContentV2_1::PosCustomBatchResponseEntry>]
|
9147
9325
|
attr_accessor :entries
|
9148
9326
|
|
9149
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
9150
|
-
# posCustomBatchResponse".
|
9327
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
9328
|
+
# posCustomBatchResponse`".
|
9151
9329
|
# Corresponds to the JSON property `kind`
|
9152
9330
|
# @return [String]
|
9153
9331
|
attr_accessor :kind
|
@@ -9419,8 +9597,8 @@ module Google
|
|
9419
9597
|
# @return [String]
|
9420
9598
|
attr_accessor :item_id
|
9421
9599
|
|
9422
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
9423
|
-
# posInventoryResponse".
|
9600
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
9601
|
+
# posInventoryResponse`".
|
9424
9602
|
# Corresponds to the JSON property `kind`
|
9425
9603
|
# @return [String]
|
9426
9604
|
attr_accessor :kind
|
@@ -9473,8 +9651,8 @@ module Google
|
|
9473
9651
|
class PosListResponse
|
9474
9652
|
include Google::Apis::Core::Hashable
|
9475
9653
|
|
9476
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
9477
|
-
# posListResponse".
|
9654
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
9655
|
+
# posListResponse`".
|
9478
9656
|
# Corresponds to the JSON property `kind`
|
9479
9657
|
# @return [String]
|
9480
9658
|
attr_accessor :kind
|
@@ -9659,8 +9837,8 @@ module Google
|
|
9659
9837
|
# @return [String]
|
9660
9838
|
attr_accessor :item_id
|
9661
9839
|
|
9662
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
9663
|
-
# posSaleResponse".
|
9840
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
9841
|
+
# posSaleResponse`".
|
9664
9842
|
# Corresponds to the JSON property `kind`
|
9665
9843
|
# @return [String]
|
9666
9844
|
attr_accessor :kind
|
@@ -10203,16 +10381,40 @@ module Google
|
|
10203
10381
|
# @return [Array<Google::Apis::ContentV2_1::ProductProductDetail>]
|
10204
10382
|
attr_accessor :product_details
|
10205
10383
|
|
10384
|
+
# The height of the product in the units provided. The value must be between 0 (
|
10385
|
+
# exclusive) and 3000 (inclusive).
|
10386
|
+
# Corresponds to the JSON property `productHeight`
|
10387
|
+
# @return [Google::Apis::ContentV2_1::ProductDimension]
|
10388
|
+
attr_accessor :product_height
|
10389
|
+
|
10206
10390
|
# Bullet points describing the most relevant highlights of a product.
|
10207
10391
|
# Corresponds to the JSON property `productHighlights`
|
10208
10392
|
# @return [Array<String>]
|
10209
10393
|
attr_accessor :product_highlights
|
10210
10394
|
|
10395
|
+
# The length of the product in the units provided. The value must be between 0 (
|
10396
|
+
# exclusive) and 3000 (inclusive).
|
10397
|
+
# Corresponds to the JSON property `productLength`
|
10398
|
+
# @return [Google::Apis::ContentV2_1::ProductDimension]
|
10399
|
+
attr_accessor :product_length
|
10400
|
+
|
10211
10401
|
# Categories of the item (formatted as in products data specification).
|
10212
10402
|
# Corresponds to the JSON property `productTypes`
|
10213
10403
|
# @return [Array<String>]
|
10214
10404
|
attr_accessor :product_types
|
10215
10405
|
|
10406
|
+
# The weight of the product in the units provided. The value must be between 0 (
|
10407
|
+
# exclusive) and 2000 (inclusive).
|
10408
|
+
# Corresponds to the JSON property `productWeight`
|
10409
|
+
# @return [Google::Apis::ContentV2_1::ProductWeight]
|
10410
|
+
attr_accessor :product_weight
|
10411
|
+
|
10412
|
+
# The width of the product in the units provided. The value must be between 0 (
|
10413
|
+
# exclusive) and 3000 (inclusive).
|
10414
|
+
# Corresponds to the JSON property `productWidth`
|
10415
|
+
# @return [Google::Apis::ContentV2_1::ProductDimension]
|
10416
|
+
attr_accessor :product_width
|
10417
|
+
|
10216
10418
|
# The unique ID of a promotion.
|
10217
10419
|
# Corresponds to the JSON property `promotionIds`
|
10218
10420
|
# @return [Array<String>]
|
@@ -10404,8 +10606,12 @@ module Google
|
|
10404
10606
|
@pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
|
10405
10607
|
@price = args[:price] if args.key?(:price)
|
10406
10608
|
@product_details = args[:product_details] if args.key?(:product_details)
|
10609
|
+
@product_height = args[:product_height] if args.key?(:product_height)
|
10407
10610
|
@product_highlights = args[:product_highlights] if args.key?(:product_highlights)
|
10611
|
+
@product_length = args[:product_length] if args.key?(:product_length)
|
10408
10612
|
@product_types = args[:product_types] if args.key?(:product_types)
|
10613
|
+
@product_weight = args[:product_weight] if args.key?(:product_weight)
|
10614
|
+
@product_width = args[:product_width] if args.key?(:product_width)
|
10409
10615
|
@promotion_ids = args[:promotion_ids] if args.key?(:promotion_ids)
|
10410
10616
|
@sale_price = args[:sale_price] if args.key?(:sale_price)
|
10411
10617
|
@sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date)
|
@@ -10463,6 +10669,32 @@ module Google
|
|
10463
10669
|
end
|
10464
10670
|
end
|
10465
10671
|
|
10672
|
+
#
|
10673
|
+
class ProductDimension
|
10674
|
+
include Google::Apis::Core::Hashable
|
10675
|
+
|
10676
|
+
# Required. The length units. Acceptable values are: - "`in`" - "`cm`"
|
10677
|
+
# Corresponds to the JSON property `unit`
|
10678
|
+
# @return [String]
|
10679
|
+
attr_accessor :unit
|
10680
|
+
|
10681
|
+
# Required. The length value represented as a number. The value can have a
|
10682
|
+
# maximum precision of four decimal places.
|
10683
|
+
# Corresponds to the JSON property `value`
|
10684
|
+
# @return [Float]
|
10685
|
+
attr_accessor :value
|
10686
|
+
|
10687
|
+
def initialize(**args)
|
10688
|
+
update!(**args)
|
10689
|
+
end
|
10690
|
+
|
10691
|
+
# Update properties of this object
|
10692
|
+
def update!(**args)
|
10693
|
+
@unit = args[:unit] if args.key?(:unit)
|
10694
|
+
@value = args[:value] if args.key?(:value)
|
10695
|
+
end
|
10696
|
+
end
|
10697
|
+
|
10466
10698
|
#
|
10467
10699
|
class ProductProductDetail
|
10468
10700
|
include Google::Apis::Core::Hashable
|
@@ -10953,6 +11185,33 @@ module Google
|
|
10953
11185
|
end
|
10954
11186
|
end
|
10955
11187
|
|
11188
|
+
#
|
11189
|
+
class ProductWeight
|
11190
|
+
include Google::Apis::Core::Hashable
|
11191
|
+
|
11192
|
+
# Required. The weight unit. Acceptable values are: - "`g`" - "`kg`" - "`oz`" - "
|
11193
|
+
# `lb`"
|
11194
|
+
# Corresponds to the JSON property `unit`
|
11195
|
+
# @return [String]
|
11196
|
+
attr_accessor :unit
|
11197
|
+
|
11198
|
+
# Required. The weight represented as a number. The weight can have a maximum
|
11199
|
+
# precision of four decimal places.
|
11200
|
+
# Corresponds to the JSON property `value`
|
11201
|
+
# @return [Float]
|
11202
|
+
attr_accessor :value
|
11203
|
+
|
11204
|
+
def initialize(**args)
|
11205
|
+
update!(**args)
|
11206
|
+
end
|
11207
|
+
|
11208
|
+
# Update properties of this object
|
11209
|
+
def update!(**args)
|
11210
|
+
@unit = args[:unit] if args.key?(:unit)
|
11211
|
+
@value = args[:value] if args.key?(:value)
|
11212
|
+
end
|
11213
|
+
end
|
11214
|
+
|
10956
11215
|
#
|
10957
11216
|
class ProductsCustomBatchRequest
|
10958
11217
|
include Google::Apis::Core::Hashable
|
@@ -10981,7 +11240,8 @@ module Google
|
|
10981
11240
|
# @return [Fixnum]
|
10982
11241
|
attr_accessor :batch_id
|
10983
11242
|
|
10984
|
-
# The Content API
|
11243
|
+
# The Content API Supplemental Feed ID. If present then product insertion or
|
11244
|
+
# deletion applies to a supplemental feed instead of primary Content API feed.
|
10985
11245
|
# Corresponds to the JSON property `feedId`
|
10986
11246
|
# @return [Fixnum]
|
10987
11247
|
attr_accessor :feed_id
|
@@ -11005,8 +11265,8 @@ module Google
|
|
11005
11265
|
# @return [Google::Apis::ContentV2_1::Product]
|
11006
11266
|
attr_accessor :product
|
11007
11267
|
|
11008
|
-
# The ID of the product to get or
|
11009
|
-
# `
|
11268
|
+
# The ID of the product to get or mutate. Only defined if the method is `get`, `
|
11269
|
+
# delete`, or `update`.
|
11010
11270
|
# Corresponds to the JSON property `productId`
|
11011
11271
|
# @return [String]
|
11012
11272
|
attr_accessor :product_id
|
@@ -11046,8 +11306,8 @@ module Google
|
|
11046
11306
|
# @return [Array<Google::Apis::ContentV2_1::ProductsCustomBatchResponseEntry>]
|
11047
11307
|
attr_accessor :entries
|
11048
11308
|
|
11049
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11050
|
-
# productsCustomBatchResponse".
|
11309
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
11310
|
+
# productsCustomBatchResponse`".
|
11051
11311
|
# Corresponds to the JSON property `kind`
|
11052
11312
|
# @return [String]
|
11053
11313
|
attr_accessor :kind
|
@@ -11108,8 +11368,8 @@ module Google
|
|
11108
11368
|
class ProductsListResponse
|
11109
11369
|
include Google::Apis::Core::Hashable
|
11110
11370
|
|
11111
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11112
|
-
# productsListResponse".
|
11371
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
11372
|
+
# productsListResponse`".
|
11113
11373
|
# Corresponds to the JSON property `kind`
|
11114
11374
|
# @return [String]
|
11115
11375
|
attr_accessor :kind
|
@@ -11215,8 +11475,8 @@ module Google
|
|
11215
11475
|
# @return [Array<Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponseEntry>]
|
11216
11476
|
attr_accessor :entries
|
11217
11477
|
|
11218
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11219
|
-
# productstatusesCustomBatchResponse".
|
11478
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
11479
|
+
# productstatusesCustomBatchResponse`".
|
11220
11480
|
# Corresponds to the JSON property `kind`
|
11221
11481
|
# @return [String]
|
11222
11482
|
attr_accessor :kind
|
@@ -11275,8 +11535,8 @@ module Google
|
|
11275
11535
|
class ProductstatusesListResponse
|
11276
11536
|
include Google::Apis::Core::Hashable
|
11277
11537
|
|
11278
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11279
|
-
# productstatusesListResponse".
|
11538
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
11539
|
+
# productstatusesListResponse`".
|
11280
11540
|
# Corresponds to the JSON property `kind`
|
11281
11541
|
# @return [String]
|
11282
11542
|
attr_accessor :kind
|
@@ -11303,6 +11563,217 @@ module Google
|
|
11303
11563
|
end
|
11304
11564
|
end
|
11305
11565
|
|
11566
|
+
# Represents a promotion. (1) https://support.google.com/merchants/answer/
|
11567
|
+
# 2906014 (2) https://support.google.com/merchants/answer/10146130 (3) https://
|
11568
|
+
# support.google.com/merchants/answer/9173673
|
11569
|
+
class Promotion
|
11570
|
+
include Google::Apis::Core::Hashable
|
11571
|
+
|
11572
|
+
# Product filter by brand for the promotion.
|
11573
|
+
# Corresponds to the JSON property `brand`
|
11574
|
+
# @return [Array<String>]
|
11575
|
+
attr_accessor :brand
|
11576
|
+
|
11577
|
+
# Product filter by brand exclusion for the promotion.
|
11578
|
+
# Corresponds to the JSON property `brandExclusion`
|
11579
|
+
# @return [Array<String>]
|
11580
|
+
attr_accessor :brand_exclusion
|
11581
|
+
|
11582
|
+
# Required. The content language used as part of the unique identifier.
|
11583
|
+
# Corresponds to the JSON property `contentLanguage`
|
11584
|
+
# @return [String]
|
11585
|
+
attr_accessor :content_language
|
11586
|
+
|
11587
|
+
# Required. Coupon value type for the promotion.
|
11588
|
+
# Corresponds to the JSON property `couponValueType`
|
11589
|
+
# @return [String]
|
11590
|
+
attr_accessor :coupon_value_type
|
11591
|
+
|
11592
|
+
# Free gift description for the promotion.
|
11593
|
+
# Corresponds to the JSON property `freeGiftDescription`
|
11594
|
+
# @return [String]
|
11595
|
+
attr_accessor :free_gift_description
|
11596
|
+
|
11597
|
+
# Free gift item id for the promotion.
|
11598
|
+
# Corresponds to the JSON property `freeGiftItemId`
|
11599
|
+
# @return [String]
|
11600
|
+
attr_accessor :free_gift_item_id
|
11601
|
+
|
11602
|
+
# The price represented as a number and currency.
|
11603
|
+
# Corresponds to the JSON property `freeGiftValue`
|
11604
|
+
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
11605
|
+
attr_accessor :free_gift_value
|
11606
|
+
|
11607
|
+
# Generic redemption code for the promotion. To be used with the above field.
|
11608
|
+
# Corresponds to the JSON property `genericRedemptionCode`
|
11609
|
+
# @return [String]
|
11610
|
+
attr_accessor :generic_redemption_code
|
11611
|
+
|
11612
|
+
# The number of items discounted in the promotion.
|
11613
|
+
# Corresponds to the JSON property `getThisQuantityDiscounted`
|
11614
|
+
# @return [Fixnum]
|
11615
|
+
attr_accessor :get_this_quantity_discounted
|
11616
|
+
|
11617
|
+
# Required. Output only. The REST promotion id to uniquely identify the
|
11618
|
+
# promotion. Content API methods that operate on promotions take this as their
|
11619
|
+
# promotionId parameter.
|
11620
|
+
# Corresponds to the JSON property `id`
|
11621
|
+
# @return [String]
|
11622
|
+
attr_accessor :id
|
11623
|
+
|
11624
|
+
# Product filter by item group id for the promotion.
|
11625
|
+
# Corresponds to the JSON property `itemGroupId`
|
11626
|
+
# @return [Array<String>]
|
11627
|
+
attr_accessor :item_group_id
|
11628
|
+
|
11629
|
+
# Product filter by item group id exclusion for the promotion.
|
11630
|
+
# Corresponds to the JSON property `itemGroupIdExclusion`
|
11631
|
+
# @return [Array<String>]
|
11632
|
+
attr_accessor :item_group_id_exclusion
|
11633
|
+
|
11634
|
+
# Product filter by item id for the promotion.
|
11635
|
+
# Corresponds to the JSON property `itemId`
|
11636
|
+
# @return [Array<String>]
|
11637
|
+
attr_accessor :item_id
|
11638
|
+
|
11639
|
+
# Product filter by item id exclusion for the promotion.
|
11640
|
+
# Corresponds to the JSON property `itemIdExclusion`
|
11641
|
+
# @return [Array<String>]
|
11642
|
+
attr_accessor :item_id_exclusion
|
11643
|
+
|
11644
|
+
# Maximum purchase quantity for the promotion.
|
11645
|
+
# Corresponds to the JSON property `limitQuantity`
|
11646
|
+
# @return [Fixnum]
|
11647
|
+
attr_accessor :limit_quantity
|
11648
|
+
|
11649
|
+
# The price represented as a number and currency.
|
11650
|
+
# Corresponds to the JSON property `limitValue`
|
11651
|
+
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
11652
|
+
attr_accessor :limit_value
|
11653
|
+
|
11654
|
+
# Long title for the promotion.
|
11655
|
+
# Corresponds to the JSON property `longTitle`
|
11656
|
+
# @return [String]
|
11657
|
+
attr_accessor :long_title
|
11658
|
+
|
11659
|
+
# The price represented as a number and currency.
|
11660
|
+
# Corresponds to the JSON property `minimumPurchaseAmount`
|
11661
|
+
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
11662
|
+
attr_accessor :minimum_purchase_amount
|
11663
|
+
|
11664
|
+
# Minimum purchase quantity for the promotion.
|
11665
|
+
# Corresponds to the JSON property `minimumPurchaseQuantity`
|
11666
|
+
# @return [Fixnum]
|
11667
|
+
attr_accessor :minimum_purchase_quantity
|
11668
|
+
|
11669
|
+
# The price represented as a number and currency.
|
11670
|
+
# Corresponds to the JSON property `moneyBudget`
|
11671
|
+
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
11672
|
+
attr_accessor :money_budget
|
11673
|
+
|
11674
|
+
# The price represented as a number and currency.
|
11675
|
+
# Corresponds to the JSON property `moneyOffAmount`
|
11676
|
+
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
11677
|
+
attr_accessor :money_off_amount
|
11678
|
+
|
11679
|
+
# Required. Type of the promotion.
|
11680
|
+
# Corresponds to the JSON property `offerType`
|
11681
|
+
# @return [String]
|
11682
|
+
attr_accessor :offer_type
|
11683
|
+
|
11684
|
+
# Order limit for the promotion.
|
11685
|
+
# Corresponds to the JSON property `orderLimit`
|
11686
|
+
# @return [Fixnum]
|
11687
|
+
attr_accessor :order_limit
|
11688
|
+
|
11689
|
+
# The percentage discount offered in the promotion.
|
11690
|
+
# Corresponds to the JSON property `percentOff`
|
11691
|
+
# @return [Fixnum]
|
11692
|
+
attr_accessor :percent_off
|
11693
|
+
|
11694
|
+
# Required. Applicability of the promotion to either all products or only
|
11695
|
+
# specific products.
|
11696
|
+
# Corresponds to the JSON property `productApplicability`
|
11697
|
+
# @return [String]
|
11698
|
+
attr_accessor :product_applicability
|
11699
|
+
|
11700
|
+
# Destination ID for the promotion.
|
11701
|
+
# Corresponds to the JSON property `promotionDestinationIds`
|
11702
|
+
# @return [Array<String>]
|
11703
|
+
attr_accessor :promotion_destination_ids
|
11704
|
+
|
11705
|
+
# String representation of the promotion display dates.
|
11706
|
+
# Corresponds to the JSON property `promotionDisplayDates`
|
11707
|
+
# @return [String]
|
11708
|
+
attr_accessor :promotion_display_dates
|
11709
|
+
|
11710
|
+
# Required. String representation of the promotion effective dates.
|
11711
|
+
# Corresponds to the JSON property `promotionEffectiveDates`
|
11712
|
+
# @return [String]
|
11713
|
+
attr_accessor :promotion_effective_dates
|
11714
|
+
|
11715
|
+
# Required. The user provided promotion id to uniquely identify the promotion.
|
11716
|
+
# Corresponds to the JSON property `promotionId`
|
11717
|
+
# @return [String]
|
11718
|
+
attr_accessor :promotion_id
|
11719
|
+
|
11720
|
+
# Required. Redemption channel for the promotion. At least one channel is
|
11721
|
+
# required.
|
11722
|
+
# Corresponds to the JSON property `redemptionChannel`
|
11723
|
+
# @return [Array<String>]
|
11724
|
+
attr_accessor :redemption_channel
|
11725
|
+
|
11726
|
+
# Shipping service names for thse promotion.
|
11727
|
+
# Corresponds to the JSON property `shippingServiceNames`
|
11728
|
+
# @return [Array<String>]
|
11729
|
+
attr_accessor :shipping_service_names
|
11730
|
+
|
11731
|
+
# Required. The target country used as part of the unique identifier.
|
11732
|
+
# Corresponds to the JSON property `targetCountry`
|
11733
|
+
# @return [String]
|
11734
|
+
attr_accessor :target_country
|
11735
|
+
|
11736
|
+
def initialize(**args)
|
11737
|
+
update!(**args)
|
11738
|
+
end
|
11739
|
+
|
11740
|
+
# Update properties of this object
|
11741
|
+
def update!(**args)
|
11742
|
+
@brand = args[:brand] if args.key?(:brand)
|
11743
|
+
@brand_exclusion = args[:brand_exclusion] if args.key?(:brand_exclusion)
|
11744
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
11745
|
+
@coupon_value_type = args[:coupon_value_type] if args.key?(:coupon_value_type)
|
11746
|
+
@free_gift_description = args[:free_gift_description] if args.key?(:free_gift_description)
|
11747
|
+
@free_gift_item_id = args[:free_gift_item_id] if args.key?(:free_gift_item_id)
|
11748
|
+
@free_gift_value = args[:free_gift_value] if args.key?(:free_gift_value)
|
11749
|
+
@generic_redemption_code = args[:generic_redemption_code] if args.key?(:generic_redemption_code)
|
11750
|
+
@get_this_quantity_discounted = args[:get_this_quantity_discounted] if args.key?(:get_this_quantity_discounted)
|
11751
|
+
@id = args[:id] if args.key?(:id)
|
11752
|
+
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
11753
|
+
@item_group_id_exclusion = args[:item_group_id_exclusion] if args.key?(:item_group_id_exclusion)
|
11754
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
11755
|
+
@item_id_exclusion = args[:item_id_exclusion] if args.key?(:item_id_exclusion)
|
11756
|
+
@limit_quantity = args[:limit_quantity] if args.key?(:limit_quantity)
|
11757
|
+
@limit_value = args[:limit_value] if args.key?(:limit_value)
|
11758
|
+
@long_title = args[:long_title] if args.key?(:long_title)
|
11759
|
+
@minimum_purchase_amount = args[:minimum_purchase_amount] if args.key?(:minimum_purchase_amount)
|
11760
|
+
@minimum_purchase_quantity = args[:minimum_purchase_quantity] if args.key?(:minimum_purchase_quantity)
|
11761
|
+
@money_budget = args[:money_budget] if args.key?(:money_budget)
|
11762
|
+
@money_off_amount = args[:money_off_amount] if args.key?(:money_off_amount)
|
11763
|
+
@offer_type = args[:offer_type] if args.key?(:offer_type)
|
11764
|
+
@order_limit = args[:order_limit] if args.key?(:order_limit)
|
11765
|
+
@percent_off = args[:percent_off] if args.key?(:percent_off)
|
11766
|
+
@product_applicability = args[:product_applicability] if args.key?(:product_applicability)
|
11767
|
+
@promotion_destination_ids = args[:promotion_destination_ids] if args.key?(:promotion_destination_ids)
|
11768
|
+
@promotion_display_dates = args[:promotion_display_dates] if args.key?(:promotion_display_dates)
|
11769
|
+
@promotion_effective_dates = args[:promotion_effective_dates] if args.key?(:promotion_effective_dates)
|
11770
|
+
@promotion_id = args[:promotion_id] if args.key?(:promotion_id)
|
11771
|
+
@redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
|
11772
|
+
@shipping_service_names = args[:shipping_service_names] if args.key?(:shipping_service_names)
|
11773
|
+
@target_country = args[:target_country] if args.key?(:target_country)
|
11774
|
+
end
|
11775
|
+
end
|
11776
|
+
|
11306
11777
|
# Settings for Pub/Sub notifications, all methods require that the caller is a
|
11307
11778
|
# direct user of the merchant center account.
|
11308
11779
|
class PubsubNotificationSettings
|
@@ -11596,8 +12067,8 @@ module Google
|
|
11596
12067
|
# @return [Array<Google::Apis::ContentV2_1::CustomAttribute>]
|
11597
12068
|
attr_accessor :custom_attributes
|
11598
12069
|
|
11599
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11600
|
-
# regionalInventory".
|
12070
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
12071
|
+
# regionalInventory`".
|
11601
12072
|
# Corresponds to the JSON property `kind`
|
11602
12073
|
# @return [String]
|
11603
12074
|
attr_accessor :kind
|
@@ -11712,8 +12183,8 @@ module Google
|
|
11712
12183
|
# @return [Array<Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponseEntry>]
|
11713
12184
|
attr_accessor :entries
|
11714
12185
|
|
11715
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11716
|
-
# regionalinventoryCustomBatchResponse".
|
12186
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
12187
|
+
# regionalinventoryCustomBatchResponse`".
|
11717
12188
|
# Corresponds to the JSON property `kind`
|
11718
12189
|
# @return [String]
|
11719
12190
|
attr_accessor :kind
|
@@ -11743,8 +12214,8 @@ module Google
|
|
11743
12214
|
# @return [Google::Apis::ContentV2_1::Errors]
|
11744
12215
|
attr_accessor :errors
|
11745
12216
|
|
11746
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
11747
|
-
# regionalinventoryCustomBatchResponseEntry".
|
12217
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
12218
|
+
# regionalinventoryCustomBatchResponseEntry`".
|
11748
12219
|
# Corresponds to the JSON property `kind`
|
11749
12220
|
# @return [String]
|
11750
12221
|
attr_accessor :kind
|
@@ -12354,6 +12825,67 @@ module Google
|
|
12354
12825
|
end
|
12355
12826
|
end
|
12356
12827
|
|
12828
|
+
# Request message for the RequestPhoneVerification method.
|
12829
|
+
class RequestPhoneVerificationRequest
|
12830
|
+
include Google::Apis::Core::Hashable
|
12831
|
+
|
12832
|
+
# Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for
|
12833
|
+
# example, en-US). Language code is used to provide localized `SMS` and `
|
12834
|
+
# PHONE_CALL`. Default language used is en-US if not provided.
|
12835
|
+
# Corresponds to the JSON property `languageCode`
|
12836
|
+
# @return [String]
|
12837
|
+
attr_accessor :language_code
|
12838
|
+
|
12839
|
+
# Phone number to be verified.
|
12840
|
+
# Corresponds to the JSON property `phoneNumber`
|
12841
|
+
# @return [String]
|
12842
|
+
attr_accessor :phone_number
|
12843
|
+
|
12844
|
+
# Required. Two letter country code for the phone number, for example `CA` for
|
12845
|
+
# Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/
|
12846
|
+
# ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned
|
12847
|
+
# codes.
|
12848
|
+
# Corresponds to the JSON property `phoneRegionCode`
|
12849
|
+
# @return [String]
|
12850
|
+
attr_accessor :phone_region_code
|
12851
|
+
|
12852
|
+
# Verification method to receive verification code.
|
12853
|
+
# Corresponds to the JSON property `phoneVerificationMethod`
|
12854
|
+
# @return [String]
|
12855
|
+
attr_accessor :phone_verification_method
|
12856
|
+
|
12857
|
+
def initialize(**args)
|
12858
|
+
update!(**args)
|
12859
|
+
end
|
12860
|
+
|
12861
|
+
# Update properties of this object
|
12862
|
+
def update!(**args)
|
12863
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
12864
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
12865
|
+
@phone_region_code = args[:phone_region_code] if args.key?(:phone_region_code)
|
12866
|
+
@phone_verification_method = args[:phone_verification_method] if args.key?(:phone_verification_method)
|
12867
|
+
end
|
12868
|
+
end
|
12869
|
+
|
12870
|
+
# Response message for the RequestPhoneVerification method.
|
12871
|
+
class RequestPhoneVerificationResponse
|
12872
|
+
include Google::Apis::Core::Hashable
|
12873
|
+
|
12874
|
+
# The verification ID to use in subsequent calls to `verifyphonenumber`.
|
12875
|
+
# Corresponds to the JSON property `verificationId`
|
12876
|
+
# @return [String]
|
12877
|
+
attr_accessor :verification_id
|
12878
|
+
|
12879
|
+
def initialize(**args)
|
12880
|
+
update!(**args)
|
12881
|
+
end
|
12882
|
+
|
12883
|
+
# Update properties of this object
|
12884
|
+
def update!(**args)
|
12885
|
+
@verification_id = args[:verification_id] if args.key?(:verification_id)
|
12886
|
+
end
|
12887
|
+
end
|
12888
|
+
|
12357
12889
|
# Request message for the RequestReviewProgram method.
|
12358
12890
|
class RequestReviewBuyOnGoogleProgramRequest
|
12359
12891
|
include Google::Apis::Core::Hashable
|
@@ -12367,6 +12899,46 @@ module Google
|
|
12367
12899
|
end
|
12368
12900
|
end
|
12369
12901
|
|
12902
|
+
# Request message for the RequestReviewFreeListings Program method.
|
12903
|
+
class RequestReviewFreeListingsRequest
|
12904
|
+
include Google::Apis::Core::Hashable
|
12905
|
+
|
12906
|
+
# The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
12907
|
+
# of the country for which review is to be requested.
|
12908
|
+
# Corresponds to the JSON property `regionCode`
|
12909
|
+
# @return [String]
|
12910
|
+
attr_accessor :region_code
|
12911
|
+
|
12912
|
+
def initialize(**args)
|
12913
|
+
update!(**args)
|
12914
|
+
end
|
12915
|
+
|
12916
|
+
# Update properties of this object
|
12917
|
+
def update!(**args)
|
12918
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
12919
|
+
end
|
12920
|
+
end
|
12921
|
+
|
12922
|
+
# Request message for the RequestReviewShoppingAds program method.
|
12923
|
+
class RequestReviewShoppingAdsRequest
|
12924
|
+
include Google::Apis::Core::Hashable
|
12925
|
+
|
12926
|
+
# The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
12927
|
+
# of the country for which review is to be requested.
|
12928
|
+
# Corresponds to the JSON property `regionCode`
|
12929
|
+
# @return [String]
|
12930
|
+
attr_accessor :region_code
|
12931
|
+
|
12932
|
+
def initialize(**args)
|
12933
|
+
update!(**args)
|
12934
|
+
end
|
12935
|
+
|
12936
|
+
# Update properties of this object
|
12937
|
+
def update!(**args)
|
12938
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
12939
|
+
end
|
12940
|
+
end
|
12941
|
+
|
12370
12942
|
# Return address resource.
|
12371
12943
|
class ReturnAddress
|
12372
12944
|
include Google::Apis::Core::Hashable
|
@@ -13027,8 +13599,8 @@ module Google
|
|
13027
13599
|
# @return [Array<Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry>]
|
13028
13600
|
attr_accessor :entries
|
13029
13601
|
|
13030
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
13031
|
-
# returnaddressCustomBatchResponse".
|
13602
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
13603
|
+
# returnaddressCustomBatchResponse`".
|
13032
13604
|
# Corresponds to the JSON property `kind`
|
13033
13605
|
# @return [String]
|
13034
13606
|
attr_accessor :kind
|
@@ -13086,8 +13658,8 @@ module Google
|
|
13086
13658
|
class ReturnaddressListResponse
|
13087
13659
|
include Google::Apis::Core::Hashable
|
13088
13660
|
|
13089
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
13090
|
-
# returnaddressListResponse".
|
13661
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
13662
|
+
# returnaddressListResponse`".
|
13091
13663
|
# Corresponds to the JSON property `kind`
|
13092
13664
|
# @return [String]
|
13093
13665
|
attr_accessor :kind
|
@@ -13187,8 +13759,8 @@ module Google
|
|
13187
13759
|
# @return [Array<Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry>]
|
13188
13760
|
attr_accessor :entries
|
13189
13761
|
|
13190
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
13191
|
-
# returnpolicyCustomBatchResponse".
|
13762
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
13763
|
+
# returnpolicyCustomBatchResponse`".
|
13192
13764
|
# Corresponds to the JSON property `kind`
|
13193
13765
|
# @return [String]
|
13194
13766
|
attr_accessor :kind
|
@@ -13246,8 +13818,8 @@ module Google
|
|
13246
13818
|
class ReturnpolicyListResponse
|
13247
13819
|
include Google::Apis::Core::Hashable
|
13248
13820
|
|
13249
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
13250
|
-
# returnpolicyListResponse".
|
13821
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
13822
|
+
# returnpolicyListResponse`".
|
13251
13823
|
# Corresponds to the JSON property `kind`
|
13252
13824
|
# @return [String]
|
13253
13825
|
attr_accessor :kind
|
@@ -13307,7 +13879,9 @@ module Google
|
|
13307
13879
|
attr_accessor :page_token
|
13308
13880
|
|
13309
13881
|
# Required. Query that defines performance metrics to retrieve and dimensions
|
13310
|
-
# according to which the metrics are to be segmented.
|
13882
|
+
# according to which the metrics are to be segmented. For details on how to
|
13883
|
+
# construct your query, see the [Query Language guide](https://developers.google.
|
13884
|
+
# com/shopping-content/guides/reports/query-language/overview).
|
13311
13885
|
# Corresponds to the JSON property `query`
|
13312
13886
|
# @return [String]
|
13313
13887
|
attr_accessor :query
|
@@ -13364,27 +13938,37 @@ module Google
|
|
13364
13938
|
# @return [String]
|
13365
13939
|
attr_accessor :brand
|
13366
13940
|
|
13367
|
-
# Product category (1st level)
|
13941
|
+
# [Product category (1st level)](https://developers.google.com/shopping-content/
|
13942
|
+
# guides/reports/segmentation#category_and_product_type) in Google's product
|
13943
|
+
# taxonomy.
|
13368
13944
|
# Corresponds to the JSON property `categoryL1`
|
13369
13945
|
# @return [String]
|
13370
13946
|
attr_accessor :category_l1
|
13371
13947
|
|
13372
|
-
# Product category (2nd level)
|
13948
|
+
# [Product category (2nd level)](https://developers.google.com/shopping-content/
|
13949
|
+
# guides/reports/segmentation#category_and_product_type) in Google's product
|
13950
|
+
# taxonomy.
|
13373
13951
|
# Corresponds to the JSON property `categoryL2`
|
13374
13952
|
# @return [String]
|
13375
13953
|
attr_accessor :category_l2
|
13376
13954
|
|
13377
|
-
# Product category (3rd level)
|
13955
|
+
# [Product category (3rd level)](https://developers.google.com/shopping-content/
|
13956
|
+
# guides/reports/segmentation#category_and_product_type) in Google's product
|
13957
|
+
# taxonomy.
|
13378
13958
|
# Corresponds to the JSON property `categoryL3`
|
13379
13959
|
# @return [String]
|
13380
13960
|
attr_accessor :category_l3
|
13381
13961
|
|
13382
|
-
# Product category (4th level)
|
13962
|
+
# [Product category (4th level)](https://developers.google.com/shopping-content/
|
13963
|
+
# guides/reports/segmentation#category_and_product_type) in Google's product
|
13964
|
+
# taxonomy.
|
13383
13965
|
# Corresponds to the JSON property `categoryL4`
|
13384
13966
|
# @return [String]
|
13385
13967
|
attr_accessor :category_l4
|
13386
13968
|
|
13387
|
-
# Product category (5th level)
|
13969
|
+
# [Product category (5th level)](https://developers.google.com/shopping-content/
|
13970
|
+
# guides/reports/segmentation#category_and_product_type) in Google's product
|
13971
|
+
# taxonomy.
|
13388
13972
|
# Corresponds to the JSON property `categoryL5`
|
13389
13973
|
# @return [String]
|
13390
13974
|
attr_accessor :category_l5
|
@@ -13438,27 +14022,37 @@ module Google
|
|
13438
14022
|
# @return [String]
|
13439
14023
|
attr_accessor :offer_id
|
13440
14024
|
|
13441
|
-
# Product
|
14025
|
+
# [Product type (1st level)](https://developers.google.com/shopping-content/
|
14026
|
+
# guides/reports/segmentation#category_and_product_type) in merchant's own
|
14027
|
+
# product taxonomy.
|
13442
14028
|
# Corresponds to the JSON property `productTypeL1`
|
13443
14029
|
# @return [String]
|
13444
14030
|
attr_accessor :product_type_l1
|
13445
14031
|
|
13446
|
-
# Product
|
14032
|
+
# [Product type (2nd level)](https://developers.google.com/shopping-content/
|
14033
|
+
# guides/reports/segmentation#category_and_product_type) in merchant's own
|
14034
|
+
# product taxonomy.
|
13447
14035
|
# Corresponds to the JSON property `productTypeL2`
|
13448
14036
|
# @return [String]
|
13449
14037
|
attr_accessor :product_type_l2
|
13450
14038
|
|
13451
|
-
# Product
|
14039
|
+
# [Product type (3rd level)](https://developers.google.com/shopping-content/
|
14040
|
+
# guides/reports/segmentation#category_and_product_type) in merchant's own
|
14041
|
+
# product taxonomy.
|
13452
14042
|
# Corresponds to the JSON property `productTypeL3`
|
13453
14043
|
# @return [String]
|
13454
14044
|
attr_accessor :product_type_l3
|
13455
14045
|
|
13456
|
-
# Product
|
14046
|
+
# [Product type (4th level)](https://developers.google.com/shopping-content/
|
14047
|
+
# guides/reports/segmentation#category_and_product_type) in merchant's own
|
14048
|
+
# product taxonomy.
|
13457
14049
|
# Corresponds to the JSON property `productTypeL4`
|
13458
14050
|
# @return [String]
|
13459
14051
|
attr_accessor :product_type_l4
|
13460
14052
|
|
13461
|
-
# Product
|
14053
|
+
# [Product type (5th level)](https://developers.google.com/shopping-content/
|
14054
|
+
# guides/reports/segmentation#category_and_product_type) in merchant's own
|
14055
|
+
# product taxonomy.
|
13462
14056
|
# Corresponds to the JSON property `productTypeL5`
|
13463
14057
|
# @return [String]
|
13464
14058
|
attr_accessor :product_type_l5
|
@@ -13894,8 +14488,8 @@ module Google
|
|
13894
14488
|
class SettlementreportsListResponse
|
13895
14489
|
include Google::Apis::Core::Hashable
|
13896
14490
|
|
13897
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
13898
|
-
# settlementreportsListResponse".
|
14491
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
14492
|
+
# settlementreportsListResponse`".
|
13899
14493
|
# Corresponds to the JSON property `kind`
|
13900
14494
|
# @return [String]
|
13901
14495
|
attr_accessor :kind
|
@@ -13926,8 +14520,8 @@ module Google
|
|
13926
14520
|
class SettlementtransactionsListResponse
|
13927
14521
|
include Google::Apis::Core::Hashable
|
13928
14522
|
|
13929
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
13930
|
-
# settlementtransactionsListResponse".
|
14523
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
14524
|
+
# settlementtransactionsListResponse`".
|
13931
14525
|
# Corresponds to the JSON property `kind`
|
13932
14526
|
# @return [String]
|
13933
14527
|
attr_accessor :kind
|
@@ -14164,8 +14758,8 @@ module Google
|
|
14164
14758
|
# @return [Array<Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponseEntry>]
|
14165
14759
|
attr_accessor :entries
|
14166
14760
|
|
14167
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
14168
|
-
# shippingsettingsCustomBatchResponse".
|
14761
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
14762
|
+
# shippingsettingsCustomBatchResponse`".
|
14169
14763
|
# Corresponds to the JSON property `kind`
|
14170
14764
|
# @return [String]
|
14171
14765
|
attr_accessor :kind
|
@@ -14229,8 +14823,8 @@ module Google
|
|
14229
14823
|
# @return [Array<Google::Apis::ContentV2_1::CarriersCarrier>]
|
14230
14824
|
attr_accessor :carriers
|
14231
14825
|
|
14232
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
14233
|
-
# shippingsettingsGetSupportedCarriersResponse".
|
14826
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
14827
|
+
# shippingsettingsGetSupportedCarriersResponse`".
|
14234
14828
|
# Corresponds to the JSON property `kind`
|
14235
14829
|
# @return [String]
|
14236
14830
|
attr_accessor :kind
|
@@ -14255,8 +14849,8 @@ module Google
|
|
14255
14849
|
# @return [Array<Google::Apis::ContentV2_1::HolidaysHoliday>]
|
14256
14850
|
attr_accessor :holidays
|
14257
14851
|
|
14258
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
14259
|
-
# shippingsettingsGetSupportedHolidaysResponse".
|
14852
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
14853
|
+
# shippingsettingsGetSupportedHolidaysResponse`".
|
14260
14854
|
# Corresponds to the JSON property `kind`
|
14261
14855
|
# @return [String]
|
14262
14856
|
attr_accessor :kind
|
@@ -14276,8 +14870,8 @@ module Google
|
|
14276
14870
|
class ShippingsettingsGetSupportedPickupServicesResponse
|
14277
14871
|
include Google::Apis::Core::Hashable
|
14278
14872
|
|
14279
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
14280
|
-
# shippingsettingsGetSupportedPickupServicesResponse".
|
14873
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
14874
|
+
# shippingsettingsGetSupportedPickupServicesResponse`".
|
14281
14875
|
# Corresponds to the JSON property `kind`
|
14282
14876
|
# @return [String]
|
14283
14877
|
attr_accessor :kind
|
@@ -14302,8 +14896,8 @@ module Google
|
|
14302
14896
|
class ShippingsettingsListResponse
|
14303
14897
|
include Google::Apis::Core::Hashable
|
14304
14898
|
|
14305
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
14306
|
-
# shippingsettingsListResponse".
|
14899
|
+
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
14900
|
+
# shippingsettingsListResponse`".
|
14307
14901
|
# Corresponds to the JSON property `kind`
|
14308
14902
|
# @return [String]
|
14309
14903
|
attr_accessor :kind
|
@@ -14330,6 +14924,88 @@ module Google
|
|
14330
14924
|
end
|
14331
14925
|
end
|
14332
14926
|
|
14927
|
+
# Response message for GetShoppingAdsProgramStatus.
|
14928
|
+
class ShoppingAdsProgramStatus
|
14929
|
+
include Google::Apis::Core::Hashable
|
14930
|
+
|
14931
|
+
# Status of the program in each region. Regions with the same status and review
|
14932
|
+
# eligibility are grouped together in `regionCodes`.
|
14933
|
+
# Corresponds to the JSON property `regionStatuses`
|
14934
|
+
# @return [Array<Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus>]
|
14935
|
+
attr_accessor :region_statuses
|
14936
|
+
|
14937
|
+
# If program is successfully onboarded for at least one region.
|
14938
|
+
# Corresponds to the JSON property `state`
|
14939
|
+
# @return [String]
|
14940
|
+
attr_accessor :state
|
14941
|
+
|
14942
|
+
def initialize(**args)
|
14943
|
+
update!(**args)
|
14944
|
+
end
|
14945
|
+
|
14946
|
+
# Update properties of this object
|
14947
|
+
def update!(**args)
|
14948
|
+
@region_statuses = args[:region_statuses] if args.key?(:region_statuses)
|
14949
|
+
@state = args[:state] if args.key?(:state)
|
14950
|
+
end
|
14951
|
+
end
|
14952
|
+
|
14953
|
+
# Status of program and region.
|
14954
|
+
class ShoppingAdsProgramStatusRegionStatus
|
14955
|
+
include Google::Apis::Core::Hashable
|
14956
|
+
|
14957
|
+
# Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It
|
14958
|
+
# will be present when `eligibility_status` is `WARNING`. Date will be provided
|
14959
|
+
# in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format i.e. YYYY-MM-DD
|
14960
|
+
# Corresponds to the JSON property `disapprovalDate`
|
14961
|
+
# @return [String]
|
14962
|
+
attr_accessor :disapproval_date
|
14963
|
+
|
14964
|
+
# Eligibility status of the Shopping Ads program.
|
14965
|
+
# Corresponds to the JSON property `eligibilityStatus`
|
14966
|
+
# @return [String]
|
14967
|
+
attr_accessor :eligibility_status
|
14968
|
+
|
14969
|
+
# Reason if a program in a given country is not eligible for review. Populated
|
14970
|
+
# only if `review_eligibility_status` is `INELIGIBLE`.
|
14971
|
+
# Corresponds to the JSON property `ineligibilityReason`
|
14972
|
+
# @return [String]
|
14973
|
+
attr_accessor :ineligibility_reason
|
14974
|
+
|
14975
|
+
# The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-
|
14976
|
+
# 1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `
|
14977
|
+
# reviewEligibility`.
|
14978
|
+
# Corresponds to the JSON property `regionCodes`
|
14979
|
+
# @return [Array<String>]
|
14980
|
+
attr_accessor :region_codes
|
14981
|
+
|
14982
|
+
# If a program in a given country is eligible for review. It will be present
|
14983
|
+
# only if eligibility status is `DISAPPROVED`.
|
14984
|
+
# Corresponds to the JSON property `reviewEligibilityStatus`
|
14985
|
+
# @return [String]
|
14986
|
+
attr_accessor :review_eligibility_status
|
14987
|
+
|
14988
|
+
# These issues will be evaluated in review process. Fix all the issues before
|
14989
|
+
# requesting the review.
|
14990
|
+
# Corresponds to the JSON property `reviewIssues`
|
14991
|
+
# @return [Array<String>]
|
14992
|
+
attr_accessor :review_issues
|
14993
|
+
|
14994
|
+
def initialize(**args)
|
14995
|
+
update!(**args)
|
14996
|
+
end
|
14997
|
+
|
14998
|
+
# Update properties of this object
|
14999
|
+
def update!(**args)
|
15000
|
+
@disapproval_date = args[:disapproval_date] if args.key?(:disapproval_date)
|
15001
|
+
@eligibility_status = args[:eligibility_status] if args.key?(:eligibility_status)
|
15002
|
+
@ineligibility_reason = args[:ineligibility_reason] if args.key?(:ineligibility_reason)
|
15003
|
+
@region_codes = args[:region_codes] if args.key?(:region_codes)
|
15004
|
+
@review_eligibility_status = args[:review_eligibility_status] if args.key?(:review_eligibility_status)
|
15005
|
+
@review_issues = args[:review_issues] if args.key?(:review_issues)
|
15006
|
+
end
|
15007
|
+
end
|
15008
|
+
|
14333
15009
|
#
|
14334
15010
|
class Table
|
14335
15011
|
include Google::Apis::Core::Hashable
|
@@ -15015,6 +15691,57 @@ module Google
|
|
15015
15691
|
end
|
15016
15692
|
end
|
15017
15693
|
|
15694
|
+
# Request message for the VerifyPhoneNumber method.
|
15695
|
+
class VerifyPhoneNumberRequest
|
15696
|
+
include Google::Apis::Core::Hashable
|
15697
|
+
|
15698
|
+
# Verification method used to receive verification code.
|
15699
|
+
# Corresponds to the JSON property `phoneVerificationMethod`
|
15700
|
+
# @return [String]
|
15701
|
+
attr_accessor :phone_verification_method
|
15702
|
+
|
15703
|
+
# The verification code that was sent to the phone number for validation.
|
15704
|
+
# Corresponds to the JSON property `verificationCode`
|
15705
|
+
# @return [String]
|
15706
|
+
attr_accessor :verification_code
|
15707
|
+
|
15708
|
+
# The verification ID returned by `requestphoneverification`.
|
15709
|
+
# Corresponds to the JSON property `verificationId`
|
15710
|
+
# @return [String]
|
15711
|
+
attr_accessor :verification_id
|
15712
|
+
|
15713
|
+
def initialize(**args)
|
15714
|
+
update!(**args)
|
15715
|
+
end
|
15716
|
+
|
15717
|
+
# Update properties of this object
|
15718
|
+
def update!(**args)
|
15719
|
+
@phone_verification_method = args[:phone_verification_method] if args.key?(:phone_verification_method)
|
15720
|
+
@verification_code = args[:verification_code] if args.key?(:verification_code)
|
15721
|
+
@verification_id = args[:verification_id] if args.key?(:verification_id)
|
15722
|
+
end
|
15723
|
+
end
|
15724
|
+
|
15725
|
+
# Response message for the VerifyPhoneNumber method.
|
15726
|
+
class VerifyPhoneNumberResponse
|
15727
|
+
include Google::Apis::Core::Hashable
|
15728
|
+
|
15729
|
+
# Verified phone number if verification is successful. This phone number can
|
15730
|
+
# only be replaced by another verified phone number.
|
15731
|
+
# Corresponds to the JSON property `verifiedPhoneNumber`
|
15732
|
+
# @return [String]
|
15733
|
+
attr_accessor :verified_phone_number
|
15734
|
+
|
15735
|
+
def initialize(**args)
|
15736
|
+
update!(**args)
|
15737
|
+
end
|
15738
|
+
|
15739
|
+
# Update properties of this object
|
15740
|
+
def update!(**args)
|
15741
|
+
@verified_phone_number = args[:verified_phone_number] if args.key?(:verified_phone_number)
|
15742
|
+
end
|
15743
|
+
end
|
15744
|
+
|
15018
15745
|
#
|
15019
15746
|
class WarehouseBasedDeliveryTime
|
15020
15747
|
include Google::Apis::Core::Hashable
|