google-apis-content_v2_1 0.5.0 → 0.10.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: 4d5b5d0984889edd093fbf96f88233b03cca531e95814dcc35602377ae5aec33
4
- data.tar.gz: 6cdf623c16d4660d5817215ba43258f0df6526eeec3c5298ecb11ea670421136
3
+ metadata.gz: 78c78d295ddec6584fa94d1e53ec12f54a8e864278352799d8c3614658da87bc
4
+ data.tar.gz: eac068998aedef7b3758e00f16feaeedbd210cd8aacd2bbbfad19ba7c145f08b
5
5
  SHA512:
6
- metadata.gz: ebd0c208886941ebe3e5bee40c50ed4c1949d9d1c9ce80b0a877c0975c8a939898467e2f317eb752e4a06b9d9cfd4f9893b0037e64215878c5d6cc80f59783d6
7
- data.tar.gz: b43c465860864450c1e9a6be7a32ea0a8d9c224b5e9872439bf2cfd9d107071446b55ea60cb569e5af50c1bef34328c5e4ae078bf4edaa4aac19d343dbf6b659
6
+ metadata.gz: 8623c4f2e6603ae829a2f6e680356579580bda1d424f827c9573e91fbf9b65cac084765ffcb1a6fc004e0658399d7843448d4d030e9c226f1ea04e91fdde1015
7
+ data.tar.gz: 2e587296c82554a6ba28b83658910eab0f1d5e9f5795d2561169b49a5bb618e8facbdf861ccb89984dc34e72b6524c44d2b98c2e742a5639a8c0ba3b2870855d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.10.0 (2021-05-11)
4
+
5
+ * Regenerated from discovery document revision 20210505
6
+
7
+ ### v0.9.0 (2021-03-30)
8
+
9
+ * Regenerated from discovery document revision 20210325
10
+
11
+ ### v0.8.0 (2021-03-16)
12
+
13
+ * Regenerated from discovery document revision 20210311
14
+
15
+ ### v0.7.0 (2021-03-09)
16
+
17
+ * Regenerated from discovery document revision 20210303
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.6.0 (2021-03-04)
21
+
22
+ * Regenerated from discovery document revision 20210226
23
+
3
24
  ### v0.5.0 (2021-02-25)
4
25
 
5
26
  * Regenerated from discovery document revision 20210223
@@ -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
@@ -1091,7 +1123,7 @@ module Google
1091
1123
  attr_accessor :action
1092
1124
 
1093
1125
  # Type of the link between the two accounts. Acceptable values are: - "`
1094
- # channelPartner`" - "`eCommercePlatform`"
1126
+ # channelPartner`" - "`eCommercePlatform`" - "`paymentServiceProvider`"
1095
1127
  # Corresponds to the JSON property `linkType`
1096
1128
  # @return [String]
1097
1129
  attr_accessor :link_type
@@ -1101,9 +1133,14 @@ module Google
1101
1133
  # @return [String]
1102
1134
  attr_accessor :linked_account_id
1103
1135
 
1136
+ # Additional information required for PAYMENT_SERVICE_PROVIDER link type.
1137
+ # Corresponds to the JSON property `paymentServiceProviderLinkInfo`
1138
+ # @return [Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo]
1139
+ attr_accessor :payment_service_provider_link_info
1140
+
1104
1141
  # Acceptable values are: - "`shoppingAdsProductManagement`" - "`
1105
- # shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
1106
- # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
1142
+ # shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" - "`
1143
+ # paymentProcessing`"
1107
1144
  # Corresponds to the JSON property `services`
1108
1145
  # @return [Array<String>]
1109
1146
  attr_accessor :services
@@ -1117,6 +1154,7 @@ module Google
1117
1154
  @action = args[:action] if args.key?(:action)
1118
1155
  @link_type = args[:link_type] if args.key?(:link_type)
1119
1156
  @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
1157
+ @payment_service_provider_link_info = args[:payment_service_provider_link_info] if args.key?(:payment_service_provider_link_info)
1120
1158
  @services = args[:services] if args.key?(:services)
1121
1159
  end
1122
1160
  end
@@ -1555,6 +1593,19 @@ module Google
1555
1593
  end
