google-apis-content_v2_1 0.16.0 → 0.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2ca6532dfbb64f7325468003a7fae358adcb53d915d1f0a3fded978d0ecac41
4
- data.tar.gz: 99b1184ff7c477493c36f3a27de775f956b6e01d47fe0ed964b844583e359418
3
+ metadata.gz: 19484cee813b1205651ac86690176d4aa51ad77808047b41827bb4b522e93973
4
+ data.tar.gz: bc28c660a782b1b67b91bdf8ffb6c02a5639e3b9b9146c47bdef48c79fc5c030
5
5
  SHA512:
6
- metadata.gz: c1fb75b037ae22d7f8c8236a26488169401186a8709710c23fb963a03154ebc3f620091788d2879d4ebab5093d3096663175a96d0d7f2297305b1ae8d07811d3
7
- data.tar.gz: 34c4e94397643c4c33ad770949a909835728f8d5c3238b8cb546f5c26c353b16f240d3eba5bb1cc9d9f4b394679a8279808636103ef5068b12f44404be186f18
6
+ metadata.gz: ad6f5b49b2ec68a3fb46dff853fa8ae1a3d545309e996f03749841bde342af2e1e2d75025d09eca9528784e7b83605b1dc528cce564f7342bc76607da72f6d9c
7
+ data.tar.gz: 8c508016219ba11611cac5704c4cd46c5084205fc27c193e5b224534d08507ccc33577c384d0ccf721c03a3bb09e6ae7019e867029fb1207f4ecf1d18c02c29d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.20.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210827
6
+
7
+ ### v0.19.0 (2021-07-27)
8
+
9
+ * Regenerated from discovery document revision 20210722
10
+
11
+ ### v0.18.0 (2021-07-20)
12
+
13
+ * Regenerated from discovery document revision 20210715
14
+
15
+ ### v0.17.0 (2021-07-13)
16
+
17
+ * Regenerated from discovery document revision 20210707
18
+
3
19
  ### v0.16.0 (2021-06-29)
4
20
 
5
21
  * Regenerated from discovery document revision 20210624
@@ -28,6 +28,12 @@ module Google
28
28
  class Account
29
29
  include Google::Apis::Core::Hashable
30
30
 
31
+ # Output only. How the account is managed. Acceptable values are: - "`manual`" -
32
+ # "`automatic`"
33
+ # Corresponds to the JSON property `accountManagement`
34
+ # @return [String]
35
+ attr_accessor :account_management
36
+
31
37
  # Linked Ads accounts that are active or pending approval. To create a new link
32
38
  # request, add a new link with status `active` to the list. It will remain in a `
33
39
  # pending` state until approved or rejected either in the Ads interface or
@@ -70,7 +76,7 @@ module Google
70
76
  attr_accessor :id
71
77
 
72
78
  # Identifies what kind of resource this is. Value: the fixed string "`content#
73
- # account`"
79
+ # account`".
74
80
  # Corresponds to the JSON property `kind`
75
81
  # @return [String]
76
82
  attr_accessor :kind
@@ -116,6 +122,7 @@ module Google
116
122
 
117
123
  # Update properties of this object
118
124
  def update!(**args)
125
+ @account_management = args[:account_management] if args.key?(:account_management)
119
126
  @ads_links = args[:ads_links] if args.key?(:ads_links)
120
127
  @adult_content = args[:adult_content] if args.key?(:adult_content)
121
128
  @automatic_label_ids = args[:automatic_label_ids] if args.key?(:automatic_label_ids)
@@ -137,8 +144,9 @@ module Google
137
144
  class AccountAddress
138
145
  include Google::Apis::Core::Hashable
139
146
 
140
- # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of
141
- # an MCA. All MCA sub-accounts inherit the country of their parent MCA.
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.
142
150
  # Corresponds to the JSON property `country`
143
151
  # @return [String]
144
152
  attr_accessor :country
@@ -465,6 +473,12 @@ module Google
465
473
  # @return [Array<Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue>]
466
474
  attr_accessor :account_level_issues
467
475
 
476
+ # How the account is managed. Acceptable values are: - "`manual`" - "`automatic`"
477
+ #
478
+ # Corresponds to the JSON property `accountManagement`
479
+ # @return [String]
480
+ attr_accessor :account_management
481
+
468
482
  # Identifies what kind of resource this is. Value: the fixed string "`content#
469
483
  # accountStatus`"
470
484
  # Corresponds to the JSON property `kind`
@@ -491,6 +505,7 @@ module Google
491
505
  def update!(**args)
492
506
  @account_id = args[:account_id] if args.key?(:account_id)
493
507
  @account_level_issues = args[:account_level_issues] if args.key?(:account_level_issues)
508
+ @account_management = args[:account_management] if args.key?(:account_management)
494
509
  @kind = args[:kind] if args.key?(:kind)
495
510
  @products = args[:products] if args.key?(:products)
496
511
  @website_claimed = args[:website_claimed] if args.key?(:website_claimed)
@@ -705,8 +720,8 @@ module Google
705
720
  # @return [Fixnum]
706
721
  attr_accessor :account_id
707
722
 
708
- # Identifies what kind of resource this is. Value: the fixed string "content#
709
- # accountTax".
723
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
724
+ # accountTax`".
710
725
  # Corresponds to the JSON property `kind`
711
726
  # @return [String]
712
727
  attr_accessor :kind
@@ -868,8 +883,8 @@ module Google
868
883
  # @return [Array<Google::Apis::ContentV2_1::AccountIdentifier>]
869
884
  attr_accessor :account_identifiers
870
885
 
871
- # Identifies what kind of resource this is. Value: the fixed string "content#
872
- # accountsAuthInfoResponse".
886
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
887
+ # accountsAuthInfoResponse`".
873
888
  # Corresponds to the JSON property `kind`
874
889
  # @return [String]
875
890
  attr_accessor :kind
@@ -889,8 +904,8 @@ module Google
889
904
  class AccountsClaimWebsiteResponse
890
905
  include Google::Apis::Core::Hashable
891
906
 
892
- # Identifies what kind of resource this is. Value: the fixed string "content#
893
- # accountsClaimWebsiteResponse".
907
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
908
+ # accountsClaimWebsiteResponse`".
894
909
  # Corresponds to the JSON property `kind`
895
910
  # @return [String]
896
911
  attr_accessor :kind
@@ -1055,8 +1070,8 @@ module Google
1055
1070
  # @return [Array<Google::Apis::ContentV2_1::AccountsCustomBatchResponseEntry>]
1056
1071
  attr_accessor :entries
1057
1072
 
1058
- # Identifies what kind of resource this is. Value: the fixed string "content#
1059
- # accountsCustomBatchResponse".
1073
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1074
+ # accountsCustomBatchResponse`".
1060
1075
  # Corresponds to the JSON property `kind`
1061
1076
  # @return [String]
1062
1077
  attr_accessor :kind
@@ -1164,8 +1179,8 @@ module Google
1164
1179
  class AccountsLinkResponse
1165
1180
  include Google::Apis::Core::Hashable
1166
1181
 
1167
- # Identifies what kind of resource this is. Value: the fixed string "content#
1168
- # accountsLinkResponse".
1182
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1183
+ # accountsLinkResponse`".
1169
1184
  # Corresponds to the JSON property `kind`
1170
1185
  # @return [String]
1171
1186
  attr_accessor :kind
@@ -1184,8 +1199,8 @@ module Google
1184
1199
  class AccountsListLinksResponse
1185
1200
  include Google::Apis::Core::Hashable
1186
1201
 
1187
- # Identifies what kind of resource this is. Value: the fixed string "content#
1188
- # accountsListLinksResponse".
1202
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1203
+ # accountsListLinksResponse`".
1189
1204
  # Corresponds to the JSON property `kind`
1190
1205
  # @return [String]
1191
1206
  attr_accessor :kind
@@ -1216,8 +1231,8 @@ module Google
1216
1231
  class AccountsListResponse
1217
1232
  include Google::Apis::Core::Hashable
1218
1233
 
1219
- # Identifies what kind of resource this is. Value: the fixed string "content#
1220
- # accountsListResponse".
1234
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1235
+ # accountsListResponse`".
1221
1236
  # Corresponds to the JSON property `kind`
1222
1237
  # @return [String]
1223
1238
  attr_accessor :kind
@@ -1267,8 +1282,8 @@ module Google
1267
1282
  class AccountsUpdateLabelsResponse
1268
1283
  include Google::Apis::Core::Hashable
1269
1284
 
1270
- # Identifies what kind of resource this is. Value: the fixed string "content#
1271
- # accountsUpdateLabelsResponse".
1285
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1286
+ # accountsUpdateLabelsResponse`".
1272
1287
  # Corresponds to the JSON property `kind`
1273
1288
  # @return [String]
1274
1289
  attr_accessor :kind
@@ -1355,8 +1370,8 @@ module Google
1355
1370
  # @return [Array<Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponseEntry>]
1356
1371
  attr_accessor :entries
1357
1372
 
1358
- # Identifies what kind of resource this is. Value: the fixed string "content#
1359
- # accountstatusesCustomBatchResponse".
1373
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1374
+ # accountstatusesCustomBatchResponse`".
1360
1375
  # Corresponds to the JSON property `kind`
1361
1376
  # @return [String]
1362
1377
  attr_accessor :kind
@@ -1408,8 +1423,8 @@ module Google
1408
1423
  class AccountstatusesListResponse
1409
1424
  include Google::Apis::Core::Hashable
1410
1425
 
1411
- # Identifies what kind of resource this is. Value: the fixed string "content#
1412
- # accountstatusesListResponse".
1426
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1427
+ # accountstatusesListResponse`".
1413
1428
  # Corresponds to the JSON property `kind`
1414
1429
  # @return [String]
1415
1430
  attr_accessor :kind
@@ -1507,8 +1522,8 @@ module Google
1507
1522
  # @return [Array<Google::Apis::ContentV2_1::AccounttaxCustomBatchResponseEntry>]
1508
1523
  attr_accessor :entries
1509
1524
 
1510
- # Identifies what kind of resource this is. Value: the fixed string "content#
1511
- # accounttaxCustomBatchResponse".
1525
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1526
+ # accounttaxCustomBatchResponse`".
1512
1527
  # Corresponds to the JSON property `kind`
1513
1528
  # @return [String]
1514
1529
  attr_accessor :kind
@@ -1566,8 +1581,8 @@ module Google
1566
1581
  class AccounttaxListResponse
1567
1582
  include Google::Apis::Core::Hashable
1568
1583
 
