google-apis-content_v2_1 0.4.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cefc82b40f01f2d0c9af41758c2b094b21857c24d86a9be3eb13d8edd92daf4
4
- data.tar.gz: 7911c0470d42ee19acd979a4814da864b5e0f40d58eddce7342a7d2d48ee30b6
3
+ metadata.gz: 52db06f309f117d69fc9b33e36318489f53bae9f00171a58ab72789d1742839b
4
+ data.tar.gz: d8a71992312c31ac9c4c2cb6a1f2a1a8a6fc496c87324646f6188b1abdc05c51
5
5
  SHA512:
6
- metadata.gz: 505cb62db2c9f9dcba8c6a26f37df069abd81a5ad437614ce295f7f4f6957d055a36df64443677caa10c5a9edc13a19d5e5f421762e1f22bf22a8efc16e021da
7
- data.tar.gz: 6207bf4fa6c17bee20aa7965ee25260f0f8ccb2f16c51923f17a36b8984abd20861eeebc5d892ac434b06464add599a634d5499f2f0a0c2d04664d22b92bac4f
6
+ metadata.gz: 67c4109e1e5a89aef60954156d073aead971c263ac374b08bf50a9f02544e96be9a11ca293ca11e38fc328c54e3d035e9f1038d069732183095084831af1e52e
7
+ data.tar.gz: 2a90ff55afb017ca6f981122fe0f9dfe0f90bb191ce6e979c05ba51cfd6b1be609bc24666a7ff574da5424409d10a766a8e297d8655441c107a73181a45f48ef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.9.0 (2021-03-30)
4
+
5
+ * Regenerated from discovery document revision 20210325
6
+
7
+ ### v0.8.0 (2021-03-16)
8
+
9
+ * Regenerated from discovery document revision 20210311
10
+
11
+ ### v0.7.0 (2021-03-09)
12
+
13
+ * Regenerated from discovery document revision 20210303
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.6.0 (2021-03-04)
17
+
18
+ * Regenerated from discovery document revision 20210226
19
+
20
+ ### v0.5.0 (2021-02-25)
21
+
22
+ * Regenerated from discovery document revision 20210223
23
+
3
24
  ### v0.4.0 (2021-02-16)
4
25
 
5
26
  * Regenerated from discovery document revision 20210211
@@ -244,6 +244,38 @@ module Google
244
244
  end
245
245
  end
246
246
 
247
+ # Credentials allowing Google to call a partner's API on behalf of a merchant.
248
+ class AccountCredentials
249
+ include Google::Apis::Core::Hashable
250
+
251
+ # An OAuth access token.
252
+ # Corresponds to the JSON property `accessToken`
253
+ # @return [String]
254
+ attr_accessor :access_token
255
+
256
+ # The amount of time, in seconds, after which the access token is no longer
257
+ # valid.
258
+ # Corresponds to the JSON property `expiresIn`
259
+ # @return [Fixnum]
260
+ attr_accessor :expires_in
261
+
262
+ # Indicates to Google how Google should use these OAuth tokens.
263
+ # Corresponds to the JSON property `purpose`
264
+ # @return [String]
265
+ attr_accessor :purpose
266
+
267
+ def initialize(**args)
268
+ update!(**args)
269
+ end
270
+
271
+ # Update properties of this object
272
+ def update!(**args)
273
+ @access_token = args[:access_token] if args.key?(:access_token)
274
+ @expires_in = args[:expires_in] if args.key?(:expires_in)
275
+ @purpose = args[:purpose] if args.key?(:purpose)
276
+ end
277
+ end
278
+
247
279
  #
248
280
  class AccountCustomerService
249
281
  include Google::Apis::Core::Hashable
@@ -995,8 +1027,7 @@ module Google
995
1027
  attr_accessor :linked_account_id
996
1028
 
997
1029
  # Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
998
- # "`shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
999
- # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
1030
+ # "`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`"
1000
1031
  # Corresponds to the JSON property `services`
1001
1032
  # @return [Array<String>]
1002
1033
  attr_accessor :services