1556
1594
  end
1557
1595
 
1596
+ # Request message for the ActivateProgram method.
1597
+ class ActivateBuyOnGoogleProgramRequest
1598
+ include Google::Apis::Core::Hashable
1599
+
1600
+ def initialize(**args)
1601
+ update!(**args)
1602
+ end
1603
+
1604
+ # Update properties of this object
1605
+ def update!(**args)
1606
+ end
1607
+ end
1608
+
1558
1609
  #
1559
1610
  class Amount
1560
1611
  include Google::Apis::Core::Hashable
@@ -1696,13 +1747,20 @@ module Google
1696
1747
  # @return [String]
1697
1748
  attr_accessor :country
1698
1749
 
1750
+ # A list of services supported for EDD (Estimated Delivery Date) calculation.
1751
+ # This is the list of valid values for WarehouseBasedDeliveryTime.carrierService.
1752
+ # Corresponds to the JSON property `eddServices`
1753
+ # @return [Array<String>]
1754
+ attr_accessor :edd_services
1755
+
1699
1756
  # The name of the carrier (e.g., `"UPS"`). Always present.
1700
1757
  # Corresponds to the JSON property `name`
1701
1758
  # @return [String]
1702
1759
  attr_accessor :name
1703
1760
 
1704
1761
  # A list of supported services (e.g., `"ground"`) for that carrier. Contains at
1705
- # least one service.
1762
+ # least one service. This is the list of valid values for CarrierRate.
1763
+ # carrierService.
1706
1764
  # Corresponds to the JSON property `services`
1707
1765
  # @return [Array<String>]
1708
1766
  attr_accessor :services
@@ -1714,6 +1772,7 @@ module Google
1714
1772
  # Update properties of this object
1715
1773
  def update!(**args)
1716
1774
  @country = args[:country] if args.key?(:country)
1775
+ @edd_services = args[:edd_services] if args.key?(:edd_services)
1717
1776
  @name = args[:name] if args.key?(:name)
1718
1777
  @services = args[:services] if args.key?(:services)
1719
1778
  end
@@ -3048,6 +3107,13 @@ module Google
3048
3107
  # @return [Google::Apis::ContentV2_1::TransitTable]
3049
3108
  attr_accessor :transit_time_table
3050
3109
 
3110
+ # Indicates that the delivery time should be calculated per warehouse (shipping
3111
+ # origin location) based on the settings of the selected carrier. When set, no
3112
+ # other transit time related field in DeliveryTime should be set.
3113
+ # Corresponds to the JSON property `warehouseBasedDeliveryTimes`
3114
+ # @return [Array<Google::Apis::ContentV2_1::WarehouseBasedDeliveryTime>]
3115
+ attr_accessor :warehouse_based_delivery_times
3116
+
3051
3117
  def initialize(**args)
3052
3118
  update!(**args)
3053
3119
  end
@@ -3063,6 +3129,7 @@ module Google
3063
3129
  @min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
3064
3130
  @transit_business_day_config = args[:transit_business_day_config] if args.key?(:transit_business_day_config)
3065
3131
  @transit_time_table = args[:transit_time_table] if args.key?(:transit_time_table)
3132
+ @warehouse_based_delivery_times = args[:warehouse_based_delivery_times] if args.key?(:warehouse_based_delivery_times)
3066
3133
  end
3067
3134
  end
3068
3135
 
@@ -4040,7 +4107,7 @@ module Google
4040
4107
 
4041
4108
  # Service provided to or by the linked account. Acceptable values are: - "`
4042
4109
  # shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
4043
- # shoppingAdsProductManagement`"
4110
+ # shoppingAdsProductManagement`" - "`paymentProcessing`"
4044
4111
  # Corresponds to the JSON property `service`
4045
4112
  # @return [String]
4046
4113
  attr_accessor :service
@@ -4762,8 +4829,8 @@ module Google
4762
4829
  # @return [Fixnum]
4763
4830
  attr_accessor :clicks
4764
4831
 
4765
- # Number of clicks merchant's products receive (clicks) divided by the number of
4766
- # times the products are shown (impressions).
4832
+ # Click-through rate - the number of clicks merchant's products receive (clicks)
4833
+ # divided by the number of times the products are shown (impressions).
4767
4834
  # Corresponds to the JSON property `ctr`