1569
- # Identifies what kind of resource this is. Value: the fixed string "content#
1570
- # accounttaxListResponse".
1584
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1585
+ # accounttaxListResponse`".
1571
1586
  # Corresponds to the JSON property `kind`
1572
1587
  # @return [String]
1573
1588
  attr_accessor :kind
@@ -1637,7 +1652,7 @@ module Google
1637
1652
  class BusinessDayConfig
1638
1653
  include Google::Apis::Core::Hashable
1639
1654
 
1640
- # Regular business days. May not be empty.
1655
+ # Regular business days, such as '"monday"'. May not be empty.
1641
1656
  # Corresponds to the JSON property `businessDays`
1642
1657
  # @return [Array<String>]
1643
1658
  attr_accessor :business_days
@@ -1656,17 +1671,18 @@ module Google
1656
1671
  class BuyOnGoogleProgramStatus
1657
1672
  include Google::Apis::Core::Hashable
1658
1673
 
1659
- # The customer service pending email.
1674
+ # The customer service pending email. After verification this field becomes
1675
+ # empty.
1660
1676
  # Corresponds to the JSON property `customerServicePendingEmail`
1661
1677
  # @return [String]
1662
1678
  attr_accessor :customer_service_pending_email
1663
1679
 
1664
- # The customer service verified email.
1680
+ # Output only. The customer service verified email.
1665
1681
  # Corresponds to the JSON property `customerServiceVerifiedEmail`
1666
1682
  # @return [String]
1667
1683
  attr_accessor :customer_service_verified_email
1668
1684
 
1669
- # The current participation stage for the program.
1685
+ # Output only. The current participation stage for the program.
1670
1686
  # Corresponds to the JSON property `participationStage`
1671
1687
  # @return [String]
1672
1688
  attr_accessor :participation_stage
@@ -1683,6 +1699,39 @@ module Google
1683
1699
  end
1684
1700
  end
1685
1701
 
1702
+ # Request message for the CaptureOrder method.
1703
+ class CaptureOrderRequest
1704
+ include Google::Apis::Core::Hashable
1705
+
1706
+ def initialize(**args)
1707
+ update!(**args)
1708
+ end
1709
+
1710
+ # Update properties of this object
1711
+ def update!(**args)
1712
+ end
1713
+ end
1714
+
1715
+ # Response message for the CaptureOrder method.
1716
+ class CaptureOrderResponse
1717
+ include Google::Apis::Core::Hashable
1718
+
1719
+ # The status of the execution. Only defined if the request was successful.
1720
+ # Acceptable values are: * "duplicate" * "executed"
1721
+ # Corresponds to the JSON property `executionStatus`
1722
+ # @return [String]
1723
+ attr_accessor :execution_status
1724
+
1725
+ def initialize(**args)
1726
+ update!(**args)
1727
+ end
1728
+
1729
+ # Update properties of this object
1730
+ def update!(**args)
1731
+ @execution_status = args[:execution_status] if args.key?(:execution_status)
1732
+ end
1733
+ end
1734
+
1686
1735
  #
1687
1736
  class CarrierRate
1688
1737
  include Google::Apis::Core::Hashable
@@ -2658,8 +2707,8 @@ module Google
2658
2707
  # @return [Array<Google::Apis::ContentV2_1::DatafeedsCustomBatchResponseEntry>]
2659
2708
  attr_accessor :entries
2660
2709
 
2661
- # Identifies what kind of resource this is. Value: the fixed string "content#
2662
- # datafeedsCustomBatchResponse".
2710
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
2711
+ # datafeedsCustomBatchResponse`".
2663
2712
  # Corresponds to the JSON property `kind`
2664
2713
  # @return [String]
2665
2714
  attr_accessor :kind
@@ -2710,8 +2759,8 @@ module Google
2710
2759
  class DatafeedsFetchNowResponse
2711
2760
  include Google::Apis::Core::Hashable
2712
2761
 
2713
- # Identifies what kind of resource this is. Value: the fixed string "content#
2714
- # datafeedsFetchNowResponse".
2762
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
2763
+ # datafeedsFetchNowResponse`".
2715
2764
  # Corresponds to the JSON property `kind`
2716
2765
  # @return [String]
2717
2766
  attr_accessor :kind
@@ -2730,8 +2779,8 @@ module Google
2730
2779
  class DatafeedsListResponse
2731
2780
  include Google::Apis::Core::Hashable
2732
2781
 
2733
- # Identifies what kind of resource this is. Value: the fixed string "content#
2734
- # datafeedsListResponse".
2782
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
2783
+ # datafeedsListResponse`".
2735
2784
  # Corresponds to the JSON property `kind`
2736
2785
  # @return [String]
2737
2786
  attr_accessor :kind
@@ -2839,8 +2888,8 @@ module Google
2839
2888
  # @return [Array<Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponseEntry>]
2840
2889
  attr_accessor :entries
2841
2890
 
2842
- # Identifies what kind of resource this is. Value: the fixed string "content#
2843
- # datafeedstatusesCustomBatchResponse".
2891
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
2892
+ # datafeedstatusesCustomBatchResponse`".
2844
2893
  # Corresponds to the JSON property `kind`
2845
2894
  # @return [String]
2846
2895
  attr_accessor :kind
@@ -2892,8 +2941,8 @@ module Google
2892
2941
  class DatafeedstatusesListResponse
2893
2942
  include Google::Apis::Core::Hashable
2894
2943
 
2895
- # Identifies what kind of resource this is. Value: the fixed string "content#
2896
- # datafeedstatusesListResponse".
2944
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
2945
+ # datafeedstatusesListResponse`".
2897
2946
  # Corresponds to the JSON property `kind`
2898
2947
  # @return [String]
2899
2948
  attr_accessor :kind
@@ -3196,6 +3245,94 @@ module Google
3196
3245
  end
3197
3246
  end
3198
3247
 
3248
+ # Response message for GetFreeListingsProgramStatus.
3249
+ class FreeListingsProgramStatus
3250
+ include Google::Apis::Core::Hashable
3251
+
3252
+ # Status of the program in each region. Regions with the same status and review
3253
+ # eligibility are grouped together in `regionCodes`.
3254
+ # Corresponds to the JSON property `regionStatuses`
3255
+ # @return [Array<Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus>]
3256
+ attr_accessor :region_statuses
3257
+
3258
+ # If program is successfully onboarded for at least one region.
3259
+ # Corresponds to the JSON property `state`
3260
+ # @return [String]
3261
+ attr_accessor :state
3262
+
3263
+ def initialize(**args)
3264
+ update!(**args)
3265
+ end
3266
+
3267
+ # Update properties of this object
3268
+ def update!(**args)
3269
+ @region_statuses = args[:region_statuses] if args.key?(:region_statuses)
3270
+ @state = args[:state] if args.key?(:state)
3271
+ end
3272
+ end
3273
+
3274
+ # Status of program and region.
3275
+ class FreeListingsProgramStatusRegionStatus
3276
+ include Google::Apis::Core::Hashable
3277
+
3278
+ # Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It
3279
+ # will be present when `eligibility_status` is `WARNING`. Date will be provided
3280
+ # in ISO 8601 format i.e. YYYY-MM-DD
3281
+ # Corresponds to the JSON property `disapprovalDate`
3282
+ # @return [String]
3283
+ attr_accessor :disapproval_date
3284
+
3285
+ # Eligibility status of the standard free listing program.
3286
+ # Corresponds to the JSON property `eligibilityStatus`
3287
+ # @return [String]
3288
+ attr_accessor :eligibility_status
3289
+
3290
+ # Eligibility status of the enhanced free listing program.
3291
+ # Corresponds to the JSON property `enhancedEligibilityStatus`
3292
+ # @return [String]
3293
+ attr_accessor :enhanced_eligibility_status
3294
+
3295
+ # Reason if a program in a given country is not eligible for review. Populated
3296
+ # only if `review_eligibility_status` is `INELIGIBLE`.
3297
+ # Corresponds to the JSON property `ineligibilityReason`
3298
+ # @return [String]
3299
+ attr_accessor :ineligibility_reason
3300
+
3301
+ # The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-
3302
+ # 1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `
3303
+ # reviewEligibility`.
3304
+ # Corresponds to the JSON property `regionCodes`
3305
+ # @return [Array<String>]
3306
+ attr_accessor :region_codes
3307
+
3308
+ # If a program in a given country is eligible for review. It will be present
3309
+ # only if eligibility status is `DISAPPROVED`.
3310
+ # Corresponds to the JSON property `reviewEligibilityStatus`
3311
+ # @return [String]
3312
+ attr_accessor :review_eligibility_status
3313
+
3314
+ # These issues will be evaluated in review process. Fix all the issues before
3315
+ # requesting the review.
3316
+ # Corresponds to the JSON property `reviewIssues`
3317
+ # @return [Array<String>]
3318
+ attr_accessor :review_issues
3319
+
3320
+ def initialize(**args)
3321
+ update!(**args)
3322
+ end
3323
+
3324
+ # Update properties of this object
3325
+ def update!(**args)
3326
+ @disapproval_date = args[:disapproval_date] if args.key?(:disapproval_date)
3327
+ @eligibility_status = args[:eligibility_status] if args.key?(:eligibility_status)
3328
+ @enhanced_eligibility_status = args[:enhanced_eligibility_status] if args.key?(:enhanced_eligibility_status)
3329
+ @ineligibility_reason = args[:ineligibility_reason] if args.key?(:ineligibility_reason)
3330
+ @region_codes = args[:region_codes] if args.key?(:region_codes)
3331
+ @review_eligibility_status = args[:review_eligibility_status] if args.key?(:review_eligibility_status)
3332
+ @review_issues = args[:review_issues] if args.key?(:review_issues)
3333
+ end
3334
+ end
3335
+
3199
3336
  #
3200
3337
  class GmbAccounts
3201
3338
  include Google::Apis::Core::Hashable
@@ -3864,8 +4001,8 @@ module Google
3864
4001
  # @return [Array<Google::Apis::ContentV2_1::LiasettingsCustomBatchResponseEntry>]
3865
4002
  attr_accessor :entries
3866
4003
 
3867
- # Identifies what kind of resource this is. Value: the fixed string "content#
3868
- # liasettingsCustomBatchResponse".
4004
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4005
+ # liasettingsCustomBatchResponse`".
3869
4006
  # Corresponds to the JSON property `kind`
3870
4007
  # @return [String]
3871
4008
  attr_accessor :kind
@@ -3946,8 +4083,8 @@ module Google
3946
4083
  # @return [Array<Google::Apis::ContentV2_1::GmbAccountsGmbAccount>]