@@ -1103,8 +1134,7 @@ module Google
1103
1134
  attr_accessor :linked_account_id
1104
1135
 
1105
1136
  # Acceptable values are: - "`shoppingAdsProductManagement`" - "`
1106
- # shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
1107
- # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
1137
+ # shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`"
1108
1138
  # Corresponds to the JSON property `services`
1109
1139
  # @return [Array<String>]
1110
1140
  attr_accessor :services
@@ -1601,6 +1631,37 @@ module Google
1601
1631
  end
1602
1632
  end
1603
1633
 
1634
+ # Response message for the GetProgramStatus method.
1635
+ class BuyOnGoogleProgramStatus
1636
+ include Google::Apis::Core::Hashable
1637
+
1638
+ # The customer service pending email.
1639
+ # Corresponds to the JSON property `customerServicePendingEmail`
1640
+ # @return [String]
1641
+ attr_accessor :customer_service_pending_email
1642
+
1643
+ # The customer service verified email.
1644
+ # Corresponds to the JSON property `customerServiceVerifiedEmail`
1645
+ # @return [String]
1646
+ attr_accessor :customer_service_verified_email
1647
+
1648
+ # The current participation stage for the program.
1649
+ # Corresponds to the JSON property `participationStage`
1650
+ # @return [String]
1651
+ attr_accessor :participation_stage
1652
+
1653
+ def initialize(**args)
1654
+ update!(**args)
1655
+ end
1656
+
1657
+ # Update properties of this object
1658
+ def update!(**args)
1659
+ @customer_service_pending_email = args[:customer_service_pending_email] if args.key?(:customer_service_pending_email)
1660
+ @customer_service_verified_email = args[:customer_service_verified_email] if args.key?(:customer_service_verified_email)
1661
+ @participation_stage = args[:participation_stage] if args.key?(:participation_stage)
1662
+ end
1663
+ end
1664
+
1604
1665
  #
1605
1666
  class CarrierRate
1606
1667
  include Google::Apis::Core::Hashable
@@ -4284,6 +4345,25 @@ module Google
4284
4345
  end
4285
4346
  end
4286
4347
 
4348
+ # Response message for the `ListReturnPolicyOnline` method.
4349
+ class ListReturnPolicyOnlineResponse
4350
+ include Google::Apis::Core::Hashable
4351
+
4352
+ # The retrieved return policies.
4353
+ # Corresponds to the JSON property `returnPolicies`
4354
+ # @return [Array<Google::Apis::ContentV2_1::ReturnPolicyOnline>]
4355
+ attr_accessor :return_policies
4356
+
4357
+ def initialize(**args)
4358
+ update!(**args)
4359
+ end
4360
+
4361
+ # Update properties of this object
4362
+ def update!(**args)
4363
+ @return_policies = args[:return_policies] if args.key?(:return_policies)
4364
+ end
4365
+ end
4366
+
4287
4367
  # Local inventory resource. For accepted attribute values, see the local product
4288
4368
  # inventory feed specification.
4289
4369
  class LocalInventory
@@ -4812,6 +4892,25 @@ module Google
4812
4892
  end
4813
4893
  end
4814
4894
 
4895
+ # Request message for the OnboardProgram method.
4896
+ class OnboardBuyOnGoogleProgramRequest
4897
+ include Google::Apis::Core::Hashable
4898
+
4899
+ # The customer service email.
4900
+ # Corresponds to the JSON property `customerServiceEmail`
4901
+ # @return [String]
4902
+ attr_accessor :customer_service_email
4903
+
4904
+ def initialize(**args)
4905
+ update!(**args)
4906
+ end
4907
+
4908
+ # Update properties of this object
4909
+ def update!(**args)
4910
+ @customer_service_email = args[:customer_service_email] if args.key?(:customer_service_email)
4911
+ end
4912
+ end
4913
+
4815
4914
  # Order. Production access (all methods) requires the order manager role.
4816
4915
  # Sandbox access does not.
4817
4916
  class Order
@@ -9534,6 +9633,12 @@ module Google
9534
9633
  # @return [Array<String>]
9535
9634
  attr_accessor :additional_image_links