4768
4835
  # @return [Float]
4769
4836
  attr_accessor :ctr
@@ -8725,6 +8792,45 @@ module Google
8725
8792
  end
8726
8793
  end
8727
8794
 
8795
+ # Request message for the PauseProgram method.
8796
+ class PauseBuyOnGoogleProgramRequest
8797
+ include Google::Apis::Core::Hashable
8798
+
8799
+ def initialize(**args)
8800
+ update!(**args)
8801
+ end
8802
+
8803
+ # Update properties of this object
8804
+ def update!(**args)
8805
+ end
8806
+ end
8807
+
8808
+ # Additional information required for PAYMENT_SERVICE_PROVIDER link type.
8809
+ class PaymentServiceProviderLinkInfo
8810
+ include Google::Apis::Core::Hashable
8811
+
8812
+ # The business country of the merchant account as identified by the third party
8813
+ # service provider.
8814
+ # Corresponds to the JSON property `externalAccountBusinessCountry`
8815
+ # @return [String]
8816
+ attr_accessor :external_account_business_country
8817
+
8818
+ # The id used by the third party service provider to identify the merchant.
8819
+ # Corresponds to the JSON property `externalAccountId`
8820
+ # @return [String]
8821
+ attr_accessor :external_account_id
8822
+
8823
+ def initialize(**args)
8824
+ update!(**args)
8825
+ end
8826
+
8827
+ # Update properties of this object
8828
+ def update!(**args)
8829
+ @external_account_business_country = args[:external_account_business_country] if args.key?(:external_account_business_country)
8830
+ @external_account_id = args[:external_account_id] if args.key?(:external_account_id)
8831
+ end
8832
+ end
8833
+
8728
8834
  #
8729
8835
  class PickupCarrierService
8730
8836
  include Google::Apis::Core::Hashable
@@ -9602,6 +9708,12 @@ module Google
9602
9708
  # @return [Array<String>]
9603
9709
  attr_accessor :additional_image_links
9604
9710
 
9711
+ # Additional cut of the item. Used together with size_type to represent combined
9712
+ # size types for apparel items.
9713
+ # Corresponds to the JSON property `additionalSizeType`
9714
+ # @return [String]
9715
+ attr_accessor :additional_size_type
9716
+
9605
9717
  # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
9606
9718
  # Corresponds to the JSON property `adsGrouping`
9607
9719
  # @return [String]
@@ -10043,6 +10155,7 @@ module Google
10043
10155
  # Update properties of this object
10044
10156
  def update!(**args)
10045
10157
  @additional_image_links = args[:additional_image_links] if args.key?(:additional_image_links)
10158
+ @additional_size_type = args[:additional_size_type] if args.key?(:additional_size_type)
10046
10159
  @ads_grouping = args[:ads_grouping] if args.key?(:ads_grouping)
10047
10160
  @ads_labels = args[:ads_labels] if args.key?(:ads_labels)
10048
10161
  @ads_redirect = args[:ads_redirect] if args.key?(:ads_redirect)
@@ -10208,6 +10321,39 @@ module Google
10208
10321
  # @return [Fixnum]
10209
10322
  attr_accessor :location_id
10210
10323
 