3947
4084
  attr_accessor :gmb_accounts
3948
4085
 
3949
- # Identifies what kind of resource this is. Value: the fixed string "content#
3950
- # liasettingsGetAccessibleGmbAccountsResponse".
4086
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4087
+ # liasettingsGetAccessibleGmbAccountsResponse`".
3951
4088
  # Corresponds to the JSON property `kind`
3952
4089
  # @return [String]
3953
4090
  attr_accessor :kind
@@ -3968,8 +4105,8 @@ module Google
3968
4105
  class LiasettingsListPosDataProvidersResponse
3969
4106
  include Google::Apis::Core::Hashable
3970
4107
 
3971
- # Identifies what kind of resource this is. Value: the fixed string "content#
3972
- # liasettingsListPosDataProvidersResponse".
4108
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4109
+ # liasettingsListPosDataProvidersResponse`".
3973
4110
  # Corresponds to the JSON property `kind`
3974
4111
  # @return [String]
3975
4112
  attr_accessor :kind
@@ -3994,8 +4131,8 @@ module Google
3994
4131
  class LiasettingsListResponse
3995
4132
  include Google::Apis::Core::Hashable
3996
4133
 
3997
- # Identifies what kind of resource this is. Value: the fixed string "content#
3998
- # liasettingsListResponse".
4134
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4135
+ # liasettingsListResponse`".
3999
4136
  # Corresponds to the JSON property `kind`
4000
4137
  # @return [String]
4001
4138
  attr_accessor :kind
@@ -4026,8 +4163,8 @@ module Google
4026
4163
  class LiasettingsRequestGmbAccessResponse
4027
4164
  include Google::Apis::Core::Hashable
4028
4165
 
4029
- # Identifies what kind of resource this is. Value: the fixed string "content#
4030
- # liasettingsRequestGmbAccessResponse".
4166
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4167
+ # liasettingsRequestGmbAccessResponse`".
4031
4168
  # Corresponds to the JSON property `kind`
4032
4169
  # @return [String]
4033
4170
  attr_accessor :kind
@@ -4046,8 +4183,8 @@ module Google
4046
4183
  class LiasettingsRequestInventoryVerificationResponse
4047
4184
  include Google::Apis::Core::Hashable
4048
4185
 
4049
- # Identifies what kind of resource this is. Value: the fixed string "content#
4050
- # liasettingsRequestInventoryVerificationResponse".
4186
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4187
+ # liasettingsRequestInventoryVerificationResponse`".
4051
4188
  # Corresponds to the JSON property `kind`
4052
4189
  # @return [String]
4053
4190
  attr_accessor :kind
@@ -4066,8 +4203,8 @@ module Google
4066
4203
  class LiasettingsSetInventoryVerificationContactResponse
4067
4204
  include Google::Apis::Core::Hashable
4068
4205
 
4069
- # Identifies what kind of resource this is. Value: the fixed string "content#
4070
- # liasettingsSetInventoryVerificationContactResponse".
4206
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4207
+ # liasettingsSetInventoryVerificationContactResponse`".
4071
4208
  # Corresponds to the JSON property `kind`
4072
4209
  # @return [String]
4073
4210
  attr_accessor :kind
@@ -4086,8 +4223,8 @@ module Google
4086
4223
  class LiasettingsSetPosDataProviderResponse
4087
4224
  include Google::Apis::Core::Hashable
4088
4225
 
4089
- # Identifies what kind of resource this is. Value: the fixed string "content#
4090
- # liasettingsSetPosDataProviderResponse".
4226
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4227
+ # liasettingsSetPosDataProviderResponse`".
4091
4228
  # Corresponds to the JSON property `kind`
4092
4229
  # @return [String]
4093
4230
  attr_accessor :kind
@@ -4554,8 +4691,8 @@ module Google
4554
4691
  # @return [Array<Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponseEntry>]
4555
4692
  attr_accessor :entries
4556
4693
 
4557
- # Identifies what kind of resource this is. Value: the fixed string "content#
4558
- # localinventoryCustomBatchResponse".
4694
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4695
+ # localinventoryCustomBatchResponse`".
4559
4696
  # Corresponds to the JSON property `kind`
4560
4697
  # @return [String]
4561
4698
  attr_accessor :kind
@@ -6947,8 +7084,8 @@ module Google
6947
7084
  # @return [String]
6948
7085
  attr_accessor :execution_status
6949
7086
 
6950
- # Identifies what kind of resource this is. Value: the fixed string "content#
6951
- # orderinvoicesCreateChargeInvoiceResponse".
7087
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7088
+ # orderinvoicesCreateChargeInvoiceResponse`".
6952
7089
  # Corresponds to the JSON property `kind`
6953
7090
  # @return [String]
6954
7091
  attr_accessor :kind
@@ -7021,8 +7158,8 @@ module Google
7021
7158
  # @return [String]
7022
7159
  attr_accessor :execution_status
7023
7160
 
7024
- # Identifies what kind of resource this is. Value: the fixed string "content#
7025
- # orderinvoicesCreateRefundInvoiceResponse".
7161
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7162
+ # orderinvoicesCreateRefundInvoiceResponse`".
7026
7163
  # Corresponds to the JSON property `kind`
7027
7164
  # @return [String]
7028
7165
  attr_accessor :kind
@@ -7119,8 +7256,8 @@ module Google
7119
7256
  # @return [Array<Google::Apis::ContentV2_1::OrderReportDisbursement>]
7120
7257
  attr_accessor :disbursements
7121
7258
 
7122
- # Identifies what kind of resource this is. Value: the fixed string "content#
7123
- # orderreportsListDisbursementsResponse".
7259
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7260
+ # orderreportsListDisbursementsResponse`".
7124
7261
  # Corresponds to the JSON property `kind`
7125
7262
  # @return [String]
7126
7263
  attr_accessor :kind
@@ -7146,8 +7283,8 @@ module Google
7146
7283
  class OrderreportsListTransactionsResponse
7147
7284
  include Google::Apis::Core::Hashable
7148
7285
 
7149
- # Identifies what kind of resource this is. Value: the fixed string "content#
7150
- # orderreportsListTransactionsResponse".
7286
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7287
+ # orderreportsListTransactionsResponse`".
7151
7288
  # Corresponds to the JSON property `kind`
7152
7289
  # @return [String]
7153
7290
  attr_accessor :kind
@@ -7204,8 +7341,8 @@ module Google
7204
7341
  # @return [String]
7205
7342
  attr_accessor :execution_status
7206
7343
 
7207
- # Identifies what kind of resource this is. Value: the fixed string "content#
7208
- # orderreturnsAcknowledgeResponse".
7344
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7345
+ # orderreturnsAcknowledgeResponse`".
7209
7346
  # Corresponds to the JSON property `kind`
7210
7347
  # @return [String]
7211
7348
  attr_accessor :kind
@@ -7268,8 +7405,8 @@ module Google
7268
7405
  # @return [String]
7269
7406
  attr_accessor :execution_status
7270
7407
 
7271
- # Identifies what kind of resource this is. Value: the fixed string "content#
7272
- # orderreturnsCreateOrderReturnResponse".
7408
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7409
+ # orderreturnsCreateOrderReturnResponse`".
7273
7410
  # Corresponds to the JSON property `kind`
7274
7411
  # @return [String]
7275
7412
  attr_accessor :kind
@@ -7329,8 +7466,8 @@ module Google
7329
7466
  class OrderreturnsListResponse
7330
7467
  include Google::Apis::Core::Hashable
7331
7468
 
7332
- # Identifies what kind of resource this is. Value: the fixed string "content#
7333
- # orderreturnsListResponse".
7469
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7470
+ # orderreturnsListResponse`".
7334
7471
  # Corresponds to the JSON property `kind`
7335
7472
  # @return [String]
7336
7473
  attr_accessor :kind
@@ -7433,8 +7570,8 @@ module Google
7433
7570
  # @return [String]
7434
7571
  attr_accessor :execution_status
7435
7572
 
7436
- # Identifies what kind of resource this is. Value: the fixed string "content#
7437
- # orderreturnsProcessResponse".
7573
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7574
+ # orderreturnsProcessResponse`".
7438
7575
  # Corresponds to the JSON property `kind`
7439
7576
  # @return [String]
7440
7577
  attr_accessor :kind
@@ -7584,8 +7721,8 @@ module Google
7584
7721
  # @return [String]
7585
7722
  attr_accessor :execution_status
7586
7723
 
7587
- # Identifies what kind of resource this is. Value: the fixed string "content#
7588
- # ordersAcknowledgeResponse".
7724
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7725
+ # ordersAcknowledgeResponse`".
7589
7726
  # Corresponds to the JSON property `kind`
7590
7727
  # @return [String]
7591
7728
  attr_accessor :kind
@@ -7605,8 +7742,8 @@ module Google
7605
7742
  class OrdersAdvanceTestOrderResponse
7606
7743
  include Google::Apis::Core::Hashable
7607
7744
 
7608
- # Identifies what kind of resource this is. Value: the fixed string "content#
7609
- # ordersAdvanceTestOrderResponse".
7745
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7746
+ # ordersAdvanceTestOrderResponse`".
7610
7747
  # Corresponds to the JSON property `kind`
7611
7748
  # @return [String]
7612
7749
  attr_accessor :kind
@@ -7684,8 +7821,8 @@ module Google
7684
7821
  # @return [String]
7685
7822
  attr_accessor :execution_status
7686
7823
 
7687
- # Identifies what kind of resource this is. Value: the fixed string "content#
7688
- # ordersCancelLineItemResponse".
7824
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7825
+ # ordersCancelLineItemResponse`".
7689
7826
  # Corresponds to the JSON property `kind`
7690
7827
  # @return [String]
7691
7828
  attr_accessor :kind
@@ -7745,8 +7882,8 @@ module Google
7745
7882
  # @return [String]
7746
7883
  attr_accessor :execution_status
7747
7884
 
7748
- # Identifies what kind of resource this is. Value: the fixed string "content#
7749
- # ordersCancelResponse".
7885
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7886
+ # ordersCancelResponse`".
7750
7887
  # Corresponds to the JSON property `kind`
7751
7888
  # @return [String]
7752
7889
  attr_accessor :kind
@@ -7786,8 +7923,8 @@ module Google
7786
7923
  class OrdersCancelTestOrderByCustomerResponse
7787
7924
  include Google::Apis::Core::Hashable
7788
7925
 
7789
- # Identifies what kind of resource this is. Value: the fixed string "content#
7790
- # ordersCancelTestOrderByCustomerResponse".
7926
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7927
+ # ordersCancelTestOrderByCustomerResponse`".
7791
7928
  # Corresponds to the JSON property `kind`