9536
9635
 
9636
+ # Additional cut of the item. Used together with size_type to represent combined
9637
+ # size types for apparel items.
9638
+ # Corresponds to the JSON property `additionalSizeType`
9639
+ # @return [String]
9640
+ attr_accessor :additional_size_type
9641
+
9537
9642
  # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
9538
9643
  # Corresponds to the JSON property `adsGrouping`
9539
9644
  # @return [String]
@@ -9975,6 +10080,7 @@ module Google
9975
10080
  # Update properties of this object
9976
10081
  def update!(**args)
9977
10082
  @additional_image_links = args[:additional_image_links] if args.key?(:additional_image_links)
10083
+ @additional_size_type = args[:additional_size_type] if args.key?(:additional_size_type)
9978
10084
  @ads_grouping = args[:ads_grouping] if args.key?(:ads_grouping)
9979
10085
  @ads_labels = args[:ads_labels] if args.key?(:ads_labels)
9980
10086
  @ads_redirect = args[:ads_redirect] if args.key?(:ads_redirect)
@@ -11500,7 +11606,8 @@ module Google
11500
11606
  # @return [Google::Apis::ContentV2_1::RepricingRuleCostOfGoodsSaleRule]
11501
11607
  attr_accessor :cogs_based_rule
11502
11608
 
11503
- # Required. Immutable. CLDR country code (e.g. "US").
11609
+ # Required. Immutable. [CLDR country code](http://www.unicode.org/repos/cldr/
11610
+ # tags/latest/common/main/en.xml) (e.g. "US").
11504
11611
  # Corresponds to the JSON property `countryCode`
11505
11612
  # @return [String]
11506
11613
  attr_accessor :country_code
@@ -12106,6 +12213,199 @@ module Google
12106
12213
  end
12107
12214
  end
12108
12215
 