10324
+ # Maximum handling time (inclusive) between when the order is received and
10325
+ # shipped in business days. 0 means that the order is shipped on the same day as
10326
+ # it is received if it happens before the cut-off time. Both maxHandlingTime and
10327
+ # maxTransitTime are required if providing shipping speeds.
10328
+ # Corresponds to the JSON property `maxHandlingTime`
10329
+ # @return [Fixnum]
10330
+ attr_accessor :max_handling_time
10331
+
10332
+ # Maximum transit time (inclusive) between when the order has shipped and when
10333
+ # it is delivered in business days. 0 means that the order is delivered on the
10334
+ # same day as it ships. Both maxHandlingTime and maxTransitTime are required if
10335
+ # providing shipping speeds.
10336
+ # Corresponds to the JSON property `maxTransitTime`
10337
+ # @return [Fixnum]
10338
+ attr_accessor :max_transit_time
10339
+
10340
+ # Minimum handling time (inclusive) between when the order is received and
10341
+ # shipped in business days. 0 means that the order is shipped on the same day as
10342
+ # it is received if it happens before the cut-off time. minHandlingTime can only
10343
+ # be present together with maxHandlingTime; but it is not required if
10344
+ # maxHandlingTime is present.
10345
+ # Corresponds to the JSON property `minHandlingTime`
10346
+ # @return [Fixnum]
10347
+ attr_accessor :min_handling_time
10348
+
10349
+ # Minimum transit time (inclusive) between when the order has shipped and when
10350
+ # it is delivered in business days. 0 means that the order is delivered on the
10351
+ # same day as it ships. minTransitTime can only be present together with
10352
+ # maxTransitTime; but it is not required if maxTransitTime is present.
10353
+ # Corresponds to the JSON property `minTransitTime`
10354
+ # @return [Fixnum]
10355
+ attr_accessor :min_transit_time
10356
+
10211
10357
  # The postal code range that the shipping rate applies to, represented by a
10212
10358
  # postal code, a postal code prefix followed by a * wildcard, a range between
10213
10359
  # two postal codes or two postal code prefixes of equal length.
@@ -10239,6 +10385,10 @@ module Google
10239
10385
  @country = args[:country] if args.key?(:country)
10240
10386
  @location_group_name = args[:location_group_name] if args.key?(:location_group_name)
10241
10387
  @location_id = args[:location_id] if args.key?(:location_id)
10388
+ @max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
10389
+ @max_transit_time = args[:max_transit_time] if args.key?(:max_transit_time)
10390
+ @min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
10391
+ @min_transit_time = args[:min_transit_time] if args.key?(:min_transit_time)
10242
10392
  @postal_code = args[:postal_code] if args.key?(:postal_code)
10243
10393
  @price = args[:price] if args.key?(:price)
10244
10394
  @region = args[:region] if args.key?(:region)
@@ -12003,6 +12153,19 @@ module Google
12003
12153
  end
12004
12154
  end
12005
12155
 
12156
+ # Request message for the RequestReviewProgram method.
12157
+ class RequestReviewBuyOnGoogleProgramRequest
12158
+ include Google::Apis::Core::Hashable
12159
+
12160
+ def initialize(**args)
12161
+ update!(**args)
12162
+ end
12163
+
12164
+ # Update properties of this object
12165
+ def update!(**args)
12166
+ end
12167
+ end
12168
+
12006
12169
  # Return address resource.
12007
12170
  class ReturnAddress
12008
12171
  include Google::Apis::Core::Hashable
@@ -12559,6 +12722,37 @@ module Google
12559
12722
  end
12560
12723
  end
12561
12724
 
12725
+ # Return shipping label for a Buy on Google merchant-managed return.
12726
+ class ReturnShippingLabel
12727
+ include Google::Apis::Core::Hashable
12728
+
12729
+ # Name of the carrier.
12730
+ # Corresponds to the JSON property `carrier`
12731
+ # @return [String]
12732
+ attr_accessor :carrier
12733
+
12734
+ # The URL for the return shipping label in PDF format
12735
+ # Corresponds to the JSON property `labelUri`
12736
+ # @return [String]
12737
+ attr_accessor :label_uri
12738
+
12739
+ # The tracking id of this return label.
12740
+ # Corresponds to the JSON property `trackingId`
12741
+ # @return [String]
12742
+ attr_accessor :tracking_id
12743
+
12744
+ def initialize(**args)
12745
+ update!(**args)
12746
+ end
12747
+
12748
+ # Update properties of this object
12749
+ def update!(**args)
12750
+ @carrier = args[:carrier] if args.key?(:carrier)
12751
+ @label_uri = args[:label_uri] if args.key?(:label_uri)
12752
+ @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
12753
+ end
12754
+ end
12755
+
12562
12756
  #
12563
12757
  class ReturnaddressCustomBatchRequest
12564
12758
  include Google::Apis::Core::Hashable
@@ -13218,7 +13412,14 @@ module Google
13218
13412
  # qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
13219
13413
  # transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
13220
13414
  # wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
13221
- # refundFromMerchant`" - "`returnLabelShippingFee`" - "`pspFee`"
13415
+ # issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" -
13416
+ # "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`" - "`
13417
+ # principalRefundDoesNotFit`" - "`principalRefundOrderedWrongItem`" - "`
13418
+ # principalRefundQualityNotExpected`" - "`principalRefundBetterPriceFound`" - "`
13419
+ # principalRefundNoLongerNeeded`" - "`principalRefundChangedMind`" - "`
13420
+ # principalRefundReceivedTooLate`" - "`principalRefundIncorrectItemReceived`" - "
13421
+ # `principalRefundDamagedOrDefectiveItem`" - "`
13422
+ # principalRefundDidNotMatchDescription`" - "`principalRefundExpiredItem`"
13222
13423
  # Corresponds to the JSON property `description`
13223
13424
  # @return [String]
13224
13425
  attr_accessor :description
@@ -13230,7 +13431,7 @@ module Google
13230
13431
 
13231
13432
  # The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
13232
13433
  # - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
13233
- # returnLabelShippingFeeAmount`"
13434
+ # returnLabelShippingFeeAmount`" - "`lumpSumCorrectionAmount`"
13234
13435
  # Corresponds to the JSON property `type`
13235
13436
  # @return [String]
13236
13437
  attr_accessor :type
@@ -14486,6 +14687,66 @@ module Google
14486
14687
  end
14487
14688
  end
14488
14689
 
14690
+ #
14691
+ class WarehouseBasedDeliveryTime
14692
+ include Google::Apis::Core::Hashable
14693
+
14694
+ # Required. Carrier, such as `"UPS"` or `"Fedex"`. The list of supported
14695
+ # carriers can be retrieved via the `listSupportedCarriers` method.
14696
+ # Corresponds to the JSON property `carrier`
14697
+ # @return [String]
14698
+ attr_accessor :carrier
14699
+
14700
+ # Required. Carrier service, such as `"ground"` or `"2 days"`. The list of
14701
+ # supported services for a carrier can be retrieved via the `
14702
+ # listSupportedCarriers` method. The name of the service must be in the
14703
+ # eddSupportedServices list.
14704
+ # Corresponds to the JSON property `carrierService`
14705
+ # @return [String]
14706
+ attr_accessor :carrier_service
14707
+
14708
+ # Required. Shipping origin's state.
14709
+ # Corresponds to the JSON property `originAdministrativeArea`
14710
+ # @return [String]
14711
+ attr_accessor :origin_administrative_area
14712
+
14713
+ # Required. Shipping origin's city.
14714
+ # Corresponds to the JSON property `originCity`
14715
+ # @return [String]
14716
+ attr_accessor :origin_city
14717
+
14718
+ # Required. Shipping origin's country represented as a [CLDR territory code](
14719
+ # http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).
14720
+ # Corresponds to the JSON property `originCountry`
14721
+ # @return [String]
14722
+ attr_accessor :origin_country
14723
+
14724
+ # Required. Shipping origin.
14725
+ # Corresponds to the JSON property `originPostalCode`
14726
+ # @return [String]
14727
+ attr_accessor :origin_postal_code
14728
+
14729
+ # Shipping origin's street address.
14730
+ # Corresponds to the JSON property `originStreetAddress`
14731
+ # @return [String]
14732
+ attr_accessor :origin_street_address
14733
+
14734
+ def initialize(**args)
14735
+ update!(**args)
14736
+ end
14737
+
14738
+ # Update properties of this object
14739
+ def update!(**args)
14740
+ @carrier = args[:carrier] if args.key?(:carrier)
14741
+ @carrier_service = args[:carrier_service] if args.key?(:carrier_service)
14742
+ @origin_administrative_area = args[:origin_administrative_area] if args.key?(:origin_administrative_area)
14743
+ @origin_city = args[:origin_city] if args.key?(:origin_city)
14744
+ @origin_country = args[:origin_country] if args.key?(:origin_country)
14745
+ @origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
14746
+ @origin_street_address = args[:origin_street_address] if args.key?(:origin_street_address)
14747
+ end
14748
+ end
14749
+
14489
14750
  #
14490
14751
  class Weight
14491
14752
  include Google::Apis::Core::Hashable