7792
7929
  # @return [String]
7793
7930
  attr_accessor :kind
@@ -7843,8 +7980,8 @@ module Google
7843
7980
  class OrdersCreateTestOrderResponse
7844
7981
  include Google::Apis::Core::Hashable
7845
7982
 
7846
- # Identifies what kind of resource this is. Value: the fixed string "content#
7847
- # ordersCreateTestOrderResponse".
7983
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7984
+ # ordersCreateTestOrderResponse`".
7848
7985
  # Corresponds to the JSON property `kind`
7849
7986
  # @return [String]
7850
7987
  attr_accessor :kind
@@ -7888,8 +8025,8 @@ module Google
7888
8025
  class OrdersCreateTestReturnResponse
7889
8026
  include Google::Apis::Core::Hashable
7890
8027
 
7891
- # Identifies what kind of resource this is. Value: the fixed string "content#
7892
- # ordersCreateTestReturnResponse".
8028
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8029
+ # ordersCreateTestReturnResponse`".
7893
8030
  # Corresponds to the JSON property `kind`
7894
8031
  # @return [String]
7895
8032
  attr_accessor :kind
@@ -8077,8 +8214,8 @@ module Google
8077
8214
  class OrdersGetByMerchantOrderIdResponse
8078
8215
  include Google::Apis::Core::Hashable
8079
8216
 
8080
- # Identifies what kind of resource this is. Value: the fixed string "content#
8081
- # ordersGetByMerchantOrderIdResponse".
8217
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8218
+ # ordersGetByMerchantOrderIdResponse`".
8082
8219
  # Corresponds to the JSON property `kind`
8083
8220
  # @return [String]
8084
8221
  attr_accessor :kind
@@ -8104,8 +8241,8 @@ module Google
8104
8241
  class OrdersGetTestOrderTemplateResponse
8105
8242
  include Google::Apis::Core::Hashable
8106
8243
 
8107
- # Identifies what kind of resource this is. Value: the fixed string "content#
8108
- # ordersGetTestOrderTemplateResponse".
8244
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8245
+ # ordersGetTestOrderTemplateResponse`".
8109
8246
  # Corresponds to the JSON property `kind`
8110
8247
  # @return [String]
8111
8248
  attr_accessor :kind
@@ -8205,8 +8342,8 @@ module Google
8205
8342
  # @return [String]
8206
8343
  attr_accessor :execution_status
8207
8344
 
8208
- # Identifies what kind of resource this is. Value: the fixed string "content#
8209
- # ordersInStoreRefundLineItemResponse".
8345
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8346
+ # ordersInStoreRefundLineItemResponse`".
8210
8347
  # Corresponds to the JSON property `kind`
8211
8348
  # @return [String]
8212
8349
  attr_accessor :kind
@@ -8226,8 +8363,8 @@ module Google
8226
8363
  class OrdersListResponse
8227
8364
  include Google::Apis::Core::Hashable
8228
8365
 
8229
- # Identifies what kind of resource this is. Value: the fixed string "content#
8230
- # ordersListResponse".
8366
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8367
+ # ordersListResponse`".
8231
8368
  # Corresponds to the JSON property `kind`
8232
8369
  # @return [String]
8233
8370
  attr_accessor :kind
@@ -8314,8 +8451,8 @@ module Google
8314
8451
  # @return [String]
8315
8452
  attr_accessor :execution_status
8316
8453
 
8317
- # Identifies what kind of resource this is. Value: the fixed string "content#
8318
- # ordersRefundItemResponse".
8454
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8455
+ # ordersRefundItemResponse`".
8319
8456
  # Corresponds to the JSON property `kind`
8320
8457
  # @return [String]
8321
8458
  attr_accessor :kind
@@ -8388,8 +8525,8 @@ module Google
8388
8525
  # @return [String]
8389
8526
  attr_accessor :execution_status
8390
8527
 
8391
- # Identifies what kind of resource this is. Value: the fixed string "content#
8392
- # ordersRefundOrderResponse".
8528
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8529
+ # ordersRefundOrderResponse`".
8393
8530
  # Corresponds to the JSON property `kind`
8394
8531
  # @return [String]
8395
8532
  attr_accessor :kind
@@ -8466,8 +8603,8 @@ module Google
8466
8603
  # @return [String]
8467
8604
  attr_accessor :execution_status
8468
8605
 
8469
- # Identifies what kind of resource this is. Value: the fixed string "content#
8470
- # ordersRejectReturnLineItemResponse".
8606
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8607
+ # ordersRejectReturnLineItemResponse`".
8471
8608
  # Corresponds to the JSON property `kind`
8472
8609
  # @return [String]
8473
8610
  attr_accessor :kind
@@ -8563,8 +8700,8 @@ module Google
8563
8700
  # @return [String]
8564
8701
  attr_accessor :execution_status
8565
8702
 
8566
- # Identifies what kind of resource this is. Value: the fixed string "content#
8567
- # ordersReturnRefundLineItemResponse".
8703
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8704
+ # ordersReturnRefundLineItemResponse`".
8568
8705
  # Corresponds to the JSON property `kind`
8569
8706
  # @return [String]
8570
8707
  attr_accessor :kind
@@ -8629,8 +8766,8 @@ module Google
8629
8766
  # @return [String]
8630
8767
  attr_accessor :execution_status
8631
8768
 
8632
- # Identifies what kind of resource this is. Value: the fixed string "content#
8633
- # ordersSetLineItemMetadataResponse".
8769
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8770
+ # ordersSetLineItemMetadataResponse`".
8634
8771
  # Corresponds to the JSON property `kind`
8635
8772
  # @return [String]
8636
8773
  attr_accessor :kind
@@ -8695,8 +8832,8 @@ module Google
8695
8832
  # @return [String]
8696
8833
  attr_accessor :execution_status
8697
8834
 
8698
- # Identifies what kind of resource this is. Value: the fixed string "content#
8699
- # ordersShipLineItemsResponse".
8835
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8836
+ # ordersShipLineItemsResponse`".
8700
8837
  # Corresponds to the JSON property `kind`
8701
8838
  # @return [String]
8702
8839
  attr_accessor :kind
@@ -8771,8 +8908,8 @@ module Google
8771
8908
  # @return [String]
8772
8909
  attr_accessor :execution_status
8773
8910
 
8774
- # Identifies what kind of resource this is. Value: the fixed string "content#
8775
- # ordersUpdateLineItemShippingDetailsResponse".
8911
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8912
+ # ordersUpdateLineItemShippingDetailsResponse`".
8776
8913
  # Corresponds to the JSON property `kind`
8777
8914
  # @return [String]
8778
8915
  attr_accessor :kind
@@ -8823,8 +8960,8 @@ module Google
8823
8960
  # @return [String]
8824
8961
  attr_accessor :execution_status
8825
8962
 
8826
- # Identifies what kind of resource this is. Value: the fixed string "content#
8827
- # ordersUpdateMerchantOrderIdResponse".
8963
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8964
+ # ordersUpdateMerchantOrderIdResponse`".
8828
8965
  # Corresponds to the JSON property `kind`
8829
8966
  # @return [String]
8830
8967
  attr_accessor :kind
@@ -8930,8 +9067,8 @@ module Google
8930
9067
  # @return [String]
8931
9068
  attr_accessor :execution_status
8932
9069
 
8933
- # Identifies what kind of resource this is. Value: the fixed string "content#
8934
- # ordersUpdateShipmentResponse".
9070
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9071
+ # ordersUpdateShipmentResponse`".
8935
9072
  # Corresponds to the JSON property `kind`
8936
9073
  # @return [String]
8937
9074
  attr_accessor :kind
@@ -9132,8 +9269,8 @@ module Google
9132
9269
  # @return [Array<Google::Apis::ContentV2_1::PosCustomBatchResponseEntry>]
9133
9270
  attr_accessor :entries
9134
9271
 
9135
- # Identifies what kind of resource this is. Value: the fixed string "content#
9136
- # posCustomBatchResponse".
9272
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9273
+ # posCustomBatchResponse`".
9137
9274
  # Corresponds to the JSON property `kind`
9138
9275
  # @return [String]
9139
9276
  attr_accessor :kind
@@ -9405,8 +9542,8 @@ module Google
9405
9542
  # @return [String]
9406
9543
  attr_accessor :item_id
9407
9544
 
9408
- # Identifies what kind of resource this is. Value: the fixed string "content#
9409
- # posInventoryResponse".
9545
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9546
+ # posInventoryResponse`".
9410
9547
  # Corresponds to the JSON property `kind`
9411
9548
  # @return [String]
9412
9549
  attr_accessor :kind
@@ -9459,8 +9596,8 @@ module Google
9459
9596
  class PosListResponse
9460
9597
  include Google::Apis::Core::Hashable
9461
9598
 
9462
- # Identifies what kind of resource this is. Value: the fixed string "content#
9463
- # posListResponse".
9599
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9600
+ # posListResponse`".
9464
9601
  # Corresponds to the JSON property `kind`
9465
9602
  # @return [String]
9466
9603
  attr_accessor :kind
@@ -9645,8 +9782,8 @@ module Google
9645
9782
  # @return [String]
9646
9783
  attr_accessor :item_id
9647
9784
 
9648
- # Identifies what kind of resource this is. Value: the fixed string "content#
9649
- # posSaleResponse".
9785
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9786
+ # posSaleResponse`".
9650
9787
  # Corresponds to the JSON property `kind`
9651
9788
  # @return [String]
9652
9789
  attr_accessor :kind
@@ -10189,16 +10326,40 @@ module Google
10189
10326
  # @return [Array<Google::Apis::ContentV2_1::ProductProductDetail>]
10190
10327
  attr_accessor :product_details
10191
10328
 
10329
+ # The height of the product in the units provided. The value must be between 0 (
10330
+ # exclusive) and 3000 (inclusive).
10331
+ # Corresponds to the JSON property `productHeight`
10332
+ # @return [Google::Apis::ContentV2_1::ProductDimension]
10333
+ attr_accessor :product_height
10334
+
10192
10335
  # Bullet points describing the most relevant highlights of a product.
10193
10336
  # Corresponds to the JSON property `productHighlights`
10194
10337
  # @return [Array<String>]
10195
10338
  attr_accessor :product_highlights
10196
10339
 
10340
+ # The length of the product in the units provided. The value must be between 0 (
10341
+ # exclusive) and 3000 (inclusive).
10342
+ # Corresponds to the JSON property `productLength`
10343
+ # @return [Google::Apis::ContentV2_1::ProductDimension]
10344
+ attr_accessor :product_length
10345
+
10197
10346
  # Categories of the item (formatted as in products data specification).
10198
10347
  # Corresponds to the JSON property `productTypes`
10199
10348
  # @return [Array<String>]
10200
10349
  attr_accessor :product_types
10201
10350
 
10351
+ # The weight of the product in the units provided. The value must be between 0 (
10352
+ # exclusive) and 2000 (inclusive).
10353
+ # Corresponds to the JSON property `productWeight`
10354
+ # @return [Google::Apis::ContentV2_1::ProductWeight]
10355
+ attr_accessor :product_weight
10356
+
10357
+ # The width of the product in the units provided. The value must be between 0 (
10358
+ # exclusive) and 3000 (inclusive).
10359
+ # Corresponds to the JSON property `productWidth`
10360
+ # @return [Google::Apis::ContentV2_1::ProductDimension]
10361
+ attr_accessor :product_width
10362
+
10202
10363
  # The unique ID of a promotion.
10203
10364
  # Corresponds to the JSON property `promotionIds`
10204
10365
  # @return [Array<String>]
@@ -10390,8 +10551,12 @@ module Google
10390
10551
  @pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
10391
10552
  @price = args[:price] if args.key?(:price)
10392
10553
  @product_details = args[:product_details] if args.key?(:product_details)
10554
+ @product_height = args[:product_height] if args.key?(:product_height)
10393
10555
  @product_highlights = args[:product_highlights] if args.key?(:product_highlights)
10556
+ @product_length = args[:product_length] if args.key?(:product_length)
10394
10557
  @product_types = args[:product_types] if args.key?(:product_types)
10558
+ @product_weight = args[:product_weight] if args.key?(:product_weight)
10559
+ @product_width = args[:product_width] if args.key?(:product_width)
10395
10560
  @promotion_ids = args[:promotion_ids] if args.key?(:promotion_ids)
10396
10561
  @sale_price = args[:sale_price] if args.key?(:sale_price)
10397
10562
  @sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date)
@@ -10449,6 +10614,32 @@ module Google
10449
10614
  end
10450
10615
  end
10451
10616
 
10617
+ #
10618
+ class ProductDimension
10619
+ include Google::Apis::Core::Hashable
10620
+
10621
+ # Required. The length units. Acceptable values are: - "`in`" - "`cm`"
10622
+ # Corresponds to the JSON property `unit`
10623
+ # @return [String]
10624
+ attr_accessor :unit
10625
+
10626
+ # Required. The length value represented as a number. The value can have a
10627
+ # maximum precision of four decimal places.
10628
+ # Corresponds to the JSON property `value`
10629
+ # @return [Float]
10630
+ attr_accessor :value
10631
+
10632
+ def initialize(**args)
10633
+ update!(**args)
10634
+ end
10635
+
10636
+ # Update properties of this object
10637
+ def update!(**args)
10638
+ @unit = args[:unit] if args.key?(:unit)
10639
+ @value = args[:value] if args.key?(:value)
10640
+ end
10641
+ end
10642
+
10452
10643
  #
10453
10644
  class ProductProductDetail
10454
10645
  include Google::Apis::Core::Hashable
@@ -10939,6 +11130,33 @@ module Google
10939
11130
  end
10940
11131
  end
10941
11132
 
11133
+ #
11134
+ class ProductWeight
11135
+ include Google::Apis::Core::Hashable
11136
+
11137
+ # Required. The weight unit. Acceptable values are: - "`g`" - "`kg`" - "`oz`" - "
11138
+ # `lb`"
11139
+ # Corresponds to the JSON property `unit`
11140
+ # @return [String]
11141
+ attr_accessor :unit
11142
+
11143
+ # Required. The weight represented as a number. The weight can have a maximum
11144
+ # precision of four decimal places.
11145
+ # Corresponds to the JSON property `value`
11146
+ # @return [Float]
11147
+ attr_accessor :value
11148
+
11149
+ def initialize(**args)
11150
+ update!(**args)
11151
+ end
11152
+
11153
+ # Update properties of this object
11154
+ def update!(**args)
11155
+ @unit = args[:unit] if args.key?(:unit)
11156
+ @value = args[:value] if args.key?(:value)
11157
+ end
11158
+ end
11159
+
10942
11160
  #
10943
11161
  class ProductsCustomBatchRequest
10944
11162
  include Google::Apis::Core::Hashable
@@ -10967,7 +11185,8 @@ module Google
10967
11185
  # @return [Fixnum]
10968
11186
  attr_accessor :batch_id
10969
11187
 
10970
- # The Content API feed id.
11188
+ # The Content API Supplemental Feed ID. If present then product insertion or
11189
+ # deletion applies to a supplemental feed instead of primary Content API feed.
10971
11190
  # Corresponds to the JSON property `feedId`
10972
11191
  # @return [Fixnum]
10973
11192
  attr_accessor :feed_id
@@ -10991,8 +11210,8 @@ module Google
10991
11210
  # @return [Google::Apis::ContentV2_1::Product]
10992
11211
  attr_accessor :product
10993
11212
 
10994
- # The ID of the product to get or delete. Only defined if the method is `get` or
10995
- # `delete`.
11213
+ # The ID of the product to get or mutate. Only defined if the method is `get`, `
11214
+ # delete`, or `update`.
10996
11215
  # Corresponds to the JSON property `productId`
10997
11216
  # @return [String]
10998
11217
  attr_accessor :product_id
@@ -11032,8 +11251,8 @@ module Google
11032
11251
  # @return [Array<Google::Apis::ContentV2_1::ProductsCustomBatchResponseEntry>]
11033
11252
  attr_accessor :entries
11034
11253
 
11035
- # Identifies what kind of resource this is. Value: the fixed string "content#
11036
- # productsCustomBatchResponse".
11254
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
11255
+ # productsCustomBatchResponse`".
11037
11256
  # Corresponds to the JSON property `kind`
11038
11257
  # @return [String]
11039
11258
  attr_accessor :kind
@@ -11094,8 +11313,8 @@ module Google
11094
11313
  class ProductsListResponse
11095
11314
  include Google::Apis::Core::Hashable
11096
11315
 
11097
- # Identifies what kind of resource this is. Value: the fixed string "content#
11098
- # productsListResponse".
11316
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
11317
+ # productsListResponse`".
11099
11318
  # Corresponds to the JSON property `kind`
11100
11319
  # @return [String]
11101
11320
  attr_accessor :kind
@@ -11201,8 +11420,8 @@ module Google
11201
11420
  # @return [Array<Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponseEntry>]
11202
11421
  attr_accessor :entries
11203
11422
 
11204
- # Identifies what kind of resource this is. Value: the fixed string "content#
11205
- # productstatusesCustomBatchResponse".
11423
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
11424
+ # productstatusesCustomBatchResponse`".
11206
11425
  # Corresponds to the JSON property `kind`
11207
11426
  # @return [String]
11208
11427
  attr_accessor :kind
@@ -11261,8 +11480,8 @@ module Google
11261
11480
  class ProductstatusesListResponse
11262
11481
  include Google::Apis::Core::Hashable
11263
11482
 
11264
- # Identifies what kind of resource this is. Value: the fixed string "content#
11265
- # productstatusesListResponse".
11483
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
11484
+ # productstatusesListResponse`".
11266
11485
  # Corresponds to the JSON property `kind`
11267
11486
  # @return [String]
11268
11487
  attr_accessor :kind
@@ -11289,6 +11508,217 @@ module Google
11289
11508
  end
11290
11509
  end
11291
11510
 
11511
+ # Represents a promotion. (1) https://support.google.com/merchants/answer/
11512
+ # 2906014 (2) https://support.google.com/merchants/answer/10146130 (3) https://
11513
+ # support.google.com/merchants/answer/9173673
11514
+ class Promotion
11515
+ include Google::Apis::Core::Hashable
11516
+
11517
+ # Product filter by brand for the promotion.
11518
+ # Corresponds to the JSON property `brand`
11519
+ # @return [Array<String>]
11520
+ attr_accessor :brand
11521
+
11522
+ # Product filter by brand exclusion for the promotion.
11523
+ # Corresponds to the JSON property `brandExclusion`
11524
+ # @return [Array<String>]
11525
+ attr_accessor :brand_exclusion
11526
+
11527
+ # Required. The content language used as part of the unique identifier.
11528
+ # Corresponds to the JSON property `contentLanguage`
11529
+ # @return [String]
11530
+ attr_accessor :content_language
11531
+
11532
+ # Required. Coupon value type for the promotion.
11533
+ # Corresponds to the JSON property `couponValueType`
11534
+ # @return [String]
11535
+ attr_accessor :coupon_value_type
11536
+
11537
+ # Free gift description for the promotion.
11538
+ # Corresponds to the JSON property `freeGiftDescription`
11539
+ # @return [String]
11540
+ attr_accessor :free_gift_description
11541
+
11542
+ # Free gift item id for the promotion.
11543
+ # Corresponds to the JSON property `freeGiftItemId`
11544
+ # @return [String]
11545
+ attr_accessor :free_gift_item_id
11546
+
11547
+ # The price represented as a number and currency.
11548
+ # Corresponds to the JSON property `freeGiftValue`
11549
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
11550
+ attr_accessor :free_gift_value
11551
+
11552
+ # Generic redemption code for the promotion. To be used with the above field.
11553
+ # Corresponds to the JSON property `genericRedemptionCode`
11554
+ # @return [String]
11555
+ attr_accessor :generic_redemption_code
11556
+
11557
+ # The number of items discounted in the promotion.
11558
+ # Corresponds to the JSON property `getThisQuantityDiscounted`
11559
+ # @return [Fixnum]
11560
+ attr_accessor :get_this_quantity_discounted
11561
+
11562
+ # Required. Output only. The REST promotion id to uniquely identify the
11563
+ # promotion. Content API methods that operate on promotions take this as their
11564
+ # promotionId parameter.
11565
+ # Corresponds to the JSON property `id`
11566
+ # @return [String]
11567
+ attr_accessor :id
11568
+
11569
+ # Product filter by item group id for the promotion.
11570
+ # Corresponds to the JSON property `itemGroupId`
11571
+ # @return [Array<String>]
11572
+ attr_accessor :item_group_id
11573
+
11574
+ # Product filter by item group id exclusion for the promotion.
11575
+ # Corresponds to the JSON property `itemGroupIdExclusion`
11576
+ # @return [Array<String>]
11577
+ attr_accessor :item_group_id_exclusion
11578
+
11579
+ # Product filter by item id for the promotion.
11580
+ # Corresponds to the JSON property `itemId`
11581
+ # @return [Array<String>]
11582
+ attr_accessor :item_id
11583
+
11584
+ # Product filter by item id exclusion for the promotion.
11585
+ # Corresponds to the JSON property `itemIdExclusion`
11586
+ # @return [Array<String>]
11587
+ attr_accessor :item_id_exclusion
11588
+
11589
+ # Maximum purchase quantity for the promotion.
11590
+ # Corresponds to the JSON property `limitQuantity`
11591
+ # @return [Fixnum]
11592
+ attr_accessor :limit_quantity
11593
+
11594
+ # The price represented as a number and currency.
11595
+ # Corresponds to the JSON property `limitValue`
11596
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
11597
+ attr_accessor :limit_value
11598
+
11599
+ # Long title for the promotion.
11600
+ # Corresponds to the JSON property `longTitle`
11601
+ # @return [String]
11602
+ attr_accessor :long_title
11603
+
11604
+ # The price represented as a number and currency.
11605
+ # Corresponds to the JSON property `minimumPurchaseAmount`
11606
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
11607
+ attr_accessor :minimum_purchase_amount
11608
+
11609
+ # Minimum purchase quantity for the promotion.
11610
+ # Corresponds to the JSON property `minimumPurchaseQuantity`
11611
+ # @return [Fixnum]
11612
+ attr_accessor :minimum_purchase_quantity
11613
+
11614
+ # The price represented as a number and currency.
11615
+ # Corresponds to the JSON property `moneyBudget`
11616
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
11617
+ attr_accessor :money_budget
11618
+
11619
+ # The price represented as a number and currency.
11620
+ # Corresponds to the JSON property `moneyOffAmount`
11621
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
11622
+ attr_accessor :money_off_amount
11623
+
11624
+ # Required. Type of the promotion.
11625
+ # Corresponds to the JSON property `offerType`
11626
+ # @return [String]
11627
+ attr_accessor :offer_type
11628
+
11629
+ # Order limit for the promotion.
11630
+ # Corresponds to the JSON property `orderLimit`
11631
+ # @return [Fixnum]
11632
+ attr_accessor :order_limit
11633
+
11634
+ # The percentage discount offered in the promotion.
11635
+ # Corresponds to the JSON property `percentOff`
11636
+ # @return [Fixnum]
11637
+ attr_accessor :percent_off
11638
+
11639
+ # Required. Applicability of the promotion to either all products or only
11640
+ # specific products.
11641
+ # Corresponds to the JSON property `productApplicability`
11642
+ # @return [String]
11643
+ attr_accessor :product_applicability
11644
+
11645
+ # Destination ID for the promotion.
11646
+ # Corresponds to the JSON property `promotionDestinationIds`
11647
+ # @return [Array<String>]
11648
+ attr_accessor :promotion_destination_ids
11649
+
11650
+ # String representation of the promotion display dates.
11651
+ # Corresponds to the JSON property `promotionDisplayDates`
11652
+ # @return [String]
11653
+ attr_accessor :promotion_display_dates
11654
+
11655
+ # Required. String representation of the promotion effective dates.
11656
+ # Corresponds to the JSON property `promotionEffectiveDates`
11657
+ # @return [String]
11658
+ attr_accessor :promotion_effective_dates
11659
+
11660
+ # Required. The user provided promotion id to uniquely identify the promotion.
11661
+ # Corresponds to the JSON property `promotionId`
11662
+ # @return [String]
11663
+ attr_accessor :promotion_id
11664
+
11665
+ # Required. Redemption channel for the promotion. At least one channel is
11666
+ # required.
11667
+ # Corresponds to the JSON property `redemptionChannel`
11668
+ # @return [Array<String>]
11669
+ attr_accessor :redemption_channel
11670
+
11671
+ # Shipping service names for thse promotion.
11672
+ # Corresponds to the JSON property `shippingServiceNames`
11673
+ # @return [Array<String>]
11674
+ attr_accessor :shipping_service_names
11675
+
11676
+ # Required. The target country used as part of the unique identifier.
11677
+ # Corresponds to the JSON property `targetCountry`
11678
+ # @return [String]
11679
+ attr_accessor :target_country
11680
+
11681
+ def initialize(**args)
11682
+ update!(**args)
11683
+ end
11684
+
11685
+ # Update properties of this object
11686
+ def update!(**args)
11687
+ @brand = args[:brand] if args.key?(:brand)
11688
+ @brand_exclusion = args[:brand_exclusion] if args.key?(:brand_exclusion)
11689
+ @content_language = args[:content_language] if args.key?(:content_language)
11690
+ @coupon_value_type = args[:coupon_value_type] if args.key?(:coupon_value_type)
11691
+ @free_gift_description = args[:free_gift_description] if args.key?(:free_gift_description)
11692
+ @free_gift_item_id = args[:free_gift_item_id] if args.key?(:free_gift_item_id)
11693
+ @free_gift_value = args[:free_gift_value] if args.key?(:free_gift_value)
11694
+ @generic_redemption_code = args[:generic_redemption_code] if args.key?(:generic_redemption_code)
11695
+ @get_this_quantity_discounted = args[:get_this_quantity_discounted] if args.key?(:get_this_quantity_discounted)
11696
+ @id = args[:id] if args.key?(:id)
11697
+ @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
11698
+ @item_group_id_exclusion = args[:item_group_id_exclusion] if args.key?(:item_group_id_exclusion)
11699
+ @item_id = args[:item_id] if args.key?(:item_id)
11700
+ @item_id_exclusion = args[:item_id_exclusion] if args.key?(:item_id_exclusion)
11701
+ @limit_quantity = args[:limit_quantity] if args.key?(:limit_quantity)
11702
+ @limit_value = args[:limit_value] if args.key?(:limit_value)
11703
+ @long_title = args[:long_title] if args.key?(:long_title)
11704
+ @minimum_purchase_amount = args[:minimum_purchase_amount] if args.key?(:minimum_purchase_amount)
11705
+ @minimum_purchase_quantity = args[:minimum_purchase_quantity] if args.key?(:minimum_purchase_quantity)
11706
+ @money_budget = args[:money_budget] if args.key?(:money_budget)
11707
+ @money_off_amount = args[:money_off_amount] if args.key?(:money_off_amount)
11708
+ @offer_type = args[:offer_type] if args.key?(:offer_type)
11709
+ @order_limit = args[:order_limit] if args.key?(:order_limit)
11710
+ @percent_off = args[:percent_off] if args.key?(:percent_off)
11711
+ @product_applicability = args[:product_applicability] if args.key?(:product_applicability)
11712
+ @promotion_destination_ids = args[:promotion_destination_ids] if args.key?(:promotion_destination_ids)
11713
+ @promotion_display_dates = args[:promotion_display_dates] if args.key?(:promotion_display_dates)
11714
+ @promotion_effective_dates = args[:promotion_effective_dates] if args.key?(:promotion_effective_dates)
11715
+ @promotion_id = args[:promotion_id] if args.key?(:promotion_id)
11716
+ @redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
11717
+ @shipping_service_names = args[:shipping_service_names] if args.key?(:shipping_service_names)
11718
+ @target_country = args[:target_country] if args.key?(:target_country)
11719
+ end
11720
+ end
11721
+
11292
11722
  # Settings for Pub/Sub notifications, all methods require that the caller is a
11293
11723
  # direct user of the merchant center account.
11294
11724
  class PubsubNotificationSettings
@@ -11582,8 +12012,8 @@ module Google
11582
12012
  # @return [Array<Google::Apis::ContentV2_1::CustomAttribute>]
11583
12013
  attr_accessor :custom_attributes
11584
12014
 
11585
- # Identifies what kind of resource this is. Value: the fixed string "content#
11586
- # regionalInventory".
12015
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
12016
+ # regionalInventory`".
11587
12017
  # Corresponds to the JSON property `kind`
11588
12018
  # @return [String]
11589
12019
  attr_accessor :kind
@@ -11698,8 +12128,8 @@ module Google
11698
12128
  # @return [Array<Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponseEntry>]
11699
12129
  attr_accessor :entries
11700
12130
 
11701
- # Identifies what kind of resource this is. Value: the fixed string "content#
11702
- # regionalinventoryCustomBatchResponse".
12131
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
12132
+ # regionalinventoryCustomBatchResponse`".
11703
12133
  # Corresponds to the JSON property `kind`
11704
12134
  # @return [String]
11705
12135
  attr_accessor :kind
@@ -11729,8 +12159,8 @@ module Google
11729
12159
  # @return [Google::Apis::ContentV2_1::Errors]
11730
12160
  attr_accessor :errors
11731
12161
 
11732
- # Identifies what kind of resource this is. Value: the fixed string "content#
11733
- # regionalinventoryCustomBatchResponseEntry".
12162
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
12163
+ # regionalinventoryCustomBatchResponseEntry`".
11734
12164
  # Corresponds to the JSON property `kind`
11735
12165
  # @return [String]
11736
12166
  attr_accessor :kind
@@ -12340,6 +12770,67 @@ module Google
12340
12770
  end
12341
12771
  end
12342
12772
 
12773
+ # Request message for the RequestPhoneVerification method.
12774
+ class RequestPhoneVerificationRequest
12775
+ include Google::Apis::Core::Hashable
12776
+
12777
+ # Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for
12778
+ # example, en-US). Language code is used to provide localized `SMS` and `
12779
+ # PHONE_CALL`. Default language used is en-US if not provided.
12780
+ # Corresponds to the JSON property `languageCode`
12781
+ # @return [String]
12782
+ attr_accessor :language_code
12783
+
12784
+ # Phone number to be verified.
12785
+ # Corresponds to the JSON property `phoneNumber`
12786
+ # @return [String]
12787
+ attr_accessor :phone_number
12788
+
12789
+ # Required. Two letter country code for the phone number, for example `CA` for
12790
+ # Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/
12791
+ # ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned
12792
+ # codes.
12793
+ # Corresponds to the JSON property `phoneRegionCode`
12794
+ # @return [String]
12795
+ attr_accessor :phone_region_code
12796
+
12797
+ # Verification method to receive verification code.
12798
+ # Corresponds to the JSON property `phoneVerificationMethod`
12799
+ # @return [String]
12800
+ attr_accessor :phone_verification_method
12801
+
12802
+ def initialize(**args)
12803
+ update!(**args)
12804
+ end
12805
+
12806
+ # Update properties of this object
12807
+ def update!(**args)
12808
+ @language_code = args[:language_code] if args.key?(:language_code)
12809
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
12810
+ @phone_region_code = args[:phone_region_code] if args.key?(:phone_region_code)
12811
+ @phone_verification_method = args[:phone_verification_method] if args.key?(:phone_verification_method)
12812
+ end
12813
+ end
12814
+
12815
+ # Response message for the RequestPhoneVerification method.
12816
+ class RequestPhoneVerificationResponse
12817
+ include Google::Apis::Core::Hashable
12818
+
12819
+ # The verification ID to use in subsequent calls to `verifyphonenumber`.
12820
+ # Corresponds to the JSON property `verificationId`
12821
+ # @return [String]
12822
+ attr_accessor :verification_id
12823
+
12824
+ def initialize(**args)
12825
+ update!(**args)
12826
+ end
12827
+
12828
+ # Update properties of this object
12829
+ def update!(**args)
12830
+ @verification_id = args[:verification_id] if args.key?(:verification_id)
12831
+ end
12832
+ end
12833
+
12343
12834
  # Request message for the RequestReviewProgram method.
12344
12835
  class RequestReviewBuyOnGoogleProgramRequest
12345
12836
  include Google::Apis::Core::Hashable
@@ -12353,6 +12844,46 @@ module Google
12353
12844
  end
12354
12845
  end
12355
12846
 
12847
+ # Request message for the RequestReviewFreeListings Program method.
12848
+ class RequestReviewFreeListingsRequest
12849
+ include Google::Apis::Core::Hashable
12850
+
12851
+ # The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
12852
+ # of the country for which review is to be requested.
12853
+ # Corresponds to the JSON property `regionCode`
12854
+ # @return [String]
12855
+ attr_accessor :region_code
12856
+
12857
+ def initialize(**args)
12858
+ update!(**args)
12859
+ end
12860
+
12861
+ # Update properties of this object
12862
+ def update!(**args)
12863
+ @region_code = args[:region_code] if args.key?(:region_code)
12864
+ end
12865
+ end
12866
+
12867
+ # Request message for the RequestReviewShoppingAds program method.
12868
+ class RequestReviewShoppingAdsRequest
12869
+ include Google::Apis::Core::Hashable
12870
+
12871
+ # The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
12872
+ # of the country for which review is to be requested.
12873
+ # Corresponds to the JSON property `regionCode`
12874
+ # @return [String]
12875
+ attr_accessor :region_code
12876
+
12877
+ def initialize(**args)
12878
+ update!(**args)
12879
+ end
12880
+
12881
+ # Update properties of this object
12882
+ def update!(**args)
12883
+ @region_code = args[:region_code] if args.key?(:region_code)
12884
+ end
12885
+ end
12886
+
12356
12887
  # Return address resource.
12357
12888
  class ReturnAddress
12358
12889
  include Google::Apis::Core::Hashable
@@ -13013,8 +13544,8 @@ module Google
13013
13544
  # @return [Array<Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry>]
13014
13545
  attr_accessor :entries
13015
13546
 
13016
- # Identifies what kind of resource this is. Value: the fixed string "content#
13017
- # returnaddressCustomBatchResponse".
13547
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
13548
+ # returnaddressCustomBatchResponse`".
13018
13549
  # Corresponds to the JSON property `kind`
13019
13550
  # @return [String]
13020
13551
  attr_accessor :kind
@@ -13072,8 +13603,8 @@ module Google
13072
13603
  class ReturnaddressListResponse
13073
13604
  include Google::Apis::Core::Hashable
13074
13605
 
13075
- # Identifies what kind of resource this is. Value: the fixed string "content#
13076
- # returnaddressListResponse".
13606
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
13607
+ # returnaddressListResponse`".
13077
13608
  # Corresponds to the JSON property `kind`
13078
13609
  # @return [String]
13079
13610
  attr_accessor :kind
@@ -13173,8 +13704,8 @@ module Google
13173
13704
  # @return [Array<Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry>]
13174
13705
  attr_accessor :entries
13175
13706
 
13176
- # Identifies what kind of resource this is. Value: the fixed string "content#
13177
- # returnpolicyCustomBatchResponse".
13707
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
13708
+ # returnpolicyCustomBatchResponse`".
13178
13709
  # Corresponds to the JSON property `kind`
13179
13710
  # @return [String]
13180
13711
  attr_accessor :kind
@@ -13232,8 +13763,8 @@ module Google
13232
13763
  class ReturnpolicyListResponse
13233
13764
  include Google::Apis::Core::Hashable
13234
13765
 
13235
- # Identifies what kind of resource this is. Value: the fixed string "content#
13236
- # returnpolicyListResponse".
13766
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
13767
+ # returnpolicyListResponse`".
13237
13768
  # Corresponds to the JSON property `kind`
13238
13769
  # @return [String]
13239
13770
  attr_accessor :kind
@@ -13293,7 +13824,9 @@ module Google
13293
13824
  attr_accessor :page_token
13294
13825
 
13295
13826
  # Required. Query that defines performance metrics to retrieve and dimensions
13296
- # according to which the metrics are to be segmented.
13827
+ # according to which the metrics are to be segmented. For details on how to
13828
+ # construct your query, see the [Query Language guide](https://developers.google.
13829
+ # com/shopping-content/guides/reports/query-language/overview).
13297
13830
  # Corresponds to the JSON property `query`
13298
13831
  # @return [String]
13299
13832
  attr_accessor :query
@@ -13350,27 +13883,37 @@ module Google
13350
13883
  # @return [String]
13351
13884
  attr_accessor :brand
13352
13885
 
13353
- # Product category (1st level) in Google's product taxonomy.
13886
+ # [Product category (1st level)](https://developers.google.com/shopping-content/
13887
+ # guides/reports/segmentation#category_and_product_type) in Google's product
13888
+ # taxonomy.
13354
13889
  # Corresponds to the JSON property `categoryL1`
13355
13890
  # @return [String]
13356
13891
  attr_accessor :category_l1
13357
13892
 
13358
- # Product category (2nd level) in Google's product taxonomy.
13893
+ # [Product category (2nd level)](https://developers.google.com/shopping-content/
13894
+ # guides/reports/segmentation#category_and_product_type) in Google's product
13895
+ # taxonomy.
13359
13896
  # Corresponds to the JSON property `categoryL2`
13360
13897
  # @return [String]
13361
13898
  attr_accessor :category_l2
13362
13899
 
13363
- # Product category (3rd level) in Google's product taxonomy.
13900
+ # [Product category (3rd level)](https://developers.google.com/shopping-content/
13901
+ # guides/reports/segmentation#category_and_product_type) in Google's product
13902
+ # taxonomy.
13364
13903
  # Corresponds to the JSON property `categoryL3`
13365
13904
  # @return [String]
13366
13905
  attr_accessor :category_l3
13367
13906
 
13368
- # Product category (4th level) in Google's product taxonomy.
13907
+ # [Product category (4th level)](https://developers.google.com/shopping-content/
13908
+ # guides/reports/segmentation#category_and_product_type) in Google's product
13909
+ # taxonomy.
13369
13910
  # Corresponds to the JSON property `categoryL4`
13370
13911
  # @return [String]
13371
13912
  attr_accessor :category_l4
13372
13913
 
13373
- # Product category (5th level) in Google's product taxonomy.
13914
+ # [Product category (5th level)](https://developers.google.com/shopping-content/
13915
+ # guides/reports/segmentation#category_and_product_type) in Google's product
13916
+ # taxonomy.
13374
13917
  # Corresponds to the JSON property `categoryL5`
13375
13918
  # @return [String]
13376
13919
  attr_accessor :category_l5
@@ -13424,27 +13967,37 @@ module Google
13424
13967
  # @return [String]
13425
13968
  attr_accessor :offer_id
13426
13969
 
13427
- # Product category (1st level) in merchant's own product taxonomy.
13970
+ # [Product type (1st level)](https://developers.google.com/shopping-content/
13971
+ # guides/reports/segmentation#category_and_product_type) in merchant's own
13972
+ # product taxonomy.
13428
13973
  # Corresponds to the JSON property `productTypeL1`
13429
13974
  # @return [String]
13430
13975
  attr_accessor :product_type_l1
13431
13976
 
13432
- # Product category (2nd level) in merchant's own product taxonomy.
13977
+ # [Product type (2nd level)](https://developers.google.com/shopping-content/
13978
+ # guides/reports/segmentation#category_and_product_type) in merchant's own
13979
+ # product taxonomy.
13433
13980
  # Corresponds to the JSON property `productTypeL2`
13434
13981
  # @return [String]
13435
13982
  attr_accessor :product_type_l2
13436
13983
 
13437
- # Product category (3rd level) in merchant's own product taxonomy.
13984
+ # [Product type (3rd level)](https://developers.google.com/shopping-content/
13985
+ # guides/reports/segmentation#category_and_product_type) in merchant's own
13986
+ # product taxonomy.
13438
13987
  # Corresponds to the JSON property `productTypeL3`
13439
13988
  # @return [String]
13440
13989
  attr_accessor :product_type_l3
13441
13990
 
13442
- # Product category (4th level) in merchant's own product taxonomy.
13991
+ # [Product type (4th level)](https://developers.google.com/shopping-content/
13992
+ # guides/reports/segmentation#category_and_product_type) in merchant's own
13993
+ # product taxonomy.
13443
13994
  # Corresponds to the JSON property `productTypeL4`
13444
13995
  # @return [String]
13445
13996
  attr_accessor :product_type_l4
13446
13997
 
13447
- # Product category (5th level) in merchant's own product taxonomy.
13998
+ # [Product type (5th level)](https://developers.google.com/shopping-content/
13999
+ # guides/reports/segmentation#category_and_product_type) in merchant's own
14000
+ # product taxonomy.
13448
14001
  # Corresponds to the JSON property `productTypeL5`
13449
14002
  # @return [String]
13450
14003
  attr_accessor :product_type_l5
@@ -13880,8 +14433,8 @@ module Google
13880
14433
  class SettlementreportsListResponse
13881
14434
  include Google::Apis::Core::Hashable
13882
14435
 
13883
- # Identifies what kind of resource this is. Value: the fixed string "content#
13884
- # settlementreportsListResponse".
14436
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
14437
+ # settlementreportsListResponse`".
13885
14438
  # Corresponds to the JSON property `kind`
13886
14439
  # @return [String]
13887
14440
  attr_accessor :kind
@@ -13912,8 +14465,8 @@ module Google
13912
14465
  class SettlementtransactionsListResponse
13913
14466
  include Google::Apis::Core::Hashable
13914
14467
 
13915
- # Identifies what kind of resource this is. Value: the fixed string "content#
13916
- # settlementtransactionsListResponse".
14468
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
14469
+ # settlementtransactionsListResponse`".
13917
14470
  # Corresponds to the JSON property `kind`
13918
14471
  # @return [String]
13919
14472
  attr_accessor :kind
@@ -14150,8 +14703,8 @@ module Google
14150
14703
  # @return [Array<Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponseEntry>]
14151
14704
  attr_accessor :entries
14152
14705
 
14153
- # Identifies what kind of resource this is. Value: the fixed string "content#
14154
- # shippingsettingsCustomBatchResponse".
14706
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
14707
+ # shippingsettingsCustomBatchResponse`".
14155
14708
  # Corresponds to the JSON property `kind`
14156
14709
  # @return [String]
14157
14710
  attr_accessor :kind
@@ -14215,8 +14768,8 @@ module Google
14215
14768
  # @return [Array<Google::Apis::ContentV2_1::CarriersCarrier>]
14216
14769
  attr_accessor :carriers
14217
14770
 
14218
- # Identifies what kind of resource this is. Value: the fixed string "content#
14219
- # shippingsettingsGetSupportedCarriersResponse".
14771
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
14772
+ # shippingsettingsGetSupportedCarriersResponse`".
14220
14773
  # Corresponds to the JSON property `kind`
14221
14774
  # @return [String]
14222
14775
  attr_accessor :kind
@@ -14241,8 +14794,8 @@ module Google
14241
14794
  # @return [Array<Google::Apis::ContentV2_1::HolidaysHoliday>]
14242
14795
  attr_accessor :holidays
14243
14796
 
14244
- # Identifies what kind of resource this is. Value: the fixed string "content#
14245
- # shippingsettingsGetSupportedHolidaysResponse".
14797
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
14798
+ # shippingsettingsGetSupportedHolidaysResponse`".
14246
14799
  # Corresponds to the JSON property `kind`
14247
14800
  # @return [String]
14248
14801
  attr_accessor :kind
@@ -14262,8 +14815,8 @@ module Google
14262
14815
  class ShippingsettingsGetSupportedPickupServicesResponse
14263
14816
  include Google::Apis::Core::Hashable
14264
14817
 
14265
- # Identifies what kind of resource this is. Value: the fixed string "content#
14266
- # shippingsettingsGetSupportedPickupServicesResponse".
14818
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
14819
+ # shippingsettingsGetSupportedPickupServicesResponse`".
14267
14820
  # Corresponds to the JSON property `kind`
14268
14821
  # @return [String]
14269
14822
  attr_accessor :kind
@@ -14288,8 +14841,8 @@ module Google
14288
14841
  class ShippingsettingsListResponse
14289
14842
  include Google::Apis::Core::Hashable
14290
14843
 
14291
- # Identifies what kind of resource this is. Value: the fixed string "content#
14292
- # shippingsettingsListResponse".
14844
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
14845
+ # shippingsettingsListResponse`".
14293
14846
  # Corresponds to the JSON property `kind`
14294
14847
  # @return [String]
14295
14848
  attr_accessor :kind
@@ -14316,6 +14869,88 @@ module Google
14316
14869
  end
14317
14870
  end
14318
14871
 
14872
+ # Response message for GetShoppingAdsProgramStatus.
14873
+ class ShoppingAdsProgramStatus
14874
+ include Google::Apis::Core::Hashable
14875
+
14876
+ # Status of the program in each region. Regions with the same status and review
14877
+ # eligibility are grouped together in `regionCodes`.
14878
+ # Corresponds to the JSON property `regionStatuses`
14879
+ # @return [Array<Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus>]
14880
+ attr_accessor :region_statuses
14881
+
14882
+ # If program is successfully onboarded for at least one region.
14883
+ # Corresponds to the JSON property `state`
14884
+ # @return [String]
14885
+ attr_accessor :state
14886
+
14887
+ def initialize(**args)
14888
+ update!(**args)
14889
+ end
14890
+
14891
+ # Update properties of this object
14892
+ def update!(**args)
14893
+ @region_statuses = args[:region_statuses] if args.key?(:region_statuses)
14894
+ @state = args[:state] if args.key?(:state)
14895
+ end
14896
+ end
14897
+
14898
+ # Status of program and region.
14899
+ class ShoppingAdsProgramStatusRegionStatus
14900
+ include Google::Apis::Core::Hashable
14901
+
14902
+ # Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It
14903
+ # will be present when `eligibility_status` is `WARNING`. Date will be provided
14904
+ # in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format i.e. YYYY-MM-DD
14905
+ # Corresponds to the JSON property `disapprovalDate`
14906
+ # @return [String]
14907
+ attr_accessor :disapproval_date
14908
+
14909
+ # Eligibility status of the Shopping Ads program.
14910
+ # Corresponds to the JSON property `eligibilityStatus`
14911
+ # @return [String]
14912
+ attr_accessor :eligibility_status
14913
+
14914
+ # Reason if a program in a given country is not eligible for review. Populated
14915
+ # only if `review_eligibility_status` is `INELIGIBLE`.
14916
+ # Corresponds to the JSON property `ineligibilityReason`
14917
+ # @return [String]
14918
+ attr_accessor :ineligibility_reason
14919
+
14920
+ # The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-
14921
+ # 1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `
14922
+ # reviewEligibility`.
14923
+ # Corresponds to the JSON property `regionCodes`
14924
+ # @return [Array<String>]
14925
+ attr_accessor :region_codes
14926
+
14927
+ # If a program in a given country is eligible for review. It will be present
14928
+ # only if eligibility status is `DISAPPROVED`.
14929
+ # Corresponds to the JSON property `reviewEligibilityStatus`
14930
+ # @return [String]
14931
+ attr_accessor :review_eligibility_status
14932
+
14933
+ # These issues will be evaluated in review process. Fix all the issues before
14934
+ # requesting the review.
14935
+ # Corresponds to the JSON property `reviewIssues`
14936
+ # @return [Array<String>]
14937
+ attr_accessor :review_issues
14938
+
14939
+ def initialize(**args)
14940
+ update!(**args)
14941
+ end
14942
+
14943
+ # Update properties of this object
14944
+ def update!(**args)
14945
+ @disapproval_date = args[:disapproval_date] if args.key?(:disapproval_date)
14946
+ @eligibility_status = args[:eligibility_status] if args.key?(:eligibility_status)
14947
+ @ineligibility_reason = args[:ineligibility_reason] if args.key?(:ineligibility_reason)
14948
+ @region_codes = args[:region_codes] if args.key?(:region_codes)
14949
+ @review_eligibility_status = args[:review_eligibility_status] if args.key?(:review_eligibility_status)
14950
+ @review_issues = args[:review_issues] if args.key?(:review_issues)
14951
+ end
14952
+ end
14953
+
14319
14954
  #
14320
14955
  class Table
14321
14956
  include Google::Apis::Core::Hashable
@@ -14865,8 +15500,10 @@ module Google
14865
15500
  # @return [Array<Google::Apis::ContentV2_1::UnitInvoiceAdditionalCharge>]
14866
15501
  attr_accessor :additional_charges
14867
15502
 
14868
- # [required] Pre-tax or post-tax price of the unit depending on the locality of
14869
- # the order.
15503
+ # [required] Pre-tax or post-tax price of one unit depending on the locality of
15504
+ # the order. *Note:* Invoicing works on a per unit basis. The `unitPrice` is the
15505
+ # price of a single unit, and will be multiplied by the number of entries in `
15506
+ # shipmentUnitId`.
14870
15507
  # Corresponds to the JSON property `unitPrice`
14871
15508
  # @return [Google::Apis::ContentV2_1::Price]
14872
15509
  attr_accessor :unit_price
@@ -14892,7 +15529,9 @@ module Google
14892
15529
  class UnitInvoiceAdditionalCharge
14893
15530
  include Google::Apis::Core::Hashable
14894
15531
 
14895
- # [required] Amount of the additional charge.
15532
+ # [required] Amount of the additional charge per unit. *Note:* Invoicing works
15533
+ # on a per unit bases. The `additionalChargeAmount` is the amount charged per
15534
+ # unit, and will be multiplied by the number of entries in `shipmentUnitID`.
14896
15535
  # Corresponds to the JSON property `additionalChargeAmount`
14897
15536
  # @return [Google::Apis::ContentV2_1::Amount]
14898
15537
  attr_accessor :additional_charge_amount
@@ -14997,6 +15636,56 @@ module Google
14997
15636
  end
14998
15637
  end
14999
15638
 
15639
+ # Request message for the VerifyPhoneNumber method.
15640
+ class VerifyPhoneNumberRequest
15641
+ include Google::Apis::Core::Hashable
15642
+
15643
+ # Verification method used to receive verification code.
15644
+ # Corresponds to the JSON property `phoneVerificationMethod`
15645
+ # @return [String]
15646
+ attr_accessor :phone_verification_method
15647
+
15648
+ # The verification code that was sent to the phone number for validation.
15649
+ # Corresponds to the JSON property `verificationCode`
15650
+ # @return [String]
15651
+ attr_accessor :verification_code
15652
+
15653
+ # The verification ID returned by `requestphoneverification`.
15654
+ # Corresponds to the JSON property `verificationId`
15655
+ # @return [String]
15656
+ attr_accessor :verification_id
15657
+
15658
+ def initialize(**args)
15659
+ update!(**args)
15660
+ end
15661
+
15662
+ # Update properties of this object
15663
+ def update!(**args)
15664
+ @phone_verification_method = args[:phone_verification_method] if args.key?(:phone_verification_method)
15665
+ @verification_code = args[:verification_code] if args.key?(:verification_code)
15666
+ @verification_id = args[:verification_id] if args.key?(:verification_id)
15667
+ end
15668
+ end
15669
+
15670
+ # Response message for the VerifyPhoneNumber method.
15671
+ class VerifyPhoneNumberResponse
15672
+ include Google::Apis::Core::Hashable
15673
+
15674
+ # Verified phone number if verification is successful.
15675
+ # Corresponds to the JSON property `verifiedPhoneNumber`
15676
+ # @return [String]
15677
+ attr_accessor :verified_phone_number
15678
+
15679
+ def initialize(**args)
15680
+ update!(**args)
15681
+ end
15682
+
15683
+ # Update properties of this object
15684
+ def update!(**args)
15685
+ @verified_phone_number = args[:verified_phone_number] if args.key?(:verified_phone_number)
15686
+ end
15687
+ end
15688
+
15000
15689
  #
15001
15690
  class WarehouseBasedDeliveryTime
15002
15691
  include Google::Apis::Core::Hashable