12216
+ # Return policy online object. This is currently used to represent return
12217
+ # policies for ads and free listings programs.
12218
+ class ReturnPolicyOnline
12219
+ include Google::Apis::Core::Hashable
12220
+
12221
+ # The countries of sale where the return policy is applicable. The values must
12222
+ # be a valid 2 letter ISO 3166 code, e.g. "US".
12223
+ # Corresponds to the JSON property `countries`
12224
+ # @return [Array<String>]
12225
+ attr_accessor :countries
12226
+
12227
+ # The item conditions that are accepted for returns. This is required to not be
12228
+ # empty unless the type of return policy is noReturns.
12229
+ # Corresponds to the JSON property `itemConditions`
12230
+ # @return [Array<String>]
12231
+ attr_accessor :item_conditions
12232
+
12233
+ # The unique user-defined label of the return policy. The same label cannot be
12234
+ # used in different return policies for the same country. Policies with the
12235
+ # label 'default' will apply to all products, unless a product specifies a
12236
+ # return_policy_label attribute.
12237
+ # Corresponds to the JSON property `label`
12238
+ # @return [String]
12239
+ attr_accessor :label
12240
+
12241
+ # The name of the policy as shown in Merchant Center.
12242
+ # Corresponds to the JSON property `name`
12243
+ # @return [String]
12244
+ attr_accessor :name
12245
+
12246
+ # The available policies.
12247
+ # Corresponds to the JSON property `policy`
12248
+ # @return [Google::Apis::ContentV2_1::ReturnPolicyOnlinePolicy]
12249
+ attr_accessor :policy
12250
+
12251
+ # The restocking fee. This can either be a fixed fee or a micro percent.
12252
+ # Corresponds to the JSON property `restockingFee`
12253
+ # @return [Google::Apis::ContentV2_1::ReturnPolicyOnlineRestockingFee]
12254
+ attr_accessor :restocking_fee
12255
+
12256
+ # The return methods of how customers can return an item. This value is required
12257
+ # to not be empty unless the type of return policy is noReturns.
12258
+ # Corresponds to the JSON property `returnMethods`
12259
+ # @return [Array<String>]
12260
+ attr_accessor :return_methods
12261
+
12262
+ # Output only. Return policy ID generated by Google.
12263
+ # Corresponds to the JSON property `returnPolicyId`
12264
+ # @return [String]
12265
+ attr_accessor :return_policy_id
12266
+
12267
+ # The return policy uri. This can used by Google to do a sanity check for the
12268
+ # policy.
12269
+ # Corresponds to the JSON property `returnPolicyUri`
12270
+ # @return [String]
12271
+ attr_accessor :return_policy_uri
12272
+
12273
+ # The return reason category information. This required to not be empty unless
12274
+ # the type of return policy is noReturns.
12275
+ # Corresponds to the JSON property `returnReasonCategoryInfo`
12276
+ # @return [Array<Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnReasonCategoryInfo>]
12277
+ attr_accessor :return_reason_category_info
12278
+
12279
+ def initialize(**args)
12280
+ update!(**args)
12281
+ end
12282
+
12283
+ # Update properties of this object
12284
+ def update!(**args)
12285
+ @countries = args[:countries] if args.key?(:countries)
12286
+ @item_conditions = args[:item_conditions] if args.key?(:item_conditions)
12287
+ @label = args[:label] if args.key?(:label)
12288
+ @name = args[:name] if args.key?(:name)
12289
+ @policy = args[:policy] if args.key?(:policy)
12290
+ @restocking_fee = args[:restocking_fee] if args.key?(:restocking_fee)
12291
+ @return_methods = args[:return_methods] if args.key?(:return_methods)
12292
+ @return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
12293
+ @return_policy_uri = args[:return_policy_uri] if args.key?(:return_policy_uri)
12294
+ @return_reason_category_info = args[:return_reason_category_info] if args.key?(:return_reason_category_info)
12295
+ end
12296
+ end
12297
+
12298
+ # The available policies.
12299
+ class ReturnPolicyOnlinePolicy
12300
+ include Google::Apis::Core::Hashable
12301
+
12302
+ # The number of days items can be returned after delivery, where one day is
12303
+ # defined to be 24 hours after the delivery timestamp. Required for `
12304
+ # numberOfDaysAfterDelivery` returns.
12305
+ # Corresponds to the JSON property `days`
12306
+ # @return [Fixnum]
12307
+ attr_accessor :days
12308
+
12309
+ # Policy type.
12310
+ # Corresponds to the JSON property `type`
12311
+ # @return [String]
12312
+ attr_accessor :type
12313
+
12314
+ def initialize(**args)
12315
+ update!(**args)
12316
+ end
12317
+
12318
+ # Update properties of this object
12319
+ def update!(**args)
12320
+ @days = args[:days] if args.key?(:days)
12321
+ @type = args[:type] if args.key?(:type)
12322
+ end
12323
+ end
12324
+
12325
+ # The restocking fee. This can either be a fixed fee or a micro percent.
12326
+ class ReturnPolicyOnlineRestockingFee
12327
+ include Google::Apis::Core::Hashable
12328
+
12329
+ # The price represented as a number and currency.
12330
+ # Corresponds to the JSON property `fixedFee`
12331
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
12332
+ attr_accessor :fixed_fee
12333
+
12334
+ # Percent of total price in micros. 15,000,000 means 15% of the total price
12335
+ # would be charged.
12336
+ # Corresponds to the JSON property `microPercent`
12337
+ # @return [Fixnum]
12338
+ attr_accessor :micro_percent
12339
+
12340
+ def initialize(**args)
12341
+ update!(**args)
12342
+ end
12343
+
12344
+ # Update properties of this object
12345
+ def update!(**args)
12346
+ @fixed_fee = args[:fixed_fee] if args.key?(:fixed_fee)
12347
+ @micro_percent = args[:micro_percent] if args.key?(:micro_percent)
12348
+ end
12349
+ end
12350
+
12351
+ # The return reason category info wrapper.
12352
+ class ReturnPolicyOnlineReturnReasonCategoryInfo
12353
+ include Google::Apis::Core::Hashable
12354
+
12355
+ # The corresponding return label source.
12356
+ # Corresponds to the JSON property `returnLabelSource`
12357
+ # @return [String]
12358
+ attr_accessor :return_label_source
12359
+
12360
+ # The return reason category.
12361
+ # Corresponds to the JSON property `returnReasonCategory`
12362
+ # @return [String]
12363
+ attr_accessor :return_reason_category
12364
+
12365
+ # The return shipping fee. This can either be a fixed fee or a boolean to
12366
+ # indicate that the customer pays the actual shipping cost.
12367
+ # Corresponds to the JSON property `returnShippingFee`
12368
+ # @return [Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnShippingFee]
12369
+ attr_accessor :return_shipping_fee
12370
+
12371
+ def initialize(**args)
12372
+ update!(**args)
12373
+ end
12374
+
12375
+ # Update properties of this object
12376
+ def update!(**args)
12377
+ @return_label_source = args[:return_label_source] if args.key?(:return_label_source)
12378
+ @return_reason_category = args[:return_reason_category] if args.key?(:return_reason_category)
12379
+ @return_shipping_fee = args[:return_shipping_fee] if args.key?(:return_shipping_fee)
12380
+ end
12381
+ end
12382
+
12383
+ # The return shipping fee. This can either be a fixed fee or a boolean to
12384
+ # indicate that the customer pays the actual shipping cost.
12385
+ class ReturnPolicyOnlineReturnShippingFee
12386
+ include Google::Apis::Core::Hashable
12387
+
12388
+ # The price represented as a number and currency.
12389
+ # Corresponds to the JSON property `fixedFee`
12390
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
12391
+ attr_accessor :fixed_fee
12392
+
12393
+ # Type of return shipping fee.
12394
+ # Corresponds to the JSON property `type`
12395
+ # @return [String]
12396
+ attr_accessor :type
12397
+
12398
+ def initialize(**args)
12399
+ update!(**args)
12400
+ end
12401
+
12402
+ # Update properties of this object
12403
+ def update!(**args)
12404
+ @fixed_fee = args[:fixed_fee] if args.key?(:fixed_fee)
12405
+ @type = args[:type] if args.key?(:type)
12406
+ end
12407
+ end
12408
+
12109
12409
  #
12110
12410
  class ReturnPolicyPolicy
12111
12411
  include Google::Apis::Core::Hashable
@@ -12649,8 +12949,8 @@ module Google
12649
12949
  # @return [String]
12650
12950
  attr_accessor :page_token
12651
12951
 
12652
- # Required. Search query that defines performance metrics to retrieve and
12653
- # dimensions according to which the metrics are to be segmented.
12952
+ # Required. Query that defines performance metrics to retrieve and dimensions
12953
+ # according to which the metrics are to be segmented.
12654
12954
  # Corresponds to the JSON property `query`
12655
12955
  # @return [String]
12656
12956
  attr_accessor :query
@@ -12956,7 +13256,8 @@ module Google
12956
13256
  # qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
12957
13257
  # transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
12958
13258
  # wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
12959
- # refundFromMerchant`" - "`returnLabelShippingFee`" - "`pspFee`"
13259
+ # issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" -
13260
+ # "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`"
12960
13261
  # Corresponds to the JSON property `description`
12961
13262
  # @return [String]
12962
13263
  attr_accessor :description
@@ -12968,7 +13269,7 @@ module Google
12968
13269
 
12969
13270
  # The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
12970
13271
  # - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
12971
- # returnLabelShippingFeeAmount`"
13272
+ # returnLabelShippingFeeAmount`" - "`lumpSumCorrectionAmount`"
12972
13273
  # Corresponds to the JSON property `type`
12973
13274
  # @return [String]
12974
13275
  attr_accessor :type
@@ -13087,7 +13388,7 @@ module Google
13087
13388
  # "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
13088
13389
  # issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
13089
13390
  # reversalIssueRelatedRefundAndReplacement`" - "`
13090
- # reversalReturnLabelShippingFeeTransaction`"
13391
+ # reversalReturnLabelShippingFeeTransaction`" - "`lumpSumCorrectionTransaction`"
13091
13392
  # Corresponds to the JSON property `type`
13092
13393
  # @return [String]
13093
13394
  attr_accessor